Skip to content

Comments

Switch room status checks to RoomIntel#210

Closed
tiennou wants to merge 4 commits intobencbartlett:devfrom
tiennou:fix/room-status
Closed

Switch room status checks to RoomIntel#210
tiennou wants to merge 4 commits intobencbartlett:devfrom
tiennou:fix/room-status

Conversation

@tiennou
Copy link

@tiennou tiennou commented Feb 2, 2024

Pull request summary

Description:

This changes all of the deprecated uses of Game.map.isRoomAvailable to go through RoomIntel.getRoomStatus, which handles caching already, which could have a performance effect since it's costly to check.

Testing checklist:

  • Changes are backward-compatible
  • Codebase compiles with current tsconfig configuration
  • Tested changes on private server

This switches to Node 20, updates most dependencies to their latest
version, and moves the obfuscator config to its own file.

Also included is the script I wrote to rewrite a branch into a version
that doesn't have the two hidden files in it.
@bencbartlett
Copy link
Owner

Oh sorry I actually just made an equivalent set of changes here a couple of minutes ago: 0e23a85

@tiennou tiennou deleted the fix/room-status branch February 5, 2024 16:37
@tiennou
Copy link
Author

tiennou commented Feb 5, 2024

Fair. #191 can be closed as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants