Page 4 of 16

Re: places visited

Posted: Mon Dec 09, 2013 11:32 pm
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.

Re: places visited

Posted: Tue Dec 10, 2013 5:54 am
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.

Re: places visited

Posted: Tue Dec 10, 2013 1:12 pm
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.

Re: places visited

Posted: Tue Dec 10, 2013 7:25 pm
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.

Re: places visited

Posted: Tue Dec 10, 2013 8:15 pm
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.

Re: places visited

Posted: Wed Dec 11, 2013 11:28 am
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

Re: places visited

Posted: Wed Dec 11, 2013 1:03 pm
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.

Re: places visited

Posted: Wed Dec 11, 2013 1:27 pm
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 :)

Re: places visited

Posted: Wed Dec 11, 2013 1:52 pm
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).

Re: places visited

Posted: Wed Dec 11, 2013 3:53 pm
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!