[src] Tutelary Angels System
here it's before, so useless...
Let's use DebugLog("tag X"); function to trace you tests.
Maybe the item definition is wrong ?
Let's use DebugLog("tag X"); function to trace you tests.
Maybe the item definition is wrong ?
_\_ _<br> / , \__/ . \ Admin of Equilibrium Project<br> II\ \___ . O<br> III \_/ \ _ / <a href='http://www.equiprojet.com' target='_blank'>http://www.equiprojet.com</a><br> II I¯I
You know that's what I did lolz but first time did not work...then did it again, think did something else don't remember but got it to work the 2nd time...diuuude wrote:Check the function that upgrade the items, find the case used for angellic pendants and remove the check for unique IDs, it should work now !locobans wrote:Yeah true that...for some reason did not work... :unsure:diuuude wrote: PTA wont be upgradable anymore...
Now that I think off...I did had it working just when it failed I thought it was cause couldn't and was cause the 70% only to succes.
And snoopy81 I have my items def ok so I'll have a lil fight with it till I get it fixed it don't worry.
Thanks

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>
I'm having problems with Gail. It seems to me there is a problem at the time of creating the items (ie. AngelicPandents, Scroll, Flag) 'cause I'm allowed to click on the items and I get the message for example " Player received tutelary angel" but I never receive the item (it's not being created). If any idea feel free to post it

Im never tested received angel of gail.
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>
cEquipPos undeclared identifier, can someone tell how i repair this plz
?
Ups i repaired it myself x >
BOOL _cEquipPosOnHand();

Ups i repaired it myself x >
BOOL _cEquipPosOnHand();
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 added the code, and now client is fucked up. :S omg
Where i add this code? it fucked my client one time.
I Deleted this thing, and i can log in game, and lol look:
<a href='http://img208.imageshack.us/my.php?imag ... inesho.jpg' target='_blank'>http://img208.imageshack.us/my.php?imag ... sho.jpg</a>
And then i cant equip any armors, i can unequip only another angel.
// Add Angelic Stats
if ( (m_pItemList->m_cItemType == 1)
&& (m_bIsItemEquipped == TRUE)
&& (m_pItemList->m_cEquipPos >= 11))
{ if(memcmp(m_pItemList->m_cName, "AngelicPandent(STR)", 19) == 0)
{ iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicStr = 1 + iAngelValue;
}else if(memcmp(m_pItemList->m_cName, "AngelicPandent(DEX)", 19) == 0)
{ iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicDex = 1 + iAngelValue;
}else if(memcmp(m_pItemList->m_cName, "AngelicPandent(INT)", 19) == 0)
{ iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicInt = 1 + iAngelValue;
}else if(memcmp(m_pItemList->m_cName, "AngelicPandent(MAG)", 19) == 0)
{ iAngelValue = (m_pItemList[i]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicMag = 1 + iAngelValue;
} } }
Where i add this code? it fucked my client one time.
I Deleted this thing, and i can log in game, and lol look:
<a href='http://img208.imageshack.us/my.php?imag ... inesho.jpg' target='_blank'>http://img208.imageshack.us/my.php?imag ... sho.jpg</a>
And then i cant equip any armors, i can unequip only another angel.
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>
plz stop annoying us
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
-
- Loyal fan
- Posts: 216
- Joined: Wed Apr 19, 2006 12:19 am
i was going to say the same thingDrajwer wrote: plz stop annoying us
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
-
- Outpost bitch
- Posts: 517
- Joined: Sat Nov 19, 2005 9:07 pm
- Location: I watch gay porn
- Contact:
Dshaked wrote: I added the code, and now client is fucked up. :S omg// Add Angelic Stats
if ( (m_pItemList->m_cItemType == 1)
&& (m_bIsItemEquipped == TRUE)
&& (m_pItemList->m_cEquipPos >= 11))
{ if(memcmp(m_pItemList->m_cName, "AngelicPandent(STR)", 19) == 0)
{ iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicStr = 1 + iAngelValue;
}else if(memcmp(m_pItemList->m_cName, "AngelicPandent(DEX)", 19) == 0)
{ iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicDex = 1 + iAngelValue;
}else if(memcmp(m_pItemList->m_cName, "AngelicPandent(INT)", 19) == 0)
{ iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicInt = 1 + iAngelValue;
}else if(memcmp(m_pItemList->m_cName, "AngelicPandent(MAG)", 19) == 0)
{ iAngelValue = (m_pItemList[i]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicMag = 1 + iAngelValue;
} } }
Where i add this code? it fucked my client one time.
I Deleted this thing, and i can log in game, and lol look:
<a href='http://img208.imageshack.us/my.php?imag ... inesho.jpg' target='_blank'>http://img208.imageshack.us/my.php?imag ... sho.jpg</a>
And then i cant equip any armors, i can unequip only another angel.
Silvery fixed them...
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
upgrade it and when u get it +1 its +1str max can be +10 so if u upgrade it to +10 u get +10 strakytgp wrote: i see 200 str but i have equip str pandent, any can help me plz.
and other question i ccant declare 4 pandent in item3.cfg, why?
<a href='http://imageshack.us' target='_blank'></a>

<a href=http://profile.xfire.com/sok0l><img src=http://miniprofile.xfire.com/bg/co/type/0/sok0l.png width=440 height=111></a>
The angel thingy should also be added in function DrawDialogBox_ItemUpgrade that was my mistake snoopy.
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>
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
snooopy you added one to many ends
(Client CODE)
i guess was accedent copy
that got rid of about 60 errors tho lol
kk and for the other errors
u missed a } close on this
and u confused me here too, snoopy. could give an example or something?
(ON THE HG)
snoopy missed int before iTemp, and make sure u decleare
and in that function the "," on this line
but i guess he did leave u tip
and if any one knows how to do the "m_cMsgCount" in CClient class, becouse i dont
... becouse he uses [] for all the skills... i guess..
(Client CODE)
// Add Angelic Stats
if ((m_pItemList->m_cItemType == 1)&& (m_bIsItemEquipped == TRUE)&& (m_pItemList->m_cEquipPos >= 11))
{
if(memcmp(m_pItemList->m_cName, "AngelicPandent(STR)", 19) == 0)
{
iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicStr = 1 + iAngelValue;
}
else if(memcmp(m_pItemList->m_cName, "AngelicPandent(DEX)", 19) == 0)
{
iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicDex = 1 + iAngelValue;
}
else if(memcmp(m_pItemList->m_cName, "AngelicPandent(INT)", 19) == 0)
{
iAngelValue = (m_pItemList->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicInt = 1 + iAngelValue;
}
else if(memcmp(m_pItemList->m_cName, "AngelicPandent(MAG)", 19) == 0)
{
iAngelValue = (m_pItemList[i]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicMag = 1 + iAngelValue;
}
}
//}
i guess was accedent copy

that got rid of about 60 errors tho lol
kk and for the other errors

// Add Angelic Stats
if ( (m_pItemList[cItemID]->m_cItemType == 1)
&& (m_pItemList[cItemID]->m_cEquipPos >= 11))
{ int iAngelValue = 0;
if(memcmp(m_pItemList[cItemID]->m_cName, "AngelicPandent(STR)", 19) == 0)
{ iAngelValue = (m_pItemList[cItemID]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicStr = 1 + iAngelValue;
}else if(memcmp(m_pItemList[cItemID]->m_cName, "AngelicPandent(DEX)", 19) == 0)
{ iAngelValue = (m_pItemList[cItemID]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicDex = 1 + iAngelValue;
}else if(memcmp(m_pItemList[cItemID]->m_cName, "AngelicPandent(INT)", 19) == 0)
{ iAngelValue = (m_pItemList[cItemID]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicInt = 1 + iAngelValue;
}else if(memcmp(m_pItemList[cItemID]->m_cName, "AngelicPandent(MAG)", 19) == 0)
{ iAngelValue = (m_pItemList[cItemID]->m_dwAttribute & 0xF0000000) >> 28;
m_iAngelicMag = 1 + iAngelValue;
}
}//new close
and u confused me here too, snoopy. could give an example or something?
And finally the bigger Game.cpp part:
Search for all m_iStr, m_iInt, m_iDex, m_iMag
Some of them a used to send to the client, or logserver, don't touch those.
Many of them have in game effect. I all those cases add corresponding Angelic value:
ie, in:
void CGame::CheckClientResponseTime()
(Activables items delays & resur spell)
BOOL CGame::bEquipItemHandler(..)
(item weight, wearing conditions, speed....)
void CGame::PlayerMagicHandler(..)
( casting proba, Spell strengh)
void CGame::RequestStudyMagicHandler(..)
(Buying spells)
BOOL CGame::bCheckMagicInt(..)
(removing spells)
int CGame::_iCalcMaxLoad(..)
void CGame::CalculateSSN_SkillIndex(..)
void CGame::CalculateSSN_ItemIndex(..)
void CGame::Effect_Damage_Spot(..)
void CGame::Effect_Damage_Spot_DamageMove(..)
BOOL CGame::bCheckResistingMagicSuccess(..)
void CGame::CalcTotalItemEffect(..)
(Maybe is special item conditions set)
int CGame::iGetMaxHP(.. / MP /SP
int CGame::iCalculateAttackEffect(..)
(Obvious !)
BOOL CGame::_bCheckCharacterData(..)
And maybe some more places depending on your server...
(ON THE HG)
snoopy missed int before iTemp, and make sure u decleare

SetAngelFlag(short sOwnerH, char cOwnerType, int iStatus,int iTemp)
and in that function the "," on this line
m_pClientList[ sOwnerH ]->m_iStatus = m_pClientList[ sOwnerH ]->m_iStatus | (iStars, "ShiftLeft",; // THe forum refuses the real C++ code !
but i guess he did leave u tip

and if any one knows how to do the "m_cMsgCount" in CClient class, becouse i dont

<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
This angel system works 100%, dont speak bullshit plz.
Code is 100% right.
Code is 100% right.
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>