Jump to content
  • 0
Sign in to follow this  
RSPSSam

Simple Shop Question

Question

EDIT: Fixed it, I'm just an idiot and didn't update shops.cfg

I'm new to this...
My source came with a pk point shop terrible for the economy so I decided to go in and change the items in it. I removed all the
stupid items and replaced most of them with untradeables, I did this in *ShopAssistant.java and saved the changes, restarted the server, and reloaded my client, but nothing in the shop has changed. Here's the code:

/*
* Begin pk shop points
*/
public int getPkPoints(int id) {
switch (id) {
case 7462: // barrow gloves
return 20;
case 12954: // dragon defender
return 100;
case 10551: // fighter torso
return 80;
case 10548: // fighter hat
return 35;
case 10547: // healer hat
return 35;
case 8849: // addy defender
return 5;
case 8850: // rune defender
return 15;
case 7460: // rune gloves
return 5;
case 7461: // dragon gloves
return 12;
case 6570: // fire cape
return 40;
case 3144: // karambwan
return 1;
case 11517: // super combat potion
return 3;
case 2528: // 1m xp lamp
return 175;
case 4447: // 35k xp lamp
return 5;

}
return 10000;
} Edited by RSPSSam

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Sign in to follow this  

×