Issue information

Issue ID
#7957
Status
Working as Intended
Severity
None
Started
Moguri
Jan 10, 2014 23:41
Last Post
Dastgir
Oct 6, 2014 15:35
Confirmation
Yes (0)
No (1)

Moguri - Jan 10, 2014 23:41

[code=auto:0] [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'! [/code]
I get this when i include the npc found in doc/samples!

evilpuncker - Jan 11, 2014 2:48

working like a charm here

Moguri - Jan 11, 2014 2:59

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

npc: doc/sample/npc_trader_sample.txt

Moguri - Jan 11, 2014 16:25

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

Dastgir - Oct 6, 2014 15:35

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