Jump to content
  • 0
Sign in to follow this  
Buguinho

Help-me PLEASE!

Question

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 Buguinho

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
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;}

Share this post


Link to post
Share on other sites
  • 0

 

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!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.