[src] Tutelary Angels System

Codes already submitted by people of the forums.
Post Reply
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

bone-you wrote:
Charles wrote:
choymin wrote: erro

\Source\HGServer - Source\Game.cpp(10116) : error C2039: 'm_cMsgCount' : is not a member of 'CClient'

how can i fix this 'm_cMsgCount'
add

Code: Select all

BOOL m_cMsgCount;
to client.h
If the person who added m_cMsgCount was using the proper notation, it'd be a char. A BOOL is used for TRUE/FALSE not counting although BOOL be default is a long.
i was just posting what i found in some fucked up source lol
<i>"Always write good code. Feel bad to write bad code."</i>
ADDKiD
&lt;3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

Charles wrote:
bone-you wrote:
Charles wrote: add

Code: Select all

BOOL m_cMsgCount;
to client.h
If the person who added m_cMsgCount was using the proper notation, it'd be a char. A BOOL is used for TRUE/FALSE not counting although BOOL be default is a long.
i was just posting what i found in some fucked up source lol
Wonder which fucked up source your talking about. Seems to be many.
XsX
Regular
Posts: 32
Joined: Sat May 15, 2004 8:53 pm

Post by XsX »

Charles wrote:
choymin wrote: erro

\Source\HGServer - Source\Game.cpp(10116) : error C2039: 'm_cMsgCount' : is not a member of 'CClient'

how can i fix this 'm_cMsgCount'
add

Code: Select all

BOOL m_cMsgCount;
to client.h
CHAR m_"c"MsgCount





:rolleyes:
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

XsX wrote:
Charles wrote:
choymin wrote: erro

\Source\HGServer - Source\Game.cpp(10116) : error C2039: 'm_cMsgCount' : is not a member of 'CClient'

how can i fix this 'm_cMsgCount'
add

Code: Select all

BOOL m_cMsgCount;
to client.h
CHAR m_"c"MsgCount





:rolleyes:
A count shouldn't be a char unless you like having 127 being your max. It should be either a short or an int.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

bone-you wrote:
XsX wrote:
Charles wrote: add

Code: Select all

BOOL m_cMsgCount;
to client.h
CHAR m_"c"MsgCount





:rolleyes:
A count shouldn't be a char unless you like having 127 being your max. It should be either a short or an int.
I use bool for large numbers. It's how i fixed exp so my uber server could have max level 999999999.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Acidx
Member
Posts: 198
Joined: Tue Mar 23, 2004 4:27 am

Post by Acidx »

Dax wrote:
bone-you wrote:
XsX wrote: CHAR m_"c"MsgCount





:rolleyes:
A count shouldn't be a char unless you like having 127 being your max. It should be either a short or an int.
I use bool for large numbers. It's how i fixed exp so my uber server could have max level 999999999.
ewww.... <3 danny
<b>-<span style='color:green'>ACiD-x </span><span style='color:red'> Owning PCs Since 1987</span><br><img src='http://img204.imageshack.us/img204/2245/hackertf5.gif' border='0' alt='user posted image' /><br><img src='http://img509.imageshack.us/img509/6697 ... 4sc4ed.png' border='0' alt='user posted image' /><br><span style='color:orange'>i am Pwn NetGAYLORDS !</span></b><br><span style='color:blue'><br>I Pwn HBUSA =)</span>
Post Reply