Map: Island Hopping Reloaded II - What causes its incompatibility?

topic deleted

Information and discussion for custom maps and mods.
Post Reply
Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:58 pm, edited 1 time in total.

User avatar
Materianer
Posts: 199
Joined: Mon Jul 04, 2016 8:27 am

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Materianer »

The first thing what you can do when you have a map is incompatible is taking a look into the debug.log
At best you start openra load that map and close the game then to make the log shorter.

These messages are often in this file and have nothig to do with your error.

Code: Select all

MapCache.LoadAsyncInternal ended
--Tick: 0 (net)
--Tick: 0 (net)
--Tick: 0 (net)
Received unknown order with type Disconnect
--Tick: 0 (net)
--Tick: 0 (net)
Remote map query failed with error: File not found on remote server
URL was: https://resource.openra.net/map/hash/83f5e6194a87a3f3d372a,32398a710b7dce6140da9996c,24bb96bff83deaf2aace4f2551a9f8bfa05f34c9,31323395711f407ce4d7758248eec19c5c695cce,9eba8007b117/yaml
The error i found in the map was

Code: Select all

--Tick: 0 (net)
Failed to load rules for `Island Hopping Reloaded` with error :Cannot locate type: ExternalCapturableInfo
--Tick: 0 (net)
You should now know that the map has a modified code so the net step is to try load that map in the mapeditor and save it as a open file.
If that fails you can extract the .oramap and use the 3 files in it to copy them into another open folder saved map.
Just overwrite the files in it then and you should be able to get any old map work again.
But your map shold be loadable in mapeditor so just save it open and open the map.yaml if there are no other yaml files.
The modified rules should be at the bottom of the file then.

MISS: FCOM: and HOSP:
have some old traits and some doubled standard rules for them.
This code should be good for MISS:

Code: Select all

	MISS:
		Health:
			HP: 2500
		RevealsShroud:
			Range: 38c0
		Tooltip:
			Name: Advanced Radar
and just remove those lines.

Code: Select all

		ExternalCapturable: 
		ExternalCapturableBar: 
		EngineerRepairable:
hf
:D

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:38 pm, edited 1 time in total.

User avatar
Punsho
Posts: 143
Joined: Wed Jul 18, 2018 2:56 pm
Location: Lithuania

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Punsho »

running --check-yaml is very helpful when modding or trying to update a mod https://github.com/OpenRA/OpenRA/wiki/Utility

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:38 pm, edited 1 time in total.

User avatar
Materianer
Posts: 199
Joined: Mon Jul 04, 2016 8:27 am

Re: Map: Island Hopping Reloaded II - What causes its incompatibility?

Post by Materianer »

Ronald wrote:
Tue Jan 07, 2020 10:02 am
Waow.. Thanks Materianer, for your extended and very detailed explanation.

QUESTIONS:
1 - Where is that OpenRa debug.log located? I've found one in (on Windows 7 64 bits) over here:
C:\Users\Ronald\Documents\OpenRA\LOGS\debug.log

2 - This debuglog (the one I mentioned above) showed this lines:

Code: Select all

604 --Tick: 0 (net)
605 - Failed to load rules for `Island Hopping Reloaded` with error :Cannot locate type: AcceptsSuppliesInfo
606 --Tick: 0 (net)
Hehe that "Info" in this errormessage tricked me several times, i often just doubleclick on it and search for it on some places.
That means there is an unkonown trait named AcceptsSupplies if you search on github you can find the documentation to this old one.
https://github.com/OpenRA/OpenRA/search ... ype=Issues
If you search the yaml code for it you will find it under MISS:
Ronald wrote:
Tue Jan 07, 2020 10:02 am
3 - Where can I find a list with of the "types" which produced this error?
This map is from 2016
The Trait was renamed 2017
I think the 3 buidings in this yaml where inactive to that time so most of the stuff can be just removed now.

The 2 things i mostly work with is
+ to know how the original units use Traits the newest release yaml codes
https://github.com/OpenRA/OpenRA/tree/bleed/mods/ra
+ The Trait Wiki to know how the Traits work.
https://github.com/OpenRA/OpenRA/wiki/Traits

Post Reply