1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved Inventory.getMoney()

Discussion in 'Client & Site Support' started by countvidal, May 20, 2015.

  1. countvidal

    Joined:
    Nov 17, 2013
    Messages:
    63
    Likes Received:
    1
    It only returns amount in money pouch, not the sum of both moneypouch and inventory:

    [​IMG]

    @Cloud
     
  2. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    I think it's supposed to only get the money pouch. But it won't be hard to hardcode it I guess...
     
  3. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    It only the amount in the money pouch in RS3 and the amount in the Inventory for OSRS
     
  4. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    It's better as is, so if the author needed one or the other they could get it. To get the full total you can always sum getMoney with how much is in the inventory.
     
  5. countvidal

    Joined:
    Nov 17, 2013
    Messages:
    63
    Likes Received:
    1
    Yeah it isnt hard to add them together. I just thought, from the way I read the API description, that it should return the sum of both.

    That double max cash life.
     
  6. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It should be what's in the money pouch and what's in the inventory, is the name not "Coins" in RS3?
     
  7. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    It's actually 'geepeez' in rs3
     
    Hazard likes this.
  8. countvidal

    Joined:
    Nov 17, 2013
    Messages:
    63
    Likes Received:
    1
    [​IMG]

    @Cloud
    --- Double Post Merged, May 31, 2015, Original Post Date: May 27, 2015 ---
    [​IMG]

    @Cloud
     
  9. Hazard

    Joined:
    Apr 18, 2015
    Messages:
    408
    Likes Received:
    84
    Yesterday I got a tray notif saying RM was updated but couldn't find a changelog. That update seems to have broken it
     
  10. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,198
    Likes Received:
    1,041
    They changed getMoney() from an int to a long, that may be what broke it
     
    Hazard likes this.
  11. countvidal

    Joined:
    Nov 17, 2013
    Messages:
    63
    Likes Received:
    1
    That did the trick.
     

Share This Page

Loading...