Adblock breaks this site

RS Gold Cap

Discussion in 'RuneScape 3 General' started by Charmander, Apr 30, 2010.

  1. Charmander

    Charmander Guru
    Banned

    Joined:
    Jan 7, 2010
    Posts:
    1,443
    Referrals:
    1
    Sythe Gold:
    5
    RS Gold Cap

  2. Kaosune

    Kaosune Forum Addict

    Joined:
    May 17, 2009
    Posts:
    352
    Referrals:
    0
    Sythe Gold:
    0
    RS Gold Cap

    I really don't remember the details, but it's got to do with java's max capacity
    javascript can handle numbers up to 2^x (don't know the exact value of x, it's 64 iirc) which equals to that number

    but then again, don't really remember the details :/
     
  3. Gohan

    Gohan Legend
    Retired Sectional Moderator Cracker Head $25 USD Donor Prince Yobabo

    Joined:
    Mar 16, 2007
    Posts:
    23,694
    Referrals:
    16
    Sythe Gold:
    248
    Discord Unique ID:
    100075291572998144
    Spam Forum Participant Rust Player
    RS Gold Cap

    It's as much as Java can handle I think I know it has something to do with that though.
     
  4. b0b3rt

    b0b3rt Apprentice
    $5 USD Donor

    Joined:
    Aug 3, 2008
    Posts:
    974
    Referrals:
    0
    Sythe Gold:
    0
    RS Gold Cap

    It's 2^31.

    Technically to the 32nd power, but since the variable is probably signed it reduces it by one power of 2 so it can store an equal negative number. Obviously this is unnecessary for Runescape, but I guess they didn't program it in mind with people ever reaching the max cap. There's really no reason to change it now, though.
     
  5. Holymacaroni

    Holymacaroni Apprentice
    Banned

    Joined:
    Mar 24, 2010
    Posts:
    802
    Referrals:
    1
    Sythe Gold:
    0
    RS Gold Cap

    I remember Jagex saying that they could easily increase the maximum amount of money you can hold if they wanted to, but they thought it would be pointless so they aren't going to.
     
  6. Range Me

    Range Me Guru
    Banned

    Joined:
    Oct 23, 2008
    Posts:
    1,924
    Referrals:
    1
    Sythe Gold:
    0
    RS Gold Cap

    Wow that is a lot of freaking bej. I play on my ipod touch at work at I freaking hate it when those stupid little gems start shacking! good for him!

    I really want to know why that number is so important though..
     
  7. Charmander

    Charmander Guru
    Banned

    Joined:
    Jan 7, 2010
    Posts:
    1,443
    Referrals:
    1
    Sythe Gold:
    5
    RS Gold Cap

    same, hmma cap in java... but jagex stating they can raise the limit? slightly contradictory no?
     
  8. b0b3rt

    b0b3rt Apprentice
    $5 USD Donor

    Joined:
    Aug 3, 2008
    Posts:
    974
    Referrals:
    0
    Sythe Gold:
    0
    RS Gold Cap

    Already explained, read my post.

    They could easily double the cap by making it an unsigned integer (though this may be impossible, I'm not sure if they use negative numbers anywhere in their code).

    Or they could change all their integers to longs, which would make the max value 2^63 - 1, high enough so that nobody would ever reach it, effectively.
    Basically the max value is 9,223,372,036,854,775,807.

    However this would very likely reduce the running speed of the game, as that requires a significant amount of memory space.
     
  9. Charmander

    Charmander Guru
    Banned

    Joined:
    Jan 7, 2010
    Posts:
    1,443
    Referrals:
    1
    Sythe Gold:
    5
    RS Gold Cap

    ooh ok, thanks for the explanation.. math/programming genius? haha
     
  10. Freshintake

    Freshintake Forum Addict
    Banned

    Joined:
    Feb 24, 2010
    Posts:
    344
    Referrals:
    1
    Sythe Gold:
    0
    RS Gold Cap

    rofl hahahahah!
     
  11. b0b3rt

    b0b3rt Apprentice
    $5 USD Donor

    Joined:
    Aug 3, 2008
    Posts:
    974
    Referrals:
    0
    Sythe Gold:
    0
    RS Gold Cap

    Na, I'm a junior in college majoring in CS. It's fairly basic stuff, you learn it in one of your first classes.

    I'm considering picking up coding scripts for rsbot.org, but it takes a lot of time and there'd be a lot of new jank to remember >.<
     
  12. Pingfao

    Pingfao Member
    Banned

    Joined:
    May 1, 2010
    Posts:
    35
    Referrals:
    0
    Sythe Gold:
    0
    RS Gold Cap

    This guys smart lol
     
  13. tofurocks

    tofurocks Iloveroy

    Joined:
    Nov 8, 2008
    Posts:
    2,344
    Referrals:
    2
    Sythe Gold:
    0
    RS Gold Cap

    Well derp du durr!
    Don't even bother, the API is simple and everything has already made. Go script for SCAR (villavu.com) if you want a challenge :p
     
  14. b0b3rt

    b0b3rt Apprentice
    $5 USD Donor

    Joined:
    Aug 3, 2008
    Posts:
    974
    Referrals:
    0
    Sythe Gold:
    0
    RS Gold Cap

    I know the api is fairly simple, I recently modified a dummy curser to curse the zammy mage because they killed dummies and there wasn't one available for the mage (which surpised me).

    lol.

    I'm not looking for a challenge, the only reason I'd actually code a script is if I wanted to actually use it and it didn't already exist.
    But like you said, most of what can be botted (and is useful) has already been done =P
     
  15. Anthony

    Anthony Real knowledge is to know the extent of one's ignorance.
    $200 USD Donor

    Joined:
    Dec 27, 2009
    Posts:
    2,522
    Referrals:
    5
    Sythe Gold:
    59
    Lawrence Pokémon Trainer Doge Two Factor Authentication User Extreme Homosex UWotM8?
    RS Gold Cap

    :eek: That's really interested, I wonder if they'll ever improve the maximum amount of cash ;P
     
< Anyone want to make a PK clan? | Price check this account! >


 
 
Adblock breaks this site