Jump to content

Improvements for the dedicated server


Alloc

Recommended Posts

I assume you're talking about the management scripts and not the mod (as the mod doesn't have any update feature).

 

I assume your mod is updated via the script update. Which doesn't for some reason seem to behave.

 

We have the give / li issue "item not found" (the mod issue, rev. 243 (0.12.0.0)), even with the latest updates (7dtd.sh scriptupdate). Fresh install when 7dtd v12.0 was released, updated to v12.3.

engine/Mods/Allocs_CommonFunc/7dtd-server-fixes_version.txt
Version:       0.12.0.0

 

 

# 7dtd.sh updateengine
Success! App '294420' fully installed.

# 7dtd.sh updatescripts --force
A newer version of the scripts is available.
Local:     v.93 (supported dedi build: 682942)
Available: v.93 (supported dedi build: 682942)

Please check the release notes before continuing:
 https://7dtd.illy.bz/wiki/Release%20Notes

NOTE: The newer scripts are made for a more recent build (682942) of the dedicated server than you are running (697925)!
You will have to update the engine after updating to those new scripts!

Continue? (yn) n
Canceled

# 7dtd.sh updateengine
Local buildid:     697925

WARNING!!! The currently installed version of the scripts might not support the newer dedicated server build!
If you continue you might not be able to start the server.

Continue? (yn) n

 

We also appear to run a more recent? version "(697925)".

 

The wording seems to be reversed for the notice:

NOTE: The newer scripts are made for a more recent build (682942) of the dedicated server than you are running (697925)!

 

should probably be:

NOTE: The newer scripts are made for an older build (682942) of the dedicated server than you are running (697925)!

 

Is there a specific reason as to why the version command reports 4 instead of whatever it's you consider proper to display? Like rev. 243 (0.12.0.0).

 

*** Connected with 7DTD server.
*** Server version: Alpha 12.3 (b5) Compatibility Version: Alpha 12.3
*** Dedicated server only build

Server IP:   Any
Server port: 25000
Max players: 64
Game mode:   GameModeSurvivalMP
World:       Random Gen
Game name:   One
Difficulty:  2

Press 'help' to get a list of all commands. Press 'exit' to end session.

version
2015-07-20T01:12:15 272.517 INF Executing command 'version' by Telnet from 127.0.0.1:45285
Game version: Alpha 12.3 (b5) Compatibility Version: Alpha 12.3
Mod Allocs command extensions: 4
Mod Allocs server fixes: 4
Mod Allocs MapRendering and Webinterface: 4

Edited by qriff (see edit history)
Link to comment
Share on other sites

The mod doesn't allow you to remove permissions (commands) listed in admins.xml that are not implemented in the mod.

 

<permission cmd="mercy" permission_level="13" />

 

cp list
13: mercy
cp remove mercy
"mercy" is not a valid command.

Link to comment
Share on other sites

Follow up to the scripts-related parts in the scripts-thread: https://7daystodie.com/forums/showthread.php?11184-Native-Linux-server-(with-management-scripts)&p=291676&viewfull=1#post291676

 

 

Is there a specific reason as to why the version command reports 4 instead of whatever it's you consider proper to display? Like rev. 243 (0.12.0.0).

 

...
version
2015-07-20T01:12:15 272.517 INF Executing command 'version' by Telnet from 127.0.0.1:45285
Game version: Alpha 12.3 (b5) Compatibility Version: Alpha 12.3
Mod Allocs command extensions: 4
Mod Allocs server fixes: 4
Mod Allocs MapRendering and Webinterface: 4

Yep, the versions of the mods are according to the mod interface definition of the game. The number used on the wiki didn't even update for now as it would have broken the data file again and won't be used in future anymore.

 

 

The mod doesn't allow you to remove permissions (commands) listed in admins.xml that are not implemented in the mod.

Not related to the mod but core game. But I also don't see any reason why one should be able to edit permissions of commands that don't even exist?

Link to comment
Share on other sites

its possible to able to track zombies, suply crates animals ?

 

You mean like how CBSM does it? Most likely yea, but I'm sure alloc is pretty busy and would take a great deal of time to actually add. I'm still hoping for just having the time displayed :p

Link to comment
Share on other sites

its possible to able to track zombies, suply crates animals ?

It's not in atm but it obviously could be done (and is planned for a later version).

 

I'm still hoping for just having the time displayed :p

Already in, just have to clean up a lot of stuff so I can make a proper build ;)

Link to comment
Share on other sites

I know you and the rest of the team are extremely busy, but what are my chances of getting that web-api? Does asking with "pretty please with sugar on top" work?

 

Probably mostly depends on how much other work I have to do today / this weekend ;)

Shouldn't be too complex but not sure right now. Again *maybe* this weekend.

 

Already in, just have to clean up a lot of stuff so I can make a proper build ;)

 

THANK YOU Alloc! :rockon:

Link to comment
Share on other sites

Alloc you wanted a log for my issues. Where do I go to get that? I'm seeing lots of logs in the install directory.

 

I found an output log and this was in it:

 

2015-07-22T16:19:19 1.292 INF [MODS] Start loading

 

2015-07-22T16:19:19 1.294 INF [MODS] Trying to load from Allocs_CommandExtensions

 

2015-07-22T16:19:19 1.324 WRN [MODS] Not loading DLL, only supported on the dedicated server build

 

2015-07-22T16:19:19 1.324 INF [MODS] Loaded Mod: Allocs command extensions (4)

 

2015-07-22T16:19:19 1.325 INF [MODS] Trying to load from Allocs_CommonFunc

 

2015-07-22T16:19:19 1.325 WRN [MODS] Not loading DLL, only supported on the dedicated server build

 

2015-07-22T16:19:19 1.325 INF [MODS] Loaded Mod: Allocs server fixes (5)

 

2015-07-22T16:19:19 1.325 INF [MODS] Trying to load from Allocs_WebAndMapRendering

 

2015-07-22T16:19:19 1.326 WRN [MODS] Not loading DLL, only supported on the dedicated server build

 

2015-07-22T16:19:19 1.326 INF [MODS] Loaded Mod: Allocs MapRendering and Webinterface (6)

 

2015-07-22T16:19:19 1.327 INF [MODS] Loading done

 

2015-07-22T16:19:19 1.365 INF Loading permissions file at 'C:\Users\xercesblue\AppData\Roaming/7DaysToDie/Saves/serveradmin.xml'

 

2015-07-22T16:19:19 1.397 INF Loading permissions file done.

 

WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Setting to default shader.

 

 

Is what I'm using not the dedicated server? I'm using the Dedicated server bat file to load it and others can connect.

Edited by xercesblue (see edit history)
Link to comment
Share on other sites

Alloc you wanted a log for my issues. Where do I go to get that? I'm seeing lots of logs in the install directory.

 

I found an output log and this was in it:

 

2015-07-22T16:19:19 1.292 INF [MODS] Start loading

 

2015-07-22T16:19:19 1.294 INF [MODS] Trying to load from Allocs_CommandExtensions

 

2015-07-22T16:19:19 1.324 WRN [MODS] Not loading DLL, only supported on the dedicated server build

 

2015-07-22T16:19:19 1.324 INF [MODS] Loaded Mod: Allocs command extensions (4)

 

2015-07-22T16:19:19 1.325 INF [MODS] Trying to load from Allocs_CommonFunc

 

2015-07-22T16:19:19 1.325 WRN [MODS] Not loading DLL, only supported on the dedicated server build

 

2015-07-22T16:19:19 1.325 INF [MODS] Loaded Mod: Allocs server fixes (5)

 

2015-07-22T16:19:19 1.325 INF [MODS] Trying to load from Allocs_WebAndMapRendering

 

2015-07-22T16:19:19 1.326 WRN [MODS] Not loading DLL, only supported on the dedicated server build

 

2015-07-22T16:19:19 1.326 INF [MODS] Loaded Mod: Allocs MapRendering and Webinterface (6)

 

2015-07-22T16:19:19 1.327 INF [MODS] Loading done

 

2015-07-22T16:19:19 1.365 INF Loading permissions file at 'C:\Users\xercesblue\AppData\Roaming/7DaysToDie/Saves/serveradmin.xml'

 

2015-07-22T16:19:19 1.397 INF Loading permissions file done.

 

WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Setting to default shader.

 

 

Is what I'm using not the dedicated server? I'm using the Dedicated server bat file to load it and others can connect.

 

Sounds like you're using the Client version and not the actual Dedicated Server Version

 

(https://7dtd.illy.bz/wiki/Dedicated%20Server%20Build - Library -> Tools -> 7 Days To Die Dedicated Server)

 

It's not in atm but it obviously could be done (and is planned for a later version).

 

 

Already in, just have to clean up a lot of stuff so I can make a proper build ;)

 

Baller. Nothing more needs to be said :).

Edited by Ynd21 (see edit history)
Link to comment
Share on other sites

Sounds like you're using the Client version and not the actual Dedicated Server Version

 

(https://7dtd.illy.bz/wiki/Dedicated%20Server%20Build - Library -> Tools -> 7 Days To Die Dedicated Server)

 

 

 

Baller. Nothing more needs to be said :).

 

I use the one that that's version 243 that says dedicated only server version only

 

https://7dtd.illy.bz/wiki/Server%20fixes

 

Is this the wrong one in that link?

Link to comment
Share on other sites

What Ynd21 said ... it's not about the mod, it's about the game build. Read the link he posted :)

 

So I'm using the wrong GAME build. Ok I'll have to figure out where to run the correct one. Will I have to start new world? Tools - Library - Dedicated, as in from the Steam program itself? I'm sorry if I sound stupid I run lots of server but always done it from SteamCMD and batch files.

 

EDIT: I think I found it. Spoke too soon. Didn't realize I had to hover OVER Library lol. I feel so stupid. Never even seen that part of Steam.

 

Posting logs just in case.[ATTACH]10032[/ATTACH]

output_log__2015-07-23__09-39-59.txt

Edited by xercesblue (see edit history)
Link to comment
Share on other sites

It is the same as with other games. If they provide a dedicated server as separate build (and a lot do it that way) it's a different appid (which is given in the link) which can either be installed through Steam -> Tools or through SteamCMD with that ID ;)

World etc should be fine.

Link to comment
Share on other sites

As long as you set up the serverconfig file to match the world name of your current world the Dedicated server will pick it up and run it without a problem.

 

I often switch between having my server run it (hosted using dedicated client on my PC) and client run depending on what I am doing / who is online.

Link to comment
Share on other sites

So I'm using the wrong GAME build. Ok I'll have to figure out where to run the correct one. Will I have to start new world? Tools - Library - Dedicated, as in from the Steam program itself? I'm sorry if I sound stupid I run lots of server but always done it from SteamCMD and batch files.

 

EDIT: I think I found it. Spoke too soon. Didn't realize I had to hover OVER Library lol. I feel so stupid. Never even seen that part of Steam.

 

Posting logs just in case.[ATTACH]10032[/ATTACH]

 

You can also use SteamCMD to install the dedicated server. You just need the right AppID, which should be 294420 for the dedicated server.

 

Edit: Keep in mind you still need your account credentials since you can't get the dedicated server with the anonymous account.

Link to comment
Share on other sites

Got it working last night, yay /home! :D

 

Thanks a ton guys! I run Rust, Terraria, Ark and 7 Days servers from the same machine, but up until recently 7 Days was running from Bluefangsolutions so everything was modded by them.

 

I just messed with the XML's but with them just unpacking the Alloc's fixes worked, didn't see what kind of server they were running (client versus dedicated). All this is exciting to figure out. Next step is getting the map working.

 

Also you're the best Alloc!

Link to comment
Share on other sites

Alloc - do/have you worked with the FrontRunnerTek server manager? I'm not really sure if I have things working quite right with it... it shows a green light by the fixes... but when I hit Verify Fixes, nothing seems to happen?

 

I'm currently running FRT SM and that verify has never worked for me. Everything about Alloc's fixes seems to run ok without that. FRT needs to get in the game and update this handy manager or release the source code so I can fix it. :chuncky:

Link to comment
Share on other sites

Hey Alloc! Any chance we'll see an update this weekend? Maybe? Really looking forward to the changes you've made with the map and the in-game time display. I saw that you updated that ticket on your site which is beyond awesome that you took the time for my request.

 

REALLY can't wait for se @ x y z. It'll come in time I'm sure.

 

(Looks around for Alloc's tip jar.)

Link to comment
Share on other sites

Alloc,

 

Since A12, when server (46 slots) is running for a couple of days, it crashes, but the server process itself doesn't disappear.

 

I get a message about "too many heap allocations". When i press "OK" the server.exe goes offline. When this message appears the server doesn't let people in, the RAM usage is at 0% so i guess it's some kind of crash.

 

I managed to capture one crash.log with dump, this is in the log (not whole of it)

 

Unity Player [version: Unity 5.1.1p3_369fd983d9e1]

 

mono.dll caused an Access Violation (0xc0000005)

in module mono.dll at 0033:3e96085d.

 

Error occurred at 2015-07-21_031324.

C:\gameserver\7DaysToDieServer.exe, run by Administrator.

69% memory in use.

32631 MB physical memory [10061 MB free].

42956 MB paging file [20802 MB free].

134217728 MB user address space [134197029 MB free].

Read from location 00000000 caused an access violation.

 

Context:

RDI: 0x14cb0550 RSI: 0xa183b730 RAX: 0x00000000

RBX: 0x5e0265b0 RCX: 0x14cb0550 RDX: 0x5e0265b0

RIP: 0x3e96085d RBP: 0x00000001 SegCs: 0x00000033

EFlags: 0x00010246 RSP: 0x0071c2f0 SegSs: 0x0000002b

R8: 0x0f826a30 R9: 0x00000001 R10: 0x00000000

R11: 0x0071c358 R12: 0x5e0265b0 R13: 0x5e0265b0

R14: 0x00000001 R15: 0x00000020

 

Bytes at CS:EIP:

48 8b 00 8b 70 28 c1 ee 0b 83 e6 01 75 0d 48 8b

Link to comment
Share on other sites

...

Since A12, when server (46 slots) is running for a couple of days, it crashes, but the server process itself doesn't disappear.

...

Sorry, don't see the relation to the server fixes here.

 

 

 

@All:

New version of the mod released. Probably the most notable new features are Steam authentication for the webmap and permissions. So you can now define who's allowed to view what part, including anonymous users or non-admin but logged in users (see release notes and the Integrated Webserver page for more details).

Web styling isn't really nice, but it's all work in progress and I had even more and worse colors on my dev stuff to properly build the page ;)

More stuff on the page will follow.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...