ItemCostCalculator

Moved

Total Downloads: 400 - First Release: Nov 15, 2016 - Last Update: Feb 4, 2017

5/5, 4 likes
  1. Absolut submitted a new resource:

    ItemCostCalculator - Automatically Calculates Item Costs based on ingredients

    Read more about this resource...
     
  2. Wouldn't it be easier to code something in PHP for images instead of having them static in every plugin?

    Like generate links like site.com/returnimage.php?s=charcoal&sid=0

    Php will then header the imgur.com image, then you could request them dynamically
     
    Last edited by a moderator: Nov 15, 2016
  3. Awesome work Altimus! Love your work, keep it up! You have no idea how much work this saves! Really appreciate this one :)
     
  4. Thx for this, i have use Excel for create a tab with all item and all ingredients but need update with new item but i don't have the time for update this. Thx again :D

    But you can maybe add decimal for the price of ingredients ?
     
  5. The config seems to be missing the Semi Automatic Body component. Pretty sure thats it.
     
  6. such a great plugin many thank @Absolut

    i have a question; There are couple of plugins which give GUIShop points to players. How we will determine how much money or point give to a player ?

    How much money they gain per hour ? What is the default value for money earnings ?
     
  7. I used this logic:

    When I want a player can be ready for Kill in the field or Raid other houses? How much hours playing?
    For example: if I want to do this in 10 hours
    and the pack of weapons or rockets cost 1000
    then I will give 75% of the cost in 10 hours as reward
    then 750 /10 = 75 per hour
    75% will be in "easy mode"
    50% more hard
    25% hardest


    That give you some ideas, I think
     
  8. Completely agree that it is STUPID to add the urls to every mod. That is why I made ImageLibrary for pulling the images on all my plugins instead of nesting them in each but in this case I needed the actual URL because GUIShop uses it. As per PHP; I just don't know enough about coding or web development. I feel comfortable in this environment but am a bit hamstrung in branching out.
    [DOUBLEPOST=1479231837][/DOUBLEPOST]
    Good stuff! You can manually add it but for future releases I'll add it to default.
    [DOUBLEPOST=1479231971][/DOUBLEPOST]
    I defer to StreetDog on this one.. I don't really use this : )
    This plugin came about as a request/question by someone and I'd figure others might also like to have it.

    I am going to add ServerRewards support as well but I want to work with K1lly0u directly so it can not only price everything but automatically add each item to the store (no messing with data files/jsons).
     
  9. Great work! I will definitely use this plugin instead of the monster Excel workshoeet that I have been trying to balance with not that good success :)
     
  10. I spent a lot of time configuring the .json the way I wanted it, Set the GatherRateoffset to "5" put some of the items into the rairity list, changed their rarities a little bit (1-3), fixed a few .json errors I made.

    after I reloaded the plugin and ran the "shopfile" command, I looked at the GuiShop_File.json and it was ALL the prices I set. They weren't x's Gather x's rarity.

    Can you help with this? File Below
    [DOUBLEPOST=1479512871][/DOUBLEPOST]
    Here's the other sorry!
     

    Attached Files:

  11. oh I am so sorry you did all of that....


    So in the ItemCostCalculator.json all you want is the "raw materials"... for example a hammer costs 100 wood so you would want wood to be a raw material. By default all of the raw materials are there (I think). Simply price those and it will use that data to create a price for each item that "requires" that raw material.

    Does that make sense?
     
  12. Oh, I did it backwards. Great lol. I get it now.

    Thanks
     
  13. Hi, do you have plans to make external method, so other plugins could get price of certain items using this plugin as reference?
     
  14. Sure I can make hooks. You just want to be able to call saved price via shortname?
     
  15. Yeah, i'm planning to make a plugin, which would call your plugin's method with shortname and get price of it as integer :)
     
  16. Sure thing. I'll get to it later today :)
     
  17. Any progress on my request? :)
     
  18. Ya my bad! Ill do it tonight I promise : )
     
  19. Hello,
    when I use the command shopfile, I receive:
    Failed to call hook 'cmdshopfile' on plugin 'ItemCostCalculator v1.0.1' (ArgumentException: An element with the same key already exists in the dictionary.)
    and the file GUIShop_File.json doesn't exist on oxide/data folder