Server crashed float.inc:102 ??? - 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: Server crashed float.inc:102 ??? (
/showthread.php?tid=499748)
Server crashed float.inc:102 ??? -
blackeagle1122 - 09.03.2014
Hi,
Sometimes server crashes because of commands. Sometimes ban command sometimes other commands doesn't matter.
I am using ZCMD. Before I was using DCMD and there was no crash.
And gives me that error
Код:
[debug] #0 00000039 in ?? (... <13 arguments>) at C:\Documents and Settings\...\include\float.inc:102
Commands have no error. And there is no reason for crash.
Note: I am using the latest version of crashdetect.
Re: Server crashed float.inc:102 ??? -
ColeMiner - 09.03.2014
The rest of the stack would help. Generally when crashdetect reports errors as being in float.inc, it isn't there but it can't locate where it really is.
Re: Server crashed float.inc:102 ??? -
blackeagle1122 - 09.03.2014
Quote:
Originally Posted by ColeMiner
The rest of the stack would help. Generally when crashdetect reports errors as being in float.inc, it isn't there but it can't locate where it really is.
|
Код:
[16:39:19] [debug] #1 00000039 in public cmd_adsureban () at C:\Documents and Settings\...\include\float.inc:102
[16:39:19] [debug] #2 native CallLocalFunction () [080dbf60] from samp03svr
[16:39:19] [debug] #3 0000a27c in public OnPlayerCommandText (playerid=48, cmdtext[]=@0x015b4fa4 "/adsureban 44 reklam 365") at C:\Documents and Settings\...\include\zcmd.inc:108
If it can't locate where it really is how can I fix it
Re: Server crashed float.inc:102 ??? -
Vince - 09.03.2014
Код:
in public cmd_adsureban
Isn't that a clear clue?
Re: Server crashed float.inc:102 ??? -
blackeagle1122 - 09.03.2014
Quote:
Originally Posted by Vince
Код:
in public cmd_adsureban
Isn't that a clear clue?
|
Thank you

I found the problem I think.
adsureban command multiplies parameter with 86400 to find finish time of ban.
Example: gettime() + 365 * 86400, gives runtime error,
But gettime() + 30 * 86400 working good.
What is the problem ? Are they too big numbers ?