Thread: How do I change shop prices in 718?

Results 1 to 8 of 8
  1. #1 How do I change shop prices in 718? 
    Registered Member
    Join Date
    Aug 2014
    Posts
    15
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Hi guys, so I've encountered a problem with my Chronicscape source, I can't change the shop prices.
    Here's one line of my Unpackedshops list.


    //key money boolean(general store) - Name - item quantity and repeat
    1 995 true - General Store - 1038 500 23014 5000 1733 50000 1734 50000 590 500 1755 500 5341 500 1735 500 1592 500 1595 500 1597 500 11065 500 5523 500

    See my problem? There's no prices here.. :/ And the prices for red phat (1038) is 1,500,000,000(1.5b) in the shop :/

    thanks.
     

  2. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Look in ItemConstant I believe. Or maybe that's 667... not sure at 100%.
    Project thread
     

  3. #3  
    Extreme Donator
    -Jared's Avatar
    Join Date
    Apr 2014
    Posts
    57
    Thanks given
    1
    Thanks received
    14
    Rep Power
    16
    Shops.java to change prices.
    There is a buying and selling method in the file so make sure you change the price in the right section.
     

  4. #4  
    Registered Member
    Join Date
    Aug 2014
    Posts
    15
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by -Jared View Post
    Shops.java to change prices.
    There is a buying and selling method in the file so make sure you change the price in the right section.
    Hi. I've tried adding this
    public int getBuyPrice(Item item, int dq) {
    switch (item.getId()) {
    case 1038:
    case 1040:
    case 1042:
    case 1044:
    case 1046:
    case 1048:
    item.getDefinitions().setValue(750000000);
    break;

    In shop.java, but that.. kidnof worked.. that made the items buy for 750m.. But on the shop, it says its 1500m still . So now i gotta change the... Display price. :/ Can u help me? i have skype
     

  5. #5  
    Registered Member
    Join Date
    Aug 2014
    Posts
    15
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by clem585 View Post
    Look in ItemConstant I believe. Or maybe that's 667... not sure at 100%.
    sry. in 718 ItemConstant is for .. um.. Likeeee, Degraded Vestas, how many charges the wep has left. or something
     

  6. #6  
    Registered Member
    Join Date
    Nov 2014
    Posts
    147
    Thanks given
    15
    Thanks received
    3
    Rep Power
    6
    Try using a Price Editor.
     

  7. #7  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by lmark985 View Post
    Hi. I've tried adding this
    public int getBuyPrice(Item item, int dq) {
    switch (item.getId()) {
    case 1038:
    case 1040:
    case 1042:
    case 1044:
    case 1046:
    case 1048:
    item.getDefinitions().setValue(750000000);
    break;

    In shop.java, but that.. kidnof worked.. that made the items buy for 750m.. But on the shop, it says its 1500m still . So now i gotta change the... Display price. :/ Can u help me? i have skype
    If it shows 1500m on the actual interface, you have to change those in the cache?
    How? > Google
     

  8. #8  
    Registered Member
    Join Date
    Feb 2015
    Posts
    9
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Do you have skype? i can send you a Price editor for 718.
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. How do I change NPC names in 718?
    By chewy099 in forum Help
    Replies: 6
    Last Post: 04-09-2014, 01:21 AM
  2. [718] how do i change my prices for my shops!
    By pepsiplaya in forum Help
    Replies: 13
    Last Post: 06-17-2013, 05:28 AM
  3. 639 How do I change shop prices
    By Hockeysum1 in forum Help
    Replies: 0
    Last Post: 07-10-2012, 10:03 PM
  4. how do i change shop prices on a 704
    By lewis123456 in forum Help
    Replies: 3
    Last Post: 04-01-2012, 08:39 AM
  5. how do i change shop prices...
    By Runebay™ in forum Help
    Replies: 1
    Last Post: 02-07-2009, 10:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •