SA-MP Forums Archive
Help needed about Dialogs - 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: Help needed about Dialogs (/showthread.php?tid=555519)



Help needed about Dialogs - MBilal - 08.01.2015

PHP код:
[05:52:08] [joinNikita has joined the server (11:185.13.120.131)
[
05:52:08] [chat] [XAlberthoX]: mg
[05:52:21] [partAnnabelle_Conjuring has left the server (5:1)
[
05:52:25] [debugServer crashed while executing Real.amx
[05:52:25] [debugAMX backtrace:
[
05:52:25] [debug#0 native SetPlayerName () from sscanf.so
[05:52:25] [debug#1 000319a8 in ?? (0x0000000b, 0x000007d1, 0x00000001, 0xffffffff, 0x0112b434) from CvT_Real.amx
[05:52:25] [debug#2 00008590 in public OnDialogResponse (0x0000000b, 0x000007d1, 0x00000001, 0xffffffff, 0x0112b434) from CvT_Real.amx
[05:52:25] [debugNative backtrace:
[
05:52:25] [debug#0 b741393b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[05:52:25] [debug#1 b740c68f in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[05:52:25] [debug#2 b740d85c in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[05:52:25] [debug#3 b740dca6 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[05:52:25] [debug#4 b741358c in ?? () from plugins/crashdetect.so
[05:52:25] [debug#5 b7738600 in ?? ()
[05:52:25] [debug#6 080d3757 in ?? () from samp03svr
[05:52:25] [debug#7 080d56b5 in ?? () from samp03svr
[05:52:25] [debug#8 b73ef0e6 in ?? () from plugins/sscanf.so
[05:52:25] [debug#9 08094054 in ?? () from samp03svr
[05:52:25] [debug#10 b73546e4 in ?? () from plugins/streamer.so
[05:52:25] [debug#11 b740f39e in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:52:25] [debug#12 b7412398 in ?? () from plugins/crashdetect.so
[05:52:25] [debug#13 b7415cb5 in amx_Exec () from plugins/crashdetect.so 
when i added these code in script it
start crashing server..
Dialogs which i added.
http://pastebin.com/rhW7YJcM

Thanks !


Re: Help needed about Dialogs - ahmedkoki - 08.01.2015

Are you using windows or linux for server?


Re: Help needed about Dialogs - MBilal - 08.01.2015

YEs I'm ,it work fine on window but when i put it on linux host it crash server after some time
and all dialogs got bugged badly..


Re: Help needed about Dialogs - ball - 08.01.2015

Use debug mode, then you will get error line. http://forum.sa-mp.com/showpost.php?...32&postcount=7 here is described how to compile gamemode with debug mode. Then run server and show server_log here with crashdetect log.


Re: Help needed about Dialogs - MBilal - 08.01.2015

I make notepad in the Pawno Folder name pawn.cfg and i put -d3 in that
notepad i compile the script but i didn't get any thing...
If i'm doing any thing wrong help me..


Re: Help needed about Dialogs - nickdodd25 - 08.01.2015

The -d3 flag makes crashdetect print out more useful debug/error info. You would need to run the server again with the amx that is compiled with the -d3 flag.