thanks to Gravediggah we have trading
but he didn't add this to the interface so I will show you how.
You must have this tutorial finished. [508] Full Trading- by Gravediggah.
First open up your PTrade.java
search for...
Code:
p.frames.setString(p, "Trading With: " + getPartner().username.substring(0, 1).toUpperCase() + getPartner().username.substring(1), 335, 15);
below that add this...
p.frames.setString(p, getPartner().username.substring(0, 1).toUpperCase() + getPartner().username.substring(1)+" has "+Engine.playerItems.freeSlotCount(getPartner( ))+" free inventory slots.", 335, 21); // made by dakotascape of rune-server.
p.appearanceUpdateReq = true;
p.updateReq = true;
you are now done! save and compile!
What you just made was the "USERNAME has ## free inventory slots."
and it updates as you click an item!
it shows your inv count on the other players interface!
----------------------------------------------------------------------------------------------------------------------------------------------
Edit:
Another small very small thing you want to add is ,
color to the "value" instead of white on item part
Open PTrade.java
search for....
Code:
Object[] tparams3 = new Object[]{"", "", "", "", "", "", "", "", "Value"
Add <col=FF9040> to it
so it looks like this
Object[] tparams3 = new Object[]{"", "", "", "", "", "", "", "", "Value<col=FF9040>"
Save and compile!
Credits - Gravediggah for trading
DakotaScape for this.