MiscChaos

Newbie
Oct 23, 2017
21
8
Bug: There's something wrong with pregnancy in general. Ever since I started the "Last of the Line" beginning with Hyper Fertility as the taint, everyone who's gotten pregnant across any of my saves have given birth almost instantly. To the point I usually don't see the pregnant image on most of them and only know when my PC is pregnant when she gives birth either the next passage or a few passages later. Alex the Gladiator in particular is badly affected since she's now in a weird state of having given birth to my child, but still pregnant so she can't participate in the Arena anymore. Only exceptions seems to be Percy and Avee, who's just eternally pregnant instead (though Avee seems to slip in and out of using the pregnant image), and gobWife who it says has gotten pregnant every time I lay with her, but nothing really happens one way or the other. I will also note that most of this damage I'm describing is on a character I made before doing the Elf since the Elf was a test to see if The Frog had gender-gated content like the goblins in the flophouse seem to
 

Skalli

Member
Nov 1, 2017
133
157
Of course i dont know how QSP works but this kind of thing typically is caused by poor coding practices like using global variables, not compartmentalizing or abstracting things. Sphagetti code.

For now it seems like the Twine version is more bugged and more obviously so. Godspeed snek we'll get em squashed.
Really, it's not about global variables or developer skill. The QSP editor literally removes some tags randomly in the project when saving, breaking unrelated files. I'm not sure if it could be reduced with version control and check the diffs before committing the changes, but it's pretty bad and annoying, very noticeable in bigger projects.

Okay, to reiterate for the n2*100th time here is the sweet and simple rocket man version for the fuckwits that can't keep up to the best of my knowledge (Going with my personal experience fucking around with both engines over the years):

QSP = niche engine not actively being developed (even with community versions), broken ass mess the more things get added into a game and the more complex a game built on the engine gets, takes time to learn a lot of the ins and outs considering the amount of bugs it has, less friendly to fix game files/keep track of things when being worked on by 1 person and the odd person here and there that can help fix the code for the currently worked on game.

Twine = has longer end of life support/still being worked on, more intuitive way to keep track of variables, easier to pick up for even the average laymen (with the exception of some devs/users that intentionally make their strings harder to edit), easier to fix something in less time, easier to work with for only 1 dev and the odd person here and there that wants to help fix bugs.

Is there anything I missed that wasn't readily apperent?
I would agree to that.
Both have the problem that you can only find most bugs when testing, so if you have a big game with many branching code paths, it becomes pretty hard to test alone.
 
  • Like
Reactions: PsyTurtle

KaitoKuro

Newbie
Sep 15, 2020
40
4
Here's a fixed & modded twine version of 0.8.3.
Includes html and a changelog of what I thought were fixes as well as what was modded in. (Only fixed things I encountered)
Make a backup of your save just in case before starting.
Move html file to same location as base game html and enjoy.

Notable Modded Content: Children you birth/hatch can now be raised to be allies. (Hatchable: Lizardfolk Egg, Kobold Egg).

**Updates to this modded content aren't guaranteed!**
 
Last edited:

KaitoKuro

Newbie
Sep 15, 2020
40
4
Bug: There's something wrong with pregnancy in general. Ever since I started the "Last of the Line" beginning with Hyper Fertility as the taint, everyone who's gotten pregnant across any of my saves have given birth almost instantly. To the point I usually don't see the pregnant image on most of them and only know when my PC is pregnant when she gives birth either the next passage or a few passages later. Alex the Gladiator in particular is badly affected since she's now in a weird state of having given birth to my child, but still pregnant so she can't participate in the Arena anymore. Only exceptions seems to be Percy and Avee, who's just eternally pregnant instead (though Avee seems to slip in and out of using the pregnant image), and gobWife who it says has gotten pregnant every time I lay with her, but nothing really happens one way or the other. I will also note that most of this damage I'm describing is on a character I made before doing the Elf since the Elf was a test to see if The Frog had gender-gated content like the goblins in the flophouse seem to
-Did you accidentally set Pregnancy Duration to 0? All NPC in twine base html all share the $gestationtime for their pregnancy timer.

-Alex the Gladiator has a bad if statement, it should be (ignore brackets) [ if $pregnantAlex ] or even [ if $pregnantAlex gt 0 ] instead of [ if $pregnantAlex gte 0 ].

- Percy has no pregnancy decrement counter nor birthing (just checked, gotta add it to my edited html).
- Avee does give birth, its the same as Alex the Gladiator where the if statments aren't great due to null equaling 0. Therefore she still looks and says she's pregnant but not really.
- GobWife has her $sexname set to first instead of herself for her scene.
 

MiscChaos

Newbie
Oct 23, 2017
21
8
-Did you accidentally set Pregnancy Duration to 0? All NPC in twine base html all share the $gestationtime for their pregnancy timer.

-Alex the Gladiator has a bad if statement, it should be (ignore brackets) [ if $pregnantAlex ] or even [ if $pregnantAlex gt 0 ] instead of [ if $pregnantAlex gte 0 ].

- Percy has no pregnancy decrement counter nor birthing (just checked, gotta add it to my edited html).
- Avee does give birth, its the same as Alex the Gladiator where the if statments aren't great due to null equaling 0. Therefore she still looks and says she's pregnant but not really.
- GobWife has her $sexname set to first instead of herself for her scene.
- I personally haven't touched the Pregnancy Duration at all. With that information though, I'm going to create a new character real quick and make thoroughly sure that it has the default settings. Last time, I just breezed through it because I assumed it'd keep the default. Edit: Nope, I created a Goblin character, make sure the default was set so it should've taken 30 days for her to give birth. Had her jump a Lizard to check and the very next passage, she gave birth. Went to a previous save and knocked up Alex real quick. She gave birth in the time it took for me to go backstage to check on her. So at least I know the Alex fix works

- Thanks for the information! I'll edit Alex and Avee in my version ASAP

-I noticed GobWife's issue myself and already changed it to gobWife

Bug: The Curse of Futa doesn't currently work as intended. You'll gain a 1 incher, but that's it despite the curse supposed to grow you to 7 inches. Adding <<set $penis +=1>> to the curse fixed that for me
 
Last edited:

KaitoKuro

Newbie
Sep 15, 2020
40
4
- I personally haven't touched the Pregnancy Duration at all. With that information though, I'm going to create a new character real quick and make thoroughly sure that it has the default settings. Last time, I just breezed through it because I assumed it'd keep the default. Edit: Nope, I created a Goblin character, make sure the default was set so it should've taken 30 days for her to give birth. Had her jump a Lizard to check and the very next passage, she gave birth. Went to a previous save and knocked up Alex real quick. She gave birth in the time it took for me to go backstage to check on her. So at least I know the Alex fix works

- Thanks for the information! I'll edit Alex and Avee in my version ASAP

-I noticed GobWife's issue myself and already changed it to gobWife
Hmm, it should only update your pregnancy/birth scene when an hour has passed or if chosen to give birth with less than 24hrs left to your pregnancy timer. You can check the save file (I often use the saveeditonline site to check variables already made) for pregnancyduration and gestationtime, if its 0 or null then that's the cause and if not then it's possible the pregnancyProgress is increased too high during an set statement.

I'll create a character right now but I'm assuming your using the base html? If not, then it could also be an edit that causing an issue?
 

MiscChaos

Newbie
Oct 23, 2017
21
8
Hmm, it should only update your pregnancy/birth scene when an hour has passed or if chosen to give birth with less than 24hrs left to your pregnancy timer. You can check the save file (I often use the saveeditonline site to check variables already made) for pregnancyduration and gestationtime, if its 0 or null then that's the cause and if not then it's possible the pregnancyProgress is increased too high during an set statement.

I'll create a character right now but I'm assuming your using the base html? If not, then it could also be an edit that causing an issue?
I'm not using the base, but I also haven't added any new variables. The only things I change are bugfixes. Adding <p> to areas missing it, adding in the fixes you mentioned above, fixing the curse of futa, things of that nature. I also initialized $loversFrog since that wasn't activating otherwise, but I edited that out as soon as it had a value. I edit the html in VSCode, but I'll definitely run the save through saveeditonline to see what that shows

Edit: Checked it in saveeditonline and yup, something screwy is happening. gestationtime is -10. I have no idea how that happened since I haven't touched that
Edit2: OK, yeah, something's screwy. On a brand new save, gestationtime is 0. I'm guessing the broodmother perk you get from the shaman is what's making it -10, but I have no idea what's making it 0 from the get go
 
Last edited:

KaitoKuro

Newbie
Sep 15, 2020
40
4
I'm not using the base, but I also haven't added any new variables. The only things I change are bugfixes. Adding <p> to areas missing it, adding in the fixes you mentioned above, fixing the curse of futa, things of that nature. I also initialized $loversFrog since that wasn't activating otherwise, but I edited that out as soon as it had a value. I edit the html in VSCode, but I'll definitely run the save through saveeditonline to see what that shows

Edit: Checked it in saveeditonline and yup, something screwy is happening. gestationtime is -10. I have no idea how that happened since I haven't touched that
Its the same issue with Alex and Avee, it's $pregnancymod being set to null when using the [ Reset ] button when setting Pregnancy Duration. The comparison gte and lte will result to true when comparing null to 0 as null is 0 when coverted to interger (to compare).
For the code for [ Reset ] button, you can use (ignore bracket) [ unset $pregnancymod ] instead of [ set $pregnancymod to null ].

[unset variable] will set it to undefine, therefore not passing the variable gte 0 comparison. Also, goblins iirc start with a gestationtime -= 10 so with gestationtime intially 0 became -10.
 

MiscChaos

Newbie
Oct 23, 2017
21
8
Its the same issue with Alex and Avee, it's $pregnancymod being set to null when using the [ Reset ] button when setting Pregnancy Duration. The comparison gte and lte will result to true when comparing null to 0 as null is 0 when coverted to interger (to compare).
For the code for [ Reset ] button, you can use (ignore bracket) [ unset $pregnancymod ] instead of [ set $pregnancymod to null ].

[unset variable] will set it to undefine, therefore not passing the variable gte 0 comparison. Also, goblins iirc start with a gestationtime -= 10 so with gestationtime intially 0 became -10.
Oh no, the gestationtime -10 was in my Holstaur run, so something screwy was going on there. I'll pop your suggestions in and report back on that. I was just about to turn [$pregnancymod gte 0] into just gt 0 since it'd still check the null if it was gte
 

KaitoKuro

Newbie
Sep 15, 2020
40
4
Oh no, the gestationtime -10 was in my Holstaur run, so something screwy was going on there. I'll pop your suggestions in and report back on that. I was just about to turn [$pregnancymod gte 0] into just gt 0 since it'd still check the null if it was gte
When you meet the goblin shaman at the caves, she'll give you a mutation. The mutation reduces the gestationtime -= 10 as well, goblins just start with iirc... unless they stack?
If you already have a run and it has that pregnancy issue, save editing the gestationtime and pregnancyduration to the correct race values (-10 if met shaman or goblin) will save your run unless other issues.
 

MiscChaos

Newbie
Oct 23, 2017
21
8
When you meet the goblin shaman at the caves, she'll give you a mutation. The mutation reduces the gestationtime -= 10 as well, goblins just start with iirc... unless they stack?
If you already have a run and it has that pregnancy issue, save editing the gestationtime and pregnancyduration to the correct race values (-10 if met shaman or goblin) will save your run unless other issues.
Setting $pregnancymod to gt 0 for gestationtime seems to have done the trick. Unsetting $pregnancymod works too, but it doesn't show the values you're supposed to have when you hit reset. Like it doesn't show "Goblins will take 30 days" and so on. The thing I'm trying to figure out now is $favor since I noticed after starting over so many times that the +5 you're supposed to get from picking which God/Goddess favors you isn't kicking in. Nevermind, it was just for greenwich and that was because it was spelled "greenwitch" in $favors
 
Last edited:

KaitoKuro

Newbie
Sep 15, 2020
40
4
Setting $pregnancymod to gt 0 for gestationtime seems to have done the trick. Unsetting $pregnancymod works too, but it doesn't show the values you're supposed to have when you hit reset. Like it doesn't show "Goblins will take 30 days" and so on. The thing I'm trying to figure out now is $favor since I noticed after starting over so many times that the +5 you're supposed to get from picking which God/Goddess favors you isn't kicking in.
Favors should be working aside from the greenwitch who's name is greenwich every where else, changing it to greenwich for the /* Handle Taint and Favor */ area of the code should allow you to get your +5 leadership which applies after doing the tutorial page.
 
4.00 star(s) 21 Votes