SA-MP Forums Archive
OnDialogResponse crashing my server..[+REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnDialogResponse crashing my server..[+REP] (/showthread.php?tid=553244)



OnDialogResponse crashing my server..[+REP] - RayC - 28.12.2014

Код:
[21:29:34] [debug] Server crashed while executing HLRP.amx
[21:29:34] [debug] Backtrace (most recent call first):
[21:29:34] [debug] #0  00000002 in OnDialogResponse () from HLRP.amx
I don't know what the hell is going on with this.. My server works fine on my local server, but when I transferred my server to my host, my textdraws don't work and the dialog don't response properly. & Yes I did include the .so files into my host server.

Please help


Re: OnDialogResponse crashing my server..[+REP] - Runn3R - 28.12.2014

You sure that the server version and the localhost version are the same?


Re: OnDialogResponse crashing my server..[+REP] - RayC - 28.12.2014

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
You sure that the server version and the localhost version are the same?
Yes. I am copying it exactly from the localhost one.


Re: OnDialogResponse crashing my server..[+REP] - Runn3R - 28.12.2014

Okay then if you have crashdetect on your server go to server.cfg and on the last line type this:

Код:
trace n p
Then restart the server and it should show the line where the error is.

(and yeah it'll spam all the functions but you'll be able to trace the error)


Re: OnDialogResponse crashing my server..[+REP] - RayC - 28.12.2014

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
Okay then if you have crashdetect on your server go to server.cfg and on the last line type this:

Код:
trace n p
Then restart the server and it should show the line where the error is.

(and yeah it'll spam all the functions but you'll be able to trace the error)
I don't get the line, it spams but the last bit says:
Код:
[21:29:34] [debug] #0  00000008 in OnPlayerUpdate () from HLRP.amx
[21:29:34] [debug] Server crashed while executing HLRPV2.amx
[21:29:34] [debug] Backtrace (most recent call first):
[21:29:34] [debug] #0  00000002 in OnDialogResponse () from HLRP.amx