Jump to content

Gen II Egg species identifier (glitch/hacking related)


Recommended Posts

Posted

Was just playing around, and changing to my box 10 prompted this message:

  Reveal hidden contents

What my box 10 looks like in Pkhex (I compiled the latest one from your github) VS on emulator:

h3t5HDt.png

FNpUZx9.png

My box 10 actually contains 2 normal eggs, 1 shiny gyarados, and 4 Eggs named "gyarados",

that were actually a shiny gyarados that was transformed into Eggs via Arbitrary code execution (

)

so at this point, the 4 eggs are probably species: Egg, so that I can then change their species to whatever I want and hatch whatever shiny I want

(species ID is 0xFD, obtained from http://glitchcity.info/biglist.htm)

While technically not a naturally occurring glitch,

I imagine that via cloning and obtaining bad eggs, these may occur,

so at least treating 252 - 255 as bad eggs may help with handling them in the program.

Posted

To be honest:

With Rhydon, I explicitly did not support Gen I saves that had been modified via the use of glitches/out-of-bounds IDs. I do not think PKHeX should make any attempt to defend against user-corrupted saves in the specific case of Gen I/II (Gen VI/VII are a different story, of course). If using arbitrary code execution will cause errors like this, I don't think PKHeX has any obligation to resolve those errors -- the user can use arbitrary code execution to unscrew their save first.

Posted
  SciresM said:
To be honest:

With Rhydon, I explicitly did not support Gen I saves that had been modified via the use of glitches/out-of-bounds IDs. I do not think PKHeX should make any attempt to defend against user-corrupted saves in the specific case of Gen I/II (Gen VI/VII are a different story, of course). If using arbitrary code execution will cause errors like this, I don't think PKHeX has any obligation to resolve those errors -- the user can use arbitrary code execution to unscrew their save first.

Well, it's not that the pkhex and the save was unusable;

After the error prompt,

Everything else just works as normal.

To that extent I think you're right that people who can use arbitrary execution can always undo the mess they did,

And pkhex has no obligation to resolve these situations.

(I could just give me eggs a species in game, it'll probably bypass this)

As I'm using a version I compiled myself, perhaps handling out of bounds wasn't implemented yet.

(I assume it would have been, because other generations had sanity checks and bad egg recognition)

I was just bringing up the issue with my "eggs", and I'm okay with whatever decision that will be made to deal (or not deal) with these type of scenarios, before it happens in the future :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...