Last saved location
Moderators: Moderator, Developer, DM
-
GholaMan
- Posts: 144
- Joined: Mon Feb 21, 2011 10:47 pm
Last saved location
The bug is straightforward, I can never go back to my last saved location no matter where I save. Tried saving before logging out in multiple area's. But when I log back in I can only ever select one of my spawn points.
-
Face
- Posts: 576
- Joined: Sun Oct 26, 2014 5:58 pm
- Location: The Netherlands
- Theodore01
- Recognized Donor
- Posts: 2927
- Joined: Wed Feb 16, 2011 5:32 pm
Re: Last saved location
Please, please fix that 
- Blackhorizon
- Recognized Donor
- Posts: 457
- Joined: Wed Mar 16, 2011 4:26 pm
- Location: Finland
Re: Last saved location
I've been able to return to last save position recently and it has been the place last rested/saved. The name of the last position has been FAI for a good while now despite the saved place being elsewhere.
I've not used it alot in general as it was very unpredictable (and not functional) at one point but ended up trying due to otherwise long running distance. Has worked at least on 3 separate occasions over the past week or so. You just have to know where the last save might be yourself due to the old name from way back when sticking like a glue.
I've not used it alot in general as it was very unpredictable (and not functional) at one point but ended up trying due to otherwise long running distance. Has worked at least on 3 separate occasions over the past week or so. You just have to know where the last save might be yourself due to the old name from way back when sticking like a glue.
Fierlith Silverglade | Light of Sehanine Moonbow
Tara Leafheart | Hayley Aers
~~UTC+2 (+3 DST)~~
Tara Leafheart | Hayley Aers
~~UTC+2 (+3 DST)~~
- Steve
- Recognized Donor
- Posts: 8189
- Joined: Wed Jul 08, 2015 5:42 am
- Location: Paradise in GMT +1
Re: Last saved location
Last Saved Location seems to work for only some PCs. For example, it always works with my UD toon Olofalcon, but never works for my Surface toon Chezan Thornblood.
Essar Arkae
Tsarzyn Ek'cla - Superiority Supreme
Khelboros Wyrmstone
- Maecius
- Retired Admin
- Posts: 11639
- Joined: Sat May 16, 2009 4:24 pm
Re: Last saved location
I wonder where the trouble lies.
Does it maybe not work on characters who have previously disguised themselves/changed their names? Out of curiosity, can anyone speak to that as maybe being the problem?
I'm only guessing because I know the variable is stored on an SQL database, and if it's by player name then maybe changing player name has some effect on its storage?
Does it maybe not work on characters who have previously disguised themselves/changed their names? Out of curiosity, can anyone speak to that as maybe being the problem?
I'm only guessing because I know the variable is stored on an SQL database, and if it's by player name then maybe changing player name has some effect on its storage?
r e s o u r c e s :
- BG:TSCC Wiki
- Community News
- Server Rules and Information
- Supporting BG:TSCC-
Face
- Posts: 576
- Joined: Sun Oct 26, 2014 5:58 pm
- Location: The Netherlands
- Nemni
- Retired Staff
- Posts: 965
- Joined: Wed May 27, 2009 3:10 am
Re: Last saved location
I have never used disguise, yet it hasn't worked for me in a long time.
- Aspect of Sorrow
- Custom Content
- Posts: 2689
- Joined: Fri Mar 28, 2014 7:11 pm
- Location: Reliquary
Re: Last saved location
I have a toggle option available that I can switch on and off between new logic I wrote back on November 28th of last year but forgot to mainline by switching the toggle default. Anyways, what I've done was rebuild the location stored to the player character by the vector that saved than relying on GetLocation, which seems dependent on information about an area that was being lost. The next update will default to the newer logic for every reset.
Code: Select all
string oA_tag = GetTag(GetAreaFromLocation(lLocation));
vector oV = GetPositionFromLocation(lLocation);
vector oV_new = Vector(oV.x, oV.y, oV.z);
Location(GetObjectByTag(oA_tag), Vector(oV.x, oV.y, oV.z), 0.0f)
- Steve
- Recognized Donor
- Posts: 8189
- Joined: Wed Jul 08, 2015 5:42 am
- Location: Paradise in GMT +1
Re: Last saved location
Winner!!Aspect of Sorrow wrote:I have a toggle option available that I can switch on and off between new logic I wrote back on November 28th of last year but forgot to mainline by switching the toggle default. Anyways, what I've done was rebuild the location stored to the player character by the vector that saved than relying on GetLocation, which seems dependent on information about an area that was being lost. The next update will default to the newer logic for every reset.
Code: Select all
string oA_tag = GetTag(GetAreaFromLocation(lLocation)); vector oV = GetPositionFromLocation(lLocation); vector oV_new = Vector(oV.x, oV.y, oV.z); Location(GetObjectByTag(oA_tag), Vector(oV.x, oV.y, oV.z), 0.0f)
Essar Arkae
Tsarzyn Ek'cla - Superiority Supreme
Khelboros Wyrmstone
- Maecius
- Retired Admin
- Posts: 11639
- Joined: Sat May 16, 2009 4:24 pm
Re: Last saved location
That makes no sense to me, Aspect.
But I'm hoping it works! Great job!
r e s o u r c e s :
- BG:TSCC Wiki
- Community News
- Server Rules and Information
- Supporting BG:TSCC- Aspect of Sorrow
- Custom Content
- Posts: 2689
- Joined: Fri Mar 28, 2014 7:11 pm
- Location: Reliquary
Re: Last saved location
I had fast toggled it on before a server reset, where myself, Dunn, and a few others tried the last location successfully. We'll have it turned on fully as soon as I have it also stop reporting the wrong area name when indicated in the dialogue.
- Steve
- Recognized Donor
- Posts: 8189
- Joined: Wed Jul 08, 2015 5:42 am
- Location: Paradise in GMT +1
Re: Last saved location
AoS does employ the best jargon, yes indeed!Maecius wrote:That makes no sense to me, Aspect.But I'm hoping it works! Great job!
Essar Arkae
Tsarzyn Ek'cla - Superiority Supreme
Khelboros Wyrmstone
- LISA100595
- Retired Staff
- Posts: 5202
- Joined: Mon Aug 22, 2011 12:23 pm
Re: Last saved location
I will be sure to try it out once that garbaly goop is in yes indeedy thank you 
Lady Elvina Aira-S'efarro - The Order of the Silver Rose
Salaria - Bounty Hunter half-sister of Darius Brothers
Angelina Northstar - Holy Warrior of Tyr / Knight of the Silver Rose
Matilda Stonehold - Honorable Sheild Dwarf
Loriah Swift - Morninglord of Lathander
Salaria - Bounty Hunter half-sister of Darius Brothers
Angelina Northstar - Holy Warrior of Tyr / Knight of the Silver Rose
Matilda Stonehold - Honorable Sheild Dwarf
Loriah Swift - Morninglord of Lathander
- Steve
- Recognized Donor
- Posts: 8189
- Joined: Wed Jul 08, 2015 5:42 am
- Location: Paradise in GMT +1
Re: Last saved location
I hate to say it, but it still does not seem to be working (at least for my toon Chezan Thornblood).
Essar Arkae
Tsarzyn Ek'cla - Superiority Supreme
Khelboros Wyrmstone