Jump to content
Sign in to follow this  
TetsuyaHikari

How to make an event stop repeating after opening the Main Menu and starting a new game?

Recommended Posts

Alright, so it seems someone encountered an exploit in my project recently and I was hoping someone could help me figure out exactly how to stop it. When you start a new game, you are given a short intro, then you take one step forward and you're allowed to create your characters. Once this takes place, you are given 10 bonus points to spend to get you started. Once you distribute those points, you can't get any more.

However, if you edit that character, the points will still be there and you can re-distribute them to different stats if you want, otherwise they will remain in whatever you put them in originally. Point is, the event checks to see if it's your first time creating the character. If it is, you get 10 points, if it isn't, you get 0 points. Something rather odd happened earlier today though.

Someone reported a bug to me by showing a screenshot of them having 20 bonus points. They said they did this by making a mistake with the character creation process, so they opened the menu, then returned to the Title/Main Menu and started a new game. When they came back to the character creation process, the game was giving them 10 points again (on top of the 10 previous points), so they were able to constantly get an additional 10 points if they just exited to the Title/Main Menu and kept starting up a new game.

Now, I've never known an event to continue running like this (sure, events continue from a load state, but I've never seen this before), so I was hoping someone could explain to me how I can prevent this from happening.

What I'm trying to accomplish:

A. The player should only be allowed to obtain the 10 bonus points the first time they create their character

 

B. Should they return back to the Title/Main Menu, for whatever reason, after distributing said points, the event should restart from the beginning and assume they've never played before since they're clicking New Game, so they shouldn't get an additional 10 points when they reach the character creation process (again)

Share this post


Link to post
Share on other sites

Well, assuming your character creation process is done through eventing and not a script, I'd imagine you could just examine your event and assess what went wrong. Are you using loops and labels?

Share this post


Link to post
Share on other sites

This thread is closed, due to being solved. If for some reason you would like to re-open this thread, just send me a PM. (=

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted