Majestic Points Problem
I have a character with 5 majestic points.
When i press the "upgrade" button i can see the majestic option but i can't press it.
If i get a majestic point by leveling, i can press the option, but when i relog i get the problem again.
Another problem is that i can't drag every weapon into the majestic upgrade box, only specific ones.
Are those client bugs? or can they be fixed in the HG?
When i press the "upgrade" button i can see the majestic option but i can't press it.
If i get a majestic point by leveling, i can press the option, but when i relog i get the problem again.
Another problem is that i can't drag every weapon into the majestic upgrade box, only specific ones.
Are those client bugs? or can they be fixed in the HG?
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
-
- Outpost bitch
- Posts: 559
- Joined: Wed Mar 30, 2005 6:45 am
have you binded that DK item you want to upgrade?tamir wrote: I have a character with 5 majestic points.
When i press the "upgrade" button i can see the majestic option but i can't press it.
If i get a majestic point by leveling, i can press the option, but when i relog i get the problem again.
Another problem is that i can't drag every weapon into the majestic upgrade box, only specific ones.
Are those client bugs? or can they be fixed in the HG?
can you change your stats with majestic points?
<img src='http://helbreath.pri.ee/userbars/hbest-gamemaster2.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/hbsoccer-owner.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/scorpa-rider.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/logout-master.jpg' border='0' alt='user posted image' /> <br>.<br>................................Ego sum Rage, flagellum Dei!<br><br>The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? (bash.org)
oh, i have to bind it? :huh:
and when i try to upgrade the weapon it always fails...
and when i try to upgrade the weapon it always fails...
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
tamir wrote: oh, i have to bind it? :huh:
and when i try to upgrade the weapon it always fails...
Code: Select all
if (m_pClientList[i]->m_iLevel < 180) {
if (m_pClientList[i]->m_iGizonItemUpgradeLeft > 0) {
m_pClientList[i]->m_iGizonItemUpgradeLeft = 0;
}
}
~Locobans
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
It doesn't change negative number to 0, it changes positive, but thx.
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
Actually if you check here...tamir wrote: It doesn't change negative number to 0, it changes positive, but thx.
if (m_pClientList->m_iGizonItemUpgradeLeft > 0) {
if player majestic points are more than 0 (negative number)
m_pClientList->m_iGizonItemUpgradeLeft = 0;
set player majestic point to 0
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
negative = lower than 0.
positive = higher than 0.
positive = higher than 0.
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
You win then...i just now whenever i connect to my hgserver with gizon-item-upgade-left = a negative number, i automatically get 0 points.tamir wrote: negative = lower than 0.
positive = higher than 0.
~Locobans, good luck

QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
-
- Regular
- Posts: 32
- Joined: Mon Mar 15, 2004 8:26 pm
Would this give me the ability to gain majestic points with the max level being 300 every time you level past 300?
If not, could someone put me in the right direction. :/
Code: Select all
void CGame::PlayerOrder_ExchangeEXP(int iClientH) {
int i;
int exp;
int exp2;
char buff[100];
if (m_pClientList[iClientH]->m_iLevel < 300) {
ShowInGameMsg(iClientH," You must be level 300");
return;
}
exp = m_pClientList[iClientH]->m_iExp; //ile ma expa
exp2 = exp-1588868078;
if (exp2>=25000000)
{
exp2=exp2 / 25000000; //<- exp2 = points
m_pClientList[iClientH]->m_iMajesticCount += exp2;
wsprintf(buff," You have %d master upgrade points",exp2);
ShowRepNotice(iClientH,buff);
m_pClientList[iClientH]->m_iExp = 1588868078;//(exp2 * 50000000);
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_EXP, NULL, NULL, NULL, NULL);
}
-
- Loyal fan
- Posts: 235
- Joined: Mon Jul 12, 2004 9:36 am
i think :Shadoelement wrote: Would this give me the ability to gain majestic points with the max level being 300 every time you level past 300?If not, could someone put me in the right direction. :/Code: Select all
void CGame::PlayerOrder_ExchangeEXP(int iClientH) { int i; int exp; int exp2; char buff[100]; if (m_pClientList[iClientH]->m_iLevel < 300) { ShowInGameMsg(iClientH," You must be level 300"); return; } exp = m_pClientList[iClientH]->m_iExp; //ile ma expa exp2 = exp-1588868078; if (exp2>=25000000) { exp2=exp2 / 25000000; //<- exp2 = points m_pClientList[iClientH]->m_iMajesticCount += exp2; wsprintf(buff," You have %d master upgrade points",exp2); ShowRepNotice(iClientH,buff); m_pClientList[iClientH]->m_iExp = 1588868078;//(exp2 * 50000000); SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_EXP, NULL, NULL, NULL, NULL); }
void CGame::PlayerOrder_ExchangeEXP(int iClientH) {
int i;
int exp;
int exp2;
<span style='color:red'>int exp3;</span>
char buff[100];
if (m_pClientList[iClientH]->m_iLevel < 300) {
ShowInGameMsg(iClientH," You must be level 300");
return;
}
exp = m_pClientList[iClientH]->m_iExp; //ile ma expa
exp2 = exp-1588868078;
if (exp2>=25000000)
{
<span style='color:red'>exp3=exp2 / 25000000; //<- exp2 = points</span> <span style='color:blue'>//exp already predefined variable.</span>
m_pClientList[iClientH]->m_iMajesticCount += <span style='color:red'>exp3;</span>
wsprintf(buff," You have %d master upgrade points",<span style='color:red'>exp3</span>);
ShowRepNotice(iClientH,buff);
m_pClientList[iClientH]->m_iExp = 1588868078;//(exp2 * 50000000);
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_EXP, NULL, NULL, NULL, NULL);
}
it looks logically correct to me. i dunno about using the int variable though, maybe it cant hold that big a number and needs to be put as long variable.
and i think that <span style='color:green'>m_iMajesticCount </span>should be <span style='color:green'>m_iGizonItemUpgradeLeft </span>
also dont forget if u want ur players to stay at lvl 300, u gotta do smth about it, or else they may level beyond that.
edit : i just realised u took this from arcanian's sources. my guess is its right.
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
how do i bind items, so i can upgrade them?
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
tamir wrote: how do i bind items, so i can upgrade them?
Item should be...character-IDnum1 = 21533
character-IDnum2 = 314
character-IDnum3 = 1
character-item = ChainHose(M) 1 2 21533 314 1 0 0 0 0 494 8519680
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>