Abstrct / Schemaverse

The Schemaverse is a space-based strategy game implemented entirely within a PostgreSQL database. Compete against other players using raw SQL commands to command your fleet. Or, if your PL/pgSQL-foo is strong, wield it to write AI and have your fleet command itself!

Home Page:schemaverse.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too many planets

Abstrct opened this issue · comments

New planets are being discovered far too close to other planets. Even when ships are not moving new planets continue to be found, usually on the exact same coordinates as previous planets.

This likely stems to a problem in the function DISCOVER_PLANET().

Latest commit added some minor fixes to try and resolve this (making the likelihood of a new planet less likely). The bug itself that allows for the planet to still be created if it is too close to other planets is still in the code somewhere.

Fixed a lot more bugs in discover_planet but it needs more testing.

Planet system has been completely redone making this issue no longer relevant