|
ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Sun Jul 28, 2019 2:20 am
Variables not reading/set correctly?? |
Think I found a bug...
I start off with 2 session and one shared module.. everything works fine.. sometimes for hours, sometimes for minutes, and my scripts would start reading variable wrongly..
and everything would work perfectly after I close and restart.
1) Reading Wrongly...
For example my @foodcount is 10 but when it would not read correctly by my #IF (@FoodCount=10) trigger...
a) when I look in the variable GUI, it shows 10
b) when I type @#SHOW @FoodCount it shows some other number..
2) Cannot set variable
Randomly some variable will start to be non responsive and cannot be set by trigger or command line
CombatStatus=1
or
#VAR ./Variables/CombatStatus 1
(I keep all my variables in one class)
is this a known bug? I have like 260+ variables, 40+ alias and 400+ triggers, 3 events, 10status... in 1 module and two session pkgs.
most trigger in the common module and alias in the two sessions.. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sun Jul 28, 2019 11:47 am |
Is it possible that something disabled that class, allowing variables to be duplicated in the root directorty?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Sun Jul 28, 2019 1:20 pm |
Nope.. searched everywhere for the variable...
When I close all windiws and start again and all works well again... For random time.. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sun Jul 28, 2019 3:42 pm |
Likely just a memory issue then.
More RAM definately helps.
You can always try reinstalling.
Or recreating your session from an XML dump might resolve any corruption issues. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Tue Jul 30, 2019 1:37 pm |
Hey! The XML fix seems to work! Been working well so far. 4 hours with no error..
|
|
|
|
|
|