Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Inventory.getMoney()

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

6e25cde4e3.png


@Cloud
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
I think it's supposed to only get the money pouch. But it won't be hard to hardcode it I guess...
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,046
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.
 
Joined
Nov 17, 2013
Messages
63
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.

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.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
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.
It should be what's in the money pouch and what's in the inventory, is the name not "Coins" in RS3?
 
Joined
Apr 18, 2015
Messages
408
Yesterday I got a tray notif saying RM was updated but couldn't find a changelog. That update seems to have broken it
 
Top