Thread: Help with editing shop prices

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 Help with editing shop prices 
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    https://media.giphy.com/media/Wwtvga...JNx1/giphy.gif
    I was just wondering how to make it so it would show he billz bag cash price instead of the coin price in the shop interface with out having to the change the coin price of the item in the cache
    Reply With Quote  
     

  2. #2  
    "We don’t worry about warnings; we only worry about errors."
    Rozo's Avatar
    Join Date
    Dec 2013
    Posts
    573
    Thanks given
    53
    Thanks received
    70
    Rep Power
    49
    Quote Originally Posted by newby View Post
    https://media.giphy.com/media/Wwtvga...JNx1/giphy.gif
    I was just wondering how to make it so it would show he billz bag cash price instead of the coin price in the shop interface with out having to the change the coin price of the item in the cache
    Don't really work with 503+ but I assume it'll be stored via a file like .xml/.json or shop handler. However your shops are being handled, could be hardcoded via client sided interface as well.
    A man is smoking a cigarette and blowing smoke rings into the air. His girlfriend becomes irritated with the smoke and says, “Can’t you see the warning on the cigarette pack? Smoking is hazardous to your health!”

    To which the man replies, “I am a programmer. We don’t worry about warnings; we only worry about errors.” -Mod Ash

    Attached image
    Reply With Quote  
     

  3. #3  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    It's been like 8 years since I modified shops, but I believe the currency exceptions are directly in the code. Look in Shops.java maybe?
    Project thread
    Reply With Quote  
     

  4. #4  
    No oneHelp with editing shop prices

    Mr. Remix's Avatar
    Join Date
    Apr 2020
    Posts
    117
    Thanks given
    21
    Thanks received
    132
    Rep Power
    1083
    Quote Originally Posted by clem585 View Post
    It's been like 8 years since I modified shops, but I believe the currency exceptions are directly in the code. Look in Shops.java maybe?
    indeed the shop is connected to a certain game currency which can changed in shops, correct me if im wrong.

    this is how its givin in my source <currency>main.java.com.(servername).model.contain er.impl.currency.CoinCurrency</currency>
    Discord : Remix#1157
    Reply With Quote  
     

  5. #5  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by remixrsps View Post
    indeed the shop is connected to a certain game currency which can changed in shops, correct me if im wrong.

    this is how its givin in my source <currency>main.java.com.(servername).model.contain er.impl.currency.CoinCurrency</currency>
    No. I'm talking about the shops logic in Shops.java, not the shops config file which holds the different shops. On matrix sources the shops are stored in a regular .txt file, not an XML document. It's different between 503+ and 317/OSRS.
    Project thread
    Reply With Quote  
     

  6. #6  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    https://media.giphy.com/media/5E2pxF...GOj7/giphy.gif

    this is in my shop.java there is a way I can change the ammount of billz bags in the shop but theres no way for me to change how it will look in the interface it self with out changing it in the cache and it will still show as cash value not as billz bag value

    Quote Originally Posted by clem585 View Post
    No. I'm talking about the shops logic in Shops.java, not the shops config file which holds the different shops. On matrix sources the shops are stored in a regular .txt file, not an XML document. It's different between 503+ and 317/OSRS.
    https://media.giphy.com/media/5E2pxF...GOj7/giphy.gif

    this is in my shop.java there is a way I can change the ammount of billz bags in the shop but theres no way for me to change how it will look in the interface it self with out changing it in the cache and it will still show as cash value not as billz bag value
    Reply With Quote  
     

  7. #7  
    Registered Member
    Melvin's Avatar
    Join Date
    Aug 2011
    Posts
    1,150
    Thanks given
    546
    Thanks received
    418
    Rep Power
    1561
    You have to edit the cache for the actual displayed price, but the price it actually buys for could be found in the Shop.java class


    A creative man is motivated by the desire to achieve, not by the desire to beat others.”


    ― Ayn Rand
    Reply With Quote  
     

  8. #8  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Quote Originally Posted by Melvin View Post
    You have to edit the cache for the actual displayed price, but the price it actually buys for could be found in the Shop.java class
    How would I be able to change it in my cache ?
    Reply With Quote  
     

  9. #9  
    Aldor Manager


    Join Date
    Mar 2014
    Age
    28
    Posts
    1,234
    Thanks given
    200
    Thanks received
    297
    Rep Power
    2459
    Quote Originally Posted by newby View Post
    How would I be able to change it in my cache ?
    This can also be done with custom packet with sending price to the client
    Attached image

    Respect goes to everyone as he deserves.
    Reply With Quote  
     

  10. #10  
    Super Donator

    Join Date
    May 2016
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    32
    Quote Originally Posted by _Jamal View Post
    This can also be done with custom packet with sending price to the client
    How can I do any of this tho ??
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. Replies: 2
    Last Post: 11-05-2013, 05:30 AM
  2. Need help with 508 shops
    By zachverbeek in forum Help
    Replies: 0
    Last Post: 08-30-2009, 03:48 AM
  3. Help With Editing My Tele Commands
    By Drake11 in forum Help
    Replies: 2
    Last Post: 05-31-2009, 06:00 AM
  4. Need help with adding shops
    By santa clauz in forum Help
    Replies: 3
    Last Post: 05-16-2009, 08:28 PM
  5. A lil bit of help with a shop please?
    By mudvayne5493 in forum Help
    Replies: 0
    Last Post: 10-16-2008, 04:21 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
  •