little help anyone?

All Helbreath Server Source Discussion here.
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

kenshi i dont have a copy of C++ 6.0 or i would try it on that, i only have 2005 express unfortunatly, thx for the info on why ur using old code tho, but the idiot, was uncalled for...

and crossfade m8, i dont think its anything to do with how many peramiters there are, the problem seems to be that theres 2 places with div_r used in the code, and when it compiles they both convert as either ldiv_t div(long,long) and div_t div(int,int)

they need to be either 1 or the other, but as iv been doing this now for only 2 days hehe, im not sure what actually defines wether they are long,long or int,int
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

xenx wrote: kenshi i dont have a copy of C++ 6.0 or i would try it on that, i only have 2005 express unfortunatly, thx for the info on why ur using old code tho, but the idiot, was uncalled for...

and crossfade m8, i dont think its anything to do with how many peramiters there are, the problem seems to be that theres 2 places with div_r used in the code, and when it compiles they both convert as either ldiv_t div(long,long) and div_t div(int,int)

they need to be either 1 or the other, but as iv been doing this now for only 2 days hehe, im not sure what actually defines wether they are long,long or int,int
Been coding C++ 2 days and already telling us we're wrong?

That makes me a sad panda T_T
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

Orkl wrote:
xenx wrote: kenshi i dont have a copy of C++ 6.0 or i would try it on that, i only have 2005 express unfortunatly, thx for the info on why ur using old code tho, but the idiot, was uncalled for...

and crossfade m8, i dont think its anything to do with how many peramiters there are, the problem seems to be that theres 2 places with div_r used in the code, and when it compiles they both convert as either ldiv_t div(long,long) and div_t div(int,int)

they need to be either 1 or the other, but as iv been doing this now for only 2 days hehe, im not sure what actually defines wether they are  long,long or int,int
Been coding C++ 2 days and already telling us we're wrong?

That makes me a sad panda T_T
lolz

But 1 think I must say: xenx, read a Basics-of-C++, then get back to this. You will be a great coder if you learn the basics irst and then moving to real files :) .
If you need msvc 6.0 use Limewire or any other program of the same type. Its highly likely that youll find it there :)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

evening again folks,

iv now sorted all the errors on the sources iv got,

it was all to do with :
CGame::iClientMotion_Move_Handler(int iClientH, short sX, short sY, char cDir, char cMoveType)

it doesnt like those on C++ 2005 u have to do" int CGame ::"

or u get loads of unidentified errors.


anyway now thats sorted, im trying to change the angel code so that instead of getting +1 to your stat every +1 to the angel, you get +10 to your stat every +1 to the angel

i assume the place to set it would be somewhere here, but i cant find where the variable for + to your stat is, this is an INT angel as an example:

case 18: // Angel INT//AngelicPandent(INT)
iTemp = (m_pClientList[iClientH]->m_pItemList[sItemIndex]->m_dwAttribute & 0xF0000000) >> 28;
m_pClientList[iClientH]->m_iAngelicInt = iTemp;
SetAngelFlag(iClientH, DEF_OWNERTYPE_PLAYER, 3, iTemp);
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_SETTING_SUCCESS, NULL, NULL, NULL, NULL);

i thought maybe the iTemp was perhaps how much of the stat u get as it would be temporary being an angel, but iv tried things like iTemp*10 and iv tried iAngelicInt*10 neither of those work, although the iTemp*10 did compile but wont work in game

this might not be the right place though as i think this code just sets what an angel is not what it does, not sure im only guessing remember

anyway can anyone point me to where the amount of Dex Int etc an angel gives per +1 is set ?
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

Have you tried looking in the SetAngelFlag function? I dont have the code so I cant look, sorry
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

hmm no i havent ill have a look ta m8
Post Reply