Users browsing this thread: 1 Guest(s)
Patch: Wilder Randomness

#15
Posts: 212
Threads: 1
Thanks Received: 11
Thanks Given: 2
Joined: Oct 2014
Reputation: 7
Status
None
Quote:If i remember correctly, the Auction House is a event. As long I know, no event opcode reads the coordinates of another NPCs. Please, can you give more information about how the NPCs movement interfere with the Auction House?

If i understood the script, it use flags to determinate if an item/esper is available. If the item is available, its uses the BD opcode to determinate if the item will be used in the auction. It is a 50% chance to skip the item for another one. I don't see where the NPCs movement/coordinates are used.

You are correct. The random number generator doesn't use NPCs to determine random numbers. What I'm saying is that the NPCs use the same random number generator as the Auction House to determine how they move. Thus, the NPCs in Jidoor affect the state of the RNG. For this reason, speedrunners are able to predict the items in the Auction House by looking at the NPCs in Jidoor.

The issue I was concerned about is, there are about 9 NPCs that walk around randomly in Jidoor, and they all take steps at approximately the same time. That means the RNG will get called approximately 9 times per step (more if an NPC walks into an obstacle) and will skip over many values. When players are searching for espers, they won't spend much time on the main Jidoor map... they'll probably re-enter the auction house as soon as they leave it. Thus, the state changes in the RNG are very predictable, and are likely to get trapped in a loop. If you advance the RNG 9 times every attempt and there are only 256 possible RNG states, then the shortest loop might be only 29 RNG states long. Since there's a 12.5% chance of getting an esper in the worst case scenario, if you randomize the RNG table, there's a 2% chance that the esper won't appear anywhere in that 29-state loop.

I know it sounds crazy but you actually encounter these kinds of patterns when you try to do RNG manipulation for a speedrun. Another example is the Lete River. For certain NPC RNG values, you can get only 2 battles on the river and save a lot of time. But for many of those RNG values, they're impossible or very difficult to get because the way the NPCs move, the generator will skip right over them.


Quote: I will test the Auction House when i have free time.
Don't worry about it, it was just an example of why you would want a balanced random number generator. FF6 isn't that complicated it's pretty unlikely that something like that would happen. Even if your RNG isn't perfectly random, it can't be worse than the RNG that FF6 already uses. Wink




https://github.com/abyssonym/beyondchaos
Beyond Chaos is a full-game randomizer for FF6.
Quote  



Messages In This Thread
Patch: Wilder Randomness - by HatZen08 - 01-20-2016, 08:31 AM
RE: Patch: Wilder Randomness - by madsiur - 01-20-2016, 03:25 PM
RE: Patch: Wilder Randomness - by Lockirby2 - 01-20-2016, 03:50 PM
RE: Patch: Wilder Randomness - by Catone - 01-20-2016, 05:11 PM
RE: Patch: Wilder Randomness - by Gi Nattak - 01-20-2016, 05:32 PM
RE: Patch: Wilder Randomness - by Catone - 01-20-2016, 06:28 PM
RE: Patch: Wilder Randomness - by Gi Nattak - 01-20-2016, 06:40 PM
RE: Patch: Wilder Randomness - by HatZen08 - 01-20-2016, 08:20 PM
RE: Patch: Wilder Randomness - by Lockirby2 - 01-20-2016, 10:27 PM
RE: Patch: Wilder Randomness - by Catone - 01-20-2016, 10:02 PM
RE: Patch: Wilder Randomness - by HatZen08 - 01-21-2016, 11:31 AM
RE: Patch: Wilder Randomness - by abyssonym - 01-21-2016, 12:34 PM
RE: Patch: Wilder Randomness - by Catone - 01-21-2016, 04:13 PM
RE: Patch: Wilder Randomness - by HatZen08 - 01-21-2016, 05:17 PM
RE: Patch: Wilder Randomness - by abyssonym - 01-21-2016, 08:32 PM
RE: Patch: Wilder Randomness - by Dev J - 04-28-2017, 11:14 PM
RE: Patch: Wilder Randomness - by HatZen08 - 04-30-2017, 09:41 AM
RE: Patch: Wilder Randomness - by Tenkarider - 04-30-2017, 01:57 PM
RE: Patch: Wilder Randomness - by Gi Nattak - 04-30-2017, 02:42 PM
RE: Patch: Wilder Randomness - by HatZen08 - 05-02-2017, 09:12 AM
RE: Patch: Wilder Randomness - by HatZen08 - 09-17-2017, 12:33 AM
RE: Patch: Wilder Randomness - by Dev J - 09-18-2017, 05:45 PM
RE: Patch: Wilder Randomness - by madsiur - 09-18-2017, 09:40 PM
RE: Patch: Wilder Randomness - by Dev J - 09-18-2017, 11:36 PM
RE: Patch: Wilder Randomness - by madsiur - 09-19-2017, 09:08 AM
RE: Patch: Wilder Randomness - by Gi Nattak - 07-08-2022, 01:47 PM
RE: Patch: Wilder Randomness - by Gi Nattak - 04-17-2024, 02:44 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite