Jump to content
  • 0

Changing Max Level


Pancake

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

\map\battle.c

Open \src\map\battle.c and look for this line of code:

{ "max_lv"' date=' &battle_config.max_lv, 99, 0, [i']127[/i],

Change 127 to the maximum value you wish to set for your server i.e.

{ "max_lv", &battle_config.max_lv, 99, 0, 1000,

This limits the accepted values of max_lv in \conf\battle\client.conf

[edit]\map\map.h

Open \src\map\map.h and look for this line of code:

#define MAX_LEVEL 150

Change 99 to your desired maximum value, i.e.

#define MAX_LEVEL 1000

I have followed these steps, recompiled, and added an exp.txt table that supports up to level 1000 in both pre-re and re folders in the db.

My max level is currently 99, and I was trying to set it to 400.

Why didnt this work? What does work?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

mapbattle.c

Open srcmapbattle.c and look for this line of code:

{ "max_lv"' date=' &battle_config.max_lv, 99, 0, [i']127[/i],

Change 127 to the maximum value you wish to set for your server i.e.

{ "max_lv", &battle_config.max_lv, 99, 0, 1000,

This limits the accepted values of max_lv in confbattleclient.conf

[edit]mapmap.h

Open srcmapmap.h and look for this line of code:

#define MAX_LEVEL 150

Change 99 to your desired maximum value, i.e.

#define MAX_LEVEL 1000

I have followed these steps, recompiled, and added an exp.txt table that supports up to level 1000 in both pre-re and re folders in the db.

My max level is currently 99, and I was trying to set it to 400.

Why didnt this work? What does work?

/conf/client.conf

// Maximum allowed 'level' value that can be sent in unit packets.

// Use together with the aura_lv setting to tell when exactly to show the aura.

// NOTE: You also need to adjust the client if you want this to work.

// NOTE: Default is 99. Values above 127 will probably behave incorrectly.

// NOTE: If you don't know what this does, don't change it!!!

max_lv: 99 // Change This

// Level required to display an aura.

// NOTE: This assumes that sending max_lv to the client will display the aura.

// NOTE: aura_lv must not be less than max_lv.

// Example: If max_lv is 99 and aura_lv is 150, characters with level 99~149

// will be sent as being all level 98, and only characters with level

// 150 or more will be reported as having level 99 and show an aura.

aura_lv: 99 // Change This

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

Already set aura_lv to 400 and max_lv to 99

incorrect? ;p

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Already set aura_lv to 400 and max_lv to 99

incorrect? ;p

So which should basically you will change the 'LEVEL' or the 'AURA' ?

Prefer to RA WiKi --> http://rathena.org/wiki/Category:Configuration

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

Its not stated anywhere in the wiki that you have to change the first line of each exp row to the max level of that area, had I not remembered this from my previous experience, I would never have figured it out.

Need to alter the wiki Edit_Max_Levels

Oh it is, its just stated very small.

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