Buguinho 0 Posted November 2, 2015 (edited) Hi guys, i was using rathena, so i don't know much about the hercules, can you tell me why that script isn't working? I was thinking if it's because of "sshop" right there... CAN YOU HELP PLEASE? The script is in PORTUGUESE, i'm not american. cointrader.txt Error: (11/02/2015 15:07:45) [ Error ] : buildin_callshop: Shop [enchant] not found (or NPC is not shop type) Edited November 2, 2015 by Buguinho Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted November 2, 2015 prontera,147,183,5 script MOEDAS PORING 4_CAT_DOWN,{ mes "[Negociador]"; mes "^A901DBPosso trocar suas [MOEDAS PORING] por alguns itens úteis~Meow,^000000"; mes "^A901DBestá interessado~Meow?^000000"; next; if ( select( "Claro.:Talvez outra hora." ) == 2 ) { mes "[Negociador]"; mes "^A901DBTudo bem então.^000000"; close; } mes "[Negociador]"; mes "^A901DBFeche a janela para visualizar melhor.^000000"; next; openshop "ENCHANT_SHOP"; close;}- trader ENCHANT_SHOP -1,{ OnInit: setarray .@shopItems, 12214,100,12105,50,12191,50,12708,30,12706,30,12707,30,12236,30,14591,30,714,50,12020,20,1025,10,12028,10,12212,3,985,1,984,1; tradertype( NST_CUSTOM ); for( .@i = 0; .@i < getarraysize( .@shopItems ); .@i += 2 ) sellitem .@shopItems[ .@i ], .@shopItems[ ( .@i + 1 )]; end; OnCountFunds: setcurrency( countitem( 7539 ) ); end; OnPayFunds: if( countitem( 7539 ) < @price ) end; delitem 7539, @price; purchaseok(); end;} Quote Share this post Link to post Share on other sites
0 Buguinho 0 Posted November 2, 2015 prontera,147,183,5 script MOEDAS PORING 4_CAT_DOWN,{ mes "[Negociador]"; mes "^A901DBPosso trocar suas [MOEDAS PORING] por alguns itens úteis~Meow,^000000"; mes "^A901DBestá interessado~Meow?^000000"; next; if ( select( "Claro.:Talvez outra hora." ) == 2 ) { mes "[Negociador]"; mes "^A901DBTudo bem então.^000000"; close; } mes "[Negociador]"; mes "^A901DBFeche a janela para visualizar melhor.^000000"; next; openshop "ENCHANT_SHOP"; close;}- trader ENCHANT_SHOP -1,{ OnInit: setarray .@shopItems, 12214,100,12105,50,12191,50,12708,30,12706,30,12707,30,12236,30,14591,30,714,50,12020,20,1025,10,12028,10,12212,3,985,1,984,1; tradertype( NST_CUSTOM ); for( .@i = 0; .@i < getarraysize( .@shopItems ); .@i += 2 ) sellitem .@shopItems[ .@i ], .@shopItems[ ( .@i + 1 )]; end; OnCountFunds: setcurrency( countitem( 7539 ) ); end; OnPayFunds: if( countitem( 7539 ) < @price ) end; delitem 7539, @price; purchaseok(); end;} Thank you! You helped me alot! Quote Share this post Link to post Share on other sites
Hi guys, i was using rathena, so i don't know much about the hercules, can you tell me why that script isn't working? I was thinking if it's because of "sshop" right there... CAN YOU HELP PLEASE? The script is in PORTUGUESE, i'm not american.
cointrader.txt
Error:
(11/02/2015 15:07:45) [ Error ] : buildin_callshop: Shop [enchant] not found (or NPC is not shop type)
Edited by BuguinhoShare this post
Link to post
Share on other sites