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

infinite loop in KOHLS #73

Closed
macgregor opened this issue Sep 19, 2019 · 0 comments
Closed

infinite loop in KOHLS #73

macgregor opened this issue Sep 19, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@macgregor
Copy link
Contributor

Issue by taltamir
Wednesday Sep 04, 2019 at 04:42 GMT
Originally opened as soolar/sl_ascend#341


in KOHLS you are must spend 40 turns in high school before anything else is allowed to be done that day. Free fights are an exception. As a result if you try to run this sl_ascend in KOHLS without manually doing those 40 turns in school it will result in an infinite loop. for example for me it managed to do some free fights and then got into an infinite loop of trying to go to bandit crossroads

[538] The Bandit Crossroads
Encounter:
Nothing more to do here.

Turn(537): Starting with 80 left and 20 pulls left at Level: 14
Encounter: -15.0 Exp Bonus: 20.55
Meat Drop: 255.0 Item Drop: 275.0
HP: 691/730, MP: 2065/2113
Tummy: 0/15 Liver: 0/20 Spleen: 0/15
ML: 0 control: 0
Delay between adventures... beep boop...
Countdown: 1 second...
Waiting completed.

Starting preadventure script...
Maximizing: 5item,meat,0.5initiative,0.1da 1000max,dr,0.5all res,1.5mainstat,mox,-fumble,0.4hp,0.2mp 1000max,3mp regen,0.25spell damage,1.75spell damage percent,2familiar weight,5familiar exp,-equip hewn moon-rune spoon,-equip makeshift garbage shirt,-equip broken champagne bottle,-equip Snow Suit,+equip FantasyRealm G. E. M.
Maximizing...
48 combinations checked, best score 5,136.56
Checkpoints cleared.
Burning 5 MP...
Pre Adventure at The Bandit Crossroads done, beep.

Visit to FantasyRealm: The Bandit Crossroads in progress...

[538] The Bandit Crossroads
Encounter:
Nothing more to do here.

The above repeats infinitely. The "nothing more to do here." is actually

Ol' Mr. Jenkins steps out of his house (he lives just across the way, naturally) and shakes his fist at you. "Damn kids! Get back to school!" he shouts. You should probably head off to school before you give him a coronary.

@macgregor macgregor added the bug Something isn't working label Sep 27, 2019
@taltamir taltamir mentioned this issue Oct 29, 2020
4 tasks
taltamir added a commit that referenced this issue Nov 11, 2020
* kolhs initial support
* special diet support
** try to rush to level 9 early via free combats for the better combat drink drops
* handling for choice adv 700 [Delirium in the Cafeterium]. KOLHS 22nd adventure every day
* basic adventuring in school
* yearbook camera sidequest
* boolean kolhs_mandatorySchool() created and used
** fixed trying to get logging hatchet on turn 1 of the run and getting stuck in infinite loop
* hats are forbidden in high school
* fix canDrink not identifying stepmom's booze and fountain 'soda'
* changes to generic_t zone_delay(location loc) for the purpose of recognizing the kolhs zones as delay zones
* fix steel margarita drinking for kolhs
* do not abort for too many adventures spent in school
* small cleanup of convoluted code for adventureFailureHandler(). also comments
* only steam powered cheerleader is valid for 100% fam run in kolhs
* kolhs can not take familiar >10 lbs base weight into school

Fixes #72
Fixes #73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants