Help with locations.txt and parser

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

dices
decaying skeleton
decaying skeleton
Posts: 4
Joined: Sat Jun 28, 2003 7:07 pm

Help with locations.txt and parser

Post by dices » Sat Jun 28, 2003 7:24 pm

Hello, i have a problem adding stuff to parse in locations.txt
, the slot0 slot1 slot2 and cancel button of npctrade this is what is in locations.txt

Code: Select all

[npctrade_give]
UILabel=GiveWnd
XMLFile=EQUI_GiveWnd.xml
ScreenID=GVW_Give_Button

[npctrade_plat]
UILabel=GiveWnd
XMLFile=EQUI_GiveWnd.xml
ScreenID=GVW_MyMoney0

[npctrade_gold]
UILabel=GiveWnd
XMLFile=EQUI_GiveWnd.xml
ScreenID=GVW_MyMoney1

[npctrade_silver]
UILabel=GiveWnd
XMLFile=EQUI_GiveWnd.xml
ScreenID=GVW_MyMoney2

[npctrade_copper]
UILabel=GiveWnd
XMLFile=EQUI_GiveWnd.xml
ScreenID=GVW_MyMoney3

this is what i added

Code: Select all


[npctrade_cancel]
UILabel=GiveWnd
XMLFILE=EQUI_GiveWnd.xml
ScreenID=GVW_Cancel_Button

[npctrade_slot0]
UILabel=GiveWnd
XMLFILE=EQUI_GiveWnd.xml
ScreenID=GVW_MyItemSlot0

[npctrade_slot1]
UILabel=GiveWnd
XMLFILE=EQUI_GiveWnd.xml
ScreenID=GVW_MyItemSlot1

[npctrade_slot2]
UILabel=GiveWnd
XMLFILE=EQUI_GiveWnd.xml
ScreenID=GVW_MyItemSlot2

[npctrade_slot3]
UILabel=GiveWnd
XMLFILE=EQUI_GiveWnd.xml
ScreenID=GVW_MyItemSlot3

I call them using
/click left npctrade give
/click left npctrade slot0
Anyone knows what am doing wrong in here ?

Thx for help in advanace

DiCeS