Jump to content

Improvements for the dedicated server


Alloc

Recommended Posts

getting this error:

 

"An error occured or you have not logged in. Try logging in with the Steam login in the lower left!"

 

logged in with steam id and still same error

Looks like you didn't setup the permissions properly. See the webpage for details. (Hasn't changed since WebMap v7).

 

I can 't get webmap working. I have the latest Alloc's update. When I type "webtokens list" I get this weird response:

 

2015-12-13T10:02:20 36574.540 INF Executing command 'webtokens list' by Telnet from xxxxxxx
2015-12-13T10:02:20 36574.542 ERR GetString: InvalidCastException MaxSpawnedZombies
ArgumentException: Path is empty

...

That doesn't really look like you updated the mods. That's exactly what's "supposed" to happen if running A13 with an older version of the mods. Run "version", should output:

Game version: Alpha 13 (b141) Compatibility Version: Alpha 13
Mod Allocs command extensions: 5
Mod Allocs server fixes: 7
Mod Allocs MapRendering and Webinterface: 9

Link to comment
Share on other sites

Looks like you didn't setup the permissions properly. See the webpage for details. (Hasn't changed since WebMap v7).

 

 

That doesn't really look like you updated the mods. That's exactly what's "supposed" to happen if running A13 with an older version of the mods. Run "version", should output:

Game version: Alpha 13 (b141) Compatibility Version: Alpha 13
Mod Allocs command extensions: 5
Mod Allocs server fixes: 7
Mod Allocs MapRendering and Webinterface: 9

 

Game version: Alpha 13 (b141) Compatibility Version: Alpha 13

Mod Allocs command extensions: 5

Mod Allocs server fixes: 7

Mod Allocs MapRendering and Webinterface: 9

 

I'll try deleting the mods folder and copying it over again..

Link to comment
Share on other sites

Er, should have copied latest myself ... It's 6, 8, 10 currently ;)

 

I just noticed that. Once I deleted the Mods folder and copied it back, the versions say "Mod Allocs command extensions: 6

Mod Allocs server fixes: 8

Mod Allocs MapRendering and Webinterface: 10"

 

Thanks :)

Link to comment
Share on other sites

I'm running a dedi on my machine where some of my friends log in remotely and I've had the map available to everyone on the server. But since A13 external access is somehow blocked.

The serverfixes itself just run fine, and the map also does. I can log into the map site just fine. It also works from another machine in my network with a different steam aco♥♥♥♥. All is good .... but ... If someone with the same permissions tries to access the site over WAN, the page could not be displayed.

Same permission, the tcp port 8082 is forwarded, but still no access. Like I mentioned it before, this was working with A12.5, but since A13 it doesn't :(

Does anyone got a clue, what I'm missing?

Link to comment
Share on other sites

Same permission, the tcp port 8082 is forwarded, but still no access.

No access at all? I.e. not even the page showing saying they have to log in?

Also, nothing changed for the web part and this seriously sounds like a local network issue. Maybe your external IP changed and your friends still using the old one?

Link to comment
Share on other sites

No access at all? I.e. not even the page showing saying they have to log in?

Also, nothing changed for the web part and this seriously sounds like a local network issue. Maybe your external IP changed and your friends still using the old one?

 

We've tried the IP and URL, new IP from ISP ... nothing worked :(

The strange thing is, that the port forwarding works. Joining the dedicated server works just fine. It also can't be a firewall problem, because LAN access work.

Is it just the TCP port, that needs to be forwarded or does it also needs some UDP port?

And what about the steam authentification? I think the communication comes from a client to the host and is than redirected to steam for authentificacion, isn't it?

Maybe I should just change the port in the serverconfig.xml and give it a try on a different port...

Link to comment
Share on other sites

It's only the TCP port (8082 by default). Steam auth works by simply accessing different websites in the browser, it won't be affected by your firewall. Unless your firewall blocks the outgoing request of the game, but even if that was blocked it will at least show the page without authentication.

Link to comment
Share on other sites

It's only the TCP port (8082 by default). Steam auth works by simply accessing different websites in the browser, it won't be affected by your firewall. Unless your firewall blocks the outgoing request of the game, but even if that was blocked it will at least show the page without authentication.

 

I'll give it a try on a different port and post the results. Maybe there is some ISP side stuff going on, I can't figure out...

To change the port I just have to change the ControlPanelPort in the serverconfig.xml, am I right?

Link to comment
Share on other sites

I have installed the latest version of server fixes, but i'm having trouble with the map. I'm able to connect to it just fine, and I can login with steam. After logging in, it says "An error occured or you have not logged in. Try logging in with the Steam login in the lower left!" Despite the fact that it says "logged in as" on the bottom.

*edit* NEVER MIND, you fixed this for someone else earlier, webpermission add web.map 2000 did the trick

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

Are there any plans for adding block placement and removal messages?

If you're talking about printing a message to the log each time a block is changed in the world then it's definitely a "no". This would spam way too much to the log.

 

If it's something else you're talking about you have to explain in more detail what you are referring to ;)

Link to comment
Share on other sites

Web API log display blank?

 

I saw some posts about the web API logs display being blank (but accurately showing the number of log entries) but couldn't find a resolution. Is this feature supposed to be working?

 

I get the following error when accessing the log tab:

2015-12-15T13:35:06 7443.555 ERR Error in ApiHandler.HandleRequest(): Handler getlog threw an exception:

2015-12-15T13:35:06 7443.555 EXC index and count exceed length of list

ArgumentException: index and count exceed length of list
 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].CheckRange (Int32 idx, Int32 count) [0x00000] in <filename unknown>:0 

 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].GetRange (Int32 index, Int32 count) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.LogBuffer.GetRange (System.Int32& _start, Int32 _count, System.Int32& _end) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.API.GetLog.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler:HandleRequest(HttpListenerRequest, HttpListenerResponse, WebConnection, Int32)
AllocsFixes.NetConnections.Servers.Web.Web:HandleRequest(IAsyncResult)
System.Net.ListenerAsyncResult:InvokeCallback(Object)

(Filename:  Line: -1)

2015-12-15T13:35:08 7445.531 ERR Error in ApiHandler.HandleRequest(): Handler getlog threw an exception:

2015-12-15T13:35:08 7445.531 EXC index and count exceed length of list

ArgumentException: index and count exceed length of list
 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].CheckRange (Int32 idx, Int32 count) [0x00000] in <filename unknown>:0 

 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].GetRange (Int32 index, Int32 count) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.LogBuffer.GetRange (System.Int32& _start, Int32 _count, System.Int32& _end) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.API.GetLog.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler:HandleRequest(HttpListenerRequest, HttpListenerResponse, WebConnection, Int32)
AllocsFixes.NetConnections.Servers.Web.Web:HandleRequest(IAsyncResult)
System.Net.ListenerAsyncResult:InvokeCallback(Object)

(Filename:  Line: -1)

2015-12-15T13:35:10 7447.536 ERR Error in ApiHandler.HandleRequest(): Handler getlog threw an exception:

2015-12-15T13:35:10 7447.537 EXC index and count exceed length of list

ArgumentException: index and count exceed length of list
 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].CheckRange (Int32 idx, Int32 count) [0x00000] in <filename unknown>:0 

 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].GetRange (Int32 index, Int32 count) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.LogBuffer.GetRange (System.Int32& _start, Int32 _count, System.Int32& _end) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.API.GetLog.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler:HandleRequest(HttpListenerRequest, HttpListenerResponse, WebConnection, Int32)
AllocsFixes.NetConnections.Servers.Web.Web:HandleRequest(IAsyncResult)
System.Net.ListenerAsyncResult:InvokeCallback(Object)

(Filename:  Line: -1)

2015-12-15T13:35:13 7450.291 ERR Error in ApiHandler.HandleRequest(): Handler getlog threw an exception:

2015-12-15T13:35:13 7450.292 EXC index and count exceed length of list

ArgumentException: index and count exceed length of list
 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].CheckRange (Int32 idx, Int32 count) [0x00000] in <filename unknown>:0 

 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].GetRange (Int32 index, Int32 count) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.LogBuffer.GetRange (System.Int32& _start, Int32 _count, System.Int32& _end) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.API.GetLog.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 

 at AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler:HandleRequest(HttpListenerRequest, HttpListenerResponse, WebConnection, Int32)
AllocsFixes.NetConnections.Servers.Web.Web:HandleRequest(IAsyncResult)
System.Net.ListenerAsyncResult:InvokeCallback(Object)

(Filename:  Line: -1)

Link to comment
Share on other sites

Hi Alloc:

 

I've been using the server fixes and Linux scripts for about 5 months now and I've run into a mystery. Under certain conditions both the admins.xml and webpermissions.xml are being overwritten with some kind of default version where most everything is commented out. I am sure this is a feature, but I cannot figure out how to disable this behavior. This is new with A13; it didn't happen in A12. Any pointers?

Link to comment
Share on other sites

Hi,

 

Would it be possible to add a disconnection option when players stay IDLE after the "Pess a Key to enter" Screen. Some player use this feature to be able to skip night when they are alone on the server.

 

I know than in the telnet log when u use the lp connection there is an indication for this.

 

Hop you'll add this option to your script :)

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...