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

Compiling Where to change experience needed for X level?

Ezzz

Developer of Nostalrius and The Violet Project
Joined
Feb 26, 2010
Messages
1,889
Solutions
3
Reaction score
795
Location
Spain, Europe
That's right, where in the sources for TFS 0.3.6pl1 i can change the experience rates, for the needed levels. We know that for level 2 is 100 experience, where can i change it?. Rep++
 
You modify that in otserver/data/xml/stages.
but u must enter in config.lua, and change it to work using exp rates
 
player.h

Code:
		static uint64_t getExpForLevel(uint32_t lv)
		{
			lv--;
			return ((50ULL * lv * lv * lv) - (150ULL * lv * lv) + (400ULL * lv)) / 3ULL;
		}
 
Back
Top