[Suggestion] Map Crash fix
#1

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

Kye please add this!!!!!!!!
Reply
#3

I don't know much about assembly language, if it fixes the crash caused by those icons then it should definitely be added.
Reply
#4

It use to happen to me a lot previously. I stopped going to the map because it was so frustrating.
Reply
#5

Can we hear anything about this..
Reply
#6

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

Will this fix be added to the client?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)