Jump to content
  • 0

Question

Posted

I got the new problems

My (baby) char have a minus def

I was already edit battle.c & conf and make it 250

but nothing happend... still got minus def

what i should edited next??

thanks /heh

screenbabyro004.jpg

12 answers to this question

Recommended Posts

Posted (edited)

A.) What did you edit? Please post the code snippets.

B.) Does your server run in Renewal Mode (#define REMODE 1 or #define REMODE 0)?

Becouse this conf not working

// Max armor def/mdef
// NOTE: does not affects skills and status effects like Mental Strength
// If weapon_defense_type is non-zero, it won't apply to max def.
// If magic_defense_type is non-zero, it won't apply to max mdef.
max_def: 250

I did some modify on battle.c

{ "pc_status_def_rate",;battle_config.pc_sc_def_rate, 100, 0, 250, },
{"max_def", ;battle_config.max_def, 99, 0, 250, },
and:
void battle_adjust_conf()
{
battle_config.monster_max_aspd = 2000 - battle_config.monster_max_aspd*10;
battle_config.max_aspd = 2000 - battle_config.max_aspd*10;
battle_config.max_walk_speed = 100*DEFAULT_WALK_SPEED/battle_config.max_walk_speed;
battle_config.max_cart_weight *= 10;
if(battle_config.max_def > 250 && !battle_config.weapon_defense_type) // added by [skotlex]
battle_config.max_def = 250
;

Did i do something wrongs?? /$

B.) Does your server run in Renewal Mode (#define REMODE 1 or #define REMODE 0)?

What u mean... sorry.. i am newbies at scripting /heh

Edited by Kaito Kid
Posted

// Max armor def/mdef
// NOTE: does not affects skills and status effects like Mental Strength
// If weapon_defense_type is non-zero, it won't apply to max def.
// If magic_defense_type is non-zero, it won't apply to max mdef.
max_def: 250

This setting only defines what the MAX DEFENSE is not the starting defense. This means that the player's combination of items/cards/buffs will not add defense past 250.

You're using the setting wrong.

Posted

// Max armor def/mdef
// NOTE: does not affects skills and status effects like Mental Strength
// If weapon_defense_type is non-zero, it won't apply to max def.
// If magic_defense_type is non-zero, it won't apply to max mdef.
max_def: 250

This setting only defines what the MAX DEFENSE is not the starting defense. This means that the player's combination of items/cards/buffs will not add defense past 250.

You're using the setting wrong.

Sorry /$

I really dont know.... since eathena.ws down... i dont get any clue to modify the starting defense...

please tell me how /heh

Posted

just use rAthena emulator :(

I already search use keyword rAthena emulator

always got broken link.... any clue??

here ???

NfH3S.png

Thanks emistry..... but i should change it all into that??? cant change it manually??

Posted

try to download or checkout rathena

remove eAthena already and backup your database

after doing those

checkout rAthena

and configure it

configures are same like eAthena

Packets

Packet Version

IPs

SQL Connection

same like eA

wiki has a guide for it

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