Variables help

Join Discord

JSB123

LOMCN Veteran
Veteran
Aug 7, 2004
370
0
63
S.Yorkshire
I have addded GUILD and GLOBAL variables to my QManage. I have several HUMAN variables in there that work fine and do not give errors in the M2. But the guild variables do not work at all, and the global ones work, save and load, but they give these errors in the M2:

9/1/2006 12:46:40 AM [????] ??WM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:WM ??4: ??5: ??6:
9/1/2006 12:46:40 AM [????] ??ESM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:ESM ??4: ??5: ??6:
9/1/2006 12:46:40 AM [????] ??MM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:MM ??4: ??5: ??6:
9/1/2006 12:46:40 AM [????] ??ZM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:ZM ??4: ??5: ??6:
9/1/2006 12:46:40 AM [????] ??ECM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:ECM ??4: ??5: ??6:
9/1/2006 12:46:40 AM [????] ??ETM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:ETM ??4: ??5: ??6:
9/1/2006 12:46:40 AM [????] ??GM???,????:GLOBAL ????:VAR NPC??:QManage ??:0(0:0) ??1:Integer ??2:GLOBAL ??3:GM ??4: ??5: ??6:

Any idea about a solution to either?
 

JSB123

LOMCN Veteran
Veteran
Aug 7, 2004
370
0
63
S.Yorkshire
LoadVar GLOBAL WM ..\QuestDiary\Variables\Marbles.txt
Var Integer GLOBAL ESM
LoadVar GLOBAL ESM ..\QuestDiary\Variables\Marbles.txt
Var Integer GLOBAL MM
LoadVar GLOBAL MM ..\QuestDiary\Variables\Marbles.txt
Var Integer GLOBAL ZM
LoadVar GLOBAL ZM ..\QuestDiary\Variables\Marbles.txt
Var Integer GLOBAL ECM
LoadVar GLOBAL ECM ..\QuestDiary\Variables\Marbles.txt
Var Integer GLOBAL ETM
LoadVar GLOBAL ETM ..\QuestDiary\Variables\Marbles.txt
Var Integer GLOBAL GM
LoadVar GLOBAL GM ..\QuestDiary\Variables\Marbles.txt

and this that i removed, as it did not register at all:
Var Integer GUILD OKill
LoadVar GUILD OKill ..\QuestDiary\Variables\OKill.txt
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
195
UK/Italy
lo jsb i see no1 is helpin you, i know this mite be a silly thing but in the QManage you have

#IF
#ACT
Var Integer GLOBAL ESM
LoadVar GLOBAL WM

i know you have var and loadvar the op way but i dont think its that or is it

i mite have a script you could use if you have not fixed this, it mite help but you would need to edit it for your needs

lif
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
195
UK/Italy
kk it must be the LoadVar not loading then, variables can be funny as you know, i had a big problem with my challange system it tuck me neally 3 or 4 days to fix it

lif
 
Upvote 0

JSB123

LOMCN Veteran
Veteran
Aug 7, 2004
370
0
63
S.Yorkshire
Yea varibles are very tempramental. I had lots of trouble with the some human variables i have, i finally fixed it by loading them right at the end of the login script.

Anyway regarding this problem, I don't need a fix anymore, I've dont it the old skool way, namelists and a merchant npc.

Thanks for the replies.
 
Upvote 0