Soak crash

Rare Pleasure

Well-Known Member
Jan 16, 2016
196
153
Bought Soak from Dr Badger, upon use (Vagina or oral, same either way) immdiately causes the following error

Critical Error

A critical error has occurred. Please create a bug report on the forums here. Please include what you did before the error and a screen-shot or copy-paste of the error message below: Version: 0.69.420 -BACKER#1183 Message: e.combatContainer is null Stack: value@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:7459595 get@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:20491451 A@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:7559655 value@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:7562291 value@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:11627998 value@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:11628179 value@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:11626950 value@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:6545461 value/<@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:6543808 doClick@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:11458821 value/o<@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:11114377 s@https://www.fenoxo.com/play/TiTS/backer/main.443bd901.js:1:8031331
 

lowercase_donkey

Scientist
Apr 27, 2016
1,571
218
Oof. Need your take on this, @Fenoxo.

The CoC2 parser is receiving a lot of [target.cock] kind of things. However, it's not getting the arbitrary "target" that is in the function.

1643512358642.png

It's trying to find target from combat manager, where it doesn't exist.

Good news! We can use raw js, maybe string literals instead:
1643512212009.png
Bad news: the parser apparently uses some magic properties that aren't in the js.

Options as I see them are to put us in combat when you use soak and make the pc the target? Ugh.

Or rewrite all this with raw js.

edit: waiiiiit, this is all gated for pc only. I can just replace target with pc. We don't actually need this to be dynamic.