1. lua51 and lua52 are present in Managed/x64 and /x86
    I'm using Wine 1.7
     
  2. Wulf

    Wulf Community Admin

    What's the exact version of Wine though? You'll need one of the latest versions of Wine, not what comes with your OS.
     
  3. @Wulf wine-1.7.18
    [DOUBLEPOST=1449206124][/DOUBLEPOST]Wine log (Notice some error loading lua.dll)
    Code:
    fixme:heap:HeapSetInformation 0x350000 0 0x23fce0 4
    fixme:system:SetProcessDPIAware stub!
    fixme:heap:HeapSetInformation 0x1bf0000 0 0x23f160 4
    Mono path[0] = 'Z:/home/server/rust/RustDedicated_Data/Managed'
    Mono path[1] = 'Z:/home/server/rust/RustDedicated_Data/Mono'
    Mono config path = 'Z:/home/server/rust/RustDedicated_Data/Mono/etc'
    fixme:win:EnumDisplayDevicesW ((null),0,0x23f220,0x00000000), stub!
    fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x23f220,0x00000000), stub!
    fixme:win:EnumDisplayDevicesW ((null),1,0x23f220,0x00000000), stub!
    fixme:thread:start_thread Started native thread 0000004d
    fixme:winediag:AUDDRV_Geti_love_codeoEndpoint Winepulse is not officially supported by the wine project
    fixme:winediag:AUDDRV_Geti_love_codeoEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:advapi:EventRegister {5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x1038107c, 0x1046cd60, 0x1046cd80
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") failed (error c000007b).
    err:module:import_dll Loading library MSVCR120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\MSVCP120.dll") failed (error c000007b).
    err:module:import_dll Library MSVCP120.dll (which is needed by L"Z:\\home\\server\\rust\\RustDedicated_Data\\Managed\\x64\\lua52.dll") not found
    fixme:ver:GetCurrentPackageId (0x103fb80 (nil)): stub
    err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this requires special permissions.
    fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    fixme:console:AttachConsole stub ffffffff
    fixme:wbemprox:client_security_SetBlanket 0x7fb4013b19f0, 0x12505bc0, 10, 0, (null), 3, 3, (nil), 0x00000000
    fixme:wbemprox:client_security_Release 0x7fb4013b19f0
    fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
    fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
    fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
    fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
    fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
    fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
    err:pulse:pulse_contextcallback Context failed: Connection terminated
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    fixme:heap:HeapSetInformation 0x58790000 0 0x23df30 4
    fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x5cc06d40, 0x5cc4c480, 0x5cc4c478
    fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x5cc06d40, 0x5cc4c4b8, 0x5cc4c4b0
    fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x5cc06d40, 0x5cc4c448, 0x5cc4c440
    fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x5cc06d40, 0x5cc4c4f0, 0x5cc4c4e8
    fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x5cc06d40, 0x5cc4c528, 0x5cc4c520
    fixme:ver:GetCurrentPackageId (0x21df80 (nil)): stub
    fixme:dnsapi:dns_map_options option DNS_QUERY_BYPASS_CACHE not implemented
    fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
    
     
  4. Wulf

    Wulf Community Admin

    Pretty sure 1.7.18 is too old, you should be on 1.7.50+, or perhaps at least 1.7.30.
     
  5. Wulf

    Wulf Community Admin

    1.7.50 is the latest version, that doesn't mean you're using it. The version on that page is "1.7", which just indicates the main version. If you view the actual details, it will show 1.7.50 as the latest. You're using an old old version that came with your OS. You'll have issues like that on older versions.
     
  6. Thank you!
     
  7. Lua plugins load, yet Python and C# plugins are not loading....
    Oxide log just says compiling failed, so here is the
    Compiler log:
    Code:
    [SERVER v1.0.18] Started as service
    [SERVER v1.0.18] Running as service
    [SERVER v1.0.18] Error: An exception was thrown by the type initializer for System.Runtime.Serialization.Formatters.Binary.CodeGenerator
      at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.CreateMemberTypeMetadata (System.Type type) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData (System.Object obj, System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata, System.Object& data) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject (System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance (System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects (System.IO.BinaryWriter writer) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph (System.IO.BinaryWriter writer, System.Object obj, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] in <filename unknown>:0
      at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph) [0x00000] in <filename unknown>:0
      at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].Serialize (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0
      at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0
      at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteStream () [0x00000] in <filename unknown>:0
      at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0
    [SERVER v1.0.18] Shutdown
    This is a stock Ubuntu 14.04, apt updated and upgraded, then all that was done were the steps in page 5 of this thread (scavenger2's post). Nothing else was tampered with, oxide was the latest version, so was the server.

    I cannot make any sense of the compiler log, if someone who knows what it means could explain it that'd be good to know too!


    I have read all other threads pertaining to this issue, the only other thing left doing is trying the csharpcompiler from september (which should already be in the latest snapshot anyways) or find maybe the faulty 1 .cs plugin that may be messing it all up? Though I never thought 1 plugin could mess the compilation of other plugins up...
     
  8. Wulf

    Wulf Community Admin

    If you follow the steps Nogrod provided to the letter, there shouldn't be any issues. When you get errors like that, it's generally due to a missing dependency or outdated version of Wine or others.
     
  9. Code:
    root@xxxx:/home/steam/s# wine --version
    wine-1.7.55
    Everybody seems to have the same issue with the Compiler not working in 64. I have absolutely no clue how Nogrod got it working lol. Only difference between his installation and mine is I did not put -load in my launch parameters. Not even sure what it does.
     
  10. With Ubuntu you should have no issues...make sure when using different wine versions or you update your wine to delete the wine profile you used to start the server (the WINEPREFIX path you specified, in my example '~/.wine64')
     
  11. I deleted ~/.wine/ prior to wineboot --update. Guessing I should do wine32 and wine64 too?
     
    Last edited by a moderator: Dec 7, 2015
  12. Starting with a fresh Ubuntu 14.04 x86_64 installation:

    Code:
    sudo apt-get update && sudo apt-get upgrade
    Code:
    sudo apt-get -y install software-properties-common lib32gcc1 screen libc6-amd64 
    Code:
    sudo add-apt-repository -y ppa:ubuntu-wine/ppa && sudo apt-get update
    Code:
    sudo apt-get -y install wine1.7 winetricks xvfb
    Code:
    sudo useradd -m steam
    Code:
    sudo usermod -aG sudo steam
    Code:
    sudo passwd steam
    Code:
    sudo su - steam
    Code:
    mkdir ~/steamcmd
    Code:
    cd ~/steamcmd
    Code:
    wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
    Code:
    tar -xvzf steamcmd_linux.tar.gz
    Code:
    /home/steam/steamcmd/steamcmd.sh +\@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir /home/steam/rust +app_update 258550 validate -beta experimental +quit
    Code:
    cd /home/steam/rust/
    *** IGNORE THIS PART IF YOU DO NOT WANT TO INSTALL OXIDE ***
    Code:
    wget -O Oxide.zip https://github.com/OxideMod/Snapshots/blob/master/Oxide-Rust.zip?raw=true
    Code:
    unzip -o Oxide.zip
    *** END OF OXIDE PART ***

    Code:
    rm -rf ~/.wine64
    Code:
    wineboot --update
    Code:
    vi start.sh
    Code:
    WINEARCH=win64 WINEPREFIX=~/.wine64 /usr/bin/xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /usr/bin/wine RustDedicated -batchmode -load +rcon.ip SERVERIP +rcon.port 5558 +rcon.password MYPASSWORD +server.hostname 'SERVER NAME' +server.port 5557 +server.identity SERVERNICKNAME +server.maxplayers 100 +server.seed 5551212 +server.globalchat True +server.worldsize 3000 -autoupdate
    *COPY PASTE THE ABOVE INTO start.sh , EDIT THE NECESSARY (SERVERIP, MYPASSWORD, SERVER NAME, SERVERNICKNAME)*
    *PRESS INSERT ON YOUR KEYBOARD BEFORE PASTING IN VI!!*
    *ONCE PASTED, PRESS [ESC], THEN TYPE
    Code:
    :wq
    This will write/quit the file.
    Code:
    chmod +x start.sh
    Code:
    screen -S rustserver
    Code:
    ./start.sh
    *PRESS [CTRL]+[A]* (together)
    *PRESS [D]* (after letting go of Ctrl+a)
    This returns you to main screen.

    To return to the server just type:
    Code:
    screen -r rustserver
    *END*


    To kill the server while in screen just do CTRL+C, or when detached from screen just do
    Code:
    screen -X -S rustserver kill



    Credits go to scavenger2 as well as nogrod for the most foolproof method of doing this.
     
    Last edited by a moderator: Dec 10, 2015
  13. Would there be a performance advantage of running a server or servers in wine compared to a windows server OS?
     
  14. Wulf

    Wulf Community Admin

    Not really, probably would be slightly slower going through.
     
  15. Hi, do you know a solution for kill server rust process wiht a terminal command?
    (want use a cron)


    I tried
    wineserver -k
    pkill wineserver

    but sometimes the process stay alive, and my script restart a second server...
     
  16. Hi.
    I have been running rust server, following Scavenger 2 post: Wine for Linux setup for Rust | Page 5 | Oxide
    Its running quite good, but if I add ".cs" plugin into oxides plugin folder, plugin load ends after few seconds with error: [Oxide] 5:10 PM [Error] Timed out waiting for plugin to be compiled: DeathNotes
    Other plugins (with extensions .py .lua ...) are running.
    Ubuntu server 14.04. LTS (kernel: 3.13.0-55-generic)
    Latest stable Wine (1.8) + winetricks + wine-gecko2.40
    Also installed wine-mono4.5.6 with no result.

    Next little problem that I have is, when I click disconnect in Rust client, it does not really disconnect, i must open console (F1) and type "disconnect".

    Thanks for answer and sorry for my poor english.

    --Edit --
    Same issue with csharp plugins on wine1.7 :-\
     

    Attached Files:

    Last edited by a moderator: Dec 27, 2015
  17. Wulf, do you know why rustIO crash after few hours on a high population server with wine?

    We are 2 french server with high pop, with the same problem.

    Just updated wine to 1.8. Didn't fixed it.
     
  18. Just downloaded the server using steamCMD on Ubuntu 14 and I did not get RustDedicated.exe. Here are the files in the server root folder: Screenshot

    Edit: Maybe I should force to download the windows binaries using +@sSteamCmdForcePlatformType windows. Testing right now.
    Edit 2: Yes, That was the problem.
     
    Last edited by a moderator: Dec 31, 2015
  19. Could someone give me tutorial for Debian 7.5? :)