Jump to content
  • 0

HELP - Hot make a refiner greater than +10


Question

7 answers to this question

Recommended Posts

Posted (edited)

rathena already have +11 and up refiner

You can be more specific...

Like: Where i can found the rAthena script file that do that?

Edited by MojoMojo
Posted (edited)

If you're looking for the refiner scripts, they are in the folder "npc\merchants\"

If you want to know the commands required for refining:

*successrefitem <equipment slot>;

This command will refine an item in the specified equipment slot of the invoking

character by +1. For a list of equipment slots see 'getequipid'. This command

will not only add the +1, but also display a 'refine success' effect on the

character and put appropriate messages into their chat window. It will also give

the character fame points if a weapon reached +10 this way, even though these

will only take effect for blacksmith who will later forge a weapon.

The official scripts seems to use the 'successrefitem' command as a function

instead: 'successrefitem(<number>)' but it returns nothing on the stack.

This is since jAthena, so probably nobody knows for sure why is it so.

---------------------------------------

*failedrefitem <equipment slot>;

This command will fail to refine an item in the specified equipment slot of the

invoking character. The item will be destroyed. This will also display a 'refine

failure' effect on the character and put appropriate messages into their chat

window.

The official scripts seems to use the 'failedrefitem' command as a function

instead: 'failedrefitem(<number>)' but it returns nothing on the stack. This is

since jAthena, so probably nobody knows for sure why is it so.

---------------------------------------

*downrefitem <equipment slot>;

This command will downgrade an item by - 1 in the specified equipment slot of the

invoking character. So the item will not be destroyed unlike in the failedrefitem script command.

This will also display a 'refine failure' effect on the character and put appropriate

messages into their chat window.

The official scripts seems to use the 'downrefitem' command as a function

instead: 'downrefitem(<number>)' but it returns nothing on the stack. This is

since jAthena, so probably nobody knows for sure why is it so.

Edited by plankt
Posted (edited)

Inside "src\map\status.h" you will find this section:

/**
* Max Refine available to your server
* Changing this limit requires edits to refine_db.txt
**/
#ifdef RENEWAL
# define MAX_REFINE 20
#else
# define MAX_REFINE 10
#endif

What it says is, if you have renewal, max refine rate will be 20, otherwise it'll be 10. You can change this for any value you want above 10.

You will need to re-compile after changing this.

Edited by plankt
  • Upvote 1

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