When people makes new character.
And when I look character thx file.
It shows like this.
gizon-item-upgade-left = 1751607666
wtf?
people got already much maje points.
Help plz?
And then in game it shows item-upgrade-left 26499 or somefting.
Majestetic Bug.
Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>
Want someone make for me code like this:
If got more than 1001 majestetic points, hg server changes it to 0.
And another code what like this:
Cant get more than 1000 majestetic points.
It's possible to make this code?
If it can someone make it for me plz, and tell where I add it.
Plz.
Somefthing like this?
If got more than 1001 majestetic points, hg server changes it to 0.
And another code what like this:
Cant get more than 1000 majestetic points.
It's possible to make this code?
If it can someone make it for me plz, and tell where I add it.
Plz.
Somefthing like this?
}
if (( m_pClientList[ iClientH ]->m_iGizonItemUpgradeLeft - sItemUpgrade ) < 1001) {
m_iGizonItemUpgradeLeft = 1000;
else{
if (( m_pClientList[ iClientH ]->m_iGizonItemUpgradeLeft - sItemUpgrade ) > 1001) {
m_iGizonItemUpgradeLeft = 0;
}
Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>
Put this in character's init, and when character level up
This will prevent your players to have more than 1000 Majestic Points, or MJ Points below 0
Code: Select all
if (m_pClientList[ iClientH ]->m_iGizonItemUpgradeLeft) > 1000) {
m_iGizonItemUpgradeLeft = 1000;
else if (m_pClientList[ iClientH ]->m_iGizonItemUpgradeLeft) < 0) {
m_iGizonItemUpgradeLeft = 0;
}
This will prevent your players to have more than 1000 Majestic Points, or MJ Points below 0
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
-
- noob
- Posts: 24
- Joined: Sat Dec 25, 2004 2:40 pm
in Client.cpp, in Constructor CClient::CClient() add this:
Code: Select all
m_iGizonItemUpgradeLeft = 0;
OMG, thx.
gizon-item-upgade-left = 0
gizon-item-upgade-left = 0

Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>