Weird Problem

All Helbreath Server Source Discussion here.
Post Reply
tamir
Regular
Posts: 53
Joined: Wed Feb 04, 2004 8:42 am

Post by tamir »

I got Microsoft Visual Studio .NET 2003 and I tried to build the hg with the 2.24c source.
it compiles with many warnings but not even 1 error.
when i run it, it connecting to all the sockets and when it's get to the 9th it gives me an error but it also says that the server was activated.
Image
bIsSpecialEvent is defined, don't know why it says it isn't.
however, when i take this line:

Code: Select all

BOOL bMaster, bFirmBerserk, bIsSpecialEvent;
and add this:

Code: Select all

BOOL bMaster, bFirmBerserk, bIsSpecialEvent = false;
suddenly it doesn't give me any error.
why is that? do i have to add the "= false" to any bool declaration?
if yes, why it only crashes when bIsSpecialEvent doesn't have the addition?
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
tamir
Regular
Posts: 53
Joined: Wed Feb 04, 2004 8:42 am

Post by tamir »

I found out it gives me this error with many other variables such as iItemID...
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

tamir wrote: I found out it gives me this error with many other variables such as iItemID...
Um...i suggest you use Visual Basic c++ 6.0 thats the one i use, never had a problem with sources B)
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>
tamir
Regular
Posts: 53
Joined: Wed Feb 04, 2004 8:42 am

Post by tamir »

My Visual C++ 6.0 also build it with no problems :huh:.
It's only Visual Studio that insists that all the variables will be initialized. :angry:
Oh well, I'll have to stay with Visual C++...
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

tamir wrote: My Visual C++ 6.0 also build it with no problems :huh:.
It's only Visual Studio that insists that all the variables will be initialized. :angry:
Oh well, I'll have to stay with Visual C++...
Exactly ^_^

P.D: Make a trade php script :P
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>
Ice-T
Loyal fan
Posts: 262
Joined: Sat Oct 18, 2003 8:51 am
Location: nowere

Post by Ice-T »

u only gotta define hte variables within the function, like..
voide::blabla
{
int someshit = 0

}
<img src='http://www.prism.gatech.edu/~gtg818f/basesig.gif' border='0' alt='user posted image' /><br><img src='http://img228.imageshack.us/img228/439/steam1tf.gif' border='0' alt='user posted image' />
tamir
Regular
Posts: 53
Joined: Wed Feb 04, 2004 8:42 am

Post by tamir »

Yes, but it means i have to edit 1 mil variables :huh:

looco,
I was thinking about it... I've just came back from Poland, so maybe I'll start building one (gotta think in PHP again :rolleyes:)
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

tamir wrote: Yes, but it means i have to edit 1 mil variables :huh:

looco,
I was thinking about it... I've just came back from Poland, so maybe I'll start building one (gotta think in PHP again :rolleyes:)
Well...now is not really a need anymore...at least not for me... :)
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>
tamir
Regular
Posts: 53
Joined: Wed Feb 04, 2004 8:42 am

Post by tamir »

oh ok :lol:
<a href='http://tfps.fateback.com/scripts/index.html' target='_blank'>my php scripts</a>
Post Reply