Optimization I version
Introduction
Intermediate version. Starting from 1.1.6, the new goal is to optimize the game code, as 1.1.4 showed that the problem of desynchronization and crashes cannot be ignored.
Among the many changes, one of the main ones is the removal of all DestroyTrigger() functions from the game code.
Changes
- The function DestroyTrigger() has been removed from the game code everywhere, as it can cause game crashes.
- Now, if a player exits the game, they will be moved to the last row in the table. Additionally, the entire row (name, status, role) will change color to dark gray.
- Random events will now occur slightly more frequently, and disabling them completely is now impossible (this used to happen before).
- Now, when a player exits the game, their "Game nickname" + "Real name" will be displayed. Example: Dr. Jaxon (Ytrec). Assuming the anonymous mod was used or Rename was used.
- Now, in the dead chat, the player's nickname will appear like this: "Game nickname" + "Real name". Example: Dr. Jaxon (Ytrec). Assuming the anonymous mod was used or Rename was used.
- The barrels on the Swagger ship are now spaced further apart from each other so that newcomers do not die from explosions due to ignorance.
- All barrels have been repainted red.
- The brown dwarf now deals more damage in the final event "black hole". Previously, the brown dwarf could not destroy stations.
Bugfixes
Common bugs:
- Fixed multiple bugs in the state table.
- Fixed a bug where the game could not end.
- The final game event now starts slightly later.
- Fixed a bug where the Android in the form of a map could press ESC and see the chat of the dead.
- Fixed a bug where the telepath did not get reselected when someone left the game at the beginning.