Hi i copy the oxide files in the right folder.
But i install the RUST on my Linux with this manual: rustserver: Rust |
Can i start RUST + Oxide with this start file, or can i use only the start example.bat?
[DOUBLEPOST=1462879577][/DOUBLEPOST]When i start Rust with this file, then i can find the oxide folder in my server folder, then i think oxide is installed, but when i upload plugins in the oxide plugin folder, then i cant find any fucntion in-game. can i check the function of oxide in-game?Code:#!/bin/bash # Rust # Server Management Script # Author: Daniel Gibbs # Contributor: UltimateByte (LGSM adaptation), Wulf (Information) # Website: Linux Game Server Managers if [ -f ".dev-debug" ]; then exec 5>dev-debug.log BASH_XTRACEFD="5" set -x fiversion="230215"#### Variables ##### Notification Email # (on|off) emailnotification="off" email="[email protected]"# Steam login (not required) steamuser="anonymous" steampass=""# Server settings # More settings available after install in serverfiles/server/rust-server/server.cfg servername="[GER] Die Welt" ip="xxx" updateonstart="on" port="xxxxx" rconport="xxxxx" rconpassword="xxxxx" maxplayers="200"# Advanced seed="" # default random; range : -2147483647 to 2147483647 ; used to change or reproduce a procedural map worldsize="8000" # default 4000; range : 2000 to 8000 ; map size in meters saveinterval="300" # Auto-save in seconds tickrate="30" # default 30; range : 15 to 100# Rust Dedicated Server - Valve Developer Community fn_parms(){ parms="-batchmode +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${servicename}\" ${conditionalseed} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile ${gamelogfile}" }# Specific to Rust if [ -n "${seed}" ]; then # If set, then add to start parms conditionalseed="+server.seed ${seed}" else # Keep randomness of the number if not set conditionalseed="" fi#### Advanced Variables ##### Github Branch Select # Allows for the use of different function files # from a different repo and/or branch. githubuser="dgibbs64" githubrepo="linuxgsm" githubbranch="master"# Steam appid="258550"# Server Details servicename="rust-server" gamename="Rust" engine="unity3d"# Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" executabledir="${filesdir}" executable="./RustDedicated" serveridentitydir="${systemdir}/server/${servicename}" servercfg="server.cfg" servercfgdir="${serveridentitydir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups"# Logging logdays="7" gamelogdir="${rootdir}/log/server" scriptlogdir="${rootdir}/log/script" consolelogdir="${rootdir}/log/console"gamelog="${gamelogdir}/${servicename}-game.log" scriptlog="${scriptlogdir}/${servicename}-script.log" consolelog="${consolelogdir}/${servicename}-console.log" emaillog="${scriptlogdir}/${servicename}-email.log" gamelogfile="\"gamelog-$(date '+%Y-%m-%d-%H-%M-%S').log\""scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S').log" consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%H-%M-%S').log"##### Script ##### # Do not editfn_getgithubfile(){ filename=$1 exec=$2 fileurl=${3:-$filename} filepath="${rootdir}/${filename}" filedir=$(dirname "${filepath}") # If the function file is missing, then download if [ ! -f "${filepath}" ]; then if [ ! -d "${filedir}" ]; then mkdir "${filedir}" fi githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}" echo -e " fetching ${filename}...\c" if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then : else echo -e "\e[0;31mFAIL\e[0m\n" echo "Curl is not installed!" echo -e "" exit fi curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" echo " ${curl}"|grep "curl:" echo -e "${githuburl}\n" exit else echo -e "\e[0;32mOK\e[0m" fi if [ "${exec}" ]; then chmod +x "${filepath}" fi fi if [ "${exec}" ]; then source "${filepath}" fi }fn_runfunction(){ fn_getgithubfile "functions/${functionfile}" 1 }core_functions.sh(){ # Functions are defined in core_functions.sh. functionfile="${FUNCNAME}" fn_runfunction }core_functions.shgetopt=$1 core_getopt.sh
Solved Plugins not working on Linux (wrong Oxide version)
Discussion in 'Rust Discussion' started by Benny07, May 10, 2016.
-
now i checked the console via Rusty, when i upload the plugins and i get this message:
Code:[Oxide] 13:38 [Error] Failed to load plugin 'HuntPlugin' (no source found) [Oxide] 13:38 [Error] Failed to load plugin 'EasyAirdrop' (no source found) [Oxide] 13:38 [Error] Failed to load plugin 'Airstrike' (no source found) [Oxide] 13:38 [Error] Failed to load plugin 'EasyAirdrop' (no source found) [Oxide] 13:38 [Error] Failed to load plugin 'HuntPlugin' (no source found) [Oxide] 13:38 [Error] Failed to load plugin 'Airstrike' (no source found)
Code:11:26 [Info] Loading Oxide Core v2.0.1919... 11:26 [Info] Loading extensions... 11:26 [Error] Cannot compile C# plugins. Unable to find CSharpCompiler! 11:26 [Info] Loaded extension CSharp v1.0.1919 by Oxide Team 11:26 [Info] Loaded extension JavaScript v1.0.1919 by Oxide Team 11:26 [Error] Failed to load extension Oxide.Ext.Lua (DllNotFoundException: /home/rustserver/serverfiles/RustDedicated_Data/Managed/x64/liblua52.so) 11:26 [Debug] at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () at KeraLua.Lua.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.Lua..ctor () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.InitializeLua () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 11:26 [Info] Loaded extension MySql v1.0.1919 by Oxide Team 11:26 [Info] Loaded extension Python v1.0.1919 by Oxide Team 11:26 [Info] Loaded extension SQLite v1.0.1919 by Oxide Team 11:26 [Info] Loaded extension Unity v1.0.1919 by Oxide Team 11:26 [Info] Loaded extension Rust v1.0.1919 by Oxide Team 11:26 [Info] Using Covalence provider for game 'Rust' 11:26 [Info] Loading plugins... 11:26 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 11:26 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 11:43 [Info] Loading Oxide Core v2.0.1919... 11:43 [Info] Loading extensions... 11:43 [Error] Cannot compile C# plugins. Unable to find CSharpCompiler! 11:43 [Info] Loaded extension CSharp v1.0.1919 by Oxide Team 11:43 [Info] Loaded extension JavaScript v1.0.1919 by Oxide Team 11:43 [Error] Failed to load extension Oxide.Ext.Lua (DllNotFoundException: /home/rustserver/serverfiles/RustDedicated_Data/Managed/x64/liblua52.so) 11:43 [Debug] at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () at KeraLua.Lua.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.Lua..ctor () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.InitializeLua () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 11:43 [Info] Loaded extension MySql v1.0.1919 by Oxide Team 11:43 [Info] Loaded extension Python v1.0.1919 by Oxide Team 11:43 [Info] Loaded extension SQLite v1.0.1919 by Oxide Team 11:43 [Info] Loaded extension Unity v1.0.1919 by Oxide Team 11:43 [Info] Loaded extension Rust v1.0.1919 by Oxide Team 11:43 [Info] Using Covalence provider for game 'Rust' 11:43 [Info] Loading plugins... 11:43 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 11:43 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 12:24 [Info] Loading Oxide Core v2.0.1919... 12:24 [Info] Loading extensions... 12:24 [Error] Cannot compile C# plugins. Unable to find CSharpCompiler! 12:24 [Info] Loaded extension CSharp v1.0.1919 by Oxide Team 12:24 [Info] Loaded extension JavaScript v1.0.1919 by Oxide Team 12:24 [Error] Failed to load extension Oxide.Ext.Lua (DllNotFoundException: /home/rustserver/serverfiles/RustDedicated_Data/Managed/x64/liblua52.so) 12:24 [Debug] at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () at KeraLua.Lua.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.Lua..ctor () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.InitializeLua () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 12:24 [Info] Loaded extension MySql v1.0.1919 by Oxide Team 12:24 [Info] Loaded extension Python v1.0.1919 by Oxide Team 12:24 [Info] Loaded extension SQLite v1.0.1919 by Oxide Team 12:24 [Info] Loaded extension Unity v1.0.1919 by Oxide Team 12:24 [Info] Loaded extension Rust v1.0.1919 by Oxide Team 12:24 [Info] Using Covalence provider for game 'Rust' 12:24 [Info] Loading plugins... 12:24 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 12:24 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 12:55 [Error] Failed to load plugin 'EasyAirdrop' (no source found) 12:55 [Error] Failed to load plugin 'HuntPlugin' (no source found) 12:55 [Error] Failed to load plugin 'Airstrike' (no source found) 12:55 [Error] Failed to load plugin 'EasyAirdrop' (no source found) 12:55 [Error] Failed to load plugin 'Airstrike' (no source found) 12:55 [Error] Failed to load plugin 'HuntPlugin' (no source found) 12:56 [Info] Loading Oxide Core v2.0.1919... 12:56 [Info] Loading extensions... 12:56 [Error] Cannot compile C# plugins. Unable to find CSharpCompiler! 12:56 [Info] Loaded extension CSharp v1.0.1919 by Oxide Team 12:56 [Info] Loaded extension JavaScript v1.0.1919 by Oxide Team 12:56 [Error] Failed to load extension Oxide.Ext.Lua (DllNotFoundException: /home/rustserver/serverfiles/RustDedicated_Data/Managed/x64/liblua52.so) 12:56 [Debug] at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () at KeraLua.Lua.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.Lua..ctor () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.InitializeLua () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 12:56 [Info] Loaded extension MySql v1.0.1919 by Oxide Team 12:56 [Info] Loaded extension Python v1.0.1919 by Oxide Team 12:56 [Info] Loaded extension SQLite v1.0.1919 by Oxide Team 12:56 [Info] Loaded extension Unity v1.0.1919 by Oxide Team 12:56 [Info] Loaded extension Rust v1.0.1919 by Oxide Team 12:56 [Info] Using Covalence provider for game 'Rust' 12:56 [Info] Loading plugins... 12:56 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 12:56 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 13:13 [Info] Loading Oxide Core v2.0.1919... 13:13 [Info] Loading extensions... 13:13 [Error] Cannot compile C# plugins. Unable to find CSharpCompiler! 13:13 [Info] Loaded extension CSharp v1.0.1919 by Oxide Team 13:13 [Info] Loaded extension JavaScript v1.0.1919 by Oxide Team 13:13 [Error] Failed to load extension Oxide.Ext.Lua (DllNotFoundException: /home/rustserver/serverfiles/RustDedicated_Data/Managed/x64/liblua52.so) 13:13 [Debug] at (wrapper managed-to-native) KeraLua.NativeMethods:LuaLNewState () at KeraLua.Lua.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaLNewState () [0x00000] in <filename unknown>:0 at NLua.Lua..ctor () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.InitializeLua () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.LuaExtension.Load () [0x00000] in <filename unknown>:0 at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0 13:13 [Info] Loaded extension MySql v1.0.1919 by Oxide Team 13:13 [Info] Loaded extension Python v1.0.1919 by Oxide Team 13:13 [Info] Loaded extension SQLite v1.0.1919 by Oxide Team 13:13 [Info] Loaded extension Unity v1.0.1919 by Oxide Team 13:13 [Info] Loaded extension Rust v1.0.1919 by Oxide Team 13:13 [Info] Using Covalence provider for game 'Rust' 13:13 [Info] Loading plugins... 13:13 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 13:13 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 13:23 [Error] Failed to load plugin 'HuntPlugin' (no source found) 13:23 [Error] Failed to load plugin 'HuntPlugin' (no source found) 13:38 [Error] Failed to load plugin 'HuntPlugin' (no source found) 13:38 [Error] Failed to load plugin 'EasyAirdrop' (no source found) 13:38 [Error] Failed to load plugin 'Airstrike' (no source found) 13:38 [Error] Failed to load plugin 'EasyAirdrop' (no source found) 13:38 [Error] Failed to load plugin 'HuntPlugin' (no source found) 13:38 [Error] Failed to load plugin 'Airstrike' (no source found)
Last edited by a moderator: May 10, 2016 -
Wulf Community Admin
Those errors mean you installed the Windows build of Oxide on a Linux server. You can get the Linux version at https://github.com/OxideMod/Snapshots/raw/master/Oxide-Rust_Linux.zip.
-
ok i change the files and now i get this:
[Oxide] 15:03 [Error] Exception while starting compiler: (Win32Exception: ApplicationName='/home/rustserver/serverfiles/CSharpCompiler', CommandLine='/service /logPath:/home/rustserver/serverfiles/server/rust-server/oxide/logs', CurrentDirectory='')
[Oxide] 15:03 [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
[Oxide] 15:03 [Error] EasyAirdrop plugin failed to compile!
[Oxide] 15:03 [Error] Compiler couldn't be started.
[Oxide] 15:03 [Error] Exception while starting compiler: (Win32Exception: ApplicationName='/home/rustserver/serverfiles/CSharpCompiler', CommandLine='/service /logPath:/home/rustserver/serverfiles/server/rust-server/oxide/logs', CurrentDirectory='')
[Oxide] 15:03 [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
[Oxide] 15:03 [Error] EasyAirdrop plugin failed to compile!
[Oxide] 15:03 [Error] Compiler couldn't be started. -
Wulf Community Admin
Code:chmod +x CSharpCompiler
-
Ok thank you now its function.
But i have a prblem with two PlugIns, then comes this error message:
[Oxide] 15:35 [Info] HuntPlugin was compiled successfully in 1325ms
[Oxide] 15:35 [Error] Unable to find main plugin class: HuntPlugin
[Oxide] 15:35 [Info] No previous version to rollback plugin: HuntPlugin -
Wulf Community Admin
-
ok a server restart fix this problem