• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Improvements for the dedicated server

That was bound to happen somehow ... ;)

Well, you'll have to bear with it for now, protection will be different in future and shouldn't give that problems anymore then. Probably won't make it before A10, got a few more important tasks for now :)

 
Did anyone make a /stuck command yet to insta kill or teleport players out of hole or areas they are stuck inside of?

 
Alloc great job with the mod man! I'm wondering, is there a way to set permissions for the commands such as si, lkp etc that way I can sort them out for each moderator/admin

 
The commands added by the mod are bound to the same permission system as any of the original commands. So if you add e.g. "<permission lkp 10 />" (highly abbreviated ;) ) to your admins.xml that means that anyone with permission level of 10 or less can use this command.

(The permission level 0 is just the default for every (even vanilla ones) command, you can still override them)

 
Hi Alloc,

Just suggestion for improvement

Add a "Message of the day" and "Server messages" function like in a FRT's manager. Why? Because much hosting companys does'nt give FRT SM functions (for ex. bluefangsolutions.com) but, it realy nessesary for servers.

 
Thank you, that probably does make sense. Though maybe not as much with the new server browser but anyway won't hurt either :)

Added a ticket.

 
I need help real bad, thought I would ask the only person I know that has any idea about this stuff so I am posting here hoping Allocs sees it and gives me a big hand so I do not have to wipe the server.

It started with me going to a players house because someone placed redwood about 200 blocks in the sky so I removed the wood fine with no problems, I then went to the ground ate glass to kill myself and return home when I did this I spawned on my bedroll and died again instantly after spawning, Then everyone on the server got kicked off so we all logged back in and when I got on I died again because of being dead on server crash. After that everything went crazy, Here are all the errors I am finding.

This is before the first crash soon after eating glass.

Code:
NullReferenceException: Object reference not set to an instance of an object
 at StaticDirectories+scl0001.MoveNext () [0x00000] in <filename unknown>:0
This is after server manager auto restarted the server after the crash.

Code:
NullReferenceException
 at (wrapper managed-to-native) UnityEngine.Component:InternalGetTransform ()
 at UnityEngine.Component.get_transform () [0x00000] in <filename unknown>:0 
 at EntityPlayer.getHeadPosition () [0x00000] in <filename unknown>:0 
 at cl007a.mdv003c () [0x00000] in <filename unknown>:0 
 at cl0053.md0002 () [0x00000] in <filename unknown>:0 
 at cl0006.updateTasks () [0x00000] in <filename unknown>:0 
 at cl0006.OnUpdateLive () [0x00000] in <filename unknown>:0 
 at cl005b.OnUpdateLive () [0x00000] in <filename unknown>:0 
 at cl0006.OnUpdateEntity () [0x00000] in <filename unknown>:0 
 at EntityZombieCop.OnUpdateEntity () [0x00000] in <filename unknown>:0 
 at World.md005b (Single _partialTicks) [0x00000] in <filename unknown>:0 
 at GameManager.Update () [0x00000] in <filename unknown>:0
These are after loading the server and now spams the logs every time the server is loaded.

Code:
NullReferenceException: Object reference not set to an instance of an object
 at GameManager.Update () [0x00000] in <filename unknown>:0
Code:
10.761 Error in ListPlayersExtended.Run: System.NullReferenceException: Object reference not set to an instance of an object
 at AllocsFixes.CustomCommands.ListPlayersExtended.Run (System.String[] _params) [0x00000] in <filename unknown>:0
Code:
10.992 Error in GetTime.Run: System.NullReferenceException: Object reference not set to an instance of an object
 at AllocsFixes.CustomCommands.GetTime.Run (System.String[] _params) [0x00000] in <filename unknown>:0
This is while saving and shutting down the server.

Code:
NullReferenceException: Object reference not set to an instance of an object
 at GameManager.SaveWorld () [0x00000] in <filename unknown>:0 
 at GameManager.SaveAndCleanupWorld () [0x00000] in <filename unknown>:0 
 at GameManager.Cleanup () [0x00000] in <filename unknown>:0 
 at ConnectionManager.OnDisconnectedFromServer (NetworkDisconnection info) [0x00000] in <filename unknown>:0 
UnityEngine.Network:Disconnect(Int32)
UnityEngine.Network:Disconnect()
GameManager:OnApplicationQuit()
I really do not want to have to wipe the server so I need someone with a brain to help me out here.

 
Last edited by a moderator:
could try remove/rename some files starting with your <steamid>.ttp

if still a problem rename this file "AllocsPeristentData.bin"

start server and see if the problem goes away then you will know which file had the corrupted data.. if none of that then go onto removing the region filename that your base is in, and then all region files.

finally wipe server, you'll be doing it for a10 anyway :D though I plan to try keep the AllocsPeristentData.bin

 
could try remove/rename some files starting with your <steamid>.ttp
if still a problem rename this file "AllocsPeristentData.bin"

start server and see if the problem goes away then you will know which file had the corrupted data.. if none of that then go onto removing the region filename that your base is in, and then all region files.

finally wipe server, you'll be doing it for a10 anyway :D though I plan to try keep the AllocsPeristentData.bin
Had talondiablos help me out with this and we got it working we did some debugging by removing files renaming files etc, Seems the problem was in the save files with the file named main.ttw something ended up corrupted in there so renaming that file and letting the server generate a new one fixed the problem.. Just not sure if the main.ttw is part of allocs or if its from the core of the server.

 
Was wondering. Would it be possible for you to add a mute option in the mod? Sometimes people rage or harass other players in the chat. And I feel that a mute would be better then kicking/banning. Would be great to set a timer. Like mute someones steam ID for 2 hours or 15 minutes...

 
Was wondering. Would it be possible for you to add a mute option in the mod? Sometimes people rage or harass other players in the chat. And I feel that a mute would be better then kicking/banning. Would be great to set a timer. Like mute someones steam ID for 2 hours or 15 minutes...
Heh funny should have been requesting tfp to add player muting to the server, the reason you can't do it in a mod (unless it was something alot more advanced like derpopo anticheat mod) is currently because of the same reasons we can't do player /text commands so that no other player can see the text command only the server where it can control what is sent back to other connected clients.

Something Alloc might fix in the core now that he works on the game?

 
Yeah. So many fights and bans could have been avoided had there been a mute option to let the player calm down a bit. Besides admins being able to look into gunsafes and boxes... Muting is the other very important tool we need.

 
For now just kick anyone arguing out of the game with a warning at least until a mute is added. so do

kick <playerid> Next time you argue you get 3 day ban, other person was already warned.

 
Back
Top