Thread: Buying/Selling in Shop [Help]

Results 1 to 7 of 7
  1. #1 Buying/Selling in Shop [Help] 
    Registered Member Versatile's Avatar
    Join Date
    Dec 2014
    Age
    26
    Posts
    433
    Thanks given
    247
    Thanks received
    9
    Rep Power
    9
    Watch the video please to understand my problem here. Ignore my typos too if you'd like.

    After watching the video. Please reply with an accurate and friendly response on how to do this.

    Basically if I buy an item that is 500m and I want to buy 10 of them, I can't. It will only give me 4 of the item.
    Same goes for if I buy an item that is 100m. I can only get 21 at a time rather than getting 22 or more that I want.
    Any help? Rep++
    Spoiler for the Video to show what I am trying to explain:

    Reply With Quote  
     

  2. #2  
    Banned Buying/Selling in Shop [Help] Market Banned

    -3clipse-'s Avatar
    Join Date
    May 2015
    Posts
    839
    Thanks given
    101
    Thanks received
    311
    Rep Power
    389
    It seems that the higher value of an item that you can have on your server is Integer.MAX_VALUE.

    You'll have to handle items in longs instead.
    Reply With Quote  
     

  3. #3  
    Registered Member Versatile's Avatar
    Join Date
    Dec 2014
    Age
    26
    Posts
    433
    Thanks given
    247
    Thanks received
    9
    Rep Power
    9
    Quote Originally Posted by -3clipse- View Post
    It seems that the higher value of an item that you can have on your server is Integer.MAX_VALUE.

    You'll have to handle items in longs instead.
    Where and what do I search for to do so?
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Nov 2013
    Posts
    1,015
    Thanks given
    240
    Thanks received
    265
    Rep Power
    0
    Quote Originally Posted by Kryptonian View Post
    Where and what do I search for to do so?
    Config and Client class is where your Integer.MAX_VALUE is normally stored.
    Reply With Quote  
     

  5. #5  
    Registered Member Versatile's Avatar
    Join Date
    Dec 2014
    Age
    26
    Posts
    433
    Thanks given
    247
    Thanks received
    9
    Rep Power
    9
    Quote Originally Posted by -3clipse- View Post
    It seems that the higher value of an item that you can have on your server is Integer.MAX_VALUE.

    You'll have to handle items in longs instead.
    Quote Originally Posted by Bear_ View Post
    Config and Client class is where your Integer.MAX_VALUE is normally stored.
    Is there a link how to do this or a working tutorial to add/withdraw tickets from money pouch?
    Reply With Quote  
     

  6. #6  
    Banned Buying/Selling in Shop [Help] Market Banned

    -3clipse-'s Avatar
    Join Date
    May 2015
    Posts
    839
    Thanks given
    101
    Thanks received
    311
    Rep Power
    389
    Quote Originally Posted by Kryptonian View Post
    Is there a link how to do this or a working tutorial to add/withdraw tickets from money pouch?
    Instead of looking for tutorials, I'd learn Java.
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Registered Member Versatile's Avatar
    Join Date
    Dec 2014
    Age
    26
    Posts
    433
    Thanks given
    247
    Thanks received
    9
    Rep Power
    9
    Anyone? Bump.
    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

Similar Threads

  1. (718) cant buy or sell in shops please help!
    By omegadavid in forum Help
    Replies: 12
    Last Post: 11-21-2013, 10:31 PM
  2. [EASY] How to Change the 'Buy' Amount in Shops
    By imcool121 in forum Tutorials
    Replies: 12
    Last Post: 04-23-2010, 09:12 PM
  3. [508] Buy/Sell X - Shopping
    By Veratus in forum Configuration
    Replies: 37
    Last Post: 09-19-2009, 04:41 PM
  4. [Nub Friend] Change "buy" amount in shop
    By Austin_ in forum Configuration
    Replies: 13
    Last Post: 08-21-2009, 01:30 AM
  5. Replies: 21
    Last Post: 03-29-2009, 04:53 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •