• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

how to make vocations have stages of experience

abrahambav1

New Member
Joined
Oct 7, 2014
Messages
5
Reaction score
0
how to make vocations have stages of experience, my ot server is versión 10.78 tan friends
 
First thing to note, your ot version is not the same as your client version. :P
Client version = 10.78
Server version = (tfs 0.3.7 OR tfs 1.1) et cetera.

As for the question.. you can set the experience multiplier in

data/xml/stages.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<stages>
   <world id="0" multiplier="1">
     <stage minlevel="1" maxlevel="99" multiplier="30"/>
     <stage minlevel="100" maxlevel="199" multiplier="20"/>
     <stage minlevel="200" maxlevel="199" multiplier="10"/>
     <stage minlevel="300" maxlevel="199" multiplier="5"/>
     <stage minlevel="400" maxlevel="499" multiplier="1"/>
     <stage minlevel="500" multiplier="0"/>
   </world>
</stages>
Something like that would work, and make max level 500.
 
Thank, but have, i need stages exp. With vocations example
no vocations

<stages>
<world id="0" multiplier="1">
<stage minlevel="1" maxlevel="7" multiplier="30"/>
<stage minlevel="8" multiplier="0"/>

Druid

<?xml version="1.0" encoding="UTF-8"?>
<stages>
<world id="0" multiplier="1">
<stage minlevel="8" maxlevel="99" multiplier="30"/>
<stage minlevel="100" maxlevel="199" multiplier="20"/>
<stage minlevel="200" maxlevel="199" multiplier="10"/>
<stage minlevel="300" maxlevel="199" multiplier="5"/>
<stage minlevel="400" maxlevel="499" multiplier="1"/>
<stage minlevel="500" multiplier="0"/>
</world>
</stages>

Thank friend
 
I don't understand why you'd want different vocations to level up at a different rate though.
Knight level slow
druid level fast?
Doesn't make sense.

You could set the experience stages.. then make a log-in script to give bonus experience to certain vocations.
Knight login - do set experience multiplier 1
druid login - do set experience multiplier 4

Again I have no clue why you would want to do that :P
 
Is example, I want that vocations like
no vocations up lvl to 1- 8
and sorcerer, druid, paladín and knight up 8 - infinite. You understand me
 
I think he means that he wants people without vocation to be unable to become higher then lvl 8.
Not really sure how that can be blocked. Maybe with a remove exp script once the character gets a higher lvl then 8 while not having a vocation.
But if you want something like this isn't it easy to let new players start at lvl 8 and with a vocation allready?
 
Yes, no vocation high lvl is 8 want, and other vocations up 8 to infinite, don't want that no vocations up lvl more than lvl 8 like 9.
 
In data/events/scripts/player.lua, edit the function Player : onGainSkillTries, usually the last one around line 175:
Code:
function Player:onGainSkillTries(skill, tries)
   if self:getVocation() == 0 and self:getLevel() >= 8 then
     return 0
   end

   (...)
end
Where (...) means the rest of the current code.

Then, on data/events/events.xml, change enabled to 1 on onGainSkillTries event.
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<stages>
<world id="0" multiplier="1">
<stage minlevel="1" maxlevel="7" multiplier="1"/>
<stage minlevel="8" multiplier="0"/>
<stage minlevel="9"  multiplier="1"/>
</world>
</stages>
Use this.

Players will go from level 1 - 8, then stop.
Then you can make oracle or quest give level 8-9 + vocation.

Otherwise.. you can try the source edit option from @Lordfire
 
Back
Top