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

Experience Limit Break

Wusse

Member
Joined
Oct 3, 2023
Messages
33
Reaction score
6
Hey!

Ive Managed to break most limits on my TFS 1.4.2 10.98 Server, but the one limit break im having a hard time finding and changing is the Experience Limit that displays above the character

Reference: Gyazo (https://gyazo.com/ccba7bf18ce4a3cf68b8b4fb82d2e335)

the number gets to big so it uses negative numbers displaying a "-" ontop of the character.

Could someone please be so kind and direct me to the Line of code that needs to be changed?

Highly appreciated, Best Regards Wusse.
 
uint64 is 18446744073709551615
How much experience are you trying to add?

The problem is only the "-"? You can use std::abs(exp)
Or the value displayed is wrong?

give more details
 
and which way you are trying to add these values, for example lua funcs like player:addExperience also as default its int32
 
uint64 is 18446744073709551615
How much experience are you trying to add?

The problem is only the "-"? You can use std::abs(exp)
Or the value displayed is wrong?

give more details
Alright, sorry for slow reply, real life work sigh....

So, The amount of experience works as intended, its simply the Display of the ammount that is incorrect, so in this case like you mentioned the "-".


and which way you are trying to add these values, for example lua funcs like player:addExperience also as default its int32

That has already been changed to unit64.

Reference: Gyazo (https://gyazo.com/9a2bfa489ae3e36261532db3fe846c8e)

I have these pictures of something that could be related to the "-" issue im getting but ive tried changing them to int64 without any luck.

Reference(1): Gyazo (https://gyazo.com/4e8ba94c30c21ed01b691d9fa1a20134)
Reference(2): Gyazo (https://gyazo.com/789d64eb56294fa8b42e005fee27381d)
Reference(3): Gyazo (https://gyazo.com/0835654a16ac031d8f412bdf6bfdcb08)
Reference(4): Gyazo (https://gyazo.com/452153c261e0d78f38ca98c6dbc97137)

i feel like the ones for stages are more related to the EXP rate that can be used in the server.
 
 

Im not sure what you want me to take out of this Threat,

This is the Formula for levels im using currently and its the TFS 1.2 Standard Formula "7172172" Levels. (I didnt like the formula that was presented by the TFS 1.4.2 so i changed it to the older one)

Picture: Gyazo (https://gyazo.com/42a083917336e2ea22426bdf0e609b22)
 
Im not sure what you want me to take out of this Threat,

This is the Formula for levels im using currently and its the TFS 1.2 Standard Formula "7172172" Levels. (I didnt like the formula that was presented by the TFS 1.4.2 so i changed it to the older one)

Picture: Gyazo (https://gyazo.com/42a083917336e2ea22426bdf0e609b22)
think what you are looking for is sendTextMessage in protocol game change to uint64_t, but also will need changing in OTC
 
think what you are looking for is sendTextMessage in protocol game change to uint64_t, but also will need changing in OTC
This is what i found: Gyazo (https://gyazo.com/3ce7b49b4bb183497b83e12536860022)

I tried it with IpChanger since you mentioned it needed changes in OTCV8 Aswell but all it does is crashes the client, I tried it in OTCV8 aswell just to see what happens and the monsters wont die, they just lose their HP bar. Im assuming it happens cuz i havent changed the OTCV8 Source code.
 
This is what i found: Gyazo (https://gyazo.com/3ce7b49b4bb183497b83e12536860022)

I tried it with IpChanger since you mentioned it needed changes in OTCV8 Aswell but all it does is crashes the client, I tried it in OTCV8 aswell just to see what happens and the monsters wont die, they just lose their HP bar. Im assuming it happens cuz i havent changed the OTCV8 Source code.
correct, it is crashing because OTCV8 sources is not edited yet, in protocolgameparse.cpp parseTextMessage you will just need to adjust the message data type too
 
correct, it is crashing because OTCV8 sources is not edited yet, in protocolgameparse.cpp parseTextMessage you will just need to adjust the message data type too

Thank you so much for the help, since i havent even started with the OTCV8 Source Code changes i can postpone this issue since its not really something that affects the game.

I highly appreciate the help thanks buddy!
 
Back
Top