Jump to content
  • 0

problema server clossed


InceMan

Question

Problema intalnita (descriere):cred ca am un bug in gm ca la o comanda imi pica serverul si problema e ca in log nu imi apare comanda aia
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu): [19:03:48] Bobillho[user:29] changed his password. IP: 94.177.142.202
[19:03:52] [debug] Server crashed while executing Game.amx
[19:03:52] [debug] AMX backtrace:
[19:03:52] [debug] #0 native SendClientMessage () from samp03svr
[19:03:52] [debug] #1 002767c8 in public OnDialogResponse (0, 132, 1, -1, 26610872) from Game.amx
[19:03:52] [debug] Native backtrace:
[19:03:52] [debug] #0 f73cde8b in ZN10StackTraceC1EPv () from plugins/crashdetect.so
[19:03:52] [debug] #1 f73c6bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[19:03:52] [debug] #2 f73c7dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[19:03:52] [debug] #3 f73c8226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[19:03:52] [debug] #4 f73cdadc in ?? () from plugins/crashdetect.so
[19:03:52] [debug] #5 f7721410 in ?? ()
[19:03:52] [debug] #6 f7439416 in _IO_vfprintf () from /lib/libc.so.6
[19:03:52] [debug] #7 f7458682 in vsprintf () from /lib/libc.so.6
[19:03:52] [debug] #8 080ad731 in ?? () from ./samp03svr
[19:03:52] [debug] #9 080d99e9 in ?? () from ./samp03svr
[19:03:52] [debug] #10 080950e4 in ?? () from ./samp03svr
[19:03:52] [debug] #11 f73c994b in _ZN11CrashDetect13DoAmxCallbackEiPiS0 
() from plugins/crashdetect.so
[19:03:52] [debug] #12 f73cc8f8 in ?? () from plugins/crashdetect.so
[19:03:52] [debug] #13 f73d0916 in amx_Exec () from plugins/crashdetect.so
[19:03:52] [debug] #14 f73c8be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[19:03:52] [debug] #15 f73cc659 in ?? () from plugins/crashdetect.so
[19:03:52] [debug] #16 f73392ea in ?? () from plugins/streamer.so
[19:03:52] [debug] #17 080a682f in ?? () from ./samp03svr
[19:03:52] [debug] #18 080b2c44 in ?? () from ./samp03svr
[19:03:52] [debug] #19 08071d38 in ?? () from ./samp03svr
[19:03:52] [debug] #20 08071e32 in ?? () from ./samp03svr
[19:03:52] [debug] #21 0807bc50 in ?? () from ./samp03svr
[19:03:52] [debug] #22 080aed3d in ?? () from ./samp03svr
[19:03:52] [debug] #23 080aef02 in ?? () from ./samp03svr
[19:03:52] [debug] #24 080aa13a in ?? () from ./samp03svr
[19:03:52] [debug] #25 f740b943 in __libc_start_main () from /lib/libc.so.6
Imagini / Video (optional):
Ati incercat sa rezolvati singur?:da 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0
28 minutes ago, Mister said:

 

Mie   MISE  pare ca tu rezolvi problemele si vii cu altele noi spunand ca e aceasi problema

nu mai ma jur iti dau si gm daca vrei sa te convingi am un bug mare si nu stiu de la ce imi provoaca chestia asta

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
On 28.08.2016 at 11:39 AM, Mister said:

cauta dialogul  132  cand se raspunde la el si vezi ce e in neregeula cu el

nu am in gamemod niciun dialog cu 123

imi mai da niste erori cand isi ea restart la [17:07:21] [debug] Run time error 4: "Array index out of bounds"
[17:07:21] [debug]  Accessing element at index 55 past array upper bound 54
[17:07:21] [debug] AMX backtrace:
[17:07:21] [debug] #0 000b7344 in public LoadBizz () from FiveGame.amx

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
28 minutes ago, Spman said:

Filtreaza % la ondialogresponse.

Inapoiati sunteti. Bugul asta e prezent din versiunea 0.3a (7 ani !!!) si voi inca nici macar nu l-ait patchuit.

despre ce vorbesti ? :)

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
30 minutes ago, Mister said:

despre ce vorbesti ? :)

Vorbește de bugul de la dialogurile de tip input care pică serverul, si nu este doar acea vulnerabilitate care pică ci se poate face si sql inject.

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0
1 minute ago, DaEdRiC-FoX said:

Vorbește de bugul de la dialogurile de tip input care pică serverul, si nu este doar acea vulnerabilitate care pică ci se poate face si sql inject.

ok si cum pot scapa de acest bug ca nu ma pricep chear asa de bine 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
1 hour ago, Geani said:

ok si cum pot scapa de acest bug ca nu ma pricep chear asa de bine 

cred ca au fost 3-4 topicuri cu problema asta la toate am raspuns la fel nimeni nu a raspuns daca a functionat sau chear daca au rezolvat

	if(    strfind(inputtext, "%", true) != -1  ||
           strfind(inputtext, "'", true) != -1 ||
           strfind(inputtext, "`", true) != -1 ||
           strfind(inputtext, ";", true) != -1 )
  	{
		format(string,sizeof(string),"* %s (%d) type inccorect character", PlayerName(playerid), playerid);
	    SendClientMessage(playerid,COLOR_RED,"don't use this characters!");
        return 0;
	}

 

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

ok multumesc! 

ca aveam si anti sql dar degeaba

for(new i; i < sizeof(antisqlinjection); i++)
{
    if(strfind(inputtext, antisqlinjection, true) != -1)
    {
        SCM(playerid, -1, "Done.");
       }
}

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

am pus totul ce trebuia si tot mi-sa inchis serverul

[debug] Server crashed while executing FiveGame.amx
[22:56:48] [debug] AMX backtrace:
[22:56:48] [debug] #0 0000000c in public OnPlayerEnterVehicle (2, 401, 1) from FiveGame.amx

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

arata  OnPlayerEnterVehicle   se pare ca asa cum spune si codul player cu id a provocat crashul cand a intrat in masina cu id 401

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

nu mai inteleg nimic nici nu stiu de unde ar putea fi problema mam uitat peste tot

si  OnPlayerEnterVehicle    nici macar nu este in gamemod

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

 

57 minutes ago, Geani said:

DA ACUM MISE INCHIDE SI MAI DES SERVERUL VAD

Mie   MISE  pare ca tu rezolvi problemele si vii cu altele noi spunand ca e aceasi problema

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.