Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomize + Customize no longer downloads and applies IPS #97

Merged
merged 2 commits into from
Sep 9, 2022

Conversation

chriscauley
Copy link
Collaborator

The way the diff is represented is a little confusing. Basically I:

  • Pulled all the code involving applying the IPS and moved it into a new function applyIpsAndDownload (unfortunately because that was a longer passage than the first few lines of AjaxRandomizerCallComplete, it looks like I moved those lines instead)
  • Only call that function if data['ips'] is true
  • Remove data['ips'] on the backend if the frontend sent wantsCustomize=true

@chriscauley
Copy link
Collaborator Author

I updated this to show any errors from the randomize step on the customize page after redirect.

  • Add ?msg=put anything here to the customize url and you'll get a message
  • Turn on scavenger and turn off varia hud to get a "varia hud forced to on" message
  • I then added "asdf" to the seed key to make sure the query string msg plays nice with the msg from python:

image

@theonlydude theonlydude merged commit 2b8a4f8 into theonlydude:master Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants