[src] Tutelary Angels System
no i cannot upload my sources cuz i'm currently working on new features that won't be released to public :
- Friends List
- Tailoring (New Skill)
- New special items (Like Shetar's... Mana Increase, Health Increase, Auto Magic Casting...)
- Friends List
- Tailoring (New Skill)
- New special items (Like Shetar's... Mana Increase, Health Increase, Auto Magic Casting...)
<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 !
can someone help me i just got 1 error only pls help--------------------Configuration: HGserver - Win32 Debug--------------------
Compiling...
Game.cpp
D:\Project\Sources\[Source] HGServer 3.02 Source\HGServer - Source\Game.cpp(9838) : error C2039: 'm_cMsgCount' : is not a member of 'CClient'
d:\project\sources\[source] hgserver 3.02 source\hgserver - source\client.h(36) : see declaration of 'CClient'
D:\Project\Sources\[Source] HGServer 3.02 Source\HGServer - Source\Game.cpp(44349) : warning C4390: ';' : empty controlled statement found; is this the intent?
D:\Project\Sources\[Source] HGServer 3.02 Source\HGServer - Source\Game.cpp(44353) : warning C4804: '>' : unsafe use of type 'bool' in operation
D:\Project\Sources\[Source] HGServer 3.02 Source\HGServer - Source\Game.cpp(44355) : warning C4390: ';' : empty controlled statement found; is this the intent?
Error executing cl.exe.
Game.obj - 1 error(s), 3 warning(s)
m_cMsgCount is not declared in CClient Class... take a look at your client.h file
<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 !
Downlaod 3.02 hg, in it working angels, and add things to 3.51 client, and you are ready.
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>
Yeah true that...for some reason did not work... :unsure:diuuude wrote:PTA wont be upgradable anymore...locobans wrote: Ah...for people who want it to match it completly as original servers...Comment this part out...since angels does not have to be binded to your character to wear...on hbint/usa people can lend their angels to others and viceversa.
if ((m_pClientList[iClientH]->m_pItemList[iItemIndex]->m_sTouchEffectValue1 != m_pClientList[iClientH]->m_sCharIDnum1) ||
(m_pClientList[iClientH]->m_pItemList[iItemIndex]->m_sTouchEffectValue2 != m_pClientList[iClientH]->m_sCharIDnum2) ||
(m_pClientList[iClientH]->m_pItemList[iItemIndex]->m_sTouchEffectValue3 != m_pClientList[iClientH]->m_sCharIDnum3)) {
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_ITEMUPGRADEFAIL, 2, NULL, NULL, NULL);
return;
}
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 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>
and other question i ccant declare 4 pandent in item3.cfg, why?
<a href='http://imageshack.us' target='_blank'></a>
-
- Loyal fan
- Posts: 216
- Joined: Wed Apr 19, 2006 12:19 am
you don't declare them in item3.cfg...akytgp 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>
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
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...locobans wrote: Ah...for people who want it to match it completly as original servers...Comment this part out...since angels does not have to be binded to your character to wear...on hbint/usa people can lend their angels to others and viceversa.
<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 !
Snoopy...I quoted this off you...
I added it...and here it how it was my DlgBoxClick_ItemUpgradevoid CGame::DrawDialogBox_ItemUpgrade(int msX, int msY)
You may adjust some things....
below "iValue = iValue*(iValue+6)/8 + 2;", add:
if ( (m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cEquipPos >= 11)
&& (m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cItemType == 1))
{ if( (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(STR)", 19) == 0)
|| (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(DEX)", 19) == 0)
|| (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(INT)", 19) == 0)
|| (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(MAG)", 19) == 0))
{ iValue = (m_pItemList[m_stDialogBoxInfo[34].sV1]->m_dwAttribute & 0xF0000000) >> 28;
switch (iValue) {
case 0: iValue = 10; break;
case 1: iValue = 11; break;
case 2: iValue = 13; break;
case 3: iValue = 16; break;
case 4: iValue = 20; break;
case 5: iValue = 25; break;
case 6: iValue = 31; break;
case 7: iValue = 38; break;
case 8: iValue = 46; break;
case 9: iValue = 55; break;
} } }
You said below...I added it after it and also before it and no succes...still showing the normal formula on client...void CGame::DlgBoxClick_ItemUpgrade(int msX, int msY) {
short sX, sY;
int i, iSoX, iSoM;
sX = m_stDialogBoxInfo[34].sX;
sY = m_stDialogBoxInfo[34].sY;
switch (m_stDialogBoxInfo[34].cMode) {
case 1: // Upgrade Majestic, items in the window
if ((m_stDialogBoxInfo[34].sV1 != -1) && (msX >= sX + DEF_LBTNPOSX) && (msX <= sX + DEF_LBTNPOSX + DEF_BTNSZX) && (msY >= sY + DEF_BTNPOSY) && (msY <= sY + DEF_BTNPOSY + DEF_BTNSZY)) {
int iValue = (m_pItemList[m_stDialogBoxInfo[34].sV1]->m_dwAttribute & 0xF0000000) >> 28;
if ((m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cEquipPos >= 11) && (m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cItemType == 1)) {
if ((memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(STR)", 19) == 0)
|| (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(DEX)", 19) == 0)
|| (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(INT)", 19) == 0)
|| (memcmp(m_pItemList[m_stDialogBoxInfo[34].sV1]->m_cName, "AngelicPandent(MAG)", 19) == 0)) {
iValue = (m_pItemList[m_stDialogBoxInfo[34].sV1]->m_dwAttribute & 0xF0000000) >> 28;
switch (iValue) {
case 0: iValue = 10; break;
case 1: iValue = 11; break;
case 2: iValue = 13; break;
case 3: iValue = 16; break;
case 4: iValue = 20; break;
case 5: iValue = 25; break;
case 6: iValue = 31; break;
case 7: iValue = 38; break;
case 8: iValue = 46; break;
case 9: iValue = 55; break;
}
}
}
iValue = iValue*(iValue+6)/8 + 2;
if( m_iGizonItemUpgradeLeft < iValue ) break;
PlaySound('E', 14, 5);
PlaySound('E', 44, 0);
m_stDialogBoxInfo[34].cMode = 2;
m_stDialogBoxInfo[34].dwV1 = timeGetTime();
}
..............
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>