[Suggestion] Map Crash fix - 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: [Suggestion] Map Crash fix (
/showthread.php?tid=560013)
[Suggestion] Map Crash fix -
][Noname][ - 26.01.2015
This fixes a crash (Important Note) from this page
https://sampwiki.blast.hk/wiki/MapIcons
Код:
void _declspec(naked) MapCrashFix()
{
__asm
{
sub esp, 10h
push ebx
mov ebx, [esp+32]
cmp ebx, 1000
jle short exitfn
/*
cmp ebx, 132h
jz short exitfn
cmp ebx, 15Fh
jz short exitfn
*/
mov eax, 71A708h
jmp eax
exitfn:
add esp, 10h
pop ebx
ret;
}
}
InstallCallHook(0x582DEE,(DWORD)MapCrashFix);
I don't know will Kalcor read PM or not, and I write it here
Re: [Suggestion] Map Crash fix -
kurta999 - 26.01.2015
Kye please add this!!!!!!!!
Re: [Suggestion] Map Crash fix -
codectile - 26.01.2015
I don't know much about assembly language, if it fixes the crash caused by those icons then it should definitely be added.
Re: [Suggestion] Map Crash fix -
Cameryn - 27.01.2015
It use to happen to me a lot previously. I stopped going to the map because it was so frustrating.
Re: [Suggestion] Map Crash fix -
Kar - 23.04.2015
Can we hear anything about this..
Re: [Suggestion] Map Crash fix -
n0minal - 23.04.2015
Quote:
Originally Posted by Kar
Can we hear anything about this..
|
Map icons ID 1, 2, 4, and 56 cause your game to crash if you have map legends enabled while viewing the map.
Re: [Suggestion] Map Crash fix -
Romz - 12.01.2018
Will this fix be added to the client?