Jump to content
  • 0

Level max 255 problem


freezing1

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

Hello all good, how are you?





So I've been using rathena for about 15 days and only today I tried to change the maximum level.. because in other emulators this is very simple and practical, however here I had problems.



The server settings are:

Level base 254 - Job 70 all classes.



Following is the files I'm using with its error image on the console.



Files:


Job_db1: http://pastebin.com/K2TFvHra


Job_exp: http://pastebin.com/XUZgH78J

Job_basehpsp_db: http://pastebin.com/Kq8ZFHgi



Image: 
http://i.imgur.com/cb8dduM.png

Sorry for the english, I'm using the translator.
Edited by zecabaleiro
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

src/map/battle.c

    { "max_lv",                             &battle_config.max_lv,                          255,     0,      MAX_LEVEL,      },

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

and here 

src/map/map.h

#define MAX_LEVEL 255

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

db/import/job_exp.txt

Make sure after you applied recompile it

 

Edited by razermantis
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

Hello, thank you for replying.

The default settings like this have already been made.

my config:

    { "max_lv",                             &battle_config.max_lv,                          254,     0,      MAX_LEVEL,      },
    { "aura_lv",                            &battle_config.aura_lv,                         254,     0,      INT_MAX,        },

#define MAX_LEVEL 254

trunk/db/pre-re/job_exp.txt

Level 99 change 255
//Base - Normal and Baby Jobs
//Base - Trans Jobs

 

/trunk/conf/battle/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: 254

// 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: 254

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

how about in import?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

import/db/job_exp.txt

it should be like this 

//Base - Pre-renewal 1000 Levels

255,4001,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875,1038  << Novice
255,4002,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875.1083 << Add another Job 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

Resolved, but the pre-re hp is low. :(

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

solved. thank all ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  12/18/16
  • Last Seen:  

job HP? 

db/pre-re/job_db1.txt
db/re/job_db1.txt

4015,    28000,110  ,700  ,470  ,400  ,500 << edit this 110 is the HP

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