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

[C++] How to increase maximum level on server

Lucifer

Active Member
Joined
Dec 27, 2014
Messages
145
Reaction score
31
Location
Sweden
When i am 1 millon and die, i bug. Client close

Someone know what the problem can be?
 

Klonera

Once upon a time.
Joined
Jul 16, 2016
Messages
768
Solutions
7
Reaction score
172
Location
Sweden
Twitch
JoelPersson147
YouTube
Joriku
When i am 1 millon and die, i bug. Client close

Someone know what the problem can be?
Here you have the full tutorial on how to edit the max level
[C++] How to increase maximum level on server (https://otland.net/threads/c-how-to-increase-maximum-level-on-server.230364/)
the problem is that you give yourself levels which somehow (i havn't figured out) makes you instant die, might be becouse the command gives too mutch which makes the character reach the max it can even get which makes it bugged character, simply remove the character and make a new one, exp it on monsters and you'll see that the max level is over 717k
 

Lucifer

Active Member
Joined
Dec 27, 2014
Messages
145
Reaction score
31
Location
Sweden
I have make a new char and exp on monsters and i pas 717 but when i die when i am higher than 717k i bug. I die and my client close

Maybe it have something to do with skill bar? @Gesior.pl
 
Last edited:

Ruulo

New Member
Joined
Mar 8, 2017
Messages
1
Reaction score
0
static uint64_t getExpForLevel(uint32_t lv) { static std::map<uint32_t, uint64_t> cache; lv--; std::map<uint32_t, uint64_t>::iterator it = cache.find(lv); if(it != cache.end()) return it->second; uint64_t exp = ((50ULL * (lv+1ULL) / 3ULL - 100ULL) * (lv+1ULL) + 850ULL / 3ULL) * (lv+1ULL) - 200ULL;
 

Reloadas

New Member
Joined
Oct 2, 2017
Messages
1
Reaction score
0
I dont know in which folder are these files in TFS 1.0, but in 0.3.6 and 0.4 it was in folder in which you type 'make' to compile TFS. In this folder type:
rm *.o
to remove all files that ends with .o
[/CITAR]


when the rebuild appears this error where I remove these .o files?

look a photo
 

Attachments

Top