Coder Social home page Coder Social logo

Comments (26)

TalicZealot avatar TalicZealot commented on September 3, 2024

The tracker makes no assumptions other than reading locks, so this must be a bug. Will look into it.

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Since at this point this is a straight up romhack not just a randomizer I can't dynamically generate out of logic locks or it will break something like Force of Echo. I will have to turn off ool display for non-native presets. Unless you encode that into the preset with another array. I guess I can support both options. Native presets will use Speedrun as a base for ool checks, non native presets will clear ool and accept an optional array with the key "lockLocationAllowed".

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

Are we talking about something like this?

{
"location": "Ghost Card",
"comment": "Requires flight",
"locks": [
"Soul of Bat",
"Gravity Boots + Leap Stone",
"Form of Mist + Power of Mist"
],
"lockLocationAllowed": [
"Leap Stone"
]
}

Where the "out of logic" possibility is provided outright? If so, I can definitely provide that. The only assurance we need is that something like this demonstrate that layer zero be accepted as something similar to this:

, {
"location": "Mormegil",
"comment": "Require's at least Leap Stone",
"locks": [
"Leap Stone",
"Gravity Boots",
"Soul of Bat",
"Form of Mist + Power of Mist"
],
"escapeRequires": [
"Soul of Bat",
"Leap Stone",
"Gravity Boots",
"Form of Mist + Power of Mist"
],
"lockLocationAllowed": [

]

}

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

No no no, exact same thing as the existing lockLocation array, except those locks would be the allowed out-of-logic checks and ignored by the randomizer.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

OK, so a separate array that is ignored by the randomizer and identifies what the out of logic for each check would be. That's a great idea.

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Yes. The way I do allowed checks is by simply parsing the speedrun preset, which works for all non-romhacky presets. In fact that's why speedrun contains all locations even though it uses guarded.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

Let me throw something together and I'll attach the new file.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

If the minimum requirement for the check means that there is no out-of-logic, do I just leave the logic the same as in the "lockLocation" list?

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

I would leave it blank, but it would have the same effect.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

aperture.json

This has the "lockLocationAllowed" section at the bottom. It should be noted that Granfaloon is out of logic with 0 relics in this preset. I left the requirements that were HARD required for each new check where they are in the normal list in case that helps.

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Can you send over a ppf so that I can do some testing.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

Aperture-PlatinumLeviathan48.zip

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Why did you add Holy Glasses to all the allowed checks in 1st castle? Other than that it seems to work as intended.

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

By the way this branch was meant to be used with open, in my testing it worked fine. https://github.com/TalicZealot/SotN-Randomizer/tree/randomize-starting-location

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Added in 1.6.3

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

Why did you add Holy Glasses to all the allowed checks in 1st castle? Other than that it seems to work as intended.

I might have been hungry and not paid attention. Do I need to send an updated file?

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

It's live so you can test it locally.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

I just loaded a seed and it's pulling the incorrect logic for Demon Card, Leap Stone, Form of Mist, and Merman Statue. They should be in logic at layer 0. Mormegil is out of Logic at Layer 0 and that is correct.
image

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

Would it help if I outright removed new layer 0 checks in the Allowed section?

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

I would have to see the preset file.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

aperture.json

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Oh they are missing completely, yes add them to "lockLocation" with an empty lock. Like we discssed here #32 (comment)

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

They're already added there.
image

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

I see what's going on, gonna patch it.

from sotnrandotools.

TalicZealot avatar TalicZealot commented on September 3, 2024

Ok this should be it this time.

from sotnrandotools.

eldri7ch avatar eldri7ch commented on September 3, 2024

Thanks! Works great!

from sotnrandotools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.