{"action":"opened","issue":{"url":"https://api.github.com/repos/Loathing-Associates-Scripting-Society/sl_ascend/issues/71","repository_url":"https://api.github.com/repos/Loathing-Associates-Scripting-Society/sl_ascend","labels_url":"https://api.github.com/repos/Loathing-Associates-Scripting-Society/sl_ascend/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/Loathing-Associates-Scripting-Society/sl_ascend/issues/71/comments","events_url":"https://api.github.com/repos/Loathing-Associates-Scripting-Society/sl_ascend/issues/71/events","html_url":"https://github.com/Loathing-Associates-Scripting-Society/sl_ascend/issues/71","id":495817239,"node_id":"MDU6SXNzdWU0OTU4MTcyMzk=","number":71,"title":"woven baling wire bracelets infinite loop and other issues","user":{"login":"macgregor","id":2407678,"node_id":"MDQ6VXNlcjI0MDc2Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/2407678?v=4","gravatar_id":"","url":"https://api.github.com/users/macgregor","html_url":"https://github.com/macgregor","followers_url":"https://api.github.com/users/macgregor/followers","following_url":"https://api.github.com/users/macgregor/following{/other_user}","gists_url":"https://api.github.com/users/macgregor/gists{/gist_id}","starred_url":"https://api.github.com/users/macgregor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macgregor/subscriptions","organizations_url":"https://api.github.com/users/macgregor/orgs","repos_url":"https://api.github.com/users/macgregor/repos","events_url":"https://api.github.com/users/macgregor/events{/privacy}","received_events_url":"https://api.github.com/users/macgregor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-19T13:57:31Z","updated_at":"2019-09-19T13:57:31Z","closed_at":null,"author_association":"NONE","body":"<a href=\"https://github.com/taltamir\"><img src=\"https://avatars1.githubusercontent.com/u/7625366?v=4\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [taltamir](https://github.com/taltamir)**\n_Friday Aug 23, 2019 at 04:04 GMT_\n_Originally opened as https://github.com/soolar/sl_ascend/issues/328_\n\n----\n\nI occasionally get an infinite loop where sl_ascend will equip then replace woven baling wire bracelets repeatedly.\r\n\r\nThe infinite loop form:\r\n\r\n```\r\nEncounter: Dr. Gordon Stuart, a Scientist\r\n\r\n[872] Dr. Gordon Stuart's Science Tent\r\nEncounter: Eldritch Tentacle named Ggggrrggllblglssssbrghbrgh\r\nRound 0: taltamir wins initiative!\r\nRound 1: You lose 1 hit point\r\nRound 1: You lose 6 hit points\r\nslAdvBypass has encountered a combat! (param: 'sl_combatHandler')\r\nRound 1: taltamir executes a macro!\r\nKoLmafia thinks it is round 2 but KoL thinks it is round 1\r\nYou're on your own, partner.\r\nClick here to continue in the relay browser.\r\n\r\nRound 1: taltamir casts SAUCEGEYSER!\r\nRound 2: Eldritch Tentacle takes 85 damage.\r\nRound 2: Eldritch Tentacle takes 10 damage.\r\nRound 2: Bubediah pulls out a tiny bowling ball and hurls it at your opponent, striking it for 6 damage.\r\nRound 2: Eldritch Tentacle takes 6 damage.\r\nRound 2: You lose 34 hit points\r\nRound 2: taltamir casts SAUCEGEYSER!\r\nRound 3: Eldritch Tentacle takes 85 damage.\r\nRound 3: Eldritch Tentacle takes 11 damage.\r\nRound 3: Bubediah pulls out a tiny bowling ball and hurls it at your opponent, striking it for 5 damage.\r\nRound 3: Eldritch Tentacle takes 5 damage.\r\nRound 3: taltamir wins the fight!\r\nAfter Battle: You look to the sky just in time to catch a glimpse of a falling star. Lucky! Well, not really lucky, because you totally knew it was going to be there.\r\nAfter Battle: Some extra meat has appeared in your pouch when you weren't looking. Presumably Mysterious Glitter's doing.\r\nYou gain 13 Meat.\r\nAfter Battle: Bubediah stomps around in a circle, its buckles jingling.\r\nYou acquire an item: eldritch effluvium\r\nYou acquire an item: eldritch effluvium\r\nAfter Battle: You gain 31 Strengthliness\r\nAfter Battle: You gain 79 Wizardliness\r\nAfter Battle: You gain 42 Smarm\r\nThis combat did not cost a turn\r\nYou acquire an effect: Soulerskates (10)\r\nSoul Rotation was successfully cast.\r\nYou gain 150 Mana Points\r\nSoul Food was successfully cast.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nEquipment changed.\r\nPutting on bejeweled pledge pin...\r\nEquipment changed.\r\nPutting on woven baling wire bracelets...\r\nKoLmafia declares world peace.\r\nEquipment changed.\r\n```\r\n\r\nWhat happened here is, it started tent tentacle fight, didn't know what to do, so i manually killed it. then it tried to do after combat script, switching back and forth between pledge pin and the bracelets (because the bracelets give discount on casting spells I think), Then I manually aborted via esc key\r\n\r\nThere is also the repeat loop that is not infinite when it does something like\r\n\r\n```\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Rage of the Reindeer\r\nYou acquire an effect: Rage of the Reindeer (10)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Spiky Shell\r\nYou acquire an effect: Spiky Shell (5)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Scarysauce\r\nYou acquire an effect: Scarysauce (5)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Jalapeño Saucesphere\r\nYou acquire an effect: Jalape&ntilde;o Saucesphere (5)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Ghostly Shell\r\nYou acquire an effect: Ghostly Shell (5)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Walberg's Dim Bulb\r\nYou acquire an effect: Walberg's Dim Bulb (10)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Springy Fusilli\r\nYou acquire an effect: Springy Fusilli (10)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Blubber Up\r\nYou acquire an effect: Blubbered Up (10)\r\n\r\nequip acc3 FantasyRealm G. E. M.\r\n\r\nequip acc3 woven baling wire bracelets\r\n\r\ncast 1 Tenacity of the Snapper\r\nYou acquire an effect: Tenacity of the Snapper (5)\r\n```\r\nWhere it repeatedly does:\r\nequip baling wire bracelet\r\ncast buff\r\nunequip baling wire bracelet\r\nrepeat to cast multiple buffs.\r\n\r\nIt should instead switch to the bracelet, cast all the buffs it wants at once, then equip the next thing.\r\n\r\nSometimes it goes back and forth 3-4 times before deciding to cast the buff\n"}}
{"actor":{"display_login":"macgregor"}}