@shopassistant
underCode:public int getSpecialItemValue(int id)
|
Hey my problem is that when I want a value of an item from a shop it says, " 0 Points." Can anyone help me fix that to say how many coins it cost? Sorry im kinda new with Project Insanity.
@shopassistant
underCode:public int getSpecialItemValue(int id)
Ok, but what Do i do? lol.
Well look at the current format
Code:case ****: // item id value = ****; // price break;
I dont have "value =" in shopassistant this is what I have
Code:public int getSpecialItemValue(int id) { switch (id) { break; case 6889: case 6914: return 200; case 4151: return 20; case 6916: case 6918: case 6920: case 6922: case 6924: return 50; case 11663: case 11664: case 11665: case 8842: return 30; case 8839: case 8840: return 75; case 10499: return 20; case 8845: return 5; case 8846: return 10; case 8847: return 15; case 8848: return 20; case 8849: case 8850: return 25; case 7462: return 15; case 10551: return 20; case 4712: return 10; case 4714: return 10; case 11694: return 200; case 11696: case 11698: case 11700: return 100; case 10548: return 50; case 11235: return 40; } return 0; }
RED = Item priceCode:case 6889: case 6914: return 200;
Green = Item ID
Now it says how many points it is lol.
Go to ShopAssistant.java and search for the ShopID of the Shop you're saying the error comes from. Remove all about points on the ShopAssistant.java file and you're done.
Make use of the thanks button.
No, I want it to be able to say how many COINS, Not points, I know I didnt really say it that clear lol my bad.
No, my ShopID isnt in their and I dont think thats why because It didnt happen until I removed the items from the shop and added new items, Like lobsters dscim and other dragon wepeons.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |