Jump to content
  • 0

goddameits refine++ script modification


Question

Posted

hi im referring to thi script http://rathena.org/board/topic/66190-refine/,

since this one gives you on every upgrade level the choice to use a safe refine or a normal one im asking you guys to change it that it wont ask for protection scroll while the refine level is still 100%.

i tried it myself but im totally new to the stuff and meh... didnt turn out very well :(

hope you guys would help me with that,

thanks in advance!

BREAKER

10 answers to this question

Recommended Posts

Posted

exactly lets say level 1-4 is already 100% safe then you shouldnt have the option to use the protection scroll im just afraid people wouldnt get it and use it to a anyway safe thing and complain then :(

Posted (edited)

seen there is a variable recording the chances of success

' @rate '

function sRater {
 mes "[successful rate]["+set(@rate,(nRate(@typr,getequiprefinerycnt(@typr))+(@use2>6000?10:0)))+"%]";
 return;
}

and we know below is used to delete the protection scroll

if(.Scroll)
{
 if( @menu==2 || @menu2==2 )
  delitem .Scroll,1;
}

so what should we done is making a new exception about 100% (even over) success.

if(.Scroll)
{
 if( ( @menu==2 || @menu2==2 ) && @rate < 100 )
  delitem .Scroll,1;
}

also can add a note.

if(.Scroll)
{
 if( @menu==2 || @menu2==2 )
if( @rate >= 100 )
  mes "100% of success, so automatically cancel using the protection scroll";
else
 delitem .Scroll,1;
}

http://imgur.com/TXn3l

http://imgur.com/pLLrQ

http://imgur.com/lGEtd

http://imgur.com/Wh5Yn

http://imgur.com/ZCu33

Edited by goddameit
Posted

is it me or does anyone have problem after refining +13?

when my weapon +13 i was going to +14 then all of sudden it just spam itself to +20

on map server it report:

Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=-1

[Debug]: Function: select

[Debug]: Source <NPC>: Refine++ at prontera <173,159>

[Error]: run_script: infinity loop !

anyone help with this problems?

thanks in advance

Posted

is it me or does anyone have problem after refining +13?

when my weapon +13 i was going to +14 then all of sudden it just spam itself to +20

on map server it report:

Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=-1

[Debug]: Function: select

[Debug]: Source <NPC>: Refine++ at prontera <173,159>

[Error]: run_script: infinity loop !

anyone help with this problems?

thanks in advance

I'm having the same problem, someone knows how to solve?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...