Thread: Changing custom currency shops prices.

Results 1 to 9 of 9
  1. #1 Changing custom currency shops prices. 
    Registered Member

    Join Date
    Sep 2014
    Posts
    300
    Thanks given
    122
    Thanks received
    91
    Rep Power
    158
    Hey im trying to edit my ganodermic shop prices, my prices arelocated in price.java but thats the "coins" prices to shops, not gano flakes.

    I need to know how to edit those prices, should i add a shop in shop.java like loyalty shop or what? and could u include the code?

    thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2014
    Posts
    300
    Thanks given
    122
    Thanks received
    91
    Rep Power
    158
    bump
    Reply With Quote  
     

  3. #3  
    Super Donator

    Chivvon's Avatar
    Join Date
    May 2016
    Posts
    487
    Thanks given
    69
    Thanks received
    142
    Rep Power
    285
    Quote Originally Posted by Banners View Post
    bump
    Sometimes prices are hardcoded in sources, try to search in something similiar to "Shop.java" -> "switch.

    Hope that helps out a lil bit
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member

    Join Date
    Sep 2014
    Posts
    300
    Thanks given
    122
    Thanks received
    91
    Rep Power
    158
    Quote Originally Posted by Chivvon View Post
    Sometimes prices are hardcoded in sources, try to search in something similiar to "Shop.java" -> "switch.

    Hope that helps out a lil bit
    In shop.java, I have the shops that uses currencys that are not ingame items, like loyalty points, pvm points, vote, donator, etc.
    and cant find the switch.
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Sep 2014
    Posts
    300
    Thanks given
    122
    Thanks received
    91
    Rep Power
    158
    bump :/
    Reply With Quote  
     

  7. #6  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Your ganodermic shop should be handled the same way as the rest of the shops are, with the exception of the change of the currency.
    Look into your data folder, search for different price files, there may be multiple but you're only sticking to one which doesn't apply to this case.
    Go through every .txt file in data & in data/items/ folder, I'm fairly sure you'll find more than just one file for prices. Change the price there then reload the server.

    PS: Just to clarify, the only types of shop that work differently are that use non-physical items as currency, at least that's what I've gathered from a large amount of sources I've got.

    If this doesn't work, look up an item in the ganodermic shop. I'm guessing say.. A ganodermic poncho would be one of them. The ID of that item is 22490. This is your clue. If nothing works out, download a program (I use 'FileSeek') and search for value '22490' through your entire source. You should find some results. If none, try searching for value 'ganodermic' or 'poncho'.
    You'll eventually track it down this way.
    Reply With Quote  
     

  8. Thankful user:


  9. #7  
    Registered Member

    Join Date
    Sep 2014
    Posts
    300
    Thanks given
    122
    Thanks received
    91
    Rep Power
    158
    Oh anyways tyvm all of the ones who tried to help me, none of those worked, i searched all through the source, but the only way that worked to change the ganodermic flakes price was a cache editor, again I thank all of you.
    Reply With Quote  
     

  10. #8  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by Banners View Post
    Oh anyways tyvm all of the ones who tried to help me, none of those worked, i searched all through the source, but the only way that worked to change the ganodermic flakes price was a cache editor, again I thank all of you.
    Oh god, I completely forgot about that one. The source you're using must be completely outdated. Majority of the sources out there have their prices ran off of some .txt file or any other seperate file, other than the cache. Simply because it's so much easier changing the values through a text file than through the cache.
    If I were you, I'd change the way your prices are being read. But nonetheless, it's up to you how you run your server.
    Reply With Quote  
     

  11. Thankful user:


  12. #9  
    Community Director @ XtG Community AU/NZ
    Elite IV's Avatar
    Join Date
    Sep 2014
    Age
    25
    Posts
    297
    Thanks given
    0
    Thanks received
    37
    Rep Power
    24
    unpackedShops.txt? \\ Delete the packed shops file or folder and it should automatically recompile.
    Reply With Quote  
     


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. [PI] Pk Point Shop Price Changing
    By Solid in forum Help
    Replies: 5
    Last Post: 07-27-2011, 10:35 PM
  2. [PI] How to change shop prices?
    By teh jake in forum Help
    Replies: 6
    Last Post: 07-07-2011, 03:54 AM
  3. [DELTA] How to change shop prices [317]
    By Connor in forum Tutorials
    Replies: 6
    Last Post: 10-26-2010, 02:32 AM
  4. how do i change shop prices...
    By Runebay™ in forum Help
    Replies: 1
    Last Post: 02-07-2009, 10:17 PM
  5. [REQ] Tutorial on how to make shop prices change
    By g m4ul3r in forum Tutorials
    Replies: 2
    Last Post: 03-18-2008, 01:12 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •