benstreb / RPGme

Turning me into an RPG since 2013
GNU General Public License v3.0
0 stars 1 forks source link

Game glitch (lets you cheat) #21

Open ghost opened 10 years ago

ghost commented 10 years ago

Lets say you're in a battle. You attack the monster.

Then, before the monster has a chance to attack you back (in the short time period delay between attacks) you exit out of the app.

When you reload the app, you'll be back into the previous room before the monster, with the monster having received the damage from your attack. You basically got a free turn! You can kill monsters without even being damaged this way.

To solve this glitch, here is one possible approach: -Make another health variable for the monster. This only gets updated when a turn ends (i.e. both the player and the monster have attacked each other). The game should only save this health variable for the monster on save.

Also, another similar issue is if you killed the monster, but then exit the app before it gives you your reward (i.e. before the monster defeated popup shows). When you reload the app, the monster is gone from the map and you didn't get your reward.

It'd be good if everyone could try to think of other possible bugs introduced by exiting the app at inappropriate times.

PandaCodeMaster commented 10 years ago

Kevin I can take a look at this if you want.

ghost commented 10 years ago

OK. Keep in mind there's another issue, which is if you killed the monster, but then exit the app before it gives you a chance to give you your reward. When you reload the app, the monster is gone from the map and you didn't get your reward.

PandaCodeMaster commented 10 years ago

Are you doing the battle until run win die or can I pick that up too? On Nov 19, 2013 1:11 AM, "kkzz19" notifications@github.com wrote:

OK. Keep in mind there's another issue, which is if you killed the monster, but then exit the app before it gives you a chance to give you your reward. When you reload the app, the monster is gone from the map and you didn't get your reward.

— Reply to this email directly or view it on GitHubhttps://github.com/benstreb/RPGme/issues/21#issuecomment-28768399 .

ghost commented 10 years ago

The battle until run win die is done already. Here's what I have done:

-Cleaned up formatting in Shop/Inventory
-Back button now acts similar to home button
-Battle is now fight until death/run
-Question mark rooms implemented
-Equipment in dungeon grid now scales properly

I also did the back button thing before you did, but our things didn't conflict. I had the back button just minimize the app, so your thing wouldn't make a difference.

PandaCodeMaster commented 10 years ago

Hey it said you fixed some equipment bugs, what were those?

On Tue, Nov 19, 2013 at 1:14 AM, kkzz19 notifications@github.com wrote:

It's done already. Here's what I have done:

-Cleaned up formatting in Shop/Inventory -Back button now acts similar to home button -Battle is now fight until death/run -Question mark rooms implemented -Equipment in dungeon grid now scales properly

I also did the back button thing before you did, but our things didn't conflict. I had the back button just minimize the app, so your thing wouldn't make a difference.

— Reply to this email directly or view it on GitHubhttps://github.com/benstreb/RPGme/issues/21#issuecomment-28768489 .

PandaCodeMaster commented 10 years ago

nvm I figured it out. I was about to go and fix those, good thing I git pulled.

On Tue, Nov 19, 2013 at 3:51 AM, Drew Wright pandacodemaster@gmail.comwrote:

Hey it said you fixed some equipment bugs, what were those?

On Tue, Nov 19, 2013 at 1:14 AM, kkzz19 notifications@github.com wrote:

It's done already. Here's what I have done:

-Cleaned up formatting in Shop/Inventory -Back button now acts similar to home button -Battle is now fight until death/run -Question mark rooms implemented -Equipment in dungeon grid now scales properly

I also did the back button thing before you did, but our things didn't conflict. I had the back button just minimize the app, so your thing wouldn't make a difference.

— Reply to this email directly or view it on GitHubhttps://github.com/benstreb/RPGme/issues/21#issuecomment-28768489 .