Jump to content
  • 0

Help! Refiner


WilkyMave

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  06/09/12
  • Last Seen:  

i been searchin in rA then i saw this part

mes "[smith]"; mes "Okay I'm going"; mes "to refine your Equipment"; mes "to +10,Thx for using my Service!"; next; for(set @part,1;@part<11;set @part,@part+1) if(getequipisequiped(@part)) while(getequiprefinerycnt(@part) < 10) successrefitem @part; mes "[smith]"; mes "Congrats Enjoy it!"; close; end;

then i edit like this!

but when i test the npc! it give me error

[ERROR]: MISSING 1 right curlys at file npc/custom/test.txt

how do i fix this error

test.txt

Edited by JoySticK
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

The error is in plain English. You're missing a right curly, so add it where it says so.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  06/09/12
  • Last Seen:  

yeah! thanks i fix it

i remove this

}else{ and replace with this }

sir euphy how do edit the script like every 15 min they show up

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Didn't get what you wantedabout the 15min but for you script the errorswasn"t in else but in closing npc:

prontera,149,185,5    script    Refiner    903,{
 if( !countitem(7619) ){
   mes "Please Bring "+getitemname( 7619 )+" before i Refine You.";
   close;
 }else{
   mes "Want To Refine?";
   if( select( "Yes:No" ) == 2 ) close;
   delitem 7619,1;
   for(set @part,1;@part<101;set @part,@part+1)
   if(getequipisequiped(@part))
   while(getequiprefinerycnt(@part) < 25)
   successrefitem @part;
   close;
 }
}

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...