Poll: Does it work?
You do not have permission to vote in this poll.
Yes, @AZUMIKKEL is stupid.
66.67%
4 66.67%
No, @Pozzuh is stupid and a troll Sad
33.33%
2 33.33%
Total 6 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does this work?
#1
@AZUMIKKEL doesn't think this piece of code works and I'm trolling.
So I'm making a poll to measure who thinks it does and who doesn't.

Code:
randomFunc()
{
    if((13 & 37) == 5)
        iPrintLnBold("It works! :)");
}


edit: move to rage section if necessary.

Disclaimer:
This is a
Quote:thats like saying "LOL guys, he did this, and he's stupid, you're with me right? lets vote" in a real life scenario with 8 year olds
post. But i'm bored and feel no shame.
[Image: MaEIQ.png]
Reply

#2
It probably works .. but do you know what it does/checks?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#3
it won't work, you should use 13 + 37
Reply

#4
Lol,
its like
Code:
1337_hax = (13+37);
if(randomInt(1337_hax) == 5)
{
iprintLn("1337 Modding");
}
?????
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
It works but do u know what? : P
[Image: ctoc.jpg]
Reply

#6
(09-21-2011, 18:14)jariz Wrote: it won't work, you should use 13 + 37

Facepalm
Reply

#7
but 13 + 37 is not 5
[Image: MaEIQ.png]
Reply

#8
(09-21-2011, 19:52)SuperNovaAO Wrote:
(09-21-2011, 18:14)jariz Wrote: it won't work, you should use 13 + 37

Facepalm

So basicly it means that both of the values have to be true to continue?

since 0 is false and 1 < is true .. I guess this will work?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#9
As I understand it, it works like this
00101011 = 83
00000111 = 15
00000011 = 3
Both numbers have the last 1s in common.
[Image: MaEIQ.png]
Reply

#10
(09-21-2011, 19:59)Pozzuh Wrote: As I understand it, it works like this
00101011 = 83
00000111 = 15
00000011 = 3
Both numbers have the last 1s in common.

Yes, this is how a CPU sees it. No idea if it's implemented properly in CoDScript.

Just that we were talking about 13 and 37.

001101 = 13
100101 = 37
--------------------------
000101 = 5

The default Mac OS X and Windows XP+ calculators do this right btw.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Permissions DOESNT work Hallla 2 2,856 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,051 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,167 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,677 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 4,040 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,372 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,655 02-05-2013, 19:53
Last Post: Yamato
  private match maps won't work with mods! leereef 1 2,355 01-13-2013, 12:01
Last Post: surtek
  Some images do not work with SetShader xplosiff 8 4,489 01-05-2013, 07:19
Last Post: mw2killer
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,286 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.