SA-MP Forums Archive
Script crash - 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: Script crash (/showthread.php?tid=69622)



Script crash - GermanFighter - 19.03.2009

Hello,

i have a big problem with my script.
If a player on the server will crash immediately

crashinfo

Код:
Exception At Address: 0x0046B37E



Registers:

EAX: 0x00000000	EBX: 0x00000000	ECX: 0x00000000	EDX: 0x00000003

ESI: 0x020226DC	EDI: 0x00000000	EBP: 0x01FC3D7C	ESP: 0x0012F42C

EFLAGS: 0x00010213



Stack:


My Code: http://pastebin.com/m93b3f4f


Re: Script crash - MenaceX^ - 19.03.2009

Be specific, I don't want to check 1200 lines of a script.


Re: Script crash - GermanFighter - 19.03.2009

What do you mean?


Re: Script crash - MenaceX^ - 19.03.2009

In which part the server crashes?


Re: Script crash - GermanFighter - 19.03.2009

If a player connect to the server.


Re: Script crash - GermanFighter - 19.03.2009

Do you know a fix?


Re: Script crash - kaisersouse - 19.03.2009

I bet its too many vehicle types. I didn't count them, but thats where I'd put my money.

Remove the vehicles and see if people can connect. If they can...thats your problem. Keep it to 700 TOTAL vehicles and 120 UNIQUE vehicle models.


Re: Script crash - MenaceX^ - 19.03.2009

Quote:
Originally Posted by kaisersouse
I bet its too many vehicle types. I didn't count them, but thats where I'd put my money.

Remove the vehicles and see if people can connect. If they can...thats your problem. Keep it to 700 TOTAL vehicles and 120 UNIQUE vehicle models.
127*


Re: Script crash - pen_theGun - 19.03.2009

found some typos...

#112 AddPlayerClass(2566,1958.3783, 1343.1572, 15.3746, 269.1425, 5, 1, 0, 0, 0, 0);
#192 AddStaticVehicle(4256,1763.7892,2074.9900,10.9697,180.1708,0,3); // FW ambulance
#193 AddStaticVehicle(4256,1757.0123,2075.4668,10.9694,178.5313,0,3); // FW ambulance


Re: Script crash - GermanFighter - 20.03.2009

Thanks for the help. But it dont work. I already tested it with one car=Crash too