[FilterScript] Exception 0xC0000005 at 0x7F120E Protection | OnVehicleMod monitoring.
#1

  • Introduction:
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.
  • Download:
http://pastebin.com/C5S4U48C

Credits: SA-MP, IsPlayerInInvalidNosVehicle creator, and kurta999
Reply
#2

I dont undestand what you made here
Reply
#3

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

Hey, good idea!
Reply
#5

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. ;\
Reply
#6

Very useful.

Not too often you find something useful here.
Reply
#7

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

very good mate , thank you very much!
Reply
#9

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

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

This is useful. Nice one, Donya.
Reply
#12

Updated, version 2.0 has Full protection for each vehicle.

Enjoy.
Reply
#13

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

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

good job, i'm brazilian and like this.
Reply
#16

Thanks
Reply
#17

ThX. updated to my mod
Reply
#18

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

Nice fixing.
Reply
#20

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


Forum Jump:


Users browsing this thread: 1 Guest(s)