bencbartlett / Overmind

AI for Screeps, a multiplayer programming strategy game
MIT License
545 stars 155 forks source link

Upcoming deprecation: Game.map.isRoomAvailable causing console spam #182

Open farfromunique opened 4 years ago

farfromunique commented 4 years ago

Issue summary

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

Description of issue:

Once a colony leaves bootstrap mode and creeps start leaving the room, the message MethodGame.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatusinstead. 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:

MethodGame.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatusinstead.

Other information:

JBtje commented 4 years ago

Same for public screeps server