Solved Stack sizes

Discussion in 'Plugin Requests' started by [EHJ] 1776, Feb 5, 2015.

  1. guys is there any solve for this problem

    is there plugin with LUA or .py ?
     
  2. You can use my version of lua's equvalent when i created it for linux (before latest oxide updates with linux support for csharp).

    http://oxidemod.org/threads/stack-sizes.6732/page-4#post-69862

    Code:
    PLUGIN.Title  = "Stack Sizes Lua"
    PLUGIN.Description  = "Lua equvialent for stack sizes"
    PLUGIN.Author  = "AlexALX"
    PLUGIN.Version  = V(0, 0, 1)
    PLUGIN.HasConfig  = falsefunction PLUGIN:OnServerInitialized()
       self:SetStackSizes();
    endfunction PLUGIN:SetStackSizes()
       local tbl = {
         ["bone_fragments"] = 2000,
         ["charcoal"] = 1000,
         ["cloth"] = 2000,
         ["fat_animal"] = 2000,
         ["gunpowder"] = 2000,
         ["lowgradefuel"] = 2000,
         ["metal_fragments"] = 2000,
         ["metal_refined"] = 2000,
         ["paper"] = 2000,
         ["stones"] = 3000,
         ["sulfur"] = 2000,
         ["sulfur_ore"] = 3000,
         ["metal_ore"] = 3000,
         ["wood"] = 3000,
       }   for k,v in pairs(tbl) do
         local item = global.ItemManager.CreateByName(k,1);
         item.info.stackable = v;
       end
    end
    
    please note - i didn't coded config file, so just edit values in code. If you want i can write config for it but i don't needed it in first place. And i don't need this already because for me csharp working now under linux so))
     
  3. thank you alot

    now just i create new file

    and paste the code in it

    then save it with .lua format

    ?

    thank you alot
     
  4. Yes save as .lua and it should work. Also edit stack values for what you need.
     
  5. THANK YOU ALOT

    i check my email now and i see refund for me from Multiplay

    and now i will take detect server "linux"

    to have full access

    and should the plugin work .cs and .lua ?
     
  6. Also restart server. or you can add this so no required to restart:

    Code:
    function PLUGIN:Init()
       self:SetStackSizes();
    end
    [DOUBLEPOST=1425317018][/DOUBLEPOST]As for linux - no) its just for me needed for me because i'm have own server machine with linux os, rust don't have native support on linux server yet (i'm running using wine), just search another host or so, i can't help with this.
     
  7. so should i take windows server ?
     
  8. For now yes, i don't think that there is linux hosters for rust at all because of lack native support. It will be at some day, but probably not soon (year or so).
     
  9. thank you ^_^

    do you know the Server specifications for 100 player ?

    to rent win for 100 player ^_^
     
  10. No, because i never rent servers (for what if i have own :D).

    Anyway good luck with searching!
     
  11. Hey
    Can anyone recommend a good plugin for changing the default stack size of things like stone and wood or is there a way to do this via the default server config files?
     
  12. Wulf

    Wulf Community Admin

  13. Hey, I've spent forever trying to find a good infinite stacks plugin that works but I am at a loss here, please help. Thanks
     
  14. Wulf

    Wulf Community Admin

    You won't be able to stack infinitely, there is a limit. Stack Sizes works fine though.
     
  15. A problem with stack sizes is it breaks when I try to add more items to the list
     
  16. Wulf

    Wulf Community Admin

    Most likely you aren't editing the config right, breaking the format in some way. You have to be careful when editing JSON.
     
  17. I did it identical but it just won't work, can you help?
     
  18. Wulf

    Wulf Community Admin

    I'd recommend posting in the plugin's thread with your config attempt.
     
  19. Thanks