places visited

Post your questions about game contents here. Want to know how to complete a quest, or where to go to find an item? Post here!
Post Reply
Mayweed
VIP
Posts: 221
Joined: Tue Jul 31, 2012 12:12 am
android_version: 2.1 - Eclair

Re: places visited

Post by Mayweed »

I think, this folder only contains places that are shown in a map, but there are a lot of places, where no map is available, houses with single rooms for example.
Covenant
Posts: 171
Joined: Wed Oct 09, 2013 11:44 am
android_version: 10 - Android 10
Location: Sydney, Australia
Contact:

Re: places visited

Post by Covenant »

I guess that means if I'm really that keen, I'll need to grab a copy of the source code and pull out a list of all places.
Covenant 4.0 | Level:223 | Dual Wield: 2 x Rapier of Lifesteal | Dark Protector | Serpent's Hauberk | Marrowtaint | 2 x Ring of Lesser Shadow | Troublemaker's Gloves | Enhanced Combat Boots
User avatar
rijackson741
Posts: 3458
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar

Re: places visited

Post by rijackson741 »

You are missing 9 places, which is a lot! I'm not sure a list of all places will help that much though. If you accidentally missed a building or a basement you will not know that from looking at a list pulled from the source code. You would need both a master list, presumably pulled from the source code, and a list pulled from your save file. Creating those lists in a format where they can be compared would be a lot of work!

I would start by very carefully comparing your map to this one: http://andorstrail.irkalla.cz/map/world1.html. Once you have eliminated (or otherwise) every surface tile, go and revisit every building, being careful to visit all basements. Once you have done that, if there are still missing places, you will have to revisit every cave.
Level:69, XP:6009681, PV:551, FQ:73
HP:224, AC:200, AD:42-52, AP:3, ECC:23%, CM:3, BC:174, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, AP:L:1, FS:DW:2, S:DW:1
Covenant
Posts: 171
Joined: Wed Oct 09, 2013 11:44 am
android_version: 10 - Android 10
Location: Sydney, Australia
Contact:

Re: places visited

Post by Covenant »

Yes, I agree that's a good strategy. And I actually have been doing that. But I've been dabbling a bit to see if I get get something more definitive. And reusable in the future. And make it very easy.

For example, I can examine the savegame file and see the list of places visited. Each is accompanied by a hash which represents state of the place when last visited (items, widgets, npcs, etc). It appears that the name of each place is 16 bytes long (or there abouts, I have counted yet) and the hashes about 8. So, I could theoretically write a small bit of code that would load the file into a byte array and interpret it to pluck out each of the place names and dump into a text file. I'd just need to figure out how to determine the starting byte of the places listing the data.

The savegame files aren't a fixed size, they grow as content is added (new places visited, inventory grows, more skills purchased with points, etc).

I doubt I'll have much success, but I'll post another comment here if I come up with anything.
Covenant 4.0 | Level:223 | Dual Wield: 2 x Rapier of Lifesteal | Dark Protector | Serpent's Hauberk | Marrowtaint | 2 x Ring of Lesser Shadow | Troublemaker's Gloves | Enhanced Combat Boots
User avatar
rijackson741
Posts: 3458
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar

Re: places visited

Post by rijackson741 »

I might take a look at that myself. It sounds like a possibility. I could get a complete list of places by running it against my savegame file.
Level:69, XP:6009681, PV:551, FQ:73
HP:224, AC:200, AD:42-52, AP:3, ECC:23%, CM:3, BC:174, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, AP:L:1, FS:DW:2, S:DW:1
Covenant
Posts: 171
Joined: Wed Oct 09, 2013 11:44 am
android_version: 10 - Android 10
Location: Sydney, Australia
Contact:

Re: places visited

Post by Covenant »

Ha! Step 1: complete.

I was able to write a small script that strips the list of places from the savegame file. Here's the list that's been pull from one of my characters

Now I need to see what I can find in terms of definitive list of places against which to compare. I might grab a copy of the source code to have a look at that.

Code: Select all

pwcave4, waytobrimhaven2, waytobrimhaven3, waytobrimhaven0, waytobrimhaven1, roadtocarntower1, roadtocarntower0, woodsettlement0, roadtocarntower2, fallhaven_arcir_basement, lodarcave7, lodarcave5, lodarcave6, lodarcave3, lodarcave4, lodarcave1, lodarcave2, fields9, lodarcave0, waterway9, fields6, waterway8, fields5, fields8, crossglen_cave, fields7, fields2, fields1, fields4, fields3, fields0, wild14_clearing, lodarhouse1, blackwater_mountain7, lodarhouse0, blackwater_mountain6, mountainlake10a, blackwater_mountain5, blackwater_mountain4, blackwater_mountain9, blackwater_mountain8, crossglen_farmhouse, pwcave2, fallhaven_storage, pwcave3, pwcave0, wild16_cave, vial_empty1, vial_empty2, health_minor2, health, milk, pot_poison_weak_antidote, pot_blind_rage, pot_bleeding_ointment, health_major2, pwcave1, lodarcave4a, wild3, wild2, wild5, wild4, wild7, remgard_weapon, wild6, unzel, wild9, clearing_level2, wild8, blackwater_mountain0, clearing_level1, blackwater_mountain1, blackwater_mountain2, blackwater_mountain3, vilegard_erttu, flagstone_upper, escaped_prisoner, starving_prisoner, wild1, wild17, wild0, wild15, mountainlake13a, wild16, wild13, wild14, flagstone0, wild11, wild12, wild10, waterway6, waterway7, waterway4, waterway5, waterway2, flagstone1, starving_prisoner, woodhouse3, waterway3, loneford10, flagstone2, lodar8cave0, waterway0, flagstone3, waterway1, flagstone4, road4_gargoylecave, fallhaven_prison, lonelyhouse1, lonelyhouse0, algangror, minerhouse0, minerhouse4, waytobrimhavencave3b, remgard_villager4, minerhouse3, remgard_villager3, minerhouse2, minerhouse1, remgard_villager5, minerhouse8, minerhouse7, fallhaven_nocmar, minerhouse6, remgard_villager2, minerhouse5, waytobrimhavencave3a, remgard_villager1, lodar12cave0, lodar12cave1, crossglen_hall, minerhouse9, vilegard_ogam, fallhaven_church, remgard_clothes, vilegard_chapel, foaming_flask, remgard_tavern1, kaverin, roadcave0, roadcave1, vilegard_sw, lostmine3, lostmine4, lostmine5, lostmine6, gapfiller1, gapfiller2, lostmine0, gapfiller3, lostmine1, gapfiller4, lostmine2, waytolake0, lostmine9, lostmine8, vilegard_n, fallhaven_farmer, waytolostmine0, lostmine7, waytolake5, waytolake3, waytolake4, vilegard_s, waytolake1, waytolake2, road5_house, waytolostmine2, waytolostmine1, waytolostmine3, waytobrimhavencave1a, lostmine10, lostmine11, fallhaven_potions, remgard_armour, mountainlake13, mountainlake12, tradehouse0a, falothen1, fayvara1, mountainlake11, mountainlake10, loneford4, loneford3, loneford2, loneford1, mountaincave3, mountaincave2, mountaincave1, crossglen_farmhouse_basement, mountaincave0, crossglen, fallhaven_clothes, loneford5, hauntedhouse2, loneford6, hauntedhouse1, loneford7, loneford8, loneford9, fallhaven_tavern, hauntedhouse4, hauntedhouse3, road1, feygard_patrol_watch, vicious_forest_serpent, hardshell_beetle, hardshell_beetle, hardshell_beetle, road3, hardshell_beetle, anklebiter, vicious_forest_serpent, road2, vicious_forest_serpent, road5, hardshell_beetle, road4, vicious_forest_serpent, hardshell_beetle, jan_pitcave1, lodar21, jan_pitcave3, lodar20, waterwayhouse, fallhaven_gravedigger, jan_pitcave2, fallhaven_rigmor, waytominingtown1a, lostmine2a, wild6_house, lodar8, zortakb, lodar9, lodar7, lodar4, lodar2, lodar3, lodar10, lodar12, lodar11, lodar_fg3, lodar14, tiqui, lodar16, lodar15, brtender_cr, lodar18, woodcave1, lodar17, woodcave0, lostmine1a, lodar19, fallhaven_nw, waterway12, waterway11, waterway14, waterway13, waterway15, vilegard_armorer, fallhaven_derelict, remgard_school, remgard_farmer2, remgard_farmer3, waterway11_east, remgard_farmer1, fallhaven_ne, oldcave0, waterway10, izthiel_cr, oldcave1, home, roadbeforecrossroads, roadbeforecrossroads8, forestfox2, vicious_forest_serpent, hardshell_beetle, hardshell_beetle, hardshell_beetle, vicious_forest_serpent, vicious_forest_serpent, redft0, roadbeforecrossroads9, vicious_forest_serpent, ccentip2, zombie2, zombie3, zombie1, zombie1, zombie1, zombie2, zombie1, vicious_forest_serpent, redft1, ccentip1, ccentip1, ccentip1, roadbeforecrossroads6, roadbeforecrossroads7, roadbeforecrossroads4, roadbeforecrossroads5, roadbeforecrossroads2, roadbeforecrossroads3, fallhaven_alaun, remgard_barn, lodar0, remgard_tavern0, waytomountaincave1, vilegard_wrye, waytomountaincave0, waytomountaincave2, remgard_church, houseatcrossroads2, blackwater_mountain39, houseatcrossroads3, wild11_clearing, houseatcrossroads4, blackwater_mountain37, fallhaven_sw, waytobrimhavencave0, waterwayextention, houseatcrossroads5, blackwater_mountain38, waytominingtown0, waytobrimhavencave1, mountainlake3, waytominingtown1, redft2, redft1, redft0, redft0, redft0, redft0, redft0, redft0, redft0, redft0, redft2, redft2, redft0, waytobrimhavencave2, mountainlake2, waytominingtown2, forestfox2, waytobrimhavencave3, mountainlake1, maonit_cr, houseatcrossroads0, waytominingtown3, waytobrimhavencave4, mountainlake0, houseatcrossroads1, mountainlake7, blackwater_mountain51, blackwater_mountain31, mountainlake6, blackwater_mountain52, blackwater_mountain32, mountainlake5, mountainlake4, blackwater_mountain30, fallhaven_lumberjack, blackwater_mountain35, blackwater_mountain36, mountainlake9, blackwater_mountain33, mountainlake8, blackwater_mountain34, blackwater_mountain50, woodhouse0, woodhouse2, woodhouse1, fallhaven_se, fields10, blackwater_mountain48, fields11, blackwater_mountain49, fallhaven_barn, fields12, vilegard_tavern, roadbeforecrossroads1, fallhaven_athamyr, blackwater_mountain40, blackwater_mountain41, blackwater_mountain42, blackwater_mountain43, blackwater_mountain44, blackwater_mountain45, harlenn, blackwater_mountain46, blackwater_mountain47, crossglen_smith, blackwater_mountain19, blackwater_mountain17, snakecave2, blackwater_mountain18, snakecave1, blackwater_mountain15, blackwater_mountain16, snakecave3, blackwater_mountain13, blackwater_mountain14, blackwater_mountain11, blackwater_mountain12, blackwater_mountain10, flagstone_inner, starving_prisoner, escaped_prisoner, vilegard_kaori, fallhaven_derelict2, fallhaven_arcir, remgard_prison, catacombs1, catacombs2, waterwaycave, vilegard_smith, blackwater_mountain26, blackwater_mountain27, blackwater_mountain28, wild15_house, catacombs3, blackwater_mountain29, catacombs4, blackwater_mountain22, blackwater_mountain23, remgard1, blackwater_mountain24, gargoylecave3, remgard0, blackwater_mountain25, gargoylecave4, remgard3, gargoylecave1, remgard2, gargoylecave2, blackwater_mountain20, remgard4, blackwater_mountain21, wild14_cave, tradehouse0, kantya, maevalia, khorailla, drashad, tradehouse1, lethenlor, lleglaris, clmr_gnt, clmr_def2, hatchet_sharp, clmr_serp, hglv_plat1, graxe_exec, axe_lightblack, axe_fear, crossroads
Covenant 4.0 | Level:223 | Dual Wield: 2 x Rapier of Lifesteal | Dark Protector | Serpent's Hauberk | Marrowtaint | 2 x Ring of Lesser Shadow | Troublemaker's Gloves | Enhanced Combat Boots
User avatar
Zukero
Lead Developer
Posts: 2023
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: places visited

Post by Zukero »

This is what you're looking for : http://code.google.com/p/andors-trail/s ... ources.xml
Interesting stuff starts on line 256.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
rijackson741
Posts: 3458
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar

Re: places visited

Post by rijackson741 »

Covenant wrote:Ha! Step 1: complete.

I was able to write a small script that strips the list of places from the savegame file. Here's the list that's been pull from one of my characters

Now I need to see what I can find in terms of definitive list of places against which to compare.
Nice :geek:

If you post the script I'll run it against my savegame file. I know I've been everywhere (377 places) so that would generate a complete list in the same format, so comparison should be easy. Missypearls could also use the script.

Edit: I just noticed that your list contains "vial_empty1", "vial_empty2", "vicious_forest_serpent", "hardshell_beetle" (multiple times) and other non-places, so I think you still have a little work to do :)
Level:69, XP:6009681, PV:551, FQ:73
HP:224, AC:200, AD:42-52, AP:3, ECC:23%, CM:3, BC:174, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Zukero
Lead Developer
Posts: 2023
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: places visited

Post by Zukero »

Yeah. That's because the data is saved that way :
[{map-id,(map_spawn_areas_info),(map_ground_bags_info)},{map-id,(map_spawn_areas_info),(map_ground_bags_info)},...]
So anytime there's a non-reset map, living monsters IDs will be embedded, same thing for every loot bag present, items IDs will be embedded.
I guess "grepping" his list against the master list could work.
Actually, I'd even just sort'em both, one ID per line, then perform a diff on both, and count only the additions (or deletions depending on which file is first parameter of diff).

Edit : the format actually is {map-id, boolean value, optional( integer, spawn area info, integer, loot bag info, last visit time), boolean value, map hash}
The first boolean, if true, indicates that the optional data is present.
The integers indicate the number of sub-data to expect afterwards (i.e. the second integer is 3 if 3 loot bags are present).
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
fiernaq
Posts: 695
Joined: Fri Mar 16, 2012 3:49 pm
android_version: 2.3 - Gingerbread

Re: places visited

Post by fiernaq »

Zukero wrote:Edit : the format actually is {map-id, boolean value, optional( integer, spawn area info, integer, loot bag info, last visit time), boolean value, map hash}
The first boolean, if true, indicates that the optional data is present.
The integers indicate the number of sub-data to expect afterwards (i.e. the second integer is 3 if 3 loot bags are present).
Ok, now THAT is useful info. Cheers!
Level: 58, HP: 102, AC: 295%, AD: 46-56, AP: 2/12, BC: 35%, DR: 4
Gold: 75235 | RoLS: 0 RoL: 0 SRoV: 0 VSH: 0
Skills: IF1, Ev1, Ev2, Ev3, CE1, CS1, CS2, Re1, WA1, HH1, Cl1, HH2, DaggerPro1, LightArmorPro1, ShieldPro1, WA2, Cl2
Equipment: Enhanced Combat Helmet, Serpent's Hauberk, Marrowtaint, Quickstrike Dagger, Remgard Shield, Villain's Ring, Villain's Ring, Leather Gloves Of Attack, Enhanced Combat Boots
Last Updated: 02-Dec-2013
Post Reply