SA-MP Forums Archive
Server goes off if... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server goes off if... (/showthread.php?tid=321044)



Server goes off if... - Dusl12 - 25.02.2012

When I move Ingame, my server goes offline...
It's hosted at a sponsors website...

Also some problem with float.inc O.o


Re: Server goes off if... - Ahrim - 25.02.2012

show us the "Problem" please?


AW: Server goes off if... - Dusl12 - 26.02.2012

Код:
[11:29:58] Crash caused by gamemodes/Selfmade.amx, see stack trace below
[11:29:58] Stack trace (most recent call first):
[11:29:58]   floatcmp (native) on line 1 in (null)
[11:29:58]   (null) (entry point)
Something fucky in the float.inc...
I HAVEN't changed anything in it


Re: Server goes off if... - Ash. - 26.02.2012

That doesn't strictly mean it's an issue with the float.inc file. If anything, it could signify a strange/improper comparison of float values.


AW: Server goes off if... - Dusl12 - 26.02.2012

Ok...
My homeserver tells me this in server.log:
Код:
[11:55:36] [debug] Run time error 6: "Invalid instruction"
[11:55:36] [debug]   Invalid opcode 0x7800 at address 0xFFFFFFFB
[11:55:36] [debug] Backtrace (most recent call first):
[11:55:36] [debug] #0  ()+0xffffffff at Selfmade.pwn:13744
//EDIT: Oh, was in the older version
pawn Код:
forward SetVehicleParamsForAll(carid,objective,doorslocked);
public SetVehicleParamsForAll(carid,objective,doorslocked)
{
    for(new i = 0; i<MAX_PLAYERS; i++) SetVehicleParamsForPlayer(carid,i,objective,doorslocked);
}
Whats wrong at this?

//EDIT2: It MUST be something with the float.inc, because if I remove this, the public before will alert *_*


Re: Server goes off if... - Ash. - 26.02.2012

What exactly is at line '13744'?


AW: Server goes off if... - Dusl12 - 26.02.2012

pawn Код:
for(new i = 0; i<MAX_PLAYERS; i++) SetVehicleParamsForPlayer(carid,i,objective,doorslocked);