Does this work for anyone with the new items like
Anyone got a fix for this?
- wall.frame.cell
- wall.frame.cell.gate
- wall.frame.fence
- wall.frame.fence.gate
- wall.frame.shopfront
- door.double.hinged.metal
- door.double.hinged.toptier
- door.double.hinged.wood
- door.hinged.metal
- door.hinged.toptier
- door.hinged.wood
Stack Size Controller [Moved]
Discussion in 'Plugin Support' started by AnExiledGod, Jun 29, 2015.
-
@TheDoc that is the same problem I am trying to resolve. Manually editing the json file does nothing for me if the core item isn't added in the plugin.
-
LINE 84 & 157: if (items[0].condition.enabled && items[0].condition.max > 0) { return; }
Not sure what it does, but once I took it out and used my console with stack door.hinged.toptier 10
it works and now I can stack all of those in my list...
@AnExiledGod - can you explain what that check is for?
Thanks,
TheDoc
PS: Let me know if you guys want me to upload my modded version with the temp fix -
i changed it from this:
{
if (items[0].condition.enabled && items[0].condition.max > 0) { return; }
Config[items[0].displayName.english] = Convert.ToInt32(stackAmount);
items[0].stackable = Convert.ToInt32(stackAmount);
SaveConfig();
Puts("Updated Stack Size for " + items[0].displayName.english + " (" + items[0].shortname + ") to " + stackAmount + ".");
}
to this, and it didn't work(sorry for the large post, i don't know how to do the spoilers thing.) Also, could it be to do with them having health? green bars?:
{
Config[items[0].displayName.english] = Convert.ToInt32(stackAmount);
items[0].stackable = Convert.ToInt32(stackAmount);
SaveConfig();
Puts("Updated Stack Size for " + items[0].displayName.english + " (" + items[0].shortname + ") to " + stackAmount + ".");
} -
but how do i turn it on???
-
i have last oxide version for linux : Version 2.0.1817
i have last version of game for linux : ......
and i have problem dont generate config file... plugins i use last version of this plugin but dont work in linux
but in windows work.
i test to get file config of windows generated and put in linux but dont work.
and get this error..
23:27 [Error] StackSizeController plugin failed to compile!
other plugins witch extension .cs work but this dont work in linux i have same problem witch other 2 plugins dont copilate same problem .. but working
this other problem... in log ...
23:27 [Error] Exception while starting compiler: (Win32Exception: ApplicationName='/root/Steam/steamapps/common/rust_dedicated/CSharpCompiler', CommandLine='/service /logPath:/root/Steam/steamapps/common/rust_dedicated/server/rustserver1/oxide/logs', CurrentDirectory='')
23:27 [Debug] at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at Oxide.Plugins.PluginCompiler.CheckCompiler () [0x00000] in <filename unknown>:0 -
it dont wanna work to me pls help. plugin filename is incorrect: Stack Size Controller
-
-
WINEARCH=win64 WINEPREFIX=~/.wine64 wine RustDedicated.exe -batchmode -load
or WINEARCH=win64 WINEPREFIX=~/.wine64 wine ./RustDedicated -batchmode -load
not work.
installed ubuntu 14.04.
not work... error-
wine: can not find L "C: \\ Windows \\ system32 \\ RustDedicated.exe"
[DOUBLEPOST=1457803061][/DOUBLEPOST]
bobi7272 posted:
I've done everything as a guide. I have Ubuntu 14.04.3.
After entering the command ./start.sh
He writes to me:
wine: can not find L "C: \\ Windows \\ system32 \\ RustDedicated.exe"
Hi bobi7272 you can remove all the scripts to do with wine and its repositorys, and get the linux server now
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install software-properties-common lib32gcc1
sudo apt-get install screen
sudo apt-get install libc6-amd64 which is working try this
sudo useradd -m steam
sudo usermod -a -G sudo steam
sudo su - steam
mkdir steamcmd
cd steamcmd
wget https://steamcdn-a.akamaihd.net/clie...d_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
/home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/rust +app_update 258550 validate -beta experimental +quit
cd /home/steam/rust
vi start.sh
#press i for insert then copy an paste below#
./RustDedicated -batchmode -load +rcon.port 28018 +rcon.password PASSWORD +server.hostname 'Linux Ubuntu Test Server by Dazztee' +server.port 28016 +server.identity my_server1 +server.maxplayers 100 +server.seed 23021969 +server.worldsize 4000 -autoupdate
#press esc then :wq to write an quit#
chmod +x start.sh
#you have to start in its own screen so you can close putty wwithout closing server#
screen -S rustserver
./start.sh
first time it starts you wont see a lot so connect with rcon and use htop to see cpu an ram usage
[DOUBLEPOST=1457888373,1457802931][/DOUBLEPOST]wine: can not find L "C: \\ Windows \\ system32 \\ RustDedicated.exe"
[DOUBLEPOST=1457943719][/DOUBLEPOST]wine: can not find L "C: \\ Windows \\ system32 \\ RustDedicated.exe" -
hi ive got a problem with the stacksizes i set the stone and wood to 500k but when i go to split them they always split as 1k could you please tell me how to fix this? Thanks
-
-
wine: can not find L "C: \\ Windows \\ system32 \\ RustDedicated.exe"
-
-
-
Sure here you go
Attached Files:
-
-
How do I add Hatchet and Pickaxe, adding to .json did nothing???
-
trying to stack some things and it shows this (not with everything) -
Code:> stack syringe_medical 15 [Oxide] 21:57 [Error] Failed to call hook 'StackConsoleCommand' on plugin 'StackSizeController v1.9.0' (ArgumentOutOfRangeException: Argument is out of range. Parameter name: index) [Oxide] 21:57 [Debug] at System.Collections.Generic.List`1[ItemDefinition].get_Item (Int32 index) [0x00000] in <filename unknown>:0 at Oxide.Plugins.StackSizeController.StackConsoleCommand (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Is anyone else getting this error?
Code:00:15 [Info] Loaded plugin Stack Size Controller v1.9.0 by AnExiledGod 00:15 [Error] Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.0' (InvalidCastException: Cannot cast from source type to destination type.) 00:15 [Debug] at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Since the update, my StackSizeController has been acting up. When I do /stack commands, it seems to work fine... but when I change the JSON file and upload it, the changes always are overwritten and reverted to the old JSON when I reload the mod. Any thoughts would be appreciated thanks!
~FoX