1. Download SteamCMD
    https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip

    Open SteamCMD
    type: login anonymous
    type: app_update 405100

    This will download it into the steamcmd directories
    \steamapps\common\Hurtworld Dedicated Server

    Edit host.bat
    Hurtworld.exe -batchmode -nographics -exec "host 12871;servername My Oxide Server;addadmin 7656XXXXXXXXXXXXX;maxplayers 50"
     
    Last edited by a moderator: Dec 14, 2015
  2. Hi , and thanks for the information... i got a problem ; When execute the batch whit :Hurtworld.exe -batchmode -nographics -exec "host 12871;queryport 12881;servername My server ;addadmin 7988989898955;maxplayers 150" -logfile "gamelog.txt" .

    it runs perfectly but soon the process is closed and do not know why....

    fail - Pastebin.com

    Can u help me please ? Thanks
     
  3. Did you load the oxide mod on it ? or just vanilla ?
     
  4. Try opening up autoexec.cfg in the main directory with Hurtworld.exe and remove the line that starts with quit. This should solve the issue.
     
  5. Wulf

    Wulf Community Admin

    I actually figured out why that was there. The server is actually started, but Oxide's console wasn't showing. It is fixed in Oxide snapshots.
     
  6. Thanks all !! Solved
     
  7. Now to only figure out the int that Tag requires to become official ;)
     
  8. Wulf

    Wulf Community Admin

    If you want a permaban. ;)
     
  9. Lol, you are able to change your server name color to the official orange!
     
  10. <color gold> @Envy <3

    Also if I set maxplayers over 50 , it seems to just show 60 max? I'm using hurtworldservers to check on the player count, so not sure if it's them or just a safety net by the devs.

    If I were to decompile the assembly.dll, change server config int32 maxplayers to say 100, would I get blacklisted?
     
    Last edited by a moderator: Dec 7, 2015
  11. anyone else permissions not working? also this tut helped me :p
     
  12. Did you add your profile ID as admin?
     
  13. yes, Trying to use kits and all but nothing seems to be working
     
  14. Wulf

    Wulf Community Admin

    You can't set the maxplayers via console while running as far as I know.

    If you find holes, they would get patched. ;)
    [DOUBLEPOST=1449451921][/DOUBLEPOST]
    Permissions may not be fully working yet.
     
  15. I managed to figure it out, Doing addadmin in the console (the oxide console) doesn't work so just had to add it into the start.
     
  16. Wulf

    Wulf Community Admin

    I don't think the game actually stores admin anywhere, so using it by the console probably wouldn't work beyond the instance it was used on perhaps.
     
  17. Code:
    Debug.Log("Loaded autoexec.cfg")
        [...]
                        Singleton(Of ConsoleManager).Instance.ExecuteCommand(text3)
                    Catch ex_153 As Exception
                        Debug.LogError(String.Format("Error executing autoexec.cfg, line failed at '{0}'", text3))
       [...]
    
    Code:
    ' GameManager
    Public Sub SetAdmin(newAdmin As CSteamID)
        Me._admins.Add(newAdmin)
    End Sub
    
    Code:
    ' GameManager
    Private _admins As HashSet(Of CSteamID)
    
    Code:
    ' GameManager
    Public Overrides Sub Awake()
        Me._gameState = EGameState.None
        Me._isLoading = False
        Me._sceneTime = 0
        Me._lastUpdate = NetworkTime.serverTime
    [...]
    End Sub
    
    Code:
    addadmin <playerid> Adds a player as admin to the local server for the current session only
    
    Well I mean, all the -exec stuff is ran as a command on server boot, so there should be no issue adding an admin for that instance via console, but like Wulf said it does not save anywhere. You're better off just adding the admins into the autoexec. You can skip the -exec stuff and just put it all in the autoexec as well.


    ((Wulf if posting this code is not allowed just snip it out, not sure about it.))
     
    Last edited by a moderator: Dec 7, 2015
  18. Wulf

    Wulf Community Admin

    You're fine. The autoexec.cfg was added shortly after the Steam release, which was not around when the .bat files were originally made.
     
  19. Ah okay thanks!