Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - Data Integrity Issues in game provided Data files.
  FAQ FAQ  Forum Search   Register Register  Login Login

Data Integrity Issues in game provided Data files.

 Post Reply Post Reply Page  12>
Author
Kalculas View Drop Down
New Poster
New Poster
Avatar

Joined: 15 Apr 2012
Location: Lan Larosh
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kalculas Quote  Post ReplyReply Direct Link To This Post Topic: Data Integrity Issues in game provided Data files.
    Posted: 13 Mar 2017 at 05:18
How do we know that the combat terrain from the game map is the one actually used in a battle? I too want to believe that the combat terrain value matches up with the TerrainSpecificTypeID. That would mean that it's converted to something that it's not when it's written to the data file? Or are there two sources of world map data?
Back to Top
Bobtron View Drop Down
Wordsmith
Wordsmith
Avatar

Joined: 21 Mar 2015
Location: Canton
Status: Offline
Points: 123
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bobtron Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar 2017 at 21:56
yep, ive noticed this problem ever since i started working with datafiles 9 months ago

best workaround ive found is that, since the terrain ids are accurate, is to manually make a datafile that has the corresponding TerrainCombatTypeID to each of  the 229 TerrainIDs, and to discard the given TerrainCombatTypeID
I support the Undying Flame!
Back to Top
Digioso View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 09 Feb 2015
Location: Germany
Status: Offline
Points: 312
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digioso Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar 2017 at 08:34
Unfortunately there still hasn't been any change on this.
The data is still not accurate.

For example:

Square -612|-278

From today worldmap datafile:
2557667|-612|-278|0|0|0|0|9|18|7|24
TerrainCombatTypeID = 7

From the terrain combat data XML file:
<terraincombat><terraincombattype id="7">Plains</terraincombattype></terraincombat>

So it should be on plains but in the game this square is a Small hill.
Back to Top
Digioso View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 09 Feb 2015
Location: Germany
Status: Offline
Points: 312
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digioso Quote  Post ReplyReply Direct Link To This Post Posted: 15 Feb 2015 at 17:19
I'm using http://data-root.illyriad.co.uk/datafile_worldmap.txt .
Back to Top
IbnSenna View Drop Down
Postmaster
Postmaster
Avatar

Joined: 20 Nov 2011
Location: Paris france
Status: Offline
Points: 632
Post Options Post Options   Thanks (0) Thanks(0)   Quote IbnSenna Quote  Post ReplyReply Direct Link To This Post Posted: 15 Feb 2015 at 14:54
Mind also that 'mirror' servers:
http://data-root.illyriad.co.uk/datafile_worldmap.txt
http://data.illyriad.co.uk/datafile_worldmap.txt

are usually inconsistent, even after the daily update!
data-root is most of the time more accurate, but not everyday…


Back to Top
Digioso View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 09 Feb 2015
Location: Germany
Status: Offline
Points: 312
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digioso Quote  Post ReplyReply Direct Link To This Post Posted: 15 Feb 2015 at 07:44
I think I found some issues in the datafile_worldmap.txt as well.

All of these have the TerrainCombatTypeID 3, which means they're large hills.
However if you check them ingame they're aren't large hills. They're Dolmens (TerrainSpecificTypeID = 45), Ruined Towers (TerrainSpecificTypeID = 43) and so on, mostly on Plains, Some of them (eg -316|791) are buildings ingame and should have TerrainCombatTypeID 8 and not 3.

459105|-125|771|1|2|2|1|19|45|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-125/771
2362052|-129|-180|2|1|4|1|17|45|3|18 - http://elgea.illyriad.co.uk/#/World/Map/-129/-180
483099|-143|759|3|3|1|1|17|45|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-143/759
2269825|-310|-134|1|1|4|2|17|45|3|18 - http://elgea.illyriad.co.uk/#/World/Map/-310/-134
418894|-316|791|1|2|4|3|15|43|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-316/791
590937|-359|705|3|4|1|2|15|123|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-359/705
2305787|-366|-152|1|1|5|2|16|45|3|18 - http://elgea.illyriad.co.uk/#/World/Map/-366/-152
256757|-372|872|1|5|3|1|15|145|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-372/872
1931518|-448|35|2|1|1|4|17|45|3|17 - http://elgea.illyriad.co.uk/#/World/Map/-448/35
2343718|-454|-171|3|1|2|2|17|45|3|18 - http://elgea.illyriad.co.uk/#/World/Map/-454/-171
516748|-511|742|1|4|3|1|16|43|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-511/742
3824372|-540|-911|2|1|5|1|16|45|3|35 - http://elgea.illyriad.co.uk/#/World/Map/-540/-911
226516|-598|887|1|2|2|3|17|45|3|1 - http://elgea.illyriad.co.uk/#/World/Map/-598/887
546663|-611|727|5|1|1|1|17|45|3|2 - http://elgea.illyriad.co.uk/#/World/Map/-611/727
146452|-622|927|1|2|3|1|18|156|3|1 - http://elgea.illyriad.co.uk/#/World/Map/-622/927
2375507|-681|-187|4|1|2|2|16|45|3|19 - http://elgea.illyriad.co.uk/#/World/Map/-681/-187
1228881|-734|386|1|4|2|2|16|156|3|8 - http://elgea.illyriad.co.uk/#/World/Map/-734/386
1030683|-833|485|1|3|1|3|17|45|3|8 - http://elgea.illyriad.co.uk/#/World/Map/-833/485
2590198|-97|-294|2|4|1|2|16|43|3|18 - http://elgea.illyriad.co.uk/#/World/Map/-97/-294
332175|-992|834|1|2|1|4|17|45|3|1 - http://elgea.illyriad.co.uk/#/World/Map/-992/834
651479|153|675|5|2|1|2|15|45|3|3 - http://elgea.illyriad.co.uk/#/World/Map/153/675
629468|153|686|2|1|1|2|19|43|3|3 - http://elgea.illyriad.co.uk/#/World/Map/153/686
2872605|169|-435|1|4|1|2|17|45|3|25 - http://elgea.illyriad.co.uk/#/World/Map/169/-435
2732565|199|-365|2|4|2|2|15|45|3|25 - http://elgea.illyriad.co.uk/#/World/Map/199/-365
135329|261|933|2|3|2|3|15|45|3|3 - http://elgea.illyriad.co.uk/#/World/Map/261/933
1286116|473|358|2|4|1|1|17|45|3|11 - http://elgea.illyriad.co.uk/#/World/Map/473/358
2152600|524|-75|1|3|2|1|18|45|3|16 - http://elgea.illyriad.co.uk/#/World/Map/524/-75
599854|554|701|1|3|1|3|17|45|3|5 - http://elgea.illyriad.co.uk/#/World/Map/554/701
2696920|572|-347|2|1|4|2|16|43|3|27 - http://elgea.illyriad.co.uk/#/World/Map/572/-347
1248430|806|377|3|1|3|2|16|45|3|12 - http://elgea.illyriad.co.uk/#/World/Map/806/377
2409017|813|-203|1|3|2|1|18|45|3|20 - http://elgea.illyriad.co.uk/#/World/Map/813/-203
1604630|828|199|2|4|1|1|17|45|3|10 - http://elgea.illyriad.co.uk/#/World/Map/828/199
428052|838|787|2|1|1|5|16|45|3|5 - http://elgea.illyriad.co.uk/#/World/Map/838/787
2359032|853|-178|4|1|2|2|16|45|3|20 - http://elgea.illyriad.co.uk/#/World/Map/853/-178
2361046|866|-179|2|2|2|4|15|45|3|20 - http://elgea.illyriad.co.uk/#/World/Map/866/-179
2127017|954|-62|1|3|1|2|18|45|3|20 - http://elgea.illyriad.co.uk/#/World/Map/954/-62
2343139|968|-170|2|1|3|3|16|45|3|20 - http://elgea.illyriad.co.uk/#/World/Map/968/-170

Back to Top
ubluntu View Drop Down
Forum Warrior
Forum Warrior


Joined: 24 Aug 2013
Status: Offline
Points: 324
Post Options Post Options   Thanks (0) Thanks(0)   Quote ubluntu Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 2014 at 00:36
In the currently served map data(not datafile, but what loads looking at the map), there are only 17 squares with TerrainSpecificType=4, and all seem to be a specific angle of shoreline.


Here is an updated datafile_worldmap.txt (official datafile is from 2012-04-21)

If anyone else tried to make GeoID(or X & Y) a unique key then ran into issues importing datafile_worldmap.txt, these two rows were duplicated(problem is not in my updated file).

GeoID|X|Y|Wood|Clay|Iron|Stone|Food|TerrainSpecificTypeID|TerrainCombatTypeID|RegionID
1810037|132|96|7|3|5|5|5|4|6|15
1810037|132|96|7|3|5|5|5|4|6|15
1930359|394|36|5|5|5|5|5|4|7|14
1930359|394|36|5|5|5|5|5|4|7|14

[Edit:fixed link]


Edited by ubluntu - 28 Apr 2014 at 04:11
Back to Top
nutation View Drop Down
New Poster
New Poster
Avatar

Joined: 19 Jan 2014
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote nutation Quote  Post ReplyReply Direct Link To This Post Posted: 09 Feb 2014 at 17:02
I'm running into this issue now, so I'll add what I've found.

The issue seems to stem from a tile having a TerrainSpecificTypeID = 4 in the datafile_worldmap.txt. This ID is not present in the datafile_terrain.xml.

Now, inside datafile_towns.xml, it might be possible to determine the underlying tile TerrainSpecificTypeID by using the terrainoveralltype ID. However, this too is inconsistent since there are some values of "4" for that ID attribute.

For now, I'm treating all TerrainSpecificTypeID = 4 as unknowns, and will build an errata to supplement my work. However, I too would like to request that the datafile_worldmap.txt file be investigated to replace these unknowns with their proper IDs.

Presently, there are 25,388 tiles with this unknown TerrainSpecificTypeID.


Edited by nutation - 09 Feb 2014 at 17:03
Back to Top
tallica View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 27 Jun 2011
Location: Seattle, WA
Status: Offline
Points: 383
Post Options Post Options   Thanks (0) Thanks(0)   Quote tallica Quote  Post ReplyReply Direct Link To This Post Posted: 26 Oct 2012 at 18:11
I still think that this need to be looked at. I feel like if someone really wanted to they could wreck the map by using the relocation spell. I know you can only use it once, but that's per account. What's to stop some really devoted troll from making an account, wrecking a 7-food sq, abandoning, rinse and repeat?

In a relatively short amount of time someone could clear out a large area of 7-food sqs, this could be used tactically to eliminate alliance growth in a region.

What is needed is a sort of sweeper that checks squares to see if there is a town there, if not the square should revert to it's original value. This could be a weekly or monthly check.

However, if this is what the devs want to happen, then the tile properties need to be altered, I've seen several deer and such that don't have the typical distribution, and I've seen people settle on those squares to realize that they are not what they wanted.

Either way, something should be done.
Back to Top
Albatross View Drop Down
Postmaster General
Postmaster General


Joined: 11 May 2011
Status: Offline
Points: 1118
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albatross Quote  Post ReplyReply Direct Link To This Post Posted: 26 Oct 2012 at 17:22
This is because of the relocation spell, which takes some of the underlying terrain stats with it.

You can find all these by comparing the default terrain for each terrain type, with the terrain data for the square.
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.