Heroes Namelists

Play Now

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
Is it possible to get Qmanage or any merchant/npc script to read a namelist that is in a different folder to the containing directory?

I've tried putting the fulling directory after checknamelist but it doesn't work, it appears that it will only read from its containing folder?
Is this correct? If not how can I get it to read from a different folder? Or am I going to have to do it via flags?

Thanks

Dk
 

Ardbeg

Legend
Legendary
Aug 8, 2004
3,225
2
150
290
Southern England
Use ..\ to take it back.
This will allow a text QFunction or an NPC script to talk to your own folder inside Envir.
CHECKNAMELIST ..\yourfolder\list.txt
 
Upvote 0

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
Still doesnt work, gives me this error on M2

26/11/2012 15:45:15 file not found => .\Envir\MapQuest_def\..\Market_def\namelists\test.txt

Am I being a retard?

Thanks

Dk
 
Upvote 0

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
Its only simple.

[@Login]
#IF
CHECKNAMELIST ..\Market_def\namelists\test.txt
#ACT
DELNAMELIST ..\Market_def\namelists\test.txt
 
Upvote 0

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
Hmmm strange, changed it so it was in the same folder and it all works.
Doesn't Qmanage load variables from the quest diary folder? e.g. ..\QuestDiary\Variables\Integral.txt?

Also to save me starting a new post, when I load a variable through the Qmanage the M2server comes up with this

[½Å±¾´íÎó] ±äÁ¿Test²»´æÔÚ£¬±äÁ¿ÀàÐÍ:Human ½Å±¾ÃüÁî:LOADVAR NPCÃû³Æ:QManage µØÍ¼:0(0:0) ²ÎÊý1:Human ²ÎÊý2:Test ²ÎÊý3:..\QuestDiary\Variables\Integral.txt ²ÎÊý4: ²ÎÊý5: ²ÎÊý6:

What does it actually mean?

Dk
 
Last edited:
Upvote 0

DevilsKnight

I
Staff member
Super Moderator
Aug 1, 2004
1,627
1
57
275
Yeah thats very true, any idea what this lot means in my m2server?

[½Å±¾´íÎó] ±äÁ¿Test²»´æÔÚ£¬±äÁ¿ÀàÐÍ:Human ½Å±¾ÃüÁî:LOADVAR NPCÃû³Æ:QManage µØÍ¼:0(0:0) ²ÎÊý1:Human ²ÎÊý2:Test ²ÎÊý3:..\QuestDiary\Variables\Integral.txt ²ÎÊý4: ²ÎÊý5: ²ÎÊý6:
 
Upvote 0