Anyone have an idea on a fix? Thanks in advance.
|
I was wondering if someone could help me? I am working on a 718 rsps and came across an issue in the shop. When I go to sell an item to a shop, it gives me the same amount as a sell price as it does for the buy price. I know I can code in a manual price for the sell price but I was wondering if there is anyway to do it in the cache or other location. I want it so that when I go to sell an item, it would sell for the same price that the cache displays in the interface. If anyone could help me, I would greatly appreciate it.
Anyone have an idea on a fix? Thanks in advance.
I understand how to do the buy price cache sided. I see that the cache sell price is something different than the cache buy price as it is different in the shop interface but for some reason it still loads the cache buy price when I go to sell an item. Anyway to change that and what the sell cache price is? Thanks in advance.
Still wondering if anyone knows how to change the sell price of a shop in cache. If anyone could help, I would greatly appreciate it. Thanks in advance.
I edited my prices through shop.java
Such as Buy price (price that you buy FROM the shop):And sell price (the price you sell TO the shop):Code:public int getBuyPrice(Item item, int dq) { switch (item.getId()) {And then you edit prices like this:Code:public int getSellPrice(Item item, int dq) { switch (item.getId()) {Case # being the item ID and the number inside the parenthesis after the item.getDefinitions().setValue being the price, and then break; every time you are done making a price for a buy or sell price.Code:case 270: item.getDefinitions().setValue(1); break;
Ya, I wanna see if anyone knows how to change the cache sell price so it changes in the interface too.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |