Steemnova is a text-based browser game, forked from 2moons, an open source OGame clone.
Bug Fixes
- What was the issue(s)?
- There was a string displayed in the galaxy page, which did not belong there, because it referenced a ship, which got removed from the game some time ago. It is described more detailed in the second half of this bug report.
- There were some no longer existing ships mentioned in a battle simulation. Again you can visit that bug report in order to read about it more detailed.
- What was the solution?
Describe briefly how you fixed the issue(s).
In order to fix that issue, I had to remove the part in the
styles/templates/game/page.galaxy.default.tplfile, that names the non existant ship. I also made the other items in that row an appropriate size again.
Screenshot of the aforementioned changes. Click on it to view it in Github.
In order to have no unused variables in the program, I removed it in theincludes/pages/game/ShowGalaxyPage.class.phpfile.
Screenshot of the aforementioned change. Click on it to view it in Github.In order to fix this I removed the part, that passed the number of the needed removed ships in order to transport the debris/resources.
Screenshot of the aforementioned changes. Click on it to view it in Github.
Additionally I had to remove the part, that mentions these ships in every language. This change was in theINGAME.phpfile of the language.
These changes looked like this:
There was another tiny change suggested in this post. I simply changed the string, like he suggested it.
Posted on Utopian.io - Rewarding Open Source Contributors