Flugschwein avatar

Steemnova - a few fixed bugs

flugschwein

Published: 17 Apr 2018 › Updated: 17 Apr 2018Steemnova - a few fixed bugs

Steemnova - a few fixed bugs

Steemnova is a text-based browser game, forked from 2moons, an open source OGame clone.

Bug Fixes

  • What was the issue(s)?
  1. 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.
  2. 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).
  1. In order to fix that issue, I had to remove the part in the styles/templates/game/page.galaxy.default.tpl file, that names the non existant ship. I also made the other items in that row an appropriate size again.
    Screenshot of the changes.
    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 the includes/pages/game/ShowGalaxyPage.class.php file.
    image.png
    Screenshot of the aforementioned change. Click on it to view it in Github.

  2. 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.
    image.png
    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 the INGAME.php file of the language.
    These changes looked like this:
    image.png

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

Leave Steemnova - a few fixed bugs to:

Written by

Austrian Teenager & Musician

Read more #utopian-io posts


Best Posts From Flugschwein

We have not curated any of flugschwein's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Flugschwein