ZFGC

Resources => Coding => Topic started by: Theforeshadower on February 21, 2012, 10:17:13 am

Title: What is going on here?
Post by: Theforeshadower on February 21, 2012, 10:17:13 am
Check attachment for a clear picture of what I am talking about.

How the hell does this code violate the laws of checking two variables in an if statement?  I have quite a few other instances in other code here in this project where I use && with no issues.

It says between bools and ints...um no >_> both are int neither are bool.  If it is an error based upon checking a bool first then these, again, I have done so in other code in the same project just fine.  And if so, pretty !@#$% stupid that it doesn;t point to it but claims I am checking a bool against an int... NO I am still not.

This is pissing me off pretty hard.  Maybe it's just 5:15 am right now, but this is pretty stupid.  About to punch my keyboard from the rage built up trying to figure out what the hell is wrong with the code.
Title: Re: What is going on here?
Post by: Theforeshadower on February 21, 2012, 10:19:02 am
Wow...I feel like a dur dur dur.
>_>  Sometimes you just gotta make it public to find out where you !@#$% up.  I simply forgot a "=" sign.
Jesus...
Title: Re: What is going on here?
Post by: Infinitus on February 22, 2012, 06:09:26 pm
<_<

Early morning coding can go seriously wrong unless you get the right balance of sleepishness and alertness.

/nosensewasmade
Title: Re: What is going on here?
Post by: thestig on February 22, 2012, 06:12:15 pm
<_<

Early morning coding can go seriously wrong unless you get the right balance of sleepishness and alertness.

/nosensewasmade
That's not an excuse for crashing SOE's servers, Mr. Timothy!!
Title: Re: What is going on here?
Post by: Infinitus on February 22, 2012, 11:38:51 pm
<_<

Early morning coding can go seriously wrong unless you get the right balance of sleepishness and alertness.

/nosensewasmade
That's not an excuse for crashing SOE's servers, Mr. Timothy!!

BUUUUUT I ONLY crashed it a little ;_;

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved