Raised This Month: $51 Target: $400
 12% 

Solved Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES_


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-02-2017 , 18:06   Re: Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES
Reply With Quote #11

Quote:
Originally Posted by edon1337 View Post
I'm just confused a little bit. I know that I have to multiple it but 8192 would be ( 2 << 24 ) or what? Idk how to transform it ..
I highly recommend that you read about 'bit shifting'.
__________________
fysiks is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-03-2017 , 07:48   Re: Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES
Reply With Quote #12

Quote:
Originally Posted by KliPPy View Post
4096 = 1 << 12
8192 = 1 << 13
16384 = 1 << 14
etc
At what number does the 1 change to 2?
__________________
edon1337 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-03-2017 , 09:01   Re: Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES
Reply With Quote #13

As Fysiks said, learn about bit shifting. It doesn't just magically change to 2, there's a meaning to it.
1 << 12 == 2 << 11 == 4 << 10 == 8 << 9
etc

It looks confusing, but it will remain if you don't learn bit shifting.
klippy is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-03-2017 , 09:05   Re: Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES
Reply With Quote #14

Uh , I'll just give it time lol. Thanks anyways.
__________________
edon1337 is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 01-03-2017 , 13:41   Re: Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES
Reply With Quote #15

It's binary shifting, Bugsy wrote an article on this. As computer don't store data as words so it store data as binary( or numbers).
Here, https://forums.alliedmods.net/showthread.php?t=139916 . Take a look, it is useful for beginners.
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-04-2017 , 05:11   Re: Messages/Tries/ArrayPush/Screenshake/Ent Exists/nVault Multiple Info/HAM_ | FMRES
Reply With Quote #16

Quote:
Originally Posted by JoKeR LauGh View Post
It's binary shifting, Bugsy wrote an article on this. As computer don't store data as words so it store data as binary( or numbers).
Here, https://forums.alliedmods.net/showthread.php?t=139916 . Take a look, it is useful for beginners.
Thanks, I already am looking at it, will search for more tutorials in the internet too.
__________________
edon1337 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode