31.03.2010, 17:29
I have the same problem. The thing is, in PHP forum peolple won't understand PAWN and send us to PAWN forum and vice versa. So if anyone could just explain these two lines:
(i don't know what % does) and maybe I'd be able to script that in PHP.
Also I think the problem may be "<<" which in PAWNO is for power while in PHP might be something else...
Код:
$s1 = ($s1 + $buf[$n]) % 65521; $s2 = ($s2 + $s1) % 65521;
Also I think the problem may be "<<" which in PAWNO is for power while in PHP might be something else...

