SA-MP Forums Archive
Stack/heap collision (insufficient stack size - 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)
+--- Thread: Stack/heap collision (insufficient stack size (/showthread.php?tid=582419)



Stack/heap collision (insufficient stack size - rOps - 20.07.2015

Код HTML:
[16:42:19] [debug] #0 000ca4c4 in ?? (193, -988480922, -1030296070, 1108102192) from bridgetown.amx
[16:42:19] [debug] #1 000ca5c0 in ?? (193, -988480922, -1030296070, 1108102192) from bridgetown.amx
[16:42:19] [debug] #2 000ca5c0 in ?? (193, -988480922, -1030296070, 1108102192) from bridgetown.amx
[16:42:19] [debug] #100 000ca5c0 in public OnVehicleSpawn (193, -988480922, -1030296070, 1108102192) from bridgetown.amx
[16:42:19] [debug] #101 native SetVehicleToRespawn () from samp03svr
[16:42:19] [debug] #102 0019e2d8 in ?? (0) from bridgetown.amx
[16:42:19] [debug] #103 000210d4 in public OnPlayerSpawn (0) from bridgetown.amx



Re: Stack/heap collision (insufficient stack size - liquor - 20.07.2015

We're going to need the source if were going to figure out the problem. That doesn't tell us shit, to be honest, If you can't explain what 000ca4c4 in ?? means for example...


Re: Stack/heap collision (insufficient stack size - Jstylezzz - 20.07.2015

Not sure if that's it, but I see that it's trying to spawn a vehicle with model 193.. Model 193 is NOT a vehicle, vehicles start from 400. My guess it that it screws up because you're spawning an invalid vehicle model. Try searching the script for that AddStaticVehicle(193, ....); or CreateVehicle(193, .....); or perhaps in your saved data which might be loading the model 193 into the vehicle loading part..

EDIT: 193 is a skin, to be precise, this one: