• 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

Congratulations Alloc on being part of the staff! I know you deserved it for ages!

I wanted to ask you, do you know whether your 7dtd-server-fixes will/should work mostly for A10 ? We added quite a bit of nice improvements in it but I am now waiting for A10 to avoid having to recode everything in case A10 breaks most/all of it.

The anticheat measures we've added work very well and this is all thanks to your work and dedication.

I have added a list of duplication bugs and other issues to madmole yesterday as per his instructions and I hope it will be useful in eradicating the bugs.

I also wanted to point out that I don't know if it's because of the 7dtd-server-fixes.dll's implementation of the inventory update on client disconnection or the game itself, the inventory doesn't get updated on disconnect or game exit which can make people lose or gain items on their inventory (ALT+F4 causes this).

Thanks!

Neo

 
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...
I think I can add such an option to my anti-cheat mod.

I also wanted to point out that I don't know if it's because of the 7dtd-server-fixes.dll's implementation of the inventory update on client disconnection or the game itself, the inventory doesn't get updated on disconnect or game exit which can make people lose or gain items on their inventory (ALT+F4 causes this).
The client sends the inventory to the server every 30th second (and the server writes it to the save file directly). The only way to solve this problem is synchronizing the inventory between client and server, which a server-only mod cannot do.

 
hey OP, i just spent the last few hours making a patcher and hooking a few methods (limited by the obfuscation). got a chat listener and a few other things down and felt good. i come into this forum and found this thread, checked out your project - patcher and deobber and literally dropped my project. Great job you have made amazing groundwork. the patcher looks beautiful compared to mine.

maybe later on ill fork it and contribute to hooks.

 
Alloc, is it possible to randomize the webserver port, or at least let us change it? I'm seeing more people guessing it (which is not very hard to do). Adding the password auth makes it time out every few minutes.

 
Alloc, is it possible to randomize the webserver port, or at least let us change it? I'm seeing more people guessing it (which is not very hard to do). Adding the password auth makes it time out every few minutes.
Yup, as Markezzz said you can change the port implicitly by the control panel port. In the future there will be an option just for this one. Also there will be the new authentication which shouldn't give you any trouble anyway :)

 
Yup, as Markezzz said you can change the port implicitly by the control panel port. In the future there will be an option just for this one. Also there will be the new authentication which shouldn't give you any trouble anyway :)
Sounds Great Alloc. :)

Alloc for Server President! :D Give us the sugar for our servers. ;o) *jokeling*

 
Alloc did and does unbelievably great work. I can't wait to see what he will be able to do now that he is part of the staff.

I am waiting for A10 to see the changes and see if they break the files or not before I continue adding new functions.

Thanks again,

Neo

 
Hey Alloc Really important question. I opened a new server with Ping Perfect. they installed the alloc files mod on your site. It works... but every 2-3 hours it glitches my server. and players can no longer re enter the server. they get stuck at the waiting screen. do you have any idea why this is happening and how to fix it? ( i never had this problem with my blackbox server )

 
How do i aquire the logs? In which folder would it be on Tcadmin?
By default:

Windows: 7DaysToDie_Data/output_log.txt

Linux: ~/.config/unity3d/The Fun Pimps/7 Days To Die/player.log

Linux with my scripts: /home/sdtd/instances/<name>/logs/current_output.log

MacOS: somewhere in the users profile folder.

Don't ask me whether Tcadmin influences this, I never used it ,)

 
It's regenerated every time you start the server so yes, you will have to get it after the problem occured.

 
12017.850 Player 'Mutant Enemy grr arg' already allowed!

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12017.850 Started thread_CommReader: cl=51, ch=1

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12017.850 Started thread_CommWriter: cl=51, ch=1

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12017.850 Started thread_CommReader: cl=51, ch=2

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12017.850 Started thread_CommWriter: cl=51, ch=2

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12017.850 Allowing player with id 51

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12019.450 Time: 199.57m FPS: 60.39 Heap: 1739.9MB Max: 1773.3MB Chunks: 3341 CGO: 7 Ply: 4 Zom: 2 Ent: 6 (297) Items: 28

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12019.450 STATS: 199.57,60.39,1739.9,1773.3,3341,7,4,2,6,297,28

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12024.970 RequestToEnterGame: 51/Mutant Enemy grr arg

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12024.980 GMSG: Mutant Enemy grr arg joined the game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12026.360 RequestToSpawnPlayer: 11415, 51, Mutant Enemy grr arg, 9

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12026.380 Created player with id=11415

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12026.380 Adding observed entity: 49, (-79.1, 68.0, 2091.5), 9

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12026.390 Player connected, clientid=51, entityid=11415, name=Mutant Enemy grr arg, steamid=76561198076728737, ip=70.78.167.142

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12026.390 Player set to online: 76561198076728737

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Spawned entity with wrong pos: [type=EntityAnimalStag, name=animalPig, id=71762] id=71762 pos=(-182.9, -2485.9, 2028.8)

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Entity [type=EntityAnimalStag, name=animalPig, id=71762] fell off the world, id=71762 pos=(-182.9, -2485.9, 2028.8)

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

EAC UserStatusHandler callback. Status: Disconnected GUID: 76561198076728737 ReqKick: True

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

EAC kicks player mutant enemy grr arg, status Disconnected

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12028.970 Player set to offline: 76561198076728737

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.210 Removing player with id clientId=51, entityId=11415

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.210 GMSG: Mutant Enemy grr arg left the game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.210 Removing observed entity 49

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

No objects for the given player ID were deleted 51

(Filename: Line: 1373)

12029.210 Exited thread_CommWriter: cl=51, ch=1

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.210 Exited thread_CommWriter: cl=51, ch=2

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.220 Exited thread_CommReader: cl=51, ch=2

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.220 Exited thread_CommReader: cl=51, ch=1

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.320 OnPlayerDisconnected 51

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12029.320 Disconnected player not found in client list...

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

No objects for the given player ID were deleted 51

(Filename: Line: 1373)

12036.610 Freeing user Novahaze

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.610 Player Novahaze disconnected after 5.6 minutes

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.610 Player set to offline: 76561197995865002

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.620 Removing player with id clientId=43, entityId=171

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.620 GMSG: Novahaze left the game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.620 Removing observed entity 43

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

No objects for the given player ID were deleted 43

(Filename: Line: 1373)

12036.620 Exited thread_CommWriter: cl=43, ch=2

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.620 Exited thread_CommWriter: cl=43, ch=1

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.820 Exited thread_CommReader: cl=43, ch=2

- - - Updated - - -

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.820 Exited thread_CommReader: cl=43, ch=1

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.830 OnPlayerDisconnected 43

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12036.830 Disconnected player not found in client list...

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

No objects for the given player ID were deleted 43

(Filename: Line: 1373)

Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 369 unused Assets to reduce memory usage. Loaded Objects now: 100837.

Total: 353.510651 ms (FindLiveObjects: 6.253029 ms CreateObjectMapping: 1.140427 ms MarkObjects: 345.356812 ms DeleteObjects: 0.553309 ms)

12040.500 OnPlayerConnected 52

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12040.540 PlayerLogin: 612489579162358456/AllocatedID: 0/Novahaze/Alpha 9.3

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12040.540 Token: FAAAAJeieVvhU1MYqjMfAgEAEAHb0mZUGAAAAAEAAAACAAAAfbLxYwAAAAChIcoBVgAAALIAAAAyAAAABAAAAKozHwIBABABstYDAHmr+qIMEQAKAAAAAPzwY1R8oH9UAQAVeAAAAAAAAIZJoV6ByvtWHNJPdbuyVQc2KljHji48vJ6F7BEjEabhPQ7UKh6KG6ZF/t+JwyLFQC/6hdV9X20kAUNY3XArNgVwP+Ygq6VpCtyhOFN0SN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AJCSIxMCIJCSJiNzk0MDQyNyIKCQkJIjkiCQkiNWZlMTMzYmYiCgkJCSI4IgkJIjY3NzAyYmEwIgoJCQkiNyIJCSIAAg==

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12040.550 Authenticating player: Novahaze SteamId: 76561197995865002 TicketLen: 1024 Result: OK

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

12040.550 Started thread_CommReader: cl=52, ch=1

 
Sorry took me a while to figure out how to upload notepad. here's the end of it.

One more thing... I've noticed while im ingame when i open up the admins console this message is repeatedly spammed in chat (once per second )

an invalid object handle was used.

I dont know if this is causing the crashes or if its just an innocent glitch in the game?

logs crash.txt

 

Attachments

Last edited by a moderator:
Back
Top