Page 1 of 1

[1.0.1] --home used, lore gets registered in default path

Posted: Tue Mar 19, 2013 1:25 pm
by omero
I wanted to test out the new --home command line parameter (linux) and
I arranged my home directory in order to keep things separated for different clients:

Code: Select all

$ls -al ./.t-engine
lrwxrwxrwx 1 omero orx 41 2013-03-14 13:56 ./.t-engine -> ./ToME/_.t-engine.t-engine4-linux32-1.0.0

$ls -al ./ToME/
total 68
drwxr-xr-x 11 omero orx  4096 2013-03-18 13:58 .
drwxr-xr-x 53 omero orx 12288 2013-03-18 16:43 ..
[bunch of other dirs, where the engines are]
drwx------  3 omero orx  4096 2013-01-11 14:37 _.t-engine.t-engine4-linux32-1.0.0
drwx------  3 omero orx  4096 2013-03-18 15:41 _.t-engine.t-engine4-linux32-1.0.1
I copied one of my characters from v1.0.0 save directory over to the new v1.0.1 one,
I edited cheat.cfg to enable the lua console and I started the v1.0.1 client:

Code: Select all

$./t-engine --flush-stdout --home /home/omero/ToME/_.t-engine.t-engine4-linux32-1.0.1/ 2>&1|tee ~omero/tome-out-1.0.1/tenginout.`date -I`.${SECONDS}
All is well, the lua console works, and I take the character to farportal exploration to test out some things.
After some exploration, I find a lore scroll laying around and picking it up it reveals to be the 'How to be a necromancer - part 2'.
Amusingly enough, I had been looking for that particular lore since long time but I wasn't happy to have found it on a test character.

I saved and exited the v1.0.1 client, then started the v1.0.0 client and loaded the same character which was still in the fortress.
I went to the Library of Lost Lore and guess? The newly found "necro lore" was there.

I sort of expected --home to keep profiles/settings (lore included) separated for different instances of the client.
Or otherwise, what is its intended purpose?

Re: [1.0.1] --home used, lore gets registered in default pat

Posted: Tue Mar 19, 2013 1:35 pm
by darkgod
Were you logged in the same online profile in both by anychances ?

Re: [1.0.1] --home used, lore gets registered in default pat

Posted: Tue Mar 19, 2013 1:46 pm
by omero
darkgod wrote:Were you logged in the same online profile in both by anychances ?
Well... uhm... Yes.

I thought that running the client with cheat mode enabled, would prevent the character from getting online.
Infact, I didn't have the chat rolling and the 'link item' wasn't available...
My intent was to experiment without messing up anything and I even picked a character that was kind of expendable as an extra precaution.

Re: [1.0.1] --home used, lore gets registered in default pat

Posted: Tue Mar 19, 2013 1:49 pm
by darkgod
Yeah but the online profile shares lore/unlocks/...

Re: [1.0.1] --home used, lore gets registered in default pat

Posted: Tue Mar 19, 2013 2:15 pm
by omero
darkgod wrote:Yeah but the online profile shares lore/unlocks/...
Oh, ok.
What if I logout, or better I delete 'online.profile' from the appropriate v1.0.1 directory tree?
I'd like some way of testing things while also keeping a 'regular' setup...

Re: [1.0.1] --home used, lore gets registered in default pat

Posted: Tue Mar 19, 2013 2:18 pm
by darkgod
yeah jsut dont log into your profile, or make a special one for that

Re: [1.0.1] --home used, lore gets registered in default pat

Posted: Tue Mar 19, 2013 2:42 pm
by omero
Ok, many thanks for the clarifications :)