Jump to content

Sinner.PWN

Membru
  • Posts

    239
  • Joined

  • Last visited

  • Days Won

    7

Community Answers

  1. Sinner.PWN's post in Problema comanda (SERVER: Unknown command) was marked as the answer   
    Iti da "Unknown command." pentru ca ai dat return 0 acolo. Inlocuieste bucatica asta in felul urmator:
    if(floatcmp(0.0, Z) != 0) return SS(playerid, COLOR_ERROR, "You can't use any animations while falling.","Nu poti folosi aceasta comanda in timp ce cazi.");  
  2. Sinner.PWN's post in Problema interioare.. was marked as the answer   
    Nu am idee cum arata acel server dar incearca sa faci o treaba si anume baga un debug si vezi cand se incarca acele case din baza de date cu interiorul corect. Eventual daca ai intrarea pe tasta F vezi daca-ti seteaza un interior anume cand intri
  3. Sinner.PWN's post in Pica server was marked as the answer   
    Eu i-am dat solutia baiatului de mai sus. Daca tu zici ca ce i-am dat eu acolo e solutie pentru "flood" inseamna ca sunt eu prost rau de tot. Intr-adevar nu ii asigura protectie impotriva a SQL Inject-ului dar bat la pariu ca nici nu o sa i se faca prin dialogurile alea pentru ca in ultimele versiuni de plugin sunt stopate automat tentativele si n-au efect.
    Important e sa scoti semnele: ' si ; nu ` pentru ca poti face si table_name nu doar `table_name`  Ai mai jos o lista cu caractere care sunt capabile de SQL Injection. Daca am jignit tin sa-mi cer scuze
    new len = strlen( inputtext ); for( new i = 0; i < len; ++i ) { if( inputtext [ i ] == '%' || inputtext [ i ] == ';' || inputtext [ i ] == '`' || inputtext [ i ] == '/' || inputtext [ i ] == '\' ) inputtext [ i ] = '#'; } \0   An ASCII NUL (0x00) character. \'   A single quote (“'”) character. \"   A double quote (“"”) character. \b   A backspace character. \n   A newline (linefeed) character. \r   A carriage return character. \t   A tab character. \Z   ASCII 26 (Control-Z). See note following the table. \\   A backslash (“\”) character. \%   A “%” character. See note following the table. \_   A “_” character. See note following the table.
  4. Sinner.PWN's post in mysql loading cars was marked as the answer   
    Ai pus "cFloat:x" dar nu i-ai setat tipul Float:cFloat:x ...
    Si unde ai query ca eu nu-l vad aici  si vezi ca trebuie pus "cache_get_field_float"
    De asemenea cache_get_field_content_int(0 nu pune 0... pune c-ul definit in loop
    cache_get_field_content_int( c, "VehicleM" );
     
×
×
  • Create New...

Important Information

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.