Map errors with 4.1 [message #485839] |
Sat, 08 February 2014 20:35 |
|
Mauler
Messages: 448 Registered: May 2003 Location: Alberta, Canada
Karma: 0
|
Commander |
|
|
So as you may know UltraAOW runs custom maps in it's rotation and as of 4.0 everything was running fine, however now with 4.1 RC2 the server has apparently caught some issues..
First is the Nod cargo plane seems to destroyable or has completely disappeared in the 4.1 update
Second, Seems like some custom maps have issues with pathfinding where there was none before in 4.0
Lastly LDD files seem to not properly load, As we required a custom LDD file for a fix to one of our maps, the modified LDD file was used to correct the position of the GDI weapons factory spawn point.. as the mammoth would spawn with it's main turret inside the WF doors.. we placed a LDD file into the server files and it fixed our issue and was fine with 4.0... something seems to have broken with 4.1 cause we are now having issues with that again..
|
|
|
|
Re: Map errors with 4.1 [message #485863 is a reply to message #485839] |
Sun, 09 February 2014 04:21 |
|
Rebuilding the maps is not necessary.
What I need is exact reproduction steps for the cargo plane issue and the pathfinding problem.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Map errors with 4.1 [message #485864 is a reply to message #485839] |
Sun, 09 February 2014 04:23 |
|
Mauler
Messages: 448 Registered: May 2003 Location: Alberta, Canada
Karma: 0
|
Commander |
|
|
Me and zunnie thought it might of been a issue with the loading of an external LDD file that caused the pathfinding info and carmarker to break and have the mammoth get stuck in the doors?
|
|
|
|
Re: Map errors with 4.1 [message #485910 is a reply to message #485839] |
Mon, 10 February 2014 03:53 |
|
Nothing affecting pathfinding was changed in leveledit, therefore if rebuilding pathfinding with 4.1 somehow gives you a different result to what 4.0 did, that's unintentional (and may in fact indicate something we need to look into)
As for the .ldd issue, I just ran a test:
1.Put 4.1 on my test FDS
2.Extracted C&C_Field.ldd into my data folder.
3.Started my test FDS in the debugger (with C&C_Field as the loaded map)
4.Confirmed that it was loading C&C_Field.ldd from the data folder and not from C&C_Field.mix
5.Repeated the test using C&C_Aitest.mix (in case the stock maps somehow perform different to custom maps)
6.Confirmed that it was loading C&C_Aitest.ldd from the data folder and not from C&C_Aitest.mix
So as of right now I am unable to reproduce the issue. If someone who is able to reproduce the problem could contact me on IRC/IM so I can go through some debugging stuff, that would be great.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Map errors with 4.1 [message #485912 is a reply to message #485839] |
Mon, 10 February 2014 04:24 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
The problem as far as I can see it is this;
- Map pathfinding was generated in 4.0 and earlier
- Harvesters pathfinding worked perfectly
- Client updates to 4.1, map files unchanged
- Harvesters now crashing into walls all over the place on SOME maps, but not all. Sometimes only one of the two harvesters would crash
- Regen pathfind with 4.1 LE, re-export map
- Harvesters working properly again
I suspect the waypaths are somehow becoming detached from the pathfind grid or otherwise failing to be detected by the harvester so it tries to "bee-line" its way to where it wants to be, which sends it crashing into a wall.
You can get a copy of the broken maps from TSR by editing the registry and setting the version number in HKLM/Software/Bluehell/TSRClient to 1.1.0.0. Run the launcher, right click on TSR and choose repair, it'll reinstall that version of TSR. Then launch TS_Crossroads and watch the Nod harvester after its first dump, it should crash into one of the destructable walls instead of going around the front of them.
Change the version number again to 1.0.5.5 and repair it again. This is the SAME map, but prior to 4.1. The pathfinding now works correctly.
[Updated on: Mon, 10 February 2014 04:29] Report message to a moderator
|
|
|
Re: Map errors with 4.1 [message #485918 is a reply to message #485839] |
Mon, 10 February 2014 05:04 |
|
do you happen to know which reborn version was the first one with the "works in 4.1" map?
I will probably do 2 things to investigate this, one being code regressiom testing to see what made it stop working in build 1.1.1.0 and the second being file comparisons of the lsd/ldd files between the "works in 4.1" msp and the broken one to see whats different between the two that would make it work
both things will help narrow down any bug(s) that exist in the pathfindiing code.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Map errors with 4.1 [message #485920 is a reply to message #485839] |
Mon, 10 February 2014 06:50 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
1.1.1.5 (the current public version) is the first "works in 4.1" version of that map as I recall, but I'm not sure it'll be much help since I actually redid the zones and whatnot on TS_Crossroads for a different reason at the same time I was fixing it.
I believe you can see the same problem on TS_Snow, with the Nod harvester getting stuck on the edge of the gate in the 1.1.0.0 version and working in 1.1.1.5 after only re-doing pathfind.
When I'm home from work I'll be able to grab the "broken" maps individually from the FTP server so you can just drop them on top of the current version and compare, so if you need me to do that give me a shout on Skype in about 5 hours or so, if you're still up, or leave me a task on Trello or something.
[Updated on: Mon, 10 February 2014 07:00] Report message to a moderator
|
|
|
|
Re: Map errors with 4.1 [message #485947 is a reply to message #485839] |
Mon, 10 February 2014 16:27 |
|
What I need are the scripts build number/version/details/build files from 1.0.5.5 (the last good version), the scripts build number/version/details/build files from 1.1.1.0 (the version that broke things), the broken TS_Snow map (from 1.0.5.5/1.1.1.0) and the working TS_Snow map (from 1.1.1.5)
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Map errors with 4.1 [message #486078 is a reply to message #485839] |
Thu, 13 February 2014 22:31 |
|
After checking with StealthEye, I can confirm that if you have a map in the TTFS (i.e. available to be downloaded to the client) then files in the TTFS (including .ldd files) will override any files local in the data folder. The solution (per what StealthEye said) is to update the TTFS package with a new map version containing the fixed ldd file.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
|
|
|
Re: Map errors with 4.1 [message #486131 is a reply to message #485839] |
Sat, 15 February 2014 02:14 |
|
Yeah I have tracked down the piece of code that seems to be broken and am trying to figure out whats up.
Also, the cargo plane issue is now fixed (according to Saberhawk)
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Map errors with 4.1 [message #486150 is a reply to message #485839] |
Sun, 16 February 2014 02:31 |
|
I have a fix that fixes the pathfinding for the broken Tiberian Sun: Reborn map but I want to verify that its fixed for the Renegade map (just to be sure). Can anyone who has been having 100% reproducible pathfinding issues on a renegade map please contact me (via IRC/IM) so we can verify things?
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|