SA-MP Forums Archive
The dialog closes with no error in logs - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: The dialog closes with no error in logs (/showthread.php?tid=250656)



The dialog closes with no error in logs - ToPhrESH - 24.04.2011

When I run this certain script, the dialog box that appears after you run samp.server.exe closes are maybe 1 second.

I check the logs but there is no error in there. It runs as if it is up and running.
Any help?


Re: The dialog closes with no error in logs - Backwardsman97 - 24.04.2011

Is it a filterscript or gamemode? If it's a gamemode, make sure the filename in the server.cfg corresponds to the gamemode's amx. Other than that, sometimes you can cause logic errors that the compiler won't pickup but can still mess things up. Make sure the script isn't doing anything crazy. Like creating a lot of objects, infinite loops, etc.


Re: The dialog closes with no error in logs - ToPhrESH - 24.04.2011

It has couple of timers, no objects since objects = lag.

Ill check out the timers.. But the name is rwcw and I type that identical to the .pwn and .amx. So yeah, thanks for the heads up! I'll check the timers


Re: The dialog closes with no error in logs - Backwardsman97 - 24.04.2011

You mean you didn't compile it yourself?