Abandoned Vehicle Cleanup v2.0 by Prof_Farnsworth
This mod will make a crew recover abandoned vehicles in the player's area (vehicles with no driver or a dead driver). If no abandoned vehicles are found, they may steal vehicles off of the street, from the dealership, etc. The criminals will occasionally get into shootouts with the cops.
************************************
VERSION 2 UPDATES: - Crew now has a chance of spawning with a rocket launcher and armour. - Increased default likelihood to steal random vehicles (can be adjusted in .ini). - Optimized code - Crew will now "circle" around the vehicle less, are more likely to stop next to it.
************************************
Installation: Place the "crime_city.net" and "crime_city.ini" files into the "scripts" folder of your root GTA IV directory.
In .ini Settings file, the chance for them to STEAL random cars off the street is adjustable (they will still recover all abandoned vehicles regardless of this setting). Enter any integer above 3 to change the likelihood of random theft. ( Default is 35. Lower means it will happen more, higher means less. WARNING: Do not set below 3 or script may crash!)
***This will also affect how often they steal your vehicle.***
Known bugs: Occasionally, car thief will give up ride for another.
************************************
****BONUS**** - Also included in the archive is a small script which makes AI drivers drive over dead bodies instead of stopping at them. It is not perfect, but it stops 30 car pile-ups from one ped dying in the street.
To Install, place the file "repossession.net" into your scripts directory.
************************************
COPYRIGHT: Please do not upload this mod anywhere else. If you use this mod in one of your own, please be kind enough to give credit.
Enjoy
Prof. Farnsworth
Downloads: 5,261
Added: May 17, 2011 9:38AM
Last Downloaded: May 23, 2013 9:20PM File Size: 7.84 KB
» Author Website
This mod will make a crew recover abandoned vehicles in the player's area (vehicles with no driver or a dead driver). If no abandoned vehicles are found, they may steal vehicles off of the street, from the dealership, etc. The criminals will occasionally get into shootouts with the cops.
************************************
VERSION 2 UPDATES: - Crew now has a chance of spawning with a rocket launcher and armour. - Increased default likelihood to steal random vehicles (can be adjusted in .ini). - Optimized code - Crew will now "circle" around the vehicle less, are more likely to stop next to it.
************************************
Installation: Place the "crime_city.net" and "crime_city.ini" files into the "scripts" folder of your root GTA IV directory.
In .ini Settings file, the chance for them to STEAL random cars off the street is adjustable (they will still recover all abandoned vehicles regardless of this setting). Enter any integer above 3 to change the likelihood of random theft. ( Default is 35. Lower means it will happen more, higher means less. WARNING: Do not set below 3 or script may crash!)
***This will also affect how often they steal your vehicle.***
Known bugs: Occasionally, car thief will give up ride for another.
************************************
****BONUS**** - Also included in the archive is a small script which makes AI drivers drive over dead bodies instead of stopping at them. It is not perfect, but it stops 30 car pile-ups from one ped dying in the street.
To Install, place the file "repossession.net" into your scripts directory.
************************************
COPYRIGHT: Please do not upload this mod anywhere else. If you use this mod in one of your own, please be kind enough to give credit.
Enjoy
Prof. Farnsworth
| Rating: | |
| 9.06/10 - 16 votes |
Added: May 17, 2011 9:38AM
Last Downloaded: May 23, 2013 9:20PM File Size: 7.84 KB
» Author Website























@gameassassin - hilarious, good times indeed :D
Fix your mod give thieves not m4 for example mp5 or uzi.
the peds are first spawning in the car. this idea is cool.
Error during NetHook.Tick:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at unmanaged.NativeContext3.Invoke(Int32 nameptr, Byte[] args, Int32 argnum, NativeContext3* cxt)
at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
at GTA.ScriptDomain.ProcessRemoteEvents()
at GTA.ScriptDomain.Tick()
at GTA.NetHook.Tick()
How do i fix this?
(Im from belgium, my english isn't that good :) )
Btw very nice mod :)
2012-07-06 12:48:59 - Error during Tick in script 'stealingCars.stealingCars':
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Scripting.?A0x86dcfa3e.IsVehDriveable(Int32 )
at stealingCars.stealingCars.findCar()
at stealingCars.stealingCars.stealingCars_Tick(Object sender, EventArgs e)
at GTA.Script.TryTick()
at GTA.Script.DoTick()
at GTA.ScriptThread.OnTick()
2012-07-06 12:48:59 - Error in Thread.Abort:
System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at GTA.NetThread.Abort()
Thanks.
Have a nice day :)
- The Scripthookdotnet log:
2012-07-12 23:36:59 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)
2012-07-12 23:37:25 - Direct3D device created!
2012-07-12 23:37:25 - SEARCHING FOR SCRIPTS...
2012-07-12 23:37:25 - Loading scripts in Assembly 'scripts\crime_city.net.dll' ...
2012-07-12 23:37:25 - ...found script 'stealingCars.stealingCars'!
2012-07-12 23:37:25 - DONE! 1 valid scripts found!
2012-07-12 23:37:25 - STARTING SCRIPTS...
2012-07-12 23:37:25 - Error during GetPhoneNumber (Phone checks will be disabled):
System.Exception: Accessing Globals failed! Invalid Memory Address!
at unmanaged.MemoryAccess.GetGlobalAddress(Int32 index)
at unmanaged.MemoryAccess.GetPhoneNumber()
at GTA.NetHook.CheckPhone()
2012-07-12 23:37:25 - ...successfully started script 'stealingCars.stealingCars'!
Scripthook log:
Log start: Thu Jul 12 23:36:59 2012
-----------------------------------------------
[INFO] GTA IV Script Hook 0.5.1 - (C) 2009, Aru - Initialized
[INFO] Process base address: 0x1330000
[INFO] Auto detecting game version
[INFO] Using game version 1.0.7
[INFO] (ELS) Script started: V6-R1.13-091110
[INFO] (ELS) File - CMID 0, ADMIRAL off.
[INFO] (ELS) File - CMID 1, AIRTUG off.
[INFO] (ELS) File - CMID 2, AMBULANCE active - els_cmid 1.
[INFO] (ELS) File - CMID 3, BANSHEE off.
[INFO] (ELS) File - CMID 4, BENSON off.
[INFO] (ELS) File - CMID 5, BIFF off.
[INFO] (ELS) File - CMID 6, BLISTA off.
[INFO] (ELS) File - CMID 7, BOBCAT off.
[INFO] (ELS) File - CMID 8, BOXVILLE off.
[INFO] (ELS) File - CMID 9, BUCCANEER off.
[INFO] (ELS) File - CMID 10, BURRITO off.
[INFO] (ELS) File - CMID 11, BURRITO2 off.
[INFO] (ELS) File - CMID 12, BUS off.
[INFO] (ELS) File - CMID 13, CABBY off.
[INFO] (ELS) File - CMID 14, CAVALCADE off.
[INFO] (ELS) File - CMID 15, CHAVOS off.
[INFO] (ELS) File - CMID 16, COGNOSCENTI off.
[INFO] (ELS) File - CMID 17, COMET off.
[INFO] (ELS) File - CMID 18, COQUETTE off.
[INFO] (ELS) File - CMID 19, DF8 off.
[INFO] (ELS) File - CMID 20, DILETTANTE off.
[INFO] (ELS) File - CMID 21, DUKES off.
[INFO] (ELS) File - CMID 22, E109 off.
[INFO] (ELS) File - CMID 23, EMPEROR off.
[INFO] (ELS) File - CMID 24, EMPEROR2 off.
[INFO] (ELS) File - CMID 25, ESPERANTO off.
[INFO] (ELS) File - CMID 26, FACTION off.
[INFO] (ELS) File - CMID 27, FBI active - els_cmid 2.
[INFO] (ELS) File - CMID 28, FELTZER off.
[INFO] (ELS) File - CMID 29, FEROCI off.
[INFO] (ELS) File - CMID 30, FEROCI2 off.
[INFO] (ELS) File - CMID 31, FIRETRUCK active - els_cmid 3.
[INFO] (ELS) File - CMID 32, FLATBED off.
[INFO] (ELS) File - CMID 33, FORTUNE off.
[INFO] (ELS) File - CMID 34, FORKLIFT off.
[INFO] (ELS) File - CMID 35, FUTO off.
[INFO] (ELS) File - CMID 36, FXT off.
[INFO] (ELS) File - CMID 37, HABANERO off.
[INFO] (ELS) File - CMID 38, HAKUMAI off.
[INFO] (ELS) File - CMID 39, HUNTLEY off.
[INFO] (ELS) File - CMID 40, INFERNUS off.
[INFO] (ELS) File - CMID 41, INGOT off.
[INFO] (ELS) File - CMID 42, INTRUDER off.
[INFO] (ELS) File - CMID 43, LANDSTALKER off.
[INFO] (ELS) File - CMID 44, LOKUS off.
[INFO] (ELS) File - CMID 45, MANANA off.
[INFO] (ELS) File - CMID 46, MARBELLA off.
[INFO] (ELS) File - CMID 47, MERIT off.
[INFO] (ELS) File - CMID 48, MINIVAN off.
[INFO] (ELS) File - CMID 49, MOONBEAM off.
[INFO] (ELS) File - CMID 50, MRTASTY off.
[INFO] (ELS) File - CMID 51, MULE off.
[INFO] (ELS) File - CMID 52, NOOSE active - els_cmid 4.
[INFO] (ELS) File - CMID 53, NSTOCKADE active - els_cmid 5.
[INFO] (ELS) File - CMID 54, ORACLE off.
[INFO] (ELS) File - CMID 55, PACKER off.
[INFO] (ELS) File - CMID 56, PATRIOT off.
[INFO] (ELS) File - CMID 57, PERENNIAL off.
[INFO] (ELS) File - CMID 58, PERENNIAL2 off.
[INFO] (ELS) File - CMID 59, PEYOTE off.
[INFO] (ELS) File - CMID 60, PHANTOM off.
[INFO] (ELS) File - CMID 61, PINNACLE off.
[INFO] (ELS) File - CMID 62, PMP600 off.
[INFO] (ELS) File - CMID 63, POLICE active - els_cmid 6.
[INFO] (ELS) File - CMID 64, POLICE2 active - els_cmid 7.
[INFO] (ELS) File - CMID 65, POLPATRIOT active - els_cmid 8.
[INFO] (ELS) File - CMID 66, PONY off.
[INFO] (ELS) File - CMID 67, PREMIER off.
[INFO] (ELS) File - CMID 68, PRESIDENTE off.
[INFO] (ELS) File - CMID 69, PRIMO off.
[INFO] (ELS) File - CMID 70, PSTOCKADE active - els_cmid 9.
[INFO] (ELS) File - CMID 71, RANCHER off.
[INFO] (ELS) File - CMID 72, REBLA off.
[INFO] (ELS) File - CMID 73, RIPLEY off.
[INFO] (ELS) File - CMID 74, ROMERO off.
[INFO] (ELS) File - CMID 75, RUINER off.
[INFO] (ELS) File - CMID 76, SABRE off.
[INFO] (ELS) File - CMID 77, SABRE2 off.
[INFO] (ELS) File - CMID 78, SABREGT off.
[INFO] (ELS) File - CMID 79, SCHAFTER off.
[INFO] (ELS) File - CMID 80, SENTINEL off.
[INFO] (ELS) File - CMID 81, SOLAIR off.
[INFO] (ELS) File - CMID 82, SPEEDO off.
[INFO] (ELS) File - CMID 83, STALION off.
[INFO] (ELS) File - CMID 84, STEED off.
[INFO] (ELS) File - CMID 85, STOCKADE off.
[INFO] (ELS) File - CMID 86, STRATUM off.
[INFO] (ELS) File - CMID 87, STRETCH off.
[INFO] (ELS) File - CMID 88, SULTAN off.
[INFO] (ELS) File - CMID 89, SULTANRS off.
[INFO] (ELS) File - CMID 90, SUPERGT off.
[INFO] (ELS) File - CMID 91, TAXI off.
[INFO] (ELS) File - CMID 92, TAXI2 off.
[INFO] (ELS) File - CMID 93, TRASH off.
[INFO] (ELS) File - CMID 94, TURISMO off.
[INFO] (ELS) File - CMID 95, URANUS off.
[INFO] (ELS) File - CMID 96, VIGERO off.
[INFO] (ELS) File - CMID 97, VIGERO2 off.
[INFO] (ELS) File - CMID 98, VINCENT off.
[INFO] (ELS) File - CMID 99, VIRGO off.
[INFO] (ELS) File - CMID 100, VOODOO off.
[INFO] (ELS) File - CMID 101, WASHINGTON off.
[INFO] (ELS) File - CMID 102, WILLARD off.
[INFO] (ELS) File - CMID 103, YANKEE off.
[INFO] (ELS) File - CMID 104, FAGGIO off.
[INFO] (ELS) File - CMID 105, HELLFURY off.
[INFO] (ELS) File - CMID 106, NRG900 off.
[INFO] (ELS) File - CMID 107, PCJ off.
[INFO] (ELS) File - CMID 108, SANCHEZ off.
[INFO] (ELS) File - CMID 109, ZOMBIE off.
[INFO] (ELS) File - CMID 110, POLICE3 off.
[INFO] (ELS) File - CMID 111, POLICE4 off.
[INFO] (ELS) File - CMID 112, POLICEB off.
[INFO] (ELS) File - vehicle properties retrieved.
[INFO] (ELS) File - information retrieved.
[INFO] [EmergencyLightingSystem] Thread started
[INFO] [ScriptHookDotNet] Thread started
Asilog:
// -- GTA IV ASI LOADER LOG -- //
//-- (C) Alexander Blade 2008 -- //
C:\Windows\system32\dsound.dll is loaded, address 0x6C480000
Hooking dsound proc named "DirectSoundCreate"
"DirectSoundCreate" hooked, address 0x6C487E3D
Hooking dsound proc named "DirectSoundEnumerateA"
"DirectSoundEnumerateA" hooked, address 0x6C4CD993
Hooking dsound proc named "DirectSoundEnumerateW"
"DirectSoundEnumerateW" hooked, address 0x6C4CD9B0
Hooking dsound proc named "DllCanUnloadNow"
"DllCanUnloadNow" hooked, address 0x6C4B41BB
Hooking dsound proc named "DllGetClassObject"
"DllGetClassObject" hooked, address 0x6C487792
Hooking dsound proc named "DirectSoundCaptureCreate"
"DirectSoundCaptureCreate" hooked, address 0x6C4CD2C5
Hooking dsound proc named "DirectSoundCaptureEnumerateA"
"DirectSoundCaptureEnumerateA" hooked, address 0x6C4CD9CD
Hooking dsound proc named "DirectSoundCaptureEnumerateW"
"DirectSoundCaptureEnumerateW" hooked, address 0x6C4CD9EA
Hooking dsound proc named "GetDeviceID"
"GetDeviceID" hooked, address 0x6C4CD160
Hooking dsound proc named "DirectSoundFullDuplexCreate"
"DirectSoundFullDuplexCreate" hooked, address 0x6C4CD429
Hooking dsound proc named "DirectSoundCreate8"
"DirectSoundCreate8" hooked, address 0x6C4BDE69
Hooking dsound proc named "DirectSoundCaptureCreate8"
"DirectSoundCaptureCreate8" hooked, address 0x6C4CD371
Loading ASI C:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\ELS.asi
ASI loaded : C:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\ELS.asi, Address 0x6E0A0000
Loading ASI C:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\ScriptHookDotNet.asi
ASI loaded : C:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\ScriptHookDotNet.asi, Address 0x6C5C0000
I dont get the failure of the game. Why is it crashing? I dont wanna install gta iv a 6th time. if it dont wanna run smoothly with mods i dont wanna play it anymore because without mods gta iv s*cks
Do you know any solution?
Grtz.
And it looks like you still have something from ELS running, otherwise all those "ELS" lines would not be in your scripthook log.
(Comes from advancedhook.)
[INFO - 18:27:58] An exception occured
[INFO - 18:27:58] Process: FFEA0000
Address: 88C020
Code: C0000005
Registerdump - EAX: 0 EBP: 20000000 EBX: 0 ECX: 1 EDI: 88BFFA EDX: 62394F4 EIP: 88C020 ESI: CDCDCDCD ESP: 1C7F604
-------------------------------------------------------------------
And at the same time, this error, comes op at Scripthookdotnet.
2012-07-22 18:27:58 - Error during NetHook.Tick:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at unmanaged.NativeContext3.Invoke(Int32 nameptr, Byte[] args, Int32 argnum, NativeContext3* cxt)
at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
at GTA.ScriptDomain.ProcessRemoteEvents()
at GTA.ScriptDomain.Tick()
at GTA.NetHook.Tick()
Grtz.
( i know gta iv already got roadworks, but i want more roadworks :)
@ayanpati - Could be done. It is a nice idea. I am not sure there is a camera model for the cameraman to use though, is there? Glad you are enjoying the mods. Very kind of you to say.