thelink2012 / modloader

Mod Loader for GTA III, Vice City and San Andreas
MIT License
268 stars 29 forks source link

Crashes on SA-MP since v2.0 #18

Closed andievandy closed 10 years ago

andievandy commented 10 years ago

Since modloader v2.0, my GTA:SA crashes while playing SA-MP using modloader.

Here is the SA-MP chatlog and Modloader log (when I just roaming around for about 2-3 minutes). https://www.dropbox.com/s/e98n83jb67s2m42/chatlog.txt https://www.dropbox.com/s/eh957dkfhn4x1zg/modloader.log

another crash right after I spawned a parachute. https://www.dropbox.com/s/v40hjfa2o1lbxv4/chatlog2.txt https://www.dropbox.com/s/1le3fs5foou17id/modloader2.log

Could you fix it? thanks before.. (Sorry for my bad English)

thelink2012 commented 10 years ago

It's a problem with some script. So, since it may be somehow caused by Mod Loader, I'm still curious, use SCRLog to get a log of the scripts execution and when it crash, send the scrlog.log

PS: If the log is empty you might need to use _FLUSHNEVER on the scrlog.ini, will make the game slower but it's for a greater good.

andievandy commented 10 years ago

Here are the scrlog (with FLUSH_TIME=FLUSH_NEVER):

https://www.dropbox.com/s/tkbvr2yqwil8jn2/scrlog.log https://www.dropbox.com/s/tdqafgwz0e1sb3u/scrlog_2.log https://www.dropbox.com/s/mu0ep47oh12q1jb/scrlog_3.log

thelink2012 commented 10 years ago

Ups.. I'm sorry, I meant FLUSH_ON_WRITE In any case, yeah, it's an script, are using any CLEO script? Which? Does it help to remove them? etc Also you noted it crashes since 0.2.0, using 0.1.15 it doesn't?

What is the server? I'll pay a visit and roam around for a while and see if crashes for me

andievandy commented 10 years ago

Here's the scrlog with FLUSH_ON_WRITE: https://www.dropbox.com/s/vk813lsj3yak2xn/scrlog4.log

Yeah i'm using CLEO Mods (SA-MP Reconnect and Mod Mix Sets). Still crashed even I have removed them. All things work fine on v0.1.15.

I just noticed that the crash happened after spawning/getting a parachute. If i haven't spawn it, the mod works fine :\

Actually that was my localhost server. But you can try on this server: game.msgx.or.id:7777 (type "/para" to get a parachute)

thelink2012 commented 10 years ago

Okay, I see. SAMP do not like the way I fetch and register models. I'll see what I can do about it. Thanks for reporting it!

andievandy commented 10 years ago

Nice, all work fine now. No more crash..

Thanks..