When I make new character, and log in with it.
It got gizon-item-upgrade-left status to 1758389
Can someone make code like this:
When got more than 1000 majes, cant get more.
And if got more thant 1000 majes, it resets majestetic points to 0.
Plz
Looking Fix Code.
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>
I tryed this code:
But not again x D
It worked one time.if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 1001)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 0;
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 1000)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 1000;
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 1001)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 0;
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 1000)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 1000;
But not again x D
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>
Such codes will never work... Try these ones.
Code: Select all
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 1000)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 1000;
Code: Select all
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 0)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 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 !
Where I add these?
And how it helps for this: gizon-item-upgade-left = 1751607666
When I create new character, and log in with it.
It got 1751607666 majes.
And how it helps for this: gizon-item-upgade-left = 1751607666
When I create new character, and log in with it.
It got 1751607666 majes.
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>
Here is picture of my problem
New char got lots of majes.
I need some code of reset, if player have +1000 majes.
and stop majes getting to 1000.
When player make new char it have already 1751607666 majes
New char got lots of majes.
I need some code of reset, if player have +1000 majes.
and stop majes getting to 1000.
When player make new char it have already 1751607666 majes
I think this dont work, or I dont know right place were to add this.if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 1751607666)
m_pClientList[iClientH]->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>
in cgame::cgame make sure the variable to store gizon is set to 0 initially, then make sure you are reading the character file, breadcharacter... find the gizon readmode and when it sets gizon variable = atoi(token) make sure if gizon variable > 1000) gizon variable = 1000;Dshaked wrote: Here is picture of my problem
New char got lots of majes.
I need some code of reset, if player have +1000 majes.
and stop majes getting to 1000.
When player make new char it have already 1751607666 majesI think this dont work, or I dont know right place were to add this.if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 1751607666)
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 0;
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
Sry, but its already fixed.
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>