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

Starting Experience

Thimpey

New Member
Joined
Dec 25, 2007
Messages
5
Reaction score
0
I'm using TFS v0.2.8 and everything is working perfect except something with the experience. I use 'account manager' and make an character and it works perfect. Then if I go and kill one rat(I have 0 exp and lvl 1) I gain lvl 1-34577. Before I killed the rat I checked the Localhost homepage and it showed that every new character have 9223372036854775807 experience at lvl 1.

My Config.lua in the Forgotten Server folder:

-- Rates
rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1
.. Seems normal?

And I've checked the Rat's exp and it's:

<monster name="Rat" nameDescription="a rat" race="blood" experience="5".

Normal eh? ;/

Anybody knows the problem? :confused::confused::confused::confused:
 
I also get this when using the Account Manager

Edit: This only happen when the character is lvl 1 and kills a creature.
 
Last edited:
You could try using a trigger, so that when a new character is inserted into the DB, it updates the exp to 0. Just an idea, hope it helps :)

Edit: I guess just editing the existing trigger onctreate_players would work.
 
Last edited:
Back
Top