• 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!

Windows Skill advancing..

santin

Lost.Realm->Owner
Joined
Jun 2, 2007
Messages
52
Reaction score
0
Location
Brazil
Problem solved guys.. thanks..

I didn't understand what Evil Hero tryed to teach me..

But here is what i did..

I let '1' in skill rate from config.lua

and i changed the skill multiplier on vocs~.xml to 100..

it worked perfectly..

Thanks
 
Last edited by a moderator:
I give you an easy example how to do that

Code:
<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="75" gainmanaticks="4" gainmanaamount="20" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="3.0" attackspeed="700" prevoc="4" basespeed="320">
	<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
	<formula damage="1.6" defense="1.1" armor="1.1"/>
	<skill id="0" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="1" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="2" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="3" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="4" multiplier="[COLOR="Red"]1.4[/COLOR]"/>
	<skill id="5" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="6" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
</vocation>

If you change the red numbers to a higher number then you wont gain skills that fast anymore

example:

Code:
<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="75" gainmanaticks="4" gainmanaamount="20" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="3.0" attackspeed="700" prevoc="4" basespeed="320">
	<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
	<formula damage="1.6" defense="1.1" armor="1.1"/>
	<skill id="0" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="1" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="2" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="3" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="4" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="5" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="6" multiplier="[COLOR="Red"]100[/COLOR]"/>
</vocation>

hope this helped you!

yours Evil Hero,
 
I give you an easy example how to do that

Code:
<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="75" gainmanaticks="4" gainmanaamount="20" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="3.0" attackspeed="700" prevoc="4" basespeed="320">
	<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
	<formula damage="1.6" defense="1.1" armor="1.1"/>
	<skill id="0" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="1" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="2" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="3" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="4" multiplier="[COLOR="Red"]1.4[/COLOR]"/>
	<skill id="5" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
	<skill id="6" multiplier="[COLOR="Red"]1.1[/COLOR]"/>
</vocation>

If you change the red numbers to a higher number then you wont gain skills that fast anymore

example:

Code:
<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="75" gainmanaticks="4" gainmanaamount="20" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="3.0" attackspeed="700" prevoc="4" basespeed="320">
	<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
	<formula damage="1.6" defense="1.1" armor="1.1"/>
	<skill id="0" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="1" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="2" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="3" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="4" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="5" multiplier="[COLOR="Red"]100[/COLOR]"/>
	<skill id="6" multiplier="[COLOR="Red"]100[/COLOR]"/>
</vocation>

hope this helped you!

yours Evil Hero,


I did this and got the same problem... 1 hit = 1 advance...
But i've made this without changing any thing neither in config.lua (skill rate) or in sources...

So, im stucked yet!!

Help plz :p

An other thing...

If i leave all in '1'.. like skill rate = 1 and in vocations '1.0' every hit i make, nevermind in what skill i am, 10 or 100, i win 2% of it every hit...


Explaning more... the thing i want is to be able to add skill tries using the lua function doPlayerAddSkillTry... but make the player not able to gain tries by killing monsters, players ...

Thanks
 
Last edited:
I had this problem before to, but I replaced my vocations.xml file and changed it again and then it worked. You try that.
 
I had this problem before to, but I replaced my vocations.xml file and changed it again and then it worked. You try that.

Think you didnt understand what he want.

He want that when player hits a creature/creature hits him he wont get any %.

In my opinion the problem is in sources, you have to remove few lines, but I dont have an idea which ones and where exactly.
 
Back
Top