Jump to content

thirteenth

Member
  • Content Count

    12
  • Joined

  • Last visited

About thirteenth

  • Rank
    Freshly Bitten

Recent Profile Visitors

277 profile views
  1. I apologize for the pause in the reply. I know the OnSave event, but I did not consider it. I'll see if it suits me. Events.OnDisconnect is called when connecting to the server. If a break occurs at the time of the connection, then it is called. After a successful connection, it is no longer called, as far as I understand.
  2. thirteenth

    OnGameExit event

    Hi. An Events.OnGameStart event is exist to enter the game, but I can not find the event responsible for exiting the game. There is an Events.OnDisconnect event, but for me it does not work - the function added to it is never called. I searched the Internet and found a 2016 post on the forum https://theindiestone.com/forums/index.php?/topic/17846-testing-for-when-the-game-is-running-lua/&tab=comments#comment-220050 which mentions the Event.OnGameExit event, but, as far as I understand, this event does not exist. Now I’m thinking about redefining clicking on the Quit menu item, but this will not give me the full necessary result, since it’s still not clear how to handle closing the game console, ALT + F4 or losing the connection. I probably need to look towards the server side of the mod, but I have run out of ideas where and what to look for. I will be grateful if someone shares their knowledge in this area.
  3. As you can see, in all cases except one, the username is saved. But when you exit the game, the display name is used instead of the username. This creates difficulties in the automatic analysis of logs. And with manual analysis too.
  4. I write a mod that fix it https://steamcommunity.com/sharedfiles/filedetails/?id=1844524972
  5. yes, this is a piece of the same cake.
  6. If the server has a low speed Internet connection, then, when trying to enter the server, the message "Failed to downlod map from server." is displayed. And there is no opportunity to go to the main menu. You can only go to the desktop.
  7. When generator was taken frome the ground, log record does not occur. It occurs when the generator is installed, when it is destroyed by a sledgehammer, or when the generator is moved into a container. But the action of taking the generator from the ground goes unnoticed. If you install the generator on the ground, then an entry appears in the log If you break the generator with a sledgehammer, then an entry appears in the log If you put the generator in a container and pick it up back, the following entries will appear in the log But nothing will be written to the log if you take the generator from the ground.
  8. https://map.projectzomboid.com/#5348x6037
×
×
  • Create New...