Thread: Maximum amount of one item

Results 1 to 5 of 5
  1. #1 Maximum amount of one item 
    Registered Member The Turk's Avatar
    Join Date
    Nov 2009
    Posts
    295
    Thanks given
    0
    Thanks received
    0
    Rep Power
    50
    everyone says that the maximum amount of one item is 2,147,483,647 but thats the maximum value of int but what cant we use long to make the maximum value 9,223,372,036,854,775,807 obviously you cant because otherwise peopl would have dont it before but why cant you?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Nov 2007
    Age
    28
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    You probably can, you would have to edit lots of crap clientsided too.

    Why would you ever need more than 2billion of one item...? Thats probably why people haven't bothered.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Too must to edit.

    - Server
    - Client methods (SHITLOAD!)
    - Network, the hardest because it transmits values as ints.

    Easier to make multiple piles of cash
    Reply With Quote  
     

  4. #4  
    Registered Member The Turk's Avatar
    Join Date
    Nov 2009
    Posts
    295
    Thanks given
    0
    Thanks received
    0
    Rep Power
    50
    ok i was just wondering i dint want to do it or anything, i was just curious
    Reply With Quote  
     

  5. #5  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    It's like they've said before. 2b is more than you need, and making it a long would require double the memory than with int (for every case of long instead of int).
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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