Script crash
#1

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

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

What do you mean?
Reply
#4

In which part the server crashes?
Reply
#5

If a player connect to the server.
Reply
#6

Do you know a fix?
Reply
#7

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

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*
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)