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)?
- 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
Leave Steemnova - a few fixed bugs to:
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
- Numbers for the upcoming Hardfork
- My chipadvisor results
- Mein Steem Geburtstag - My Steem Birthday
- Beem 0.20.10 - Fixing lots of documentation syntax errors and typos
- Your Vote Value got a lot higher after HF20? Here's why!
- Which witnesses could be interesting for me?
- Beem 0.19.55 - 3 new functions for SBD to rshares/vote_pct calculations
- Beem 0.19.54 - Optimizing vote value calculations
- UserAuthority (UA), @steem-ua und UA-API – Deutsche Übersetzung
- Beem 0.19.52 - calculation error in vests_to_rshares