Isalof Posted July 12, 2014 Share Posted July 12, 2014 One instance was running while updating the scripts. I did restart it after though. The test-instance however wasnt running while updating the scripts. Link to comment Share on other sites More sharing options...
Alloc Posted July 12, 2014 Author Share Posted July 12, 2014 What about v.28? Link to comment Share on other sites More sharing options...
Isalof Posted July 12, 2014 Share Posted July 12, 2014 Better Im now getting data in the /logs directory (2014-07-12_15-39-43_output.log and output_log.txt) so that seems to be solved. However the logging in players.xml still isnt adding an entry on my test instance and my hook still refuses to fire the welcoming message Btw, should I always be stopping the instances before updating scripts? Link to comment Share on other sites More sharing options...
Alloc Posted July 12, 2014 Author Share Posted July 12, 2014 Updating the scripts while instances are running shouldn't hurt but if there are changes to the logging stuff those won't affect running instances but only after the next start of an instance. Regarding the player logging: Gotta test this again, thought it was working by now Link to comment Share on other sites More sharing options...
Alloc Posted July 12, 2014 Author Share Posted July 12, 2014 Hmz, wonder what I did there ... Ok, for me it's fully working again now (v.29) Link to comment Share on other sites More sharing options...
Isalof Posted July 12, 2014 Share Posted July 12, 2014 Still no luck, no data in players.xml and hook not being fired :/ Link to comment Share on other sites More sharing options...
Alloc Posted July 12, 2014 Author Share Posted July 12, 2014 Hm ... what about logs/<date>_players.log? Link to comment Share on other sites More sharing options...
Isalof Posted July 13, 2014 Share Posted July 13, 2014 Non-existant I only have the old players.log in the instance-directory. In /logs I only have the <date>_output.log, stdout.log and output_log.txt. The only Error Message I see popping up in the log is the following btw: 2014.07.13 11:35:12: Fallback handler could not load library /home/sdtd/engine/7DaysToDie_Data/Mono/x86/SteamworksNative Link to comment Share on other sites More sharing options...
Alloc Posted July 13, 2014 Author Share Posted July 13, 2014 That one is ok What about <date>_chat.log? Not even that one? Link to comment Share on other sites More sharing options...
Isalof Posted July 13, 2014 Share Posted July 13, 2014 Nope. And just to be clear, I am talking about /home/sdtd/instances/INSTANCE_NAME/logs/ Link to comment Share on other sites More sharing options...
Alloc Posted July 13, 2014 Author Share Posted July 13, 2014 Yeah, sure ^^ Ok, just to sum it up to this point: You have updated to scripts version 29 Restarted the instance after that Got nothing besides <date>_output.log, stdout.log and output_log.txt? <date>_output.log contains normal entries though? Also lines like "<datetime> RequestToSpawnPlayer ...."? Link to comment Share on other sites More sharing options...
Isalof Posted July 13, 2014 Share Posted July 13, 2014 That is correct ^^. Link to comment Share on other sites More sharing options...
Alloc Posted July 13, 2014 Author Share Posted July 13, 2014 Could you send me one of the RequestToSpawnPlayer-lines of your <date>_output.log? Link to comment Share on other sites More sharing options...
Isalof Posted July 13, 2014 Share Posted July 13, 2014 Sure, I'll PM it to u due to the players name. Link to comment Share on other sites More sharing options...
Alloc Posted July 13, 2014 Author Share Posted July 13, 2014 Hmz ... locales ... Uploaded 30, please try that one. Link to comment Share on other sites More sharing options...
Isalof Posted July 13, 2014 Share Posted July 13, 2014 Didnt work, however I am getting an exception now which seems to prevent the instance from starting: Exception: <player> has malfored lastlogin attribute! at PersistentPlayerData.ReadXML (System.Xml.XmlElement root) [0x00000] in <filename unknown>:0 at PersistentPlayerList.ReadXML (System.String filePath) [0x00000] in <filename unknown>:0 at GameManager.ل¢µل™ƒ () [0x00000] in <filename unknown>:0 at GameManager.Awake () [0x00000] in <filename unknown>:0 (Filename: Line: -1) Link to comment Share on other sites More sharing options...
Alloc Posted July 13, 2014 Author Share Posted July 13, 2014 (edited) o.O Looks like locale setting is a problem here If you do not have done anything saved in that instance yet please delete the players.xml in the save game folder. /EDIT: Looks like deleting that players-file will do just two things: - Reset friendships - Remove landclaim-block <-> player associations Edited July 13, 2014 by Alloc (see edit history) Link to comment Share on other sites More sharing options...
Isalof Posted July 13, 2014 Share Posted July 13, 2014 (edited) Will this affect an already running instance though? As in will I have a problem once I stop the instance and want to restart it? I deleted the players.xml from the test instance and could then start it. PLUS players.xml in instance folder is now getting correct values AND the hook is working for that instance! So this seems to have fixed it, good job! Edit: Im guessing the malformed LastLogin mm/dd vs dd/mm is the problem? I might just try and correct it then, because deleting the players.xml on the other instance isnt really an option Edited July 13, 2014 by Isalof (see edit history) Link to comment Share on other sites More sharing options...
Alloc Posted July 13, 2014 Author Share Posted July 13, 2014 Yup, locales shouldn't be a problem in the future anymore but have been in different places before Manually changing it should be ok, just make sure to stop the instance first. Link to comment Share on other sites More sharing options...
nolram Posted July 14, 2014 Share Posted July 14, 2014 Friend, after I updated the script to version v30. I'm getting this error message: """ You account `mysteamid` is not activated or no server answer! """ Link to comment Share on other sites More sharing options...
nolram Posted July 14, 2014 Share Posted July 14, 2014 After updating I am getting this error also: Exception: """ ServicesGameServer.Initialize failed: SteamInitializeFailed """ Link to comment Share on other sites More sharing options...
nolram Posted July 14, 2014 Share Posted July 14, 2014 and this msg :""Exception: has malfored lastlogin attribute!"" Link to comment Share on other sites More sharing options...
nolram Posted July 14, 2014 Share Posted July 14, 2014 Problem solved XD Link to comment Share on other sites More sharing options...
Isalof Posted July 14, 2014 Share Posted July 14, 2014 So I switched the date-Format in the players.xml and it still didnt work which made me nuts A few hours later I thought about it again and it hit me, the Ban-List in the admins.xml file has dates in it So that fixed it, all is well now, thanks for the help with these great scripts Alloc! Link to comment Share on other sites More sharing options...
nolram Posted July 14, 2014 Share Posted July 14, 2014 Hello friend, I would like to display the stats of my players served on my website. Is this possible? 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