- 0
Bug Reparat la modul Public Enemy No.1
-
Similar Content
-
- 7 replies
- 691 views
-
- 10 answers
- 3.311 views
-
- 3 replies
- 1.336 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
heatON
modul PEN1 a devenit ff cunoscut dar are un mic bug acesta fiind oricine se conecteaza pe server poate sa se faca admin tastand /regnick/register si un cod carel face admin level 50000
am gasit bugul si o metoda sa fie reparat
in mod gasiti liniile acestea:
public Encript(string[]) { for(new x=0; x < strlen(string); x++) { string[x] += (3^x) * (x % 15); if(string[x] > (0xff)) { string[x] -= 256; } } return 1; } public Decript(string[]) { if (gdebug){printf("DEBUG string = %s", string);} for(new x=0; x < strlen(string); x++) { string[x] -= (3^x) * (x % 15); if(string[x] > (0xff)) { string[x] -= 256; } } if (gdebug){printf("DEBUG decript = %s", string);} return 1; }aceste linii sunt bugurile sa fie reparat inlocuiti acele linii cu acestea:public Encript(string[]) { /*for(new x=0; x < strlen(string); x++) { string[x] += (3^x) * (x % 15); if(string[x] > (0xff)) { string[x] -= 256; } }*/ return 1; } public Decript(string[]) { /*if (gdebug){printf("DEBUG string = %s", string);} for(new x=0; x < strlen(string); x++) { string[x] -= (3^x) * (x % 15); if(string[x] > (0xff)) { string[x] -= 256; } } if (gdebug){printf("DEBUG decript = %s", string);}*/ return 1; }spor ;D
Imi aduc aminte cand jucam pe versiunea 0.1.. ala era SA-MP adevarat.
Va salut cu respect (pe cei care merita).
0 answers to this question
Recommended Posts