Dreu Noctem


Reply to this topicStart new topicStart Poll

> BUG: <UNRECOGNIZED TOKEN> North Shore Mines
arQon
Posted: Aug 5 2017, 11:01 PM
Quote Post


EMS creator and DN Offical Bug Manager


Group: DN Design Lead
Posts: 4786
Member No.: 297
Joined: 14-September 04



most of my chars get a "Your journal has been updated. <UNRECOGNIZED TOKEN>North Shore: Clear out the Mines<UNRECOGNIZED TOKEN>" message when they log in.

i'm guessing it's the color codes, but if so, why do none of the other quests trigger that error?


--------------------
azmaveth> so, for my first stint as a dm, I feel the need to spawn a dragon or two on a party of babies...
dave> go find Kev when he makes his next baby :p
dave> he prolly kill it
PM
Top
dave
Posted: Aug 5 2017, 11:05 PM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14256
Member No.: 78
Joined: 30-March 03



I've seen this before and messing with delays on login timers may help. I get different behavior locally vs logged in, and you get different behavior than I do, when logged in. Try increasing the quest or journal initialization delay constant and retesting online.

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
dave
Posted: Sep 2 2017, 04:28 PM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14256
Member No.: 78
Joined: 30-March 03



QUOTE (arQon @ Aug 5 2017, 06:01 PM)
most of my chars get a "Your journal has been updated. <UNRECOGNIZED TOKEN>North Shore: Clear out the Mines<UNRECOGNIZED TOKEN>" message when they log in.

i'm guessing it's the color codes, but if so, why do none of the other quests trigger that error?

So, my previous reply was short on detail, huh? Here's the timers as listed in dn_inc_clenter:

CODE

//
// These constants control timing delays for login messages and journal entries
// when a player joins the server.  Relative timing can be tweaked here, and
// overall delays can be increased to address color token errors on journal
// names.  Journals have long delays to help ensure tokens are defined for laggy
// connections - I expect they need to be a worse case function of player base
// connection quality.
//
const float fDelayForcedJumpOutofSpecialArea    =  1.5f;
const float fAutolootSettingsReportOnJoin       =  6.0f;
const float fACFStartupReportDelayOnJoin        =  6.5f;
const float fDelayMoTD_onjoin                   =  7.0f;
const float fDelayArtifactQuestJournalEntries   =  8.0f;
const float fDelayJournalsForColorTagIntegrity  = 10.0f;
const float fDelayNexusJournals                 = 11.0f;
const float fDelayYouAwokeDreamCatcher          = 12.0f;
const float fDelayItemEquippedLoginMsg          = 13.0f;
const float fDelayLoginSequenceComplete         = 15.0f;


Since you see a problem with the Krunch journal (I think 10.0f timer) but don't mention the nexus quest (11.0f timer), I'll try increasing the timers by +1.0f each from fDelayJournalsForColorTagIntegrity and afterwards.

If that doesn't work, we can rinse and repeat - this is how I worked out the token issues on my end, but the timing is user-dependent.

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
arQon
Posted: Sep 3 2017, 08:21 PM
Quote Post


EMS creator and DN Offical Bug Manager


Group: DN Design Lead
Posts: 4786
Member No.: 297
Joined: 14-September 04



this is still happening - but the good news is, i've worked out why. smile.gif

"clear out the mines" updates LONG before all the other journal entries, and that has to be because it's responding to the contract rather than checking the persistent quest state. so we can mess with the timers all we want, but they're never going to fire before the OnAcquire does.

the part i don't understand is why those tokens aren't already defined in the first place, ie at mod init. (or why that doesn't work, if so). anyway, i'll take a look at it sometime.


--------------------
azmaveth> so, for my first stint as a dm, I feel the need to spawn a dragon or two on a party of babies...
dave> go find Kev when he makes his next baby :p
dave> he prolly kill it
PM
Top
dave
Posted: Sep 3 2017, 08:30 PM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14256
Member No.: 78
Joined: 30-March 03



QUOTE (arQon @ Sep 3 2017, 03:21 PM)
the part i don't understand is why those tokens aren't already defined in the first place, ie at mod init. (or why that doesn't work, if so). anyway, i'll take a look at it sometime.

I assumed it's just client-server stuff; I think they are defined right away on the server, ut I've been assuming it takes some arbitrary amount of time to come back to the client.

The OnAcquire idea makes sense. We should still be able to make it honor the timer if I missed it previously. I dump most of my contracts, so it makes sense I'd miss this. sad.gif

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | DN: The Shifting Sands - Bug & Exploit Reports | Next Newest »

Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0494 ]   [ 12 queries used ]   [ GZIP Enabled ]