SA-MP Forums Archive
[FilterScript] Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. (/showthread.php?tid=267025)

Pages: 1 2


Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. Now full protection - Donya - 06.07.2011

This script monitors the OnVehicleMod callback to check for bad vehicle mod applying, so if a bad vehicle mod is applied and that vehicle cannot use the component, it will be removed and desynced.

Now version 2.0, has protection for each vehicle.
http://pastebin.com/C5S4U48C

Credits: SA-MP, IsPlayerInInvalidNosVehicle creator, and kurta999


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Deviant96 - 07.07.2011

I dont undestand what you made here


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Donya - 07.07.2011

if you add a component that a jester doesn't accept, it removes it.

not just jester only, but 10 other cars, and all bikes


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Scenario - 07.07.2011

Hey, good idea!


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Donya - 07.07.2011

thanks, if maybe a team of persons could help me find each vehicle for all the other component ids with more than 1 usuable vehicle.. it could be the perfect anti-opcode script. ;\


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Proteus - 07.07.2011

Very useful.

Not too often you find something useful here.


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Burridge - 07.07.2011

Quote:
Originally Posted by Donya
View Post
thanks, if maybe a team of persons could help me find each vehicle for all the other component ids with more than 1 usuable vehicle.. it could be the perfect anti-opcode script. ;\
https://sampwiki.blast.hk/wiki/Car_Component_ID - Tells you what vehicles they work on etc. I'm guessing this is what you meant.

Also, good idea.


Re : Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Alvin007 - 07.07.2011

very good mate , thank you very much!


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - leong124 - 07.07.2011

IMO some components will not crash the client, even the vehicle doesn't support them in Transfender.
For example I can get all normal spoilers (except Alien and X-Flow) to be installed on a Phoenix.


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Donya - 07.07.2011

Quote:
Originally Posted by Burridge
View Post
https://sampwiki.blast.hk/wiki/Car_Component_ID - Tells you what vehicles they work on etc. I'm guessing this is what you meant.

Also, good idea.
yes but, components like "Most cars, Most planes and Most Helicopters", i can't be bothered for that. S:

Quote:
Originally Posted by leong124
View Post
IMO some components will not crash the client, even the vehicle doesn't support them in Transfender.
For example I can get all normal spoilers (except Alien and X-Flow) to be installed on a Phoenix.
actually putting bad components on some vehicles can crash the client.
Kalcor said it.. and i tested it

oh and btw, if you can get them to be installed on a phoenix, well phoenix supports them then
also most times, the vehicle has to stream out, then stream back in


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Jochemd - 09.07.2011

This is useful. Nice one, Donya.


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Donya - 01.08.2011

Updated, version 2.0 has Full protection for each vehicle.

Enjoy.


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - wups - 01.08.2011

I've been using this one:
http://pastebin.com/3dc2a95y
I don't know who created it.
And i saw, that this issue was fixed on 0.3


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Donya - 01.08.2011

Actually it exists still..

Hmm, thanks for showing it

search "0xC0000005 at 0x7F120E" I'm sure you'll find posts after 0.3.. even in 0.3c

Also

pawn Code:
switch(paintjobid)
        {
            case -1,0,1,2,3,4,5: return 1;
        }
From my knowledge, paintjobid's can sometimes be 255.


Respuesta: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - sergio_killer - 16.01.2012

good job, i'm brazilian and like this.


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Plaktukas - 09.02.2012

Thanks


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - _DownLoaD_ - 09.02.2012

ThX. updated to my mod


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Niko_boy - 09.02.2012

OMG this is fking thing we needed
Great !! this really gonna save crash and rejoin time ;]


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - TheArcher - 09.02.2012

Nice fixing.


Re: Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring. - Kaperstone - 09.02.2012

wow,you're very bored person
on topic: nice