Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #007957

  • 0 - None Assigned

  • Working as Intended

Issue Confirmations

  • Yes (0)No (1)
Photo

New Trader NPC not working

Posted by MoGuri on 10 January 2014 - 11:41 PM

[Notice]: Conflicting var name 'Red_Potion', prioritising the script var
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: tradertype (1 parameter):
[Debug]: Data: variable name='NST_MARKET'
[Debug]: Source (NPC): HaiMarket at prontera (150,160)
[Warning]: script_get_val: cannot access player variable 'NST_MARKET', defaulting to 0
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: tradertype (1 parameter):
[Debug]: Data: variable name='NST_CUSTOM'
[Debug]: Source (NPC): TestCustom2 at prontera (153,152)
[Warning]: script_get_val: cannot access player variable 'NST_CUSTOM', defaulting to 0
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: tradertype (1 parameter):
[Debug]: Data: variable name='NST_CASH'
[Debug]: Source (NPC): TestTraderCash at prontera (152,152)
[Warning]: script_get_val: cannot access player variable 'NST_CASH', defaulting to 0
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#ve at ve_in (243,303)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#ve at ve_in (243,303)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#tu at tur_dun01 (158,54)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#tu at tur_dun01 (158,54)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#ra at ra_in01 (257,269)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#ra at ra_in01 (257,269)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#prt1 at prt_in (126,76)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#prt1 at prt_in (126,76)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#prt at prt_fild05 (290,221)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#prt at prt_fild05 (290,221)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#pay3 at payon (159,96)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#pay3 at payon (159,96)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#pay2 at payon_in02 (87,34)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#pay2 at payon_in02 (87,34)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#pay at payon_in01 (5,49)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#pay at payon_in01 (5,49)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#mosk at mosk_in (21,254)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#mosk at mosk_in (21,254)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#moc2 at moc_ruins (114,63)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#moc2 at moc_ruins (114,63)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#moc1 at moc_ruins (91,128)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#moc1 at moc_ruins (91,128)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#xmas at xmas_in (40,38)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#xmas at xmas_in (40,38)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#lou at lou_in02 (239,176)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#lou at lou_in02 (239,176)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#lhz2 at lhz_in03 (239,106)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#lhz2 at lhz_in03 (239,106)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#yuno2 at yuno_in01 (25,34)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#yuno2 at yuno_in01 (25,34)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#yuno at yuno (218,97)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#yuno at yuno (218,97)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#hu at hu_in01 (241,368)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#hu at hu_in01 (241,368)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#gon at gonryun (147,84)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#gon at gonryun (147,84)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#gef at geffen_in (77,167)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#gef at geffen_in (77,167)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Paddler#ein at einbroch (82,199)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Paddler#ein at einbroch (82,199)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#ein at ein_in01 (189,15)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#ein at ein_in01 (189,15)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#cmd2 at cmd_fild07 (257,126)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#cmd2 at cmd_fild07 (257,126)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#cmd at cmd_in01 (79,182)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#cmd at cmd_in01 (79,182)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#ayo at ayo_in01 (18,182)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#ayo at ayo_in01 (18,182)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#ama at ama_in01 (24,30)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#ama at ama_in01 (24,30)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#alde at aldeba_in (94,56)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#alde at aldeba_in (94,56)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#alb2 at alberta_in (182,97)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
[Debug]: Source (NPC): Tool Dealer#alb2 at alberta_in (182,97)
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: sellitem (1 parameter):
[Debug]: Data: variable name='Red_Potion'
[Debug]: Source (NPC): Tool Dealer#alb at alb2trea (87,65)
[Warning]: script_get_val: cannot access player variable 'Red_Potion', defaulting to 0
[Warning]: buildin_sellitem: unknown item id '0'!
I get this when i include the npc found in doc/samples!

working like a charm here

Did you added the sample npc ? Thats how i reproduce it...

npc: doc/sample/npc_trader_sample.txt

BTw, tested with a clean version from last git (since my version is modified) and same result.

changed status to: Working as Intended

Your repo have some error setting item Constants(maybe you did not update correctly, or missed some lines/commits)