Jump to content
  • 0

goddameits refine++ script modification


Breaker

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  05/27/12
  • Last Seen:  

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

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  79
  • Reputation:   0
  • Joined:  06/27/12
  • Last Seen:  

Yess me too i search for this thing i believe to find there but it have nothing it have a script refine +++

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  06/22/12
  • Last Seen:  

So you want a script that has a 100% chance to refine, or a script that doesn't ask you to safe refine it when the chance is 100%?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  05/27/12
  • Last Seen:  

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 :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  05/27/12
  • Last Seen:  

can you post the full modified script please?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   1
  • Joined:  01/22/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/03/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

change this line 210

while(getequiprefinerycnt(@typr)!=.@D)successrefitem @typr;

into

while(getequiprefinerycnt(@typr)<.@D)successrefitem @typr;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/03/12
  • Last Seen:  

It worked! Thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

i got this error while un-wearing equips on me i guess the npc looking for 1 not -1 lol wondering to prevent thispost-9398-0-73008700-1353235780_thumb.png

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...