Crash GM
#1

Hello guys, I have a crash that would be this:
PHP Code:
[09:54:07Crash caused by an unknown error in floatcmp at address 00000008
[09:54:07Stack trace of gamemodes\new2.amx (most recent call first):
[
09:54:07Crash caused by an unknown error in floatcmp at address 00000008
[09:54:07Stack trace of gamemodes\new2.amx (most recent call first): 
I noticed if it were a given cmd to create this crash, but rule it out, it takes about 2 0 3 times a day and is always preceded by a specific cmd or Teles.
Can anyone help me? is really annoying, thanks
Reply
#2

Use [ code ] [ /code ] for Output's please not php Code's Tag. Secondly what was the last thing you added to the server?
Reply
#3

https://sampwiki.blast.hk/wiki/Debugging
Reply
#4

'I have debugging
the last used is command is /v
and this is the script of the cmd:
Code:
CMD:v( playerid, pa[] )
{
	if ( IsPlayerInAnyVehicle ( playerid ) && P_DATA[ playerid ][ P_Level ] < 1 )
		return SendError( playerid, "Please exit your vehicle before spawning another!");

 	ShowPlayerDialog(playerid, Vehicle_Dialog, 2, "{FFFFFF}Vehicles",  "{f3303f}Bicycles\n\
	 															{e00059}Bikes\n\
																{f3303f}Monster trucks\n\
																{e00059}Boats\n\
																{f3303f}Helicopters\n\
																{e00059}Planes\n\
																{f3303f}Cars\n\
																{e00059}RC vehicles", \
																"Select", "Cancel" );

 	return 1;
}
However it does every time you run the command, but only a few times, and not only with this command but also with other
Reply
#5

Download latest crashdetect, you use a quite out-dated (and buggy) version
Reply
#6

Use the search function given on your script editor and search for floatcmp and show us the line(s).
Reply
#7

Quote:
Originally Posted by Y_Less
View Post
There is no call to floatcmp there. Are you sure it is CAUSED by that, and not just happens after that in another callback or timer. You need to augment ALL your callbacks with prints to trace the issue.
Y_Less can ya tell me about floatcmp please? What is it exactly? Thanks
Reply
#8

@ Y_Less --> write all the commands that users are drawn

@ Zeex_ --> crashdetect use already, it is he who writes to me the 'error

@ T0pAz --> I tried the word flotacmp but I did not find anything with that name

I tried the word flotacmp but I did not find anything with that name:

Code:
[16:15:18] [chat] [[CRS]SwatMG]LucaCamp]: A KE KAZZO
[16:15:19] *-_-* "thaganjaman"(id: 11) typed "/NRG"
[16:15:20] *-_-* "strikeris"(id: 31) typed "/v"
[16:15:20] Crash caused by an unknown error in SetTimerEx at address 00000008
[16:15:20] Stack trace of gamemodes\new2.amx (most recent call first):
[16:15:20] Crash caused by an unknown error in SetTimerEx at address 00000008
[16:15:20] Stack trace of gamemodes\new2.amx (most recent call first):
Reply
#9

@ Y_Less --> that corrective action could be taken in specific?

This is another crash, this time centering the "settimerex"

Code:
[16:15:19] *-_-* "thaganjaman"(id: 11) typed "/NRG"
[16:15:20] *-_-* "strikeris"(id: 31) typed "/v"
[16:15:20] Crash caused by an unknown error in SetTimerEx at address 00000008
[16:15:20] Stack trace of gamemodes\new2.amx (most recent call first):
[16:15:20] Crash caused by an unknown error in SetTimerEx at address 00000008
[16:15:20] Stack trace of gamemodes\new2.amx (most recent call first):
you think might be related to floatcmp?
Reply
#10

Quote:
Originally Posted by Y_Less
View Post
floatcmp is called any time "==", ">=", "<" etc are used on floats.
Thanks for replying sir!
Reply
#11

there is some good scripters that I can help solve the problem? for a fee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)