Solved Cap level within FastJobChange or within Resources!

Status
Not open for further replies.

Cikk

Premium
Premium
Joined
Jun 15, 2024
Messages
136
Solutions
2
Reaction score
46
Points
28
Hello everyone on Lodelight.

Im running with a v18 files and using Fastjobchange!

Right now i just wanna cap level up to level 120 (Non Master)

i wounder how to do this within FastJobChanger system!
i wanna do this simple as posible to so i can use defines within it! so i can have like
Hey There!
Please login and(or) register to see this awesome content today.

But one of thoes will be disable like
Hey There!
Please login and(or) register to see this awesome content today.
And vise versa

i tried to change it within the resource "definejob.h"

But what i understood "MAX_GENERAL_LEVEL" goes under bother non-master and master! so within that it dosent work to change
even if i change "MAX_CHARACTER_LEVEL" to 120!

So i think this is something within the FASTJOBCHANGE in the source! but where?

And yes i use 3rd job within this sources! :) Cheers

This is what i have tried so far!
Hey There!
Please login and(or) register to see this awesome content today.
And

Hey There!
Please login and(or) register to see this awesome content today.
 
Solution
Well you have MODE_EXPUP_STOP which stops a player from leveling so just search this in the source and add an or statement checking if the player is level 120 at the same points where you check if the player has the MODE_EXPUP_STOP flag

Should do the trick 🤷‍♂️
Well you have MODE_EXPUP_STOP which stops a player from leveling so just search this in the source and add an or statement checking if the player is level 120 at the same points where you check if the player has the MODE_EXPUP_STOP flag

Should do the trick 🤷‍♂️
 
  • Like
Reactions: Cikk
Solution
Well you have MODE_EXPUP_STOP which stops a player from leveling so just search this in the source and add an or statement checking if the player is level 120 at the same points where you check if the player has the MODE_EXPUP_STOP flag

Should do the trick 🤷‍♂️
Gonna take a look into this and see if a find a fix within this function :)
 
Well you have MODE_EXPUP_STOP which stops a player from leveling so just search this in the source and add an or statement checking if the player is level 120 at the same points where you check if the player has the MODE_EXPUP_STOP flag

Should do the trick 🤷‍♂️
After looking deeper into MODE_EXPUP_STOP

I found this section!


Hey There!
Please login and(or) register to see this awesome content today.

After some recoding i came into
Hey There!
Please login and(or) register to see this awesome content today.

So now when i hit level 120 (non master) i wont get any more exp :)
Like i wanted :)
And for future changes of level i can just change this :)
 
Status
Not open for further replies.