Forgotten Hope Public Forum

Forgotten Hope 2 => Singleplayer and Coop => Topic started by: Raziel on 21-07-2010, 18:07:41

Title: Purple Heart Lane: Testing
Post by: Raziel on 21-07-2010, 18:07:41
First two tests on PHL
Settings:
Ai aggressiveness set to 1.0
No of bots: 20 each side

(Noticed an error in the message display saying: teamSPs ERROR when dealing with Orchard axis 5,6,7,8,9) It's displayed throughout the game.

Test A
Played as Axis
Not in a Squad

Tickets
600 - 800
Allies reach Ticket 757: Flak Gun Manned
583 - 729 (Lost Bridge No.3 )
567 - 645 (Lost Causeway)
566 - 630 (Flak gun starts firing continuously)
563 - 599 (Lost Bridge No.4 but recaptured it)
Few seconds later CTD

Test B
Played as Allies + No Squad + Stopwatched

Tickets
771 - 587 (Flak begins to fire)
756 - 586 (Bridge No 3 Captured) [3m43s]
706 - 575 (Attack on Causeway) [6m 6s]
685 - 573 (Causeway Captured) [6m54s]
638 - 565 (Nebel starts firing) [10m 5s]
613 - 559 (Bridge No 4 Captured) [11m 52s]
578 - 553 (Flak fired by allied) [14m 9s]
542 - 542 (Mortar fired by Axis [15m 39s]
525 - 536 (Position FJR6 Captured) [17m 50s]
516 - 518 (Ingou Farm Captured) [20m 46s]
511 - 472 (Mg42 emplacement near Farm manned by Axis (looping sound) [23m 46s]
478 - 308 (Battle continues near Crossroad) [33m 49s till 46m 17s Sector E2 - E3]
438 - 90 (Ingou Farm greyed but recaptured) [47m 33s]
418 - 0 (Battle end - Allies Win)

 ???  The problem with PHL gets more intricate  >:(



Title: Re: Purple Heart Lane: Testing
Post by: Natty on 22-07-2010, 14:07:42
I will ask our new SP dude to look at it.. the TeamSP bugs is easy to fix. thanks for this report :)
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 22-07-2010, 14:07:18
Actually this is not from the Stock Purple Heart Lane, but as a bug that occurs when Drawde's mod is put on top of FH2... With the hope of Drawde's mod contents making it into stock Fh2, we need to find this bug
Title: Re: Purple Heart Lane: Testing
Post by: Raziel on 22-07-2010, 17:07:00
Djinn did Purple Heart Lane crash before we applied Drawde's patch?....I can't say coz I never played it as single player.
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 22-07-2010, 18:07:50
It didnt. Try removing the patch and play with the complete stock map if you still have it backed up somewhere.

Title: Re: Purple Heart Lane: Testing
Post by: Raziel on 24-07-2010, 16:07:49
Will try it later on. Off to the beach  8)
Title: Re: Purple Heart Lane: Testing
Post by: Drawde on 24-07-2010, 19:07:45
Is it the map AI mod/patch which causes the CTD, or is it the AI minimod itself? (i.e does the CTD occur if you're running the AI mod but
are using the original, unpatched map file)

If it's the AI minimod rather than the map patch, presumably the problem is a weapon or object which only occurs in this map - but I can't think of any offhand.
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 24-07-2010, 21:07:34
Its definitely the mod. It was CTDing from the 1.3 Beta 1 of your mod, before you got map files done
Title: Re: Purple Heart Lane: Testing
Post by: Drawde on 01-08-2010, 13:08:36
If it's the mod, not the map, that's causing the problem, some suggestions for narrowing down the cause of the CTD:

- Try disabling AITweakVehicles.zip in serverarchives.com (add "rem " to the beginning of the line"); if this fixes the CTD, the cause is a static weapon like the Nebelwerfer or 88 (not a mortar or MG)
- Alternatively, disable AITweakWeapons.zip, if the game no longer CTDs then the cause is either a hand weapon or a stationary mortar/MG.

If AITweakWeapons.zip is the cause (likely) you can narrow it down further if you have any experience working with archive files: unpack the zip, remove either the Emplaced or Handheld folder (move them to a temporary folder somewhere else) and re-pack it. This will tell you if the cause is a hand weapon or stationary emplaced weapon.
You can narrow things down even more by removing individual weapon folders but this is a very slow + tedious job, only do it if you suspect a particular type of weapon (e.g grenade) is the cause.

Running FH2 in windowed mode helps a lot - this way you can start up the map and have it running in the background whilst working on something else, there's no need to actually play the game to test it unless the CTD cause involves something that bots can't do, like pickup kits or deploying weapons  (doesn't seem like this is the case here)

This is more or less how I tracked down previous similar CTDs. Don't have time at the minute to do lots of testing like this or I'd do it myself, may try later this week if I have time and nobody else has made any progress.
Title: Re: Purple Heart Lane: Testing
Post by: Raziel on 01-08-2010, 17:08:20
Thanks for the hints and tips Drawde...will start testing again...keep you posted
Title: Re: Purple Heart Lane: Testing
Post by: cannonfodder on 02-08-2010, 10:08:31
Been busy of late, so I've only tried it once, but I got through the whole round without a CTD (using AITweaks1.3beta2 and MapTweaks1.0)... :-\

Took the first three flags and...well...that's where we were stopped in our tracks by Fritz. Between the Nebelwerfer and the two static MG42's, just getting off the bridge and into the field was an achievement in itself... :o

It wasn't until one of the bots got on the mortar and started pounding the Nebel base that we actually made it across the field and capped it, only held it for a minute before they took it back and resumed raping us with the MG's... :P

Didn't notice any bots use the mortar west of road.



***EDIT***
Bummer dude, that first one must've been a lucky round...I've tried it 4 more times and every time it has CTD before we were able to take the third flag. Usually happens a few minutes after taking the second flag.

FWIW, the 88 and Granatewerfer were pounding the crap out of us at the time.
Title: Re: Purple Heart Lane: Testing
Post by: Raziel on 09-08-2010, 11:08:51
Bummer dude, that first one must've been a lucky round...I've tried it 4 more times and every time it has CTD before we were able to take the third flag. Usually happens a few minutes after taking the second flag.
FWIW, the 88 and Granatewerfer were pounding the crap out of us at the time.

 8)  ....I don't have much free time right now. Hopefully will restart testing soon
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 07-09-2010, 23:09:48
So this is what we know, playing as Americans (I din't have the patience to play as Germans and wait for the Americans to finally catch up), we cap the first line defense with the mg position easily, although there is great lag once we engage enemy troops at the flag, a fact clearly not present in the stock map

Question, could this be a change in spawn numbers brought about by Drawde having got bots spawning more defensively and less randomly?

Once this flag is capped, German bots are more likely to use the mg defending the road, cap this base and the 88 lets loose, along with both mgs at the 3rd flag.

CTD may occur anytime from a number of seconds to right after capping the 88 gun.

Activities occuring at that time include:
/mad charge by US paras on either side of the road and along the road with smgs, carbine, rifles, grendes and LMGs
/Scattered German defense from the mg on the far left to the 88 on the far right with small arms, bolt action rifles, LMG and smg
/2 mg42s creating a kiling zone arcing from almost along the left edge to the road
/88 gun firing as far as the 2nd flag and hedgrows (and slightly beyond) defended by a few Germans in that area and behind the hedgrow there
/Nebelwerfer fire firing as far as the open field infront of the 88
/Mortar fire from behind the 88

We might want to start broader than i stated in the other thread:
First off, disable Drawde weaponstweak as he suggested, see if that works, then do the same for vehicles

Lets see which stops the crash, then we can narrow it down

Hop to it people!
Title: Re: Purple Heart Lane: Testing
Post by: Remick04 on 08-09-2010, 22:09:06
Is it only the 64 player size that causes the crashes or are other sizes crashing? Also we can try fooling around with the bot ratio, setting more bots to one team versus the other, see if that helps narrow down which team is causing the crash. It's possible the crash is being caused be the attackers trying to use a weapon against the defenders, But if the defenders aren't dug in they don't end up using the weapon and the maps plays fine. I just can't think of a single weapon in use on this map that isn't also used on other maps that work fine.
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 17-09-2010, 23:09:58
Guys! Please, please, rally to see if we can fix this for 2.3. I cant do much since i dont have a pc, or indeed the net, beside that on my fon.

Im going to contact clivewil about officially approving the use of his stuka architecture to our devs
Title: Re: Purple Heart Lane: Testing
Post by: wildpalms on 10-10-2010, 13:10:22
I will ask our new SP dude to look at it.. the TeamSP bugs is easy to fix. thanks for this report :)

How are the TeamSP bugs fixed? Are you saying there is a modification I can do on my server to get rid of those messages? 
Title: Re: Purple Heart Lane: Testing
Post by: Remick04 on 10-10-2010, 22:10:24
The 'TeamSP' error messages are caused by outdated gamplayobjects.con files. TeamSP stands for Team 'SpawnPoint'. Some maps have flags with spawnpoints that are team specific. I hope I fixed this on PHL by updating the GPO files, but that did override anything Winterhilf did to make the defense more aggressive. Now that devilman seem to have found what’s causing PHL to crash I'll try and fix the bots use of defenses to make them more aggressive.

I trust Devilmans find, he certainly knows more about what he's doing than I... But I find it odd because there are a couple maps that I know for a fact the bots use the MG42 lafette (Point Du Hoc 64 I believe is one) and it doesn't crash. There must be something specific about the ones on PHL... but a good find none the less.
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 11-10-2010, 01:10:27
I trust Devilmans find, he certainly knows more about what he's doing than I... But I find it odd because there are a couple maps that I know for a fact the bots use the MG42 lafette (Point Du Hoc 64 I believe is one) and it doesn't crash. There must be something specific about the ones on PHL... but a good find none the less.


there not in the 64 size,they are in the 32 size,SP & CO-OP
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 11-10-2010, 05:10:18
Somebody want to test this on PHL 64
40 minutes with the 2 problem stationary guns included and no CTD

http://www.filefront.com/17374993/objects_weapons_server.zip

make a backup of your original objects_weapons_server.zip file first
Title: Re: Purple Heart Lane: Testing
Post by: Rumia on 11-10-2010, 07:10:42
Somebody want to test this on PHL 64
40 minutes with the 2 problem stationary guns included and no CTD

http://www.filefront.com/17374993/objects_weapons_server.zip

make a backup of your original objects_weapons_server.zip file first

tested half an hour on each side, both SP and Coop with 32 bots, no CTD
no bot mounted the mg though
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 11-10-2010, 07:10:37
tested half an hour on each side, both SP and Coop with 32 bots, no CTD
no bot mounted the mg though

I saw them on it a few times

try this version,rename to objects_weapons_server
delete the _V2

http://www.filefront.com/17375336/objects_weapons_server_V2.zip/

Can you try with more bots if possible
also was that 32 bots total,or per side ?
Title: Re: Purple Heart Lane: Testing
Post by: Rumia on 11-10-2010, 09:10:15
Tried V2 with 63 bots total, CTD 2 times
Then I switched back to the V1 at 18# everything went well but no bot on mg, CTD 2 times when I mount the MG34 at bridge no.4
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 11-10-2010, 09:10:31
Tried V2 with 63 bots total, CTD 2 times
Then I switched back to the V1 at 18# everything went well but no bot on mg, CTD 2 times when I mount the MG34 at bridge no.4

thanks for the feedback,that confirms my suspisions

was it the mg34_bipod or the mg34_lafette at bridge_no_4 ?

also have you,or anyone else seen bots standing next to or close to the mg34_lafette or the mg42_lafette ?
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 11-10-2010, 10:10:24
They generally spawn right behind the 34 lafette, where the springfield spawns.

The mg42 is not far from the sandbags around the nebelwerfer and bots need to pass next to it.
Title: Re: Purple Heart Lane: Testing
Post by: Rumia on 11-10-2010, 10:10:55
Tried V2 with 63 bots total, CTD 2 times
Then I switched back to the V1 at 18# everything went well but no bot on mg, CTD 2 times when I mount the MG34 at bridge no.4

thanks for the feedback,that confirms my suspisions

was it the mg34_bipod or the mg34_lafette at bridge_no_4 ?

also have you,or anyone else seen bots standing next to or close to the mg34_lafette or the mg42_lafette ?

MG34 Lafette
It CTD when another german bot standing close to me
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 11-10-2010, 10:10:46
Makes sense. The mg34-lafette is rarer. The 42 is in alot of maps. And its the 34 that is active near the 88 when it ctds.

Can we confirm, its only the 34?
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 11-10-2010, 10:10:48
MG34 Lafette
It CTD when another german bot standing close to me

This is a very common misonception people have
just because you are using an object at the time,and it CTD's doesnt mean you caused it
when a human causes a CTD,there is more chance of an error message then when a bot causes it
if you enter a weapon/vehicle and you have used all its functions (left click,right click etc) and it doesnt CTD,then there is generally nothing wrong with it,(for a human)

i was on this MG34 Lafette using all its functions for 5 minutes with no CTD

(http://i135.photobucket.com/albums/q137/DEVILMAN_09/mg34lafette.jpg)
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 11-10-2010, 11:10:07
I get the feeling the bots arent using some of these guns,as they are not it the path that the infantry takes
they have a very small left/right rotation and would be much better placed on the main road

i made another update to the weapons,and added them to a map where i know they will be in the bots walking path,and they used them without CTD

v3 rename to suit
http://www.filefront.com/17375811/objects_weapons_server_V3.zip/

(http://i135.photobucket.com/albums/q137/DEVILMAN_09/mg34lafette1.png)
Title: Re: Purple Heart Lane: Testing
Post by: Rumia on 11-10-2010, 11:10:53
Well I played again using zip file at 18#, stayed on both MG34 Lafette and MG42 Lafette for whole round each, no CTD either.
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 11-10-2010, 12:10:34
The issue, like remick said in the error thread, is that the curremt version uses fh2.25 rather than 2.26 spawn order. In 2.26, the map, with drawde's ai that caused the ctd, were always occupied and the ctd guaranteed 9/10 times because germans spawned from flag 1, whereas from 2.25, germans only spawned at the bridge and sometimes @ the 88

Also, the nebelwerfer base was not a flag point in 2.25 sp, but was in 2.26 as it had always been in conquest.

If this build has either the late spawning, the non-flag spawn area at the mg42 or both, then ewpect it to be luck getting the 34, 42 or both, bot-manned
Title: Re: Purple Heart Lane: Testing
Post by: Rumia on 11-10-2010, 16:10:01
v3 rename to suit
http://www.filefront.com/17375811/objects_weapons_server_V3.zip/

with this version i set up the game and do nothing just let bots fighting, for 2 rounds no ctd
then in mid time of the 3rd round i entered the mg34 lafette at bridge no4, and ctd about 2 minutes after
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 11-10-2010, 21:10:58
What were the changes between v1, 2 and 3? Are we still narrowing down or trying to fix the bug?

Do write what you do. It helps the SP fan project not depend on only one person in the know, and allows a joint-effort
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 12-10-2010, 01:10:06
Both stationary guns have 2 parts,the stand and the gun
i had to fix the AI file for both
V2 was just to clarify the problem code
V3 just gave a higher startegic strength to the guns
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 15-10-2010, 09:10:21
Any word on this? Have you been able to id the exact issue? Any solutions?
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 15-10-2010, 10:10:24
Any word on this? Have you been able to id the exact issue? Any solutions?

Do you read anything i post here ?

I have already posted the exact issue and a solution here  ::)
Title: Re: Purple Heart Lane: Testing
Post by: rd.king on 15-10-2010, 19:10:20
Devilman
Most of us have seen and are thankful of this solution.
Now can you please look at Operation_Totalize. ;D
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 15-10-2010, 19:10:08
Well, I know it has to do with the mg34 and/ or 42. But no post to fix it to keep them in-map and non-ctding that I've noted.

I'm looking for something SPers can use to keep an intact gameplayobjects.con without ctd, and which remick can plug into the next build
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 16-10-2010, 01:10:09
Devilman
Most of us have seen and are thankful of this solution.
Now can you please look at Operation_Totalize. ;D

Operation_Totalize CTD's after about 10 minutes,with this error,which "seems" to be related to the navmesh/pathfinding

(http://i135.photobucket.com/albums/q137/DEVILMAN_09/operation_totalize.jpg)
Title: Re: Purple Heart Lane: Testing
Post by: Devilman on 16-10-2010, 01:10:54
weapon fix for MG34 Lafette and MG42 Lafette
unzip fh2 rar file,copy contents into your fh2 folder,overwriting the server archive file when asked
the only files included in the rar files,are the 2 problem weapons

http://www.filefront.com/17392854/fh2.rar/
Title: Re: Purple Heart Lane: Testing
Post by: djinn on 16-10-2010, 09:10:26
Cool thanks. Will alert Remick04 about adding this to the build

So what part of Drawde's code broke it? Because it was fine until after Drawde's mod.
Title: Re: Purple Heart Lane: Testing
Post by: Drawde on 31-01-2011, 19:01:09
Is there any possibility you could post a description of exactly what you changed in the MG34/42 Lafette files to fix the CTD?
If you post details of the fix it will be easier for the SP/AI devs to fix this in the next FH2 version, also I may be able to include it in the future 2.3 version of my AI minimod.