blotavious Posted November 21, 2018 Share Posted November 21, 2018 (edited) I.e. not only you accessing it? And others have issues, you don't? If they don't have permission level 0 they won't be able to see everything as per your permission setup. So all fine. I was not real clear with that post...no I mean other administrators on other servers are reporting the same problem. Edited November 21, 2018 by blotavious (see edit history) Link to comment Share on other sites More sharing options...
Alloc Posted November 21, 2018 Author Share Posted November 21, 2018 Does GameUtils.GetSaveGameDir () switch context during startup maybe? Your map files are in /Saves/RWG/CSMM (CSMM is seedname), but persistentdata is in /Saves/Mevozo Mountains/CSMM -> player and region files are in here too. Yeah, seems like someone (naming and shaming is forbidden on this forum so I don't have to say "Alloc", yay) is accessing that path too early in the startup process. Your second path would be correct. I was not real clear with that post...no I mean other administrators on other servers are reporting the same problem. And they're all set to permission level 0? Cause your post only showed one person set to 0. Link to comment Share on other sites More sharing options...
Alloc Posted November 21, 2018 Author Share Posted November 21, 2018 Fixed the path issues, using the GameStartDone event in stead of GameAwake results in safe to use paths. Link to comment Share on other sites More sharing options...
Gilthanaz Posted November 21, 2018 Share Posted November 21, 2018 Hi Alloc! I've set all webpermissions to 2000, yet I can not see all the things I could see on 16.4 (Hostiles, Animals, ...). Is it me or is something off Check here: http://7days.the-craftsmen.com:25003/static/index.html $ webpermission list: Defined web function permissions: Level: Web function 2000: web.map 2000: webapi.GetAnimalsLocation 2000: webapi.GetHostileLocation 2000: webapi.Null 2000: webapi.GetPlayersOnline 2000: webapi.GetPlayersLocation 2000: webapi.GetPlayerInventory 2000: webapi.GetLandClaims 2000: webapi.GetStats 2000: webapi.ExecuteConsoleCommand 2000: webapi.GetLog 2000: webapi.GetWebUIUpdates 2000: webapi.GetServerInfo 2000: webapi.GetPlayerList 2000: webapi.GetAllowedCommands 2000: webapi.GetPlayerInventories 2000: webapi.viewallclaims 2000: webapi.viewallplayers Version info: Game version: Alpha 17 (b197) Compatibility Version: Alpha 17 Mod Allocs command extensions: 15 Mod Allocs server fixes: 18 Mod Allocs MapRendering and Webinterface: 27 Thanks! Link to comment Share on other sites More sharing options...
Alloc Posted November 21, 2018 Author Share Posted November 21, 2018 Shouldn't matter but you're back two versions by now That is weird though, it clearly states you're allowed to access all modules when asking the server ( http://7days.the-craftsmen.com:25003/userstatus ), still not showing stuff. Are you sure you have all my files without modifications to them? Link to comment Share on other sites More sharing options...
Alloc Posted November 21, 2018 Author Share Posted November 21, 2018 Ok, think I know what it is, will have to do some fixes Link to comment Share on other sites More sharing options...
Gilthanaz Posted November 21, 2018 Share Posted November 21, 2018 Ohhh Two versions back? Weird, I think I just grabbed the tar.gz yesterday... Hm Link to comment Share on other sites More sharing options...
Alloc Posted November 21, 2018 Author Share Posted November 21, 2018 Should work with the latest patch now. Link to comment Share on other sites More sharing options...
blotavious Posted November 21, 2018 Share Posted November 21, 2018 Yeah, seems like someone (naming and shaming is forbidden on this forum so I don't have to say "Alloc", yay) is accessing that path too early in the startup process. Your second path would be correct. And they're all set to permission level 0? Cause your post only showed one person set to 0. On my server I am the only one set to 0. I believe this is the same or related to the issue Gilthanaz reported. Link to comment Share on other sites More sharing options...
Dugory Posted November 21, 2018 Share Posted November 21, 2018 Should work with the latest patch now. Thanks Alloc! Your latest patch fixed my issues I was about to post here Link to comment Share on other sites More sharing options...
Gilthanaz Posted November 22, 2018 Share Posted November 22, 2018 (edited) Hi Alloc! I've deployed your latest build yesterday and everything looked good and worked However, after the scheduled nightly server restart at 5.10 am, the /map sub-directory in the Save directory is suddenly empty and the map thus gone. The other Info is there (Player offline location, claim blocks, ...) Should I debug on our end or do you have a possible reason in mind? KR and thanks for your work! Edit: To be exact, the file "mapinfo.json" is still present in the /map sub-directory... Edited November 22, 2018 by Gilthanaz (see edit history) Link to comment Share on other sites More sharing options...
Dugory Posted November 22, 2018 Share Posted November 22, 2018 Hi Alloc! I've deployed your latest build yesterday and everything looked good and worked However, after the scheduled nightly server restart at 5.10 am, the /map sub-directory in the Save directory is suddenly empty and the map thus gone. The other Info is there (Player offline location, claim blocks, ...) Should I debug on our end or do you have a possible reason in mind? KR and thanks for your work! Edit: To be exact, the file "mapinfo.json" is still present in the /map sub-directory... FYI using version 16_19_29, restarted my server several times, map still working for me Link to comment Share on other sites More sharing options...
Alloc Posted November 22, 2018 Author Share Posted November 22, 2018 Hi Alloc! I've deployed your latest build yesterday and everything looked good and worked However, after the scheduled nightly server restart at 5.10 am, the /map sub-directory in the Save directory is suddenly empty and the map thus gone. The other Info is there (Player offline location, claim blocks, ...) Should I debug on our end or do you have a possible reason in mind? KR and thanks for your work! Edit: To be exact, the file "mapinfo.json" is still present in the /map sub-directory... Are you looking at the correct directory? I.e. saves/<worldname>/<gamename>, not saves/rwg/<gamename>? Link to comment Share on other sites More sharing options...
MarcLandis Posted November 22, 2018 Share Posted November 22, 2018 using the "rendermap" command results in an error: 2018-11-22T15:41:49 447.787 INF Error in RenderMap.Run: System.ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[system.String,ThreadManager+ThreadInfo].Add (System.String key, .ThreadInfo value) [0x00000] in <filename unknown>:0 at ThreadManager.startThread (System.String _name, .ThreadFunctionDelegate _threadDelegate, .ThreadFunctionDelegate _threadInit, .ThreadFunctionLoopDelegate _threadLoop, .ThreadFunctionEndDelegate _threadEnd, ThreadPriority _threadPriority, System.Object _parameter, .ExitCallbackThread _exitCallback, Boolean _runInMainThread) [0x00000] in <filename unknown>:0 at ThreadManager.StartThread (System.String _name, .ThreadFunctionDelegate _threadInit, .ThreadFunctionLoopDelegate _threadLoop, .ThreadFunctionEndDelegate _threadEnd, ThreadPriority _threadPriority, System.Object _parameter, .ExitCallbackThread _exitCallback, Boolean _runInMainThread) [0x00000] in <filename unknown>:0 at RegionFileManager..ctor (System.String _loadDirectory, System.String _saveDirectory, Int32 _maxChunksInCache, Boolean _bSaveOnChunkDrop) [0x00000] in <filename unknown>:0 at AllocsFixes.MapRendering.MapRendering.RenderFullMap () [0x00000] in <filename unknown>:0 at AllocsFixes.CustomCommands.RenderMap.Execute (System.Collections.Generic.List`1 _params, CommandSenderInfo _senderInfo) [0x00000] in <filename unknown>:0 Link to comment Share on other sites More sharing options...
GreatWorld Posted November 22, 2018 Share Posted November 22, 2018 login through steam still failed here the log: 2018-11-23T01:59:10 1092.240 ERR Error validating login: 2018-11-23T01:59:10 1092.241 EXC Error getting response stream (Write: The authentication or decryption has failed.): SendFailure TlsException: The authentication or decryption has failed. at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in <filename unknown>:0 at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 Rethrow as IOException: The authentication or decryption has failed. at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 Rethrow as WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.OpenID.Validate (System.Net.HttpListenerRequest _req) [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.Web.DoAuthentication (System.Net.HttpListenerRequest _req, AllocsFixes.NetConnections.Servers.Web.WebConnection& _con) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Logger:masterLogException(Exception) Logger:Exception(Exception) Log:Exception(Exception) AllocsFixes.NetConnections.Servers.Web.Web:DoAuthentication(HttpListenerRequest, WebConnection&) AllocsFixes.NetConnections.Servers.Web.Web:HandleRequest(IAsyncResult) System.Net.ListenerAsyncResult:InvokeCallback(Object) Link to comment Share on other sites More sharing options...
Khelgar Posted November 23, 2018 Share Posted November 23, 2018 using the "rendermap" command results in an error: I am also getting this same error Link to comment Share on other sites More sharing options...
Prisma501 Posted November 23, 2018 Share Posted November 23, 2018 little bug in give command: if (_params.Count == 4) { if (!int.TryParse (_params [1], out quality) || quality <= 0) { SdtdConsole.Instance.Output ("Quality is not an integer or not greater than zero."); return; } } should be _params [3]. Cheers Link to comment Share on other sites More sharing options...
Gilthanaz Posted November 23, 2018 Share Posted November 23, 2018 I am also getting this same error I can also confirm that "rendermap" is not working. Link to comment Share on other sites More sharing options...
Gilthanaz Posted November 23, 2018 Share Posted November 23, 2018 Dear Alloc! I also have a feature request or two In fact I once already modified these things myself für A16.4 but for **** sake can't remember exactly anymore how I did it: * Higher maxZoom * No clustering of Icons on the lowest 3 zoom levels * Update interval for the icons configurable from 100ms+ Those are the things I had implemented and we were using in A16 in a "Eye in the Sky" playstyle where one guy would only be on voice chat and command a squad of players with the almost real-time information he got from the map Any change we can have those things as variables for easy configuration? Thanks! Link to comment Share on other sites More sharing options...
grrmisfit Posted November 23, 2018 Share Posted November 23, 2018 lots of this in output log2018-12-06T17:00:20 263.259 INF Error in GM_SavePlayerData: System.NullReferenceException: Object reference not set to an instance of an object at AllocsFixes.PersistentData.Inventory.CreateInvItem (.ItemValue _itemValue, Int32 _count, Int32 _playerId) [0x00000] in <filename unknown>:0 at AllocsFixes.PersistentData.Inventory.ProcessEqu (.Equipment sourceEquipment, Int32 _playerId) [0x00000] in <filename unknown>:0 at AllocsFixes.PersistentData.Inventory.Update (.PlayerDataFile pdf) [0x00000] in <filename unknown>:0 at AllocsFixes.PersistentData.Player.Update (.PlayerDataFile _pdf) [0x00000] in <filename unknown>:0 at AllocsFixes.PlayerDataStuff.GM_SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in <filename unknown>:0 Link to comment Share on other sites More sharing options...
Catalysm Posted November 25, 2018 Share Posted November 25, 2018 (edited) Seeing something weird with the webserver since A17, maybe you can shed some light on what's happening. For high pop servers, I get ESOCKETTIMEDOUT / ETIMEDOUT out errors when doing a request. So far, I've only seen it happen on servers with more than 24 people online. I followed up with the affected server owners to try and track it down to see if the server has any network issues or has maxed out on resources but they report it's all fine. Server runs okay for players. CSMM also doesn't have any network issues, it only happens for those select servers. I've tried doing a manual request to a server when this happens and see the same errors then. I can't really test this on a dev server because I can't convince 24+ people to join ;p. Thanks! Edited November 26, 2018 by Catalysm (see edit history) Link to comment Share on other sites More sharing options...
blotavious Posted November 26, 2018 Share Posted November 26, 2018 It appears at least some have a problem with the web map not displaying all the admin options (player location, inventory, logs etc.) I updated to rev 336 but no go. webpermissions.xml and serveradmins.xml set correctly I think: Level: Web function 2000: web.map 0: webapi.GetAnimalsLocation 0: webapi.GetHostileLocation 0: webapi.Null 0: webapi.GetPlayersOnline 0: webapi.GetPlayersLocation 0: webapi.GetPlayerInventory 0: webapi.GetLandClaims 2000: webapi.getstats 2000: webapi.executeconsolecommand 0: webapi.GetLog 2000: webapi.getwebuiupdates 0: webapi.GetServerInfo 0: webapi.GetPlayerList 2000: webapi.getallowedcommands 0: webapi.GetPlayerInventories 0: webapi.viewallclaims 0: webapi.viewallplayers Level: SteamID (Player name if online) 0: 765611xxxxxxxxx07 For no known reason the webmap started working properly and all the expected check boxes show up. I made no changes *at all* though the options showed following a scheduled restart. However, the server process was restarted many times prior and it made no difference. Weird. Sorry I don't have anything more concrete to offer. Link to comment Share on other sites More sharing options...
SlicksGirl Posted November 26, 2018 Share Posted November 26, 2018 I've installed Allocs because it is available to install from my server host. I can get a map to work, but i cannot get the server to work with envuls CBSM. another thread stated that Allocs isnt ready for a17 and thats my issue. but i find it hard to believe because some parts are working and others are not. mostly i can see things happening on the map, but not a vial of the map itself through cBSM. I am hoping somebody here with more experience can shed some light on this. I've never had a problem with allocs or CBSM connections on previous alpha versions. https://cbsm.envul.com/view-7-days-to-die-map-18480/?fbclid=IwAR1sP88S5hM5WO4uglq8p4cc74LojWl8P5lgG9b9ZD1t_uO_yFQ_urTSCYY Link to comment Share on other sites More sharing options...
SylenThunder Posted November 26, 2018 Share Posted November 26, 2018 I've installed Allocs because it is available to install from my server host. I can get a map to work, but i cannot get the server to work with envuls CBSM. another thread stated that Allocs isnt ready for a17 and thats my issue. but i find it hard to believe because some parts are working and others are not. mostly i can see things happening on the map, but not a vial of the map itself through cBSM. I am hoping somebody here with more experience can shed some light on this. I've never had a problem with allocs or CBSM connections on previous alpha versions. https://cbsm.envul.com/view-7-days-to-die-map-18480/?fbclid=IwAR1sP88S5hM5WO4uglq8p4cc74LojWl8P5lgG9b9ZD1t_uO_yFQ_urTSCYY To be fair even when it supposedly worked back in a15, CBSM was never reliable with the web map. Just use it directly with IP : Port. Link to comment Share on other sites More sharing options...
danielspoa Posted November 27, 2018 Share Posted November 27, 2018 (edited) Allocs, I'm not sure if I get this right but with the map being pregenerated now is it possible to reveal the entire webmap through a command? Edit: nevermind, learned the magic of visitmap Edited November 27, 2018 by danielspoa (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now