Overmind icon indicating copy to clipboard operation
Overmind copied to clipboard

Upcoming deprecation: Game.map.isRoomAvailable causing console spam

Open farfromunique opened this issue 5 years ago • 1 comments

Issue summary

Frequently, after leaving bootstrap mode, this message is shown in the console: Method Game.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatus instead.

Description of issue:

Once a colony leaves bootstrap mode and creeps start leaving the room, the message Method Game.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatus instead. is shown frequently in the console.

Steps to reproduce:

Start a new colony with the current release (0.5.2.1) of Overmind as the only active script. Wait, and watch the console. Note: Only tested on a private server, version 4.1.7.

Error message:

Method Game.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatus instead.

Other information:

  • Overmind version: 0.5.2
    • Commit hash: a218e910c62dcd1e012d9caf5886e91ebf52bf21

farfromunique avatar Aug 02 '20 10:08 farfromunique

Same for public screeps server

JBtje avatar Aug 27 '20 20:08 JBtje