Server crashed float.inc:102 ???
#1

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.
Reply
#2

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.
Reply
#3

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
Reply
#4

Код:
in public cmd_adsureban
Isn't that a clear clue?
Reply
#5

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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)