sharing explored maps (all clients)

Forum for alternative clients, mods & discussions on the same.

sharing explored maps (all clients)

Postby mvgulik » Thu Dec 26, 2019 9:07 am

It would be nice if explored (cached-)map data would/could be shared between clients. (for same character of course)

(without the use of external tools and/or editing of cached files/data ... although I don't mind knowing them, if there are any such hafen-tool availeble)

The first question in this case, as I don't know much about the Java and/or Hafen file caching system, would be: Is this currently technically even possible ?
Mind you, Just the map images. (Never mind the map markers for the moment)

If not possible: what would be the blocking factor(s) ?

None sharing character mapping example.
Default Client (top), Ender client (bottom)
Image
(gray-band inside second image => mediocre screenshot software)
mvgulik
 
Posts: 3742
Joined: Fri May 21, 2010 2:29 am

Re: sharing explored maps (all clients)

Postby shubla » Thu Dec 26, 2019 9:34 am

I don't see a reason why it couldn't be done, as long as custom client doesn't use some custom way to handle the map.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: sharing explored maps (all clients)

Postby ctopolon4 » Thu Dec 26, 2019 12:29 pm

ive already offered to devs make market and map tools into village claim (to not use 3'dside soft)
just make village claim a pseudo character which gains map tiles and markers from village members. and each villager could switch ctrl+a map for village or own.
and big villages will have someth like https://odditown.com/haven/map/
also make that villageClaim storing spreadsheets of barterstands its cover. and you will have (https://certainly-not-a-cat.github.io/f ... theme=dark) in each village
User avatar
ctopolon4
 
Posts: 738
Joined: Sun Jun 03, 2018 2:28 pm
Location: mom's basement

Re: sharing explored maps (all clients)

Postby Fostik » Thu Dec 26, 2019 4:09 pm

IIRC, this issue caused by different path to store map data.
I'd rather say it's local problem, or problem with custom clients data path.
Known as zunzon. Contact discord: zunzon.
User avatar
Fostik
 
Posts: 2003
Joined: Tue Jul 05, 2011 4:08 pm
Location: EU

Re: sharing explored maps (all clients)

Postby mvgulik » Thu Dec 26, 2019 5:38 pm

Fostik wrote:different path to store map data

If your thinking "custom client exported map tiles", your off target.

If your thinking cached map-resource files. ... what path do you mean ?
mvgulik
 
Posts: 3742
Joined: Fri May 21, 2010 2:29 am

Re: sharing explored maps (all clients)

Postby borka » Thu Dec 26, 2019 7:15 pm

Ardennesss wrote:
Rexz wrote:Do i need to save the map data and transfer it over when switching to the updated client? I remember losing my explored map data when I went from vanilla to Amber client.

Would be nice to know since I plan on trying other clients out too in the future.


Purus is compatible with Vanilla map data, all other clients are compatible with Amber's format.


viewtopic.php?f=49&t=40400&start=4530#p842812

Given that there are 3 clients activly developed should be 2 ways/formats how maps and markers get stored in cache:

1. loftars
2. romovs and Enders

Now running a short test with a good filled cache from Amber i ran fresh installed Ender ... same char, same place (Windows OS)

... too bad Ender didn't show any Amber stuff ... neither minimap, large map or markers ... it just dropped some new (known ones) into ...
Image

left: original Amber
right: after Ender run (_Ender renamed by me afterwards)

conlusion:
Amber and Ender at least use the same cache path (which is true for loftar aswell - i know from older test with it) and source prove it

looks like 3 different ways/formats ... :cry:

interesting sidefact in windows registry Amber uses a folder named haven in java prefs ... while Ender pops an extra folder named hafen into that haven folder ...

(No folders or registry where harmed by the tests thanx to doing backups before :P )

after fidlling in client sources for an hour i got bored ... ;)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: sharing explored maps (all clients)

Postby romovs » Thu Dec 26, 2019 7:52 pm

Map data is saved based on the url it was fetched from. This is cross client. So for example, Amber uses "https://game.havenandhearth.com/hres/" (see run.bat/sh). So all the map tiles will be available from another client only if it uses https. If the client uses http then you will see diffident tiles.

I haven't looked at this in a while, so there might be some other nuances, but as long as the clients use the same "httpS" or "http" they should see the same map.

Bottom line, Amber, currently uses "https". Not sure whether the default or Ender use "http" or "https"
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: sharing explored maps (all clients)

Postby borka » Thu Dec 26, 2019 8:02 pm

aaah ty for clearing this ... as i just ran Ender by updater i don't have a clue whether it used https ... so i'll try again with a run.bat

nope even with https for res it doesn't work for me

(while i'm fine with Amber anyways and i prolly wouldn't change before loftar is done with client rewrite ;) )
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: sharing explored maps (all clients)

Postby Ardennesss » Thu Dec 26, 2019 10:59 pm

romovs wrote:Map data is saved based on the url it was fetched from. This is cross client. So for example, Amber uses "https://game.havenandhearth.com/hres/" (see run.bat/sh). So all the map tiles will be available from another client only if it uses https. If the client uses http then you will see diffident tiles.

I haven't looked at this in a while, so there might be some other nuances, but as long as the clients use the same "httpS" or "http" they should see the same map.

Bottom line, Amber, currently uses "https". Not sure whether the default or Ender use "http" or "https"

https and http are the only nuances I noticed myself, I think Boshaw spent some time deep diving into specifically how the map worked though since his client modified it's functionality quite a bit. Maybe he'll chime in on the capability for merges, I can at least attest that if you save a map object that other clients aren't familiar with you'll hard brick your cache and have to completely delete and start over.
ImageImage
ImageImageImageImage
User avatar
Ardennesss
 
Posts: 1127
Joined: Sun Oct 06, 2013 4:22 pm

Re: sharing explored maps (all clients)

Postby MagicManICT » Thu Dec 26, 2019 11:57 pm

I'm a bit of an idiot when it comes to client modding here, but I have noticed that if you need to reinstall the standard client for any reason, you lose all your map markers and data. I haven't played on the default client since the change from JWS to standard Java, though, so might have changed. Seems like I asked about it at the time I had to do the reinstall.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18437
Joined: Tue Aug 17, 2010 1:47 am

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 16 guests