Genesis Forums
https://www.genesismud.org/forums/

Loss of userdata; temporary loss of aliases/triggers
https://www.genesismud.org/forums/viewtopic.php?f=38&t=3464
Page 1 of 2

Author:  Mayobe [ 13 Feb 2016 09:34 ]
Post subject:  Loss of userdata; temporary loss of aliases/triggers

I relogged earlier and it loaded my userdata but none of my triggers or aliases. I rebooted the browser and tried again and it loaded my aliases but not my triggers, then third time it loaded the aliases and triggers but the userdata was gone. The userdata didn't return. I've repopulated it (and made records of my scripts) but I thought I should the weirdness.

--

Okay, now my aliases are gone again. I think I may know what's causing it. Lemme see here...

--

Yeah, I think this script where I check for NaN is causing it on the next load. I'll take out the isNaN() and see if it stops happening.

--

Okay, it seems stable now but I'm not sure, so I'll call it a night.

The general form of the script that I think may have been responsible is:
Code:
gwc.userdata.n = parseInt(args[1], 10);
gwc.userdata.x = args['*'].substring(args['*'].indexOf(" ")+1, args['*'].length);

if(gwc.userdata.n === 0 || isNaN(gwc.userdata.n)) {
  //stuff
}
else {
  //other stuff
}


When I ran it with no arguments it seemed to cause the issue on the next load.

Author:  cotillion [ 13 Feb 2016 17:54 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

There was an issue with another service which was preventing data downloads.
It should not happen again.

Author:  Mayobe [ 14 Feb 2016 07:05 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

Cool. I just wanted to make sure you aware of it, but it sounds like you've already got it solved. :)

Author:  Snedecor [ 16 Jan 2017 22:47 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

Hey,

This happens extremely often to me. Triggers that I set to off, are put 'on' after I ld/relog. Or quite often, I create triggers/aliases and when I return they no longer exist.

Happens to me multiple times a week.

It causes extreme headaches and needs to be fixed.

Author:  nils [ 16 Jan 2017 22:50 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

Your "errs" are truly honourable. You make a great loot dispenser. :)

Author:  Snedecor [ 16 Jan 2017 23:38 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

You mean the errors of the interface, correct?

Mockery is unbecoming of even a fool.

You can't even let a legitimate problem go without becoming a troll.

Stick to the topic please.

Author:  Draugor [ 17 Jan 2017 08:46 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

Snedecor wrote:
Hey,

This happens extremely often to me. Triggers that I set to off, are put 'on' after I ld/relog. Or quite often, I create triggers/aliases and when I return they no longer exist.

Happens to me multiple times a week.

It causes extreme headaches and needs to be fixed.


So, you have a quit-trigger on BDA members entering that you usually shut off? I assume its for idling in... bad places?

Author:  Snedecor [ 17 Jan 2017 18:31 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

I appreciate the direct question and very kind attitude, but this is not the place for that question.

I refuse to let this become off-topic.

Triggers and aliases disappear and get set off/on at the opposite appropriate times after relogging.

Author:  Ody [ 17 Jan 2017 20:05 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

Using the web client?

Author:  Snedecor [ 18 Jan 2017 19:33 ]
Post subject:  Re: Loss of userdata; temporary loss of aliases/triggers

Correct

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/