• 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++] +XXXX exp.

breadmaker

New Member
Joined
Jul 16, 2010
Messages
160
Reaction score
3
Hello.
I have a question where i can change the white subtitle of gettin experience from monsters

Now its looks like numbers ex. 4650
I wants add the "+" and the "exp." to the 4650 -> +4650 exp.

Where i can change that in c++ ? Anyone know
 
In creature.cpp search for (2x times):[cpp] std::stringstream ss;
ss << (uint64_t)gainExp;
g_game.addAnimatedText(getPosition(), (uint8_t)color, ss.str());
[/cpp]
and change to:
[cpp] std::stringstream ss;
ss << "+" << (uint64_t)gainExp;
g_game.addAnimatedText(getPosition(), (uint8_t)color, ss.str());[/cpp]
 
Last edited:

Similar threads

Back
Top