Old 08-02-2010   #91
motorsport71
Teach Me Wise Ones, Leave Me Alone Stupid Ones
 
Join Date: Dec 2009
Location: Pittsburgh
Posts: 161
motorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enough
Here's one for you... this last time i ran it it crashed but the car spawned from thin air in front of me with a green blip as it crashed. The PlayerLogic Module was off and I had turned the Vehicle down to maxcar1 maxcarpertick1 maxcarcrew1 to keep it's stress level down. The first time through it crashed immediately. BTW i noticed the fix on the car spawner not resetting AW. Nice.

P.S. I think it was 2.0.0.11 on my first and only run i had one successful first spawn of CarCrews and Ambient violence going on before the second car spawned a full minute later crashing it. I may go back and rerun that one while you look at this.

ThugLogic:

------------------------------------------------------
11:22:48: - Starting up.
Ambient Wars Revival v2.0.0.13 - Ongoing
LogThreadThrottle: 2000(ms)
------------------------------------------------------
11:22:48:476 - ThugLogic.ToggleAmbientWar() Syncing for ThugTick
11:22:48:492 - ThugLogic.ToggleAmbientWar() Got the sync object. Continue.
11:22:48:492 - ThugLogic.ToggleAmbientWar() ToggleState <> IsAmbient.
11:22:48:747 - ThugLogic.ToggleAmbientWar() Syncing for ThugTick
11:22:48:747 - ThugLogic.ToggleAmbientWar() Got the sync object. Continue.
11:22:48:748 - ThugLogic.ToggleAmbientWar() AW ON - ThugLogic (Included = True).
ThugLogic.Include = True
[F][E] ThugLogic() (ThugLogic) The War is Starting...
11:22:48:794 - ToggleAmbientWar() ThugLogic will be included.
11:22:48:794 - ToggleAmbientWar() Loading Thug Model List...
11:22:48:796 - LoadThugModelList() Loading AmbientWarsGangModelListSample.txt
11:22:48:796 - LoadThugModelList() Total Thug Models Available = 44
11:22:48:796 - ToggleAmbientWar() Loading Crew Car Exclusions...
11:22:48:798 - LoadCrewCarExclusionList() Loading AmbientWarsCrewCarExclusionList.txt
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: POLICE
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: POLICE2
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: POLPAT
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: NOOSE
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: PREDATOR
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: PSTOCKADE
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: NSTOCKADE
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: FBI
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: AMBULANCE
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: FIRETRUK
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: CABBY
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: TAXI
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: TAXI2
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: ANNIHILATOR
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: DINGHY
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: JETMAX
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: MARQUIS
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: PREDATOR
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: REEFER
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: SQUALO
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: TROPIC
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: TUG
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: ANNHIL
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: MAVERICK
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: POLMAV
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: TOURMAV
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: ANDROM
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: DODO
11:22:48:798 - LoadCrewCarExclusionList() Adding Exclusion Model: FIGHTER
11:22:48:798 - LoadCrewCarExclusionList() Total Crew Car Exclusions = 29
11:22:56:870 - ThugLogic.IsPlayerInControl() The Player can control the character right now.
11:22:56:870 - ThugLogic.WarTick() ************************************************** *****
11:22:56:870 - ThugLogic.WarTick() War Tick Start:
11:22:56:870 - ThugLogic.WarTick() ************************************************** *****
11:22:56:870 - ThugLogic.Holding ThugTickSync
11:22:56:870 - ThugLogic.WarTick() GetOut Set
11:22:56:870 - ThugLogic.WarTick() TotalWarTicksDone = 1
11:22:56:870 - ThugLogic.WarTick() ThugList Count @tick = 0
11:22:56:870 - ThugLogic.WarTick() ThugCrews Count @tick = 0
11:22:56:870 - ThugLogic.WarTick() UseCarCrews = True
11:22:56:875 - ThugLogic.GarbageCollectCarCrews() ThugCrews Count < 1. Nothing to do.
11:22:56:876 - ThugLogic.CreateCarThugCrews() Current Crews: 0, Max Crews: 1
11:22:56:879 - ThugLogic.Create2() Scopping Cars
11:22:56:887 - ThugLogic.Create2() Got 4 Cars
11:22:56:895 - ThugLogic.GetDistanceFromPlayer() Distance = 30.82423
11:22:56:895 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=30.82423, MinCarCrewPollRadius=20
11:22:56:895 - ThugLogic.ValidCar() Player NOT in a car.
11:22:56:895 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
11:22:56:896 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Engine is not running.
11:22:56:896 - ThugLogic.ValidCar() 1 or more properties of the car make it a bad choice. Bail.
11:22:56:896 - ThugLogic.GetDistanceFromPlayer() Distance = 13.25605
11:22:56:896 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=13.25605, MinCarCrewPollRadius=20
11:22:56:896 - ThugLogic.ValidCar() Player NOT in a car.
11:22:56:896 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
11:22:56:896 - ThugLogic.ValidCar() The car properties passed.
11:22:56:897 - [ENTER]ModelInfo.New()
11:22:56:898 - [ENTER]ModelInfo.GetCarModelPointer()
11:22:56:899 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
11:22:56:901 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
11:22:56:901 - [EXIT]ModelInfo.GetCarModelPointer()
11:22:56:901 - ThugLogic.ModelInfo.New() Got a valid model pointer.
11:22:56:901 - ThugLogic.ModelInfo.New() Getting model name.'
11:22:56:903 - [ENTER]ModelInfo.GetCarModelName()
11:22:56:903 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
11:22:56:908 - ThugLogic.ModelInfo.GetCarModelName() Got a model = TAXI2
11:22:56:908 - [EXIT]ModelInfo.GetCarModelName()
11:22:56:908 - ThugLogic.ModelInfo.New() Got a valid model name.
11:22:56:908 - [EXIT]ModelInfo.New()
11:22:56:908 - ThugLogic.ValidCar() Potential Crew Car Model Name = TAXI2
11:22:56:909 - ThugLogic.IsSuitableCrewCar() Testing exclusions list for model TAXI2
11:22:56:909 - ThugLogic.IsSuitableCrewCar() Model from game = TAXI2 which is found in the list with the name TAXI2 so it will be ignored.
11:22:56:909 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Car is an excluded model or has to few seats. Bail.
11:22:56:909 - ThugLogic.ValidCar() Test failed so the car will be ignored.
11:22:56:909 - [ENTER]ModelInfo.Delete()
11:22:56:909 - [EXIT]ModelInfo.Delete()
11:22:56:910 - ThugLogic.GetDistanceFromPlayer() Distance = 11.26286
11:22:56:910 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=11.26286, MinCarCrewPollRadius=20
11:22:56:910 - ThugLogic.ValidCar() Player NOT in a car.
11:22:56:910 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
11:22:56:910 - ThugLogic.ValidCar() The car properties passed.
11:22:56:910 - [ENTER]ModelInfo.New()
11:22:56:910 - [ENTER]ModelInfo.GetCarModelPointer()
11:22:56:910 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
11:22:56:910 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
11:22:56:910 - [EXIT]ModelInfo.GetCarModelPointer()
11:22:56:910 - ThugLogic.ModelInfo.New() Got a valid model pointer.
11:22:56:910 - ThugLogic.ModelInfo.New() Getting model name.'
11:22:56:910 - [ENTER]ModelInfo.GetCarModelName()
11:22:56:910 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
11:22:56:910 - ThugLogic.ModelInfo.GetCarModelName() Got a model = SCHAFTER
11:22:56:910 - [EXIT]ModelInfo.GetCarModelName()
11:22:56:910 - ThugLogic.ModelInfo.New() Got a valid model name.
11:22:56:910 - [EXIT]ModelInfo.New()
11:22:56:910 - ThugLogic.ValidCar() Potential Crew Car Model Name = SCHAFTER
11:22:56:910 - ThugLogic.IsSuitableCrewCar() Testing exclusions list for model SCHAFTER
11:22:56:911 - [ENTER]ModelInfo.Delete()
11:22:56:911 - [EXIT]ModelInfo.Delete()
11:22:56:911 - ThugLogic.Create2() Got a valid Car back from index 2
11:22:56:914 - ThugLogic.ReplaceCar() Replacing Car at pos X:915.08 Y:-508.31 Z:14.54
11:22:56:914 - [ENTER]ModelInfo.New()
11:22:56:914 - [ENTER]ModelInfo.GetCarModelPointer()
11:22:56:914 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
11:22:56:915 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
11:22:56:915 - [EXIT]ModelInfo.GetCarModelPointer()
11:22:56:915 - ThugLogic.ModelInfo.New() Got a valid model pointer.
11:22:56:915 - ThugLogic.ModelInfo.New() Getting model name.'
11:22:56:915 - [ENTER]ModelInfo.GetCarModelName()
11:22:56:915 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
11:22:56:915 - ThugLogic.ModelInfo.GetCarModelName() Got a model = SCHAFTER
11:22:56:915 - [EXIT]ModelInfo.GetCarModelName()
11:22:56:915 - ThugLogic.ModelInfo.New() Got a valid model name.
11:22:56:915 - [EXIT]ModelInfo.New()
11:22:56:915 - ThugLogic.ReplaceCar() NewCarModel Exists. Proceed.
11:22:56:915 - ThugLogic.ReplaceCar() Creating New Car at Original Position X:915.08 Y:-508.31 Z:14.02
11:22:56:921 - ThugLogic.ReplaceCar() Returning a replacement.
11:22:56:922 - ThugLogic.Create2() ReplaceCar Succes
11:22:56:923 - ThugLogic.GetBlip(Car) Creating a Blip using Color Green
11:22:56:925 - ThugLogic.CreateLeader2() Created a forced model using M_Y_GAlb_Lo_01: Exists = True

SHDN:


2010-08-02 23:21:31 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)
2010-08-02 23:22:21 - Direct3D device created!

2010-08-02 23:22:21 - SEARCHING FOR SCRIPTS...
2010-08-02 23:22:21 - Loading scripts in Assembly 'scripts\AmbientWars.net.dll' ...
2010-08-02 23:22:21 - ...found script 'AmbientWars.PlayerLogic'!
2010-08-02 23:22:21 - ...found script 'AmbientWars.ThugLogic'!
2010-08-02 23:22:21 - ...found script 'AmbientWars.TogSync'!
2010-08-02 23:22:21 - DONE! 3 valid scripts found!

2010-08-02 23:22:21 - STARTING SCRIPTS...
2010-08-02 23:22:21 - 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()
2010-08-02 23:22:21 - ...successfully started script 'AmbientWars.TogSync'!
2010-08-02 23:22:21 - ...successfully started script 'AmbientWars.ThugLogic'!
2010-08-02 23:22:21 - ...successfully started script 'AmbientWars.PlayerLogic'!
2010-08-02 23:22:57 - 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()
motorsport71 is offline   Reply With Quote
Old 08-02-2010   #92
Ironhide
- Ambient Wars Creator
 
Join Date: Oct 2009
Location: Texas
Posts: 210
Ironhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enough
Something is going whack shit with the model there and i don't have a clue what it is. I'm going to replace the model names wiith hashes and see if it makes a damn.

UPDATE:

Try V14 it uses a direct hash instead of a model name, and it only uses 1.

Also, I said in previous notes, you will see them popping in and out of existence, as well as some cars just suddenly disappearing. That will be fixed once, if we EVER do, find out what this problem you're having is and fix it. If this hash works, then iit's a localization issue, name translation issue, name lookup failure etc. If it does not fix it then... well...

ALSO note: I accidently left in the temporary F10 hook that dumps hashes from models it will dump the hashes to the log but likely screw up the other objects in memory not sure. It's not there for play it was put in so I could dump model hash numbers a minute ago. Going to remove it now before I forget again.

Last edited by Ironhide; 08-02-2010 at 10:03 PM..
Ironhide is offline   Reply With Quote
Old 08-02-2010   #93
motorsport71
Teach Me Wise Ones, Leave Me Alone Stupid Ones
 
Join Date: Dec 2009
Location: Pittsburgh
Posts: 161
motorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enough
Sorry dude. She crashed as soon as the CarCrew blip appeared. Thought: If you decide to start from scratch again have a "CarJacker". It would be a code that would call a Car Jacker to spawn and grab a suitable car already occupied. When the vehicle is secured then spawn a full car crew of 3 outside the vehicle to join him. based on the seating perameters of the vehicle, if only 1 other can get in the other two are swept up by the code or turned into thugs on tick.
anyway here are the debug files. Got to get some sleep. I'll check the forum later. Thanks man, and please stay patient. They couple of times i got to play with an angry carcrew shooting around was fantastic. I just hope my machine isn't the issue, but if it is a speed issue of the machine then we'll know at least how to tone it down for slower / average rigs. later.

------------------------------------------------------
12:00:56: - Starting up.
Ambient Wars Revival v2.0.0.14 - Ongoing
LogThreadThrottle: 2000(ms)
------------------------------------------------------
12:00:56:423 - ThugLogic.ToggleAmbientWar() Syncing for ThugTick
12:00:56:438 - ThugLogic.ToggleAmbientWar() Got the sync object. Continue.
12:00:56:438 - ThugLogic.ToggleAmbientWar() ToggleState <> IsAmbient.
12:00:56:534 - ThugLogic.ToggleAmbientWar() Syncing for ThugTick
12:00:56:534 - ThugLogic.ToggleAmbientWar() Got the sync object. Continue.
12:00:56:535 - ThugLogic.ToggleAmbientWar() AW ON - ThugLogic (Included = True).
ThugLogic.Include = True
[F][E] ThugLogic() (ThugLogic) The War is Starting...
12:00:56:570 - ToggleAmbientWar() ThugLogic will be included.
12:00:56:570 - ToggleAmbientWar() Loading Thug Model List...
12:00:56:571 - LoadThugModelList() Loading AmbientWarsGangModelListSample.txt
12:00:56:581 - LoadThugModelList() Total Thug Models Available = 44
12:00:56:581 - ToggleAmbientWar() Loading Crew Car Exclusions...
12:00:56:583 - LoadCrewCarExclusionList() Loading AmbientWarsCrewCarExclusionList.txt
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: POLICE
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: POLICE2
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: POLPAT
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: NOOSE
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: PREDATOR
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: PSTOCKADE
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: NSTOCKADE
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: FBI
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: AMBULANCE
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: FIRETRUK
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: CABBY
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: TAXI
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: TAXI2
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: ANNIHILATOR
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: DINGHY
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: JETMAX
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: MARQUIS
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: PREDATOR
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: REEFER
12:00:56:593 - LoadCrewCarExclusionList() Adding Exclusion Model: SQUALO
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: TROPIC
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: TUG
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: ANNHIL
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: MAVERICK
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: POLMAV
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: TOURMAV
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: ANDROM
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: DODO
12:00:56:594 - LoadCrewCarExclusionList() Adding Exclusion Model: FIGHTER
12:00:56:594 - LoadCrewCarExclusionList() Total Crew Car Exclusions = 29
12:01:04:672 - ThugLogic.IsPlayerInControl() The Player can control the character right now.
12:01:04:672 - ThugLogic.WarTick() ************************************************** *****
12:01:04:672 - ThugLogic.WarTick() War Tick Start:
12:01:04:672 - ThugLogic.WarTick() ************************************************** *****
12:01:04:672 - ThugLogic.Holding ThugTickSync
12:01:04:672 - ThugLogic.WarTick() GetOut Set
12:01:04:672 - ThugLogic.WarTick() TotalWarTicksDone = 1
12:01:04:672 - ThugLogic.WarTick() ThugList Count @tick = 0
12:01:04:672 - ThugLogic.WarTick() ThugCrews Count @tick = 0
12:01:04:672 - ThugLogic.WarTick() UseCarCrews = True
12:01:04:676 - ThugLogic.GarbageCollectCarCrews() ThugCrews Count < 1. Nothing to do.
12:01:04:677 - ThugLogic.CreateCarThugCrews() Current Crews: 0, Max Crews: 5
12:01:04:681 - ThugLogic.Create2() Scopping Cars
12:01:04:688 - ThugLogic.Create2() Got 9 Cars
12:01:04:694 - ThugLogic.GetDistanceFromPlayer() Distance = 8.709599
12:01:04:694 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=8.709599, MinCarCrewPollRadius=20
12:01:04:694 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:694 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:695 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Engine is not running.
12:01:04:695 - ThugLogic.ValidCar() 1 or more properties of the car make it a bad choice. Bail.
12:01:04:695 - ThugLogic.GetDistanceFromPlayer() Distance = 2.57168
12:01:04:695 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=2.57168, MinCarCrewPollRadius=20
12:01:04:695 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:695 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:695 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Engine is not running.
12:01:04:695 - ThugLogic.ValidCar() 1 or more properties of the car make it a bad choice. Bail.
12:01:04:695 - ThugLogic.GetDistanceFromPlayer() Distance = 24.38887
12:01:04:695 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=24.38887, MinCarCrewPollRadius=20
12:01:04:695 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:695 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:696 - ThugLogic.ValidCar() The car properties passed.
12:01:04:698 - [ENTER]ModelInfo.New()
12:01:04:699 - [ENTER]ModelInfo.GetCarModelPointer()
12:01:04:700 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
12:01:04:703 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
12:01:04:703 - [EXIT]ModelInfo.GetCarModelPointer()
12:01:04:703 - ThugLogic.ModelInfo.New() Got a valid model pointer.
12:01:04:703 - ThugLogic.ModelInfo.New() Getting model name.'
12:01:04:704 - [ENTER]ModelInfo.GetCarModelName()
12:01:04:704 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
12:01:04:710 - ThugLogic.ModelInfo.GetCarModelName() Got a model = MINVAN
12:01:04:710 - [EXIT]ModelInfo.GetCarModelName()
12:01:04:710 - ThugLogic.ModelInfo.New() Got a valid model name.
12:01:04:710 - [EXIT]ModelInfo.New()
12:01:04:710 - ThugLogic.ValidCar() Potential Crew Car Model Name = MINVAN
12:01:04:711 - ThugLogic.IsSuitableCrewCar() Testing exclusions list for model MINVAN
12:01:04:712 - [ENTER]ModelInfo.Delete()
12:01:04:713 - [EXIT]ModelInfo.Delete()
12:01:04:713 - ThugLogic.Create2() Got a valid Car back from index 2
12:01:04:718 - ThugLogic.ReplaceCar() Replacing Car at pos X:914.58 Y:-481.29 Z:15.29
12:01:04:719 - [ENTER]ModelInfo.New()
12:01:04:720 - [ENTER]ModelInfo.GetCarModelPointer()
12:01:04:720 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
12:01:04:720 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
12:01:04:720 - [EXIT]ModelInfo.GetCarModelPointer()
12:01:04:720 - ThugLogic.ModelInfo.New() Got a valid model pointer.
12:01:04:720 - ThugLogic.ModelInfo.New() Getting model name.'
12:01:04:720 - [ENTER]ModelInfo.GetCarModelName()
12:01:04:720 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
12:01:04:721 - ThugLogic.ModelInfo.GetCarModelName() Got a model = MINVAN
12:01:04:721 - [EXIT]ModelInfo.GetCarModelName()
12:01:04:721 - ThugLogic.ModelInfo.New() Got a valid model name.
12:01:04:721 - [EXIT]ModelInfo.New()
12:01:04:721 - ThugLogic.ReplaceCar() NewCarModel Exists. Proceed.
12:01:04:721 - ThugLogic.ReplaceCar() Creating New Car at Original Position X:914.58 Y:-481.29 Z:14.53
12:01:04:723 - ThugLogic.CreateCarThugCrews() Success = False
12:01:04:723 - ThugLogic.CreateCarThugCrews() [W] - Crew.Create2 returned False.
12:01:04:723 - ThugLogic.CreateCarThugCrews() Current Crews: 0, Max Crews: 5
12:01:04:723 - ThugLogic.Create2() Scopping Cars
12:01:04:723 - ThugLogic.Create2() Got 3 Cars
12:01:04:723 - ThugLogic.GetDistanceFromPlayer() Distance = 33.23487
12:01:04:723 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=33.23487, MinCarCrewPollRadius=20
12:01:04:723 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:723 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:723 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Engine is not running.
12:01:04:723 - ThugLogic.ValidCar() 1 or more properties of the car make it a bad choice. Bail.
12:01:04:723 - ThugLogic.GetDistanceFromPlayer() Distance = 16.3839
12:01:04:723 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=16.3839, MinCarCrewPollRadius=20
12:01:04:723 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:723 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:723 - ThugLogic.ValidCar() The car properties passed.
12:01:04:723 - [ENTER]ModelInfo.New()
12:01:04:723 - [ENTER]ModelInfo.GetCarModelPointer()
12:01:04:723 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
12:01:04:723 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
12:01:04:723 - [EXIT]ModelInfo.GetCarModelPointer()
12:01:04:723 - ThugLogic.ModelInfo.New() Got a valid model pointer.
12:01:04:723 - ThugLogic.ModelInfo.New() Getting model name.'
12:01:04:723 - [ENTER]ModelInfo.GetCarModelName()
12:01:04:723 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
12:01:04:724 - ThugLogic.ModelInfo.GetCarModelName() Got a model = MINVAN
12:01:04:724 - [EXIT]ModelInfo.GetCarModelName()
12:01:04:724 - ThugLogic.ModelInfo.New() Got a valid model name.
12:01:04:724 - [EXIT]ModelInfo.New()
12:01:04:724 - ThugLogic.ValidCar() Potential Crew Car Model Name = MINVAN
12:01:04:724 - ThugLogic.IsSuitableCrewCar() Testing exclusions list for model MINVAN
12:01:04:724 - [ENTER]ModelInfo.Delete()
12:01:04:724 - [EXIT]ModelInfo.Delete()
12:01:04:724 - ThugLogic.Create2() Got a valid Car back from index 1
12:01:04:724 - ThugLogic.ReplaceCar() Replacing Car at pos X:915.03 Y:-491.15 Z:15.10
12:01:04:724 - [ENTER]ModelInfo.New()
12:01:04:724 - [ENTER]ModelInfo.GetCarModelPointer()
12:01:04:724 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
12:01:04:724 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
12:01:04:724 - [EXIT]ModelInfo.GetCarModelPointer()
12:01:04:724 - ThugLogic.ModelInfo.New() Got a valid model pointer.
12:01:04:724 - ThugLogic.ModelInfo.New() Getting model name.'
12:01:04:724 - [ENTER]ModelInfo.GetCarModelName()
12:01:04:724 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
12:01:04:724 - ThugLogic.ModelInfo.GetCarModelName() Got a model = MINVAN
12:01:04:724 - [EXIT]ModelInfo.GetCarModelName()
12:01:04:724 - ThugLogic.ModelInfo.New() Got a valid model name.
12:01:04:724 - [EXIT]ModelInfo.New()
12:01:04:724 - ThugLogic.ReplaceCar() NewCarModel Exists. Proceed.
12:01:04:725 - ThugLogic.ReplaceCar() Creating New Car at Original Position X:915.03 Y:-491.15 Z:14.34
12:01:04:725 - ThugLogic.CreateCarThugCrews() Success = False
12:01:04:725 - ThugLogic.CreateCarThugCrews() [W] - Crew.Create2 returned False.
12:01:04:725 - ThugLogic.CreateCarThugCrews() Current Crews: 0, Max Crews: 5
12:01:04:725 - ThugLogic.Create2() Scopping Cars
12:01:04:725 - ThugLogic.Create2() Got 3 Cars
12:01:04:725 - ThugLogic.GetDistanceFromPlayer() Distance = 33.23487
12:01:04:725 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=33.23487, MinCarCrewPollRadius=20
12:01:04:725 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:725 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:725 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Engine is not running.
12:01:04:725 - ThugLogic.ValidCar() 1 or more properties of the car make it a bad choice. Bail.
12:01:04:725 - ThugLogic.GetDistanceFromPlayer() Distance = 126.496
12:01:04:725 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=126.496, MinCarCrewPollRadius=20
12:01:04:725 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:725 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:725 - ThugLogic.ValidCar() [W] - Failed ValidCar check because Engine is not running.
12:01:04:725 - ThugLogic.ValidCar() 1 or more properties of the car make it a bad choice. Bail.
12:01:04:725 - ThugLogic.GetDistanceFromPlayer() Distance = 82.70743
12:01:04:726 - ThugLogic.ValidCar() The Car is far enough away (or distance ignored) from the Player to be considered. Distance=82.70743, MinCarCrewPollRadius=20
12:01:04:726 - ThugLogic.ValidCar() Player NOT in a car.
12:01:04:726 - ThugLogic.ValidCar() The chosen car is NOT the players car. Proceed.
12:01:04:726 - ThugLogic.ValidCar() The car properties passed.
12:01:04:726 - [ENTER]ModelInfo.New()
12:01:04:726 - [ENTER]ModelInfo.GetCarModelPointer()
12:01:04:726 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
12:01:04:726 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
12:01:04:726 - [EXIT]ModelInfo.GetCarModelPointer()
12:01:04:726 - ThugLogic.ModelInfo.New() Got a valid model pointer.
12:01:04:726 - ThugLogic.ModelInfo.New() Getting model name.'
12:01:04:726 - [ENTER]ModelInfo.GetCarModelName()
12:01:04:726 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
12:01:04:726 - ThugLogic.ModelInfo.GetCarModelName() Got a model = SCHAFTER
12:01:04:726 - [EXIT]ModelInfo.GetCarModelName()
12:01:04:726 - ThugLogic.ModelInfo.New() Got a valid model name.
12:01:04:726 - [EXIT]ModelInfo.New()
12:01:04:726 - ThugLogic.ValidCar() Potential Crew Car Model Name = SCHAFTER
12:01:04:726 - ThugLogic.IsSuitableCrewCar() Testing exclusions list for model SCHAFTER
12:01:04:726 - [ENTER]ModelInfo.Delete()
12:01:04:726 - [EXIT]ModelInfo.Delete()
12:01:04:726 - ThugLogic.Create2() Got a valid Car back from index 2
12:01:04:726 - ThugLogic.ReplaceCar() Replacing Car at pos X:849.09 Y:-565.09 Z:13.29
12:01:04:726 - [ENTER]ModelInfo.New()
12:01:04:726 - [ENTER]ModelInfo.GetCarModelPointer()
12:01:04:726 - ThugLogic.ModelInfo.GetCarModelPointer() Calling native GET_CAR_MODEL
12:01:04:727 - ThugLogic.ModelInfo.GetCarModelPointer() Got a valid model pointer for return.
12:01:04:727 - [EXIT]ModelInfo.GetCarModelPointer()
12:01:04:727 - ThugLogic.ModelInfo.New() Got a valid model pointer.
12:01:04:727 - ThugLogic.ModelInfo.New() Getting model name.'
12:01:04:727 - [ENTER]ModelInfo.GetCarModelName()
12:01:04:727 - ThugLogic.ModelInfo.GetCarModelName() Got a valid model pointer
12:01:04:727 - ThugLogic.ModelInfo.GetCarModelName() Got a model = SCHAFTER
12:01:04:727 - [EXIT]ModelInfo.GetCarModelName()
12:01:04:727 - ThugLogic.ModelInfo.New() Got a valid model name.
12:01:04:727 - [EXIT]ModelInfo.New()
12:01:04:727 - ThugLogic.ReplaceCar() NewCarModel Exists. Proceed.
12:01:04:727 - ThugLogic.ReplaceCar() Creating New Car at Original Position X:849.09 Y:-565.09 Z:12.73
12:01:04:732 - ThugLogic.ReplaceCar() Returning a replacement.
12:01:04:732 - ThugLogic.Create2() ReplaceCar Succes
12:01:04:733 - ThugLogic.GetBlip(Car) Creating a Blip using Color Green
12:01:04:736 - ThugLogic.CreateLeader2() Using a direct hash for model. Hash = 1574850459

SHDN:

2010-08-02 23:59:37 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)
2010-08-03 00:00:27 - Direct3D device created!

2010-08-03 00:00:27 - SEARCHING FOR SCRIPTS...
2010-08-03 00:00:27 - Loading scripts in Assembly 'scripts\AmbientWars.net.dll' ...
2010-08-03 00:00:27 - ...found script 'AmbientWars.PlayerLogic'!
2010-08-03 00:00:27 - ...found script 'AmbientWars.ThugLogic'!
2010-08-03 00:00:27 - ...found script 'AmbientWars.TogSync'!
2010-08-03 00:00:27 - DONE! 3 valid scripts found!

2010-08-03 00:00:27 - STARTING SCRIPTS...
2010-08-03 00:00:27 - 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()
2010-08-03 00:00:27 - ...successfully started script 'AmbientWars.TogSync'!
2010-08-03 00:00:27 - ...successfully started script 'AmbientWars.ThugLogic'!
2010-08-03 00:00:27 - ...successfully started script 'AmbientWars.PlayerLogic'!
2010-08-03 00:01:05 - 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()
motorsport71 is offline   Reply With Quote
Old 08-02-2010   #94
Ironhide
- Ambient Wars Creator
 
Join Date: Oct 2009
Location: Texas
Posts: 210
Ironhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enough


Shit. It's been done several ways and all crash on your rig. It's been existing, and new, and combinations in between.

And the code I've written from scratch today for crews is the most effecient by far so far. In fact it is EXTREMELY effecient and will remain in place and be refined. It's not the code. The only thing left to do is try to throttle it and see. I'll see if I get time tomorrow to work on that.

Also i notice you mentioned the car selector and AW stopping again. With all the messages back and forth you must have missed what I said about it.

The game takes control away from the player in certain circumstances. Cutscenes, menus, forms (like the car selector) etc. AW automatically detects when this happens and it cleans up, not stops. As soon as a tick occurs where it detects the player is not in control it immediately disposes all thugs everywhere of all types and goes dormant until it detects the player is back in control and then it resumes. this prevents AW from creating and doing things in the background that will cause the game to crash, because the game is not i(in many cases most specifically during certain mission cut scenes) in a state ready for things to be blasted into existence when the player is not in control of Niko / other.

Check the log files and you'll see these:

11:07:40:665 - ThugLogic.WarTick() [W] - Forcing cleanup since the player can not control the AE. This MAY help prevent some crashes during mission cutscens.
11:07:40:665 - ThugLogic.WarTick() [W] - Once the player can control the character again this should pass on next tick.

It's been there for awhile now, and I need to replace the MAY, with WILL ... because it does indeed prevent some crashes that are reproducable otherwise.

Last edited by Ironhide; 08-02-2010 at 10:58 PM..
Ironhide is offline   Reply With Quote
Old 08-03-2010   #95
xXMechXx
Registered User
Newbie Member
 
Join Date: Aug 2010
Posts: 3
xXMechXx is an unknown quantity at this point
I recently tried this mod out a few weeks ago but was completely unsatisfied. I'm afraid I don't have a log or anything to help you figure it out.

My problem is very simple. Even after following your instructions down to the exact word, along with getting the latest versions of everything that's required, the mod just won't even start. ~ doesn't even work no matter how many times I transfer a fresh copy of the required files.

Any clue at all as to why the game refuses to even recognize the files?

I can provide a list of mods that I have in the case that you know that your mod has conflicts with other mods.
xXMechXx is offline   Reply With Quote
Old 08-03-2010   #96
motorsport71
Teach Me Wise Ones, Leave Me Alone Stupid Ones
 
Join Date: Dec 2009
Location: Pittsburgh
Posts: 161
motorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enough
Mech, I had the same problem, Iron and I found it. Update your C++ redistributebutable to 2010:
http://www.microsoft.com/downloads/d...3-37bf0912db84
Iron threw that out there as a last ditch issue. IT WASN'T AW, it was ScriptHoodDotNet requires:
Microsoft .net 4.0 (Link found in README in Scripthooddotnet. 1.7.1.4 download)
c++ restributebutable
If you don't have these, Scripthooddotnet won't work and you won't get the Tilde. Then no add on Scripts, Like Ambient Wars, will work.
use Xliveless 999b.7 as your asi loader, it is the only one that works for 1.0.7.0 which is the version this build of Ambient Wars is supporting.
motorsport71 is offline   Reply With Quote
Old 08-03-2010   #97
xXMechXx
Registered User
Newbie Member
 
Join Date: Aug 2010
Posts: 3
xXMechXx is an unknown quantity at this point
Thanks. I'll try this out later and edit whether or not it also worked for me.
xXMechXx is offline   Reply With Quote
Old 08-03-2010   #98
Ironhide
- Ambient Wars Creator
 
Join Date: Oct 2009
Location: Texas
Posts: 210
Ironhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enough
Hello Mech. If Tilde is not working, that is not an Ambient Wars problem. That's a core ScriptHook problem. It is failing to load ScriptHookDotNet at all, which in turn means Ambient Wars, nor any other script based component in the scripts folder, will work that requires ScriptHookDotNet to be loaded properly.

I do wonder how many people think Ambient Wars doesn't work and don't realize they have a different problem but just assume it's AW. I think that has been happening quite a bit. That's a real shame.

Note that AW is in a state of exctreme flux and being heavily debugged to try and figure out how to make it stable on Motors machine. It is now utterly stable on my machine. I can stay in it for hours without any problems, including doing various missions, with all AW features enabled and the city going crazy. Motor on the other hand can not use Car Crews. He can use Mayhem and Street Thugs without problems, but the Car Crews are failing there. Once we continue to work out the issue and if we can get it stable there -too- then AW will be quite stable.

From what I've seen, it does relate to raw horsepower in some circumstances. Motor is CPU bound by the game. When he runs it, he is litterally at 100% usage. This is a good thing from a technical development standpoint because it means it will almost always show any and all problems on such a machine, since it will have zero grace period / extra CPU slice for overhead. So if I can figure out why creating car crew thugs crashes on his box the mod will be on the road to a stable, fun status.

The current release is in debugging mode and does not reflect the behavior of it when it's built to run normally so just keep that in mind. For example you'll see things pop in and out of existence and other factors. These are side effects of recent changes trying to isolate the cause of failure on Motors machine and do not reflect how AW normally does things, which is more subtle and in the distance.

Last edited by Ironhide; 08-03-2010 at 08:50 AM.. Reason: Fixed a typo
Ironhide is offline   Reply With Quote
Old 08-03-2010   #99
xXMechXx
Registered User
Newbie Member
 
Join Date: Aug 2010
Posts: 3
xXMechXx is an unknown quantity at this point
I decided to just make a new post instead of editing my old one, since there's a lot of new stuff that just doesn't fit in there. I'll just list what I went through

1)Downloaded and installed Visual C++ 2010 Redistributable off the site that motorsports gave me and launched via LaunchGTAIV.exe because I have xlive.dll
2) It loaded successfully and ~ worked, but when I pressed F9, it gave me an error of sorts
3) I read the error and saw some keywords that made me realize something
4) I read something along the lines of "Access to file denied"
5) Realizing that I was on a SUA, I exited the game and launched it as an administrator this time
6) Voila, the health/armor HUD flashed. I had to check here to make sure it launched correctly because there isn't a "Ambient Wars Revival On" or anything. That would've been more convenient instead of memorizing the HUD patterns, but I'm not complaining LC is DEFINITELY more "alive" now.


/*Off Topic Paragraph. Read at your discretion. o.O/
Unfortunately, I have to beat the game again because I don't want to have to deal with getting shot out of nowhere while I'm doing missions. Because most of the missions themselves take away a lot of health, no matter how skilled you are. And since I have a powerful weapons mod, one hit from a pistol is enough to kill me, but it makes destroying other things faster. Definitely looking forward to trying Ambient Revivals afterwards though!
/*End Off Topic Paragraph/

@Ironhide
Sorry about the completely unsatisfied part. Bad choice of words on my part.
xXMechXx is offline   Reply With Quote
Old 08-03-2010   #100
Ironhide
- Ambient Wars Creator
 
Join Date: Oct 2009
Location: Texas
Posts: 210
Ironhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enough
No worries dude. You thought it was AW related when it wasn't. I think a lot of people probably think that, when in reality they don't have a functioning ScriptHook at all. It's sad though, since a lot of folks probably miss out on some good fun because they accept their wrong idea and move on, never realizing their error. Oh well!

As far as the HUD flash versus displaying messages. That was actually requested long ago by a few people because having the messages displayed ruined the SOD factor. So instead, it simply went to a flashing health and armor indicator.

Well you can use peices of AW for it if you want until you finish the missions. It's not perfect, but there is a lot of effort in AW to try and prevent interfere with missions includings cut scenes, and peds and cars that are flagged as mission required. It leaves those alone when it detects them. It's ongoing process of refinement. If you do use AW while playing missions, like I do, you should at-least turn toggle it off, save, then back on when you are wanting to save. This insures there are no pieces hanging in memory like thugs and their cars that could be saved with the file.

Also, the fact you can press CTRL+S to saev anywhere any time except sitting in a car makes it a snap to resave over (or in a new) slot if you are worried an autosave might have saved some of the things I just described.

To play missions with a limited AW you could for do this:

For ThugLogic just:
Thug.UseCarCrews=False
Thug.UseStreetThugs=False
Thug.UseExtraMayhem=True

So no crews or crazed citizens are created, but mayhem against non mission req peds and cars still occurs for -some- ambient action.

And then for PlayerLogic just tweak or turn off the things you don't want from it, like health, armor, ammo regeneration or the speed of any of them etc.

And of course the new car selector can always be damn handy regardless of what you're doing. I'm really liking it. I just finished enhancing it even more and the v16 selector is pretty good I think.

Anyway I'm glad you got it working. One thing to note is the current versions of AmbientWars.ini are in debug status so they have a number of settings that are not what they usually are. Once I isolate (hopefully) what the issue is with Motorsport71 and fix or work around it I will put the file back to default settings which most folks would use as-is probably. but everything can be tweaked to your liking that was the entire point

Edit:
I think I will add a new property so the indicators for AW cranking up can be selected. The flashing, messages, or both.

I've also updated the readme (v16) with the scripthook issue and solution and since you mentioned it I also added a section for access denied. I meant to do that long ago but never got around to it, and I don't have that problem because even though I do use (and I do like because its intent is to help secure a machine and it does do that) UAC, I don't install games in default location. Only certain locations, such as Program Files, falls under the UAC control restriction. D:\Games\WhatEver does not etc.

Last edited by Ironhide; 08-03-2010 at 02:30 PM..
Ironhide is offline   Reply With Quote
Old 08-03-2010   #101
motorsport71
Teach Me Wise Ones, Leave Me Alone Stupid Ones
 
Join Date: Dec 2009
Location: Pittsburgh
Posts: 161
motorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enough
I am glad CarCrews is an issue with my machine... Not really. I am goint to shut off everything except for GTA and try again after work here.
motorsport71 is offline   Reply With Quote
Old 08-03-2010   #102
Ironhide
- Ambient Wars Creator
 
Join Date: Oct 2009
Location: Texas
Posts: 210
Ironhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enough
The latest spawn code uses staging positions instead of direct insertion with creation and then litterally warps them into the car. This is the last possible way to get them into the vehicle. Also, and I forgot to do this internally for v15, I want to disable the Ped Density boosting, and then also dramatically increase it and see what happens. If the creation of the thug in the latest code still fails, then it means the game has litterally failed to create a ped entity in the world. If it does not fail the creation at the staging position then we might be able to finally get around this problem you're having.

But don't change ped density until you've seen if the same error you've been getting still happens. I'm going to do a check to see if the ped density has any impact here. Going to reduce it to 1 and 1, and then 1 and 50. If 50 works there should be an OCEAN of peds in the game. I'm doubting the game is going to actually boost it by much regardless of the setting but it's worth finding out.

UPDATE:
Changed the ped densityboost to 1 so it was normal density. No problems. Changed it to 500 boost. It wasn't an ocean of peds, but it was also night time. There were substantially more peds around all over the place. No problems. So this confirms changing density does work. If the latest spawn code still fails there try going to 1 boost (for normal) and then do 500. It may turn you into a slideslow but I just want to see if there's any change at that point in spawning the crews.

Last edited by Ironhide; 08-03-2010 at 04:55 PM..
Ironhide is offline   Reply With Quote
Old 08-03-2010   #103
motorsport71
Teach Me Wise Ones, Leave Me Alone Stupid Ones
 
Join Date: Dec 2009
Location: Pittsburgh
Posts: 161
motorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enough
***EDIT: This is 2.0.0.15, just as i posted this i seen you put up 2.0.0.16****
BINGO! YAHTZEE! 2.0.0.15 ran great. gave it three 15 minute hard runs (without editing your config) and they all loaded without a hickup and ran smooth. I even stopped it mid-game and reinitialized it to make sure it didn't have an adverse effect. All seems good, no errors at all. Do you still want me to run a log anyway?
Notes about what I've seen though you may have brought these up:

Some of the car crews aren't attacking, i'd say 1 in 4 ish. they just drive around... if provoked, i.e force them out of the car, they will attack you with weapons.

Some of the Car crews spawn only a driver who doesn't attack.

The CarCrew "Garbage Collection Poll Distance?" may be too short, as soon as they all die on tick they disappear in front of me including car.
motorsport71 is offline   Reply With Quote
Old 08-03-2010   #104
Ironhide
- Ambient Wars Creator
 
Join Date: Oct 2009
Location: Texas
Posts: 210
Ironhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enoughIronhide will become famous soon enough
FFFFFFFFFFFFIIIIINALLY jesus CHRIST man.... Excellent!

Not a clue why the previous methods fail for you but at this point i don't give a damn. Woot!

No need for logs unless you experience actual errors.

Distances and a number of other issues related to garbage collection are being reworked in conjunction with the newest crew code I wrote yesterday or the day before or whenever the hell it was. In fact v16 (up now) already has some of it back in, so for instance an entirely dead crew doesn't just pop out of existence in front of you anymore. I'm working on the rest of the collection now. There's a few things to do. I'll also need to try and trail a few crews and see if can see the behavior you describe.

Some of the previous behavioral code and checks were also disabled due to trying to track down the issue you were having so some of that will be redone and shuold address some of those issues but not all.
Ironhide is offline   Reply With Quote
Old 08-03-2010   #105
motorsport71
Teach Me Wise Ones, Leave Me Alone Stupid Ones
 
Join Date: Dec 2009
Location: Pittsburgh
Posts: 161
motorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enoughmotorsport71 will become famous soon enough
I just downloaded v2.0.0.16, i'm going to run it for a while. I'll get back to you. HUGE SIGH OF RELIEF! Nice work
motorsport71 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:03 AM.