HentHighSchool Development Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

collapse
* Recent Posts
Re: Community dialogue project by Hareb
[Today at 05:02:32 pm]


Re: Bug reports by Jman
[Today at 11:18:40 am]


Re: Bug reports by DougTheC
[Today at 07:06:16 am]


Re: Bug reports by Jman
[Today at 02:05:51 am]


Re: Bonanza mod by Jman
[Yesterday at 10:49:42 pm]


Pages: 1 ... 100 101 [102] 103 104 ... 106   Go Down

Author Topic: Test version for 0.2  (Read 874733 times)

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1515 on: July 30, 2021, 08:17:46 am »

I found an autosave dated 6 minutes before my last save after the error. I was talking to Bast in the resource exchange. I right-clicked to move out of that screen, and got this. I quit without saving.

```
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKevents.rpy", line 1940, in script
    return
Exception: Could not find return label (u'game/BKmain.rpy', 1616123443, 24918).
...

I opened another autosave dated 10 minutes earlier than the previous one. No problems so far.

Playing with the same version that I mentioned in my last post, sometime later. I was on the farm, and clicked to change the training program for one of the girls. I got the error below. I quit without saving.

```
I'm sorry, but an uncaught exception occurred.

While loading <'ProportionalScale' <'Image' u'NPC/Gizel/portrait smirk.webp'> 152 152 True>:
  File "game/BKmain.rpy", line 706, in script call
...
    child = im.cache.get(self.image)
KeyError: <'Image' u'NPC/Gizel/portrait smirk.webp'>

Your first error is an example of the difficulty of loading a save made during an event, after an update patch has been used since the save.

It's actually somewhat encouraging, as it shows the latest patch has been compiled. Loading a save made at a main screen, not during an event, was the correct action. Saves made on the main brothel screen, or any city location without a running event, would be good save points. Saves made during events should be able to be loaded until you use the next update patch.

The second error is a transitory one that shows up at random times for everyone. Put this "ProportionalScale/KeyError" error on the short list of errors that are safe to Ignore. At worst, the next screen shown will have some image missing, or have a "placeholder" image like a gray silhouette.

You may have success going further with your latest load. If you run into two more serious errors, it would be time to use the "start new game."
« Last Edit: July 30, 2021, 08:28:11 am by DougTheC »
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

Jman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1861
  • Hic Sunt Dracones
    • View Profile
Re: Test version for 0.2
« Reply #1516 on: July 30, 2021, 08:24:15 am »

...are you saying that if I get an error I should quit without saving, losing everything since my last save?
What I'm saying is that
  • If you're being a beta tester, you should get in the habit of making regular saves.
  • Saving after an error is a bad idea.
  • Saving after rollbacks and while not in the main/home screen isn't so hot, either.

I right-clicked to move out of that screen, and got this.
Exception: Could not find return label (u'game/BKmain.rpy', 1616123443, 24918).
A common problem with non-main screen saves. Some other places (like the girls screen, or city locations) might be safe, and consoling may be able to salvage things, but in general, that's the gist of my last bullet point.

I got the error below.

    del self.cache[ce.what]
KeyError: <'Image' u'NPC/Gizel/portrait smirk.webp'>
A Ren'Py engine-level error that occasionally crops up and the root cause of which isn't entirely clear. Most likely caused by unsafe multithreading. Has been discussed occasionally, and I think Chris was the last one to propose and discuss a change that would let us bypass this. I don't know if it ever got reported to PyTom?
Logged
We’re all mad here. I’m mad. You’re mad.

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1517 on: July 30, 2021, 08:33:12 am »

I got the error below.

    del self.cache[ce.what]
KeyError: <'Image' u'NPC/Gizel/portrait smirk.webp'>
A Ren'Py engine-level error that occasionally crops up and the root cause of which isn't entirely clear. Most likely caused by unsafe multithreading. Has been discussed occasionally, and I think Chris was the last one to propose and discuss a change that would let us bypass this. I don't know if it ever got reported to PyTom?

I think I have a good handle on this error, and may be ready to submit a fix to the Ren'Py team.

Jman, would you be willing to check out the code before I send it to them?
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

Jman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1861
  • Hic Sunt Dracones
    • View Profile
Re: Test version for 0.2
« Reply #1518 on: July 30, 2021, 08:47:21 am »

Jman, would you be willing to check out the code before I send it to them?
Sure, but I know nothing about multithreading except that it's hard.
Logged
We’re all mad here. I’m mad. You’re mad.

Goldo

  • Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1561
    • View Profile
Re: Test version for 0.2
« Reply #1519 on: July 30, 2021, 10:20:33 am »


It is difficult to see how line 2149 could error after line 2138 did not:
Code: [Select]
            if selected_quest.type == "class":

maybe something about the renpy.restart_interaction() ?

Here is a theory: BKscreens will set selected_quest to None if there are no quests left in the list.
Code: [Select]
if not selected_quest and qlist:
        $ selected_quest = qlist[0]
    elif not qlist:
        $ selected_quest = None

So maybe what is happening is that selected_quest is set to None by a screen refresh between lines 2138 and 2149. However, the quest is only removed from the qlist on line 2150. So it's still weird. Perhaps some weird combination of rollback and screen prediction?
Logged
Looking for the latest 0.2 patch? It's right here: (it will always be right here :))). !!!Do not use with 0.15!!!

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1520 on: July 30, 2021, 11:02:57 am »

It seems odd that you can set up changes for your second brothel on Brothel screen, including finding the wagon in the back yard, before you get the event of selling the old brothel to Kosmo, and moving to the new brothel.

Don't know the best way to reconcile this time-displacement.
Maybe don't bring up the brothel screen when it does now, but do bring it up automatically after the sell/moving event?
« Last Edit: July 30, 2021, 12:42:56 pm by DougTheC »
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1521 on: July 30, 2021, 12:50:26 pm »

Got this error message, apparently just after opening Console by shift-o on Sewers location, near start of Chapter 2.

Haven't seen anything like this recently, and if it only shows up now and then, it might not be a big problem.

I run BK windowed, max size, with Win10 on 1920x1080 on laptop.
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1522 on: August 01, 2021, 04:39:27 pm »

Homura had trouble a month ago being sad; now in her third brothel visit, just after MC offers a drink, she can't be happy.

Maybe she's a natural stoic. Or Vulcan...

========

Also, been having 3 crashes that closed the window without error messages on screen or in traceback.txt.
Anyone else seeing this?
I'll keep an eye out for any pattern.
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

vadi92

  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
    • View Profile
Re: Test version for 0.2
« Reply #1523 on: August 01, 2021, 06:10:47 pm »

I didnt had that.
Logged

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1524 on: August 01, 2021, 07:51:34 pm »

At Palace luncheon after meeting all three Kunoichi, talk with Kurohime gives placeholder image.

Likely a result of not using "kuro" image in these two lines, BKchapter2.rpy 7971 & 8043:

Code: [Select]
                show kurohime with dissolve
...
                hide kurohime with dissolve

Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1525 on: August 03, 2021, 05:42:09 pm »

What type of shepherds are we talking about, again?

----
Typos as noticed:

(click to show/hide)
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

Tienteaser

  • Newbie
  • *
  • Offline Offline
  • Posts: 28
    • View Profile
Re: Test version for 0.2
« Reply #1526 on: August 05, 2021, 07:23:28 am »

I'm not sure this is a bug, but it's definitely odd behavior.

For more than a month (game time) I have not gotten new classes or quests. I have the big monthly quest from Scarlet, but none of the smaller ones.

For roughly the same period of time, in the resource exchange, dye has been down and wood has been up (sheep jokes duly acknowledged). I don't know if this is related in any way to the quest issue.

Basically some parts of the game that used to change regularly have stopped changing. Might be a database issue?
Logged

DougTheC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1336
  • Delete Cookies?
    • View Profile
Re: Test version for 0.2
« Reply #1527 on: August 05, 2021, 08:03:10 am »

For more than a month (game time) I have not gotten new classes or quests. I have the big monthly quest from Scarlet, but none of the smaller ones.

For roughly the same period of time, in the resource exchange, dye has been down and wood has been up (sheep jokes duly acknowledged). I don't know if this is related in any way to the quest issue.

Basically some parts of the game that used to change regularly have stopped changing. Might be a database issue?

That is indeed a strange one.

Could you console and display the value of district.rank,
which should be between 1 and 7. There may be a problem in update_quests() if this was artificially set to 8 or above.

Also please attach a gameday-Sunday save file to previous or new post.

And attach current content of your traceback.txt.
« Last Edit: August 05, 2021, 08:23:36 am by DougTheC »
Logged
If we believe absurdities we shall commit atrocities. -- Voltaire
                                   ---
Advice from the radio: Wash your hands, often with soap and water.
                                   ---
My doctor put me on the Pro Plan® Bright Mind™ diet.

Tienteaser

  • Newbie
  • *
  • Offline Offline
  • Posts: 28
    • View Profile
Re: Test version for 0.2
« Reply #1528 on: August 05, 2021, 07:08:50 pm »

Could you console and display the value of district.rank,
which should be between 1 and 7. There may be a problem in update_quests() if this was artificially set to 8 or above.

Also please attach a gameday-Sunday save file to previous or new post.

And attach current content of your traceback.txt.
I've attached my traceback. district.rank=4, which is odd, since I'm in The King's Hold. While I can't swear to it, it's possible that this odd behavior started back in Magic Gardens (which I think is district.rank=4). I'll attach a Sunday file when I get to that day.
Logged

Jman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1861
  • Hic Sunt Dracones
    • View Profile
Re: Test version for 0.2
« Reply #1529 on: August 05, 2021, 09:01:06 pm »

district.rank=4, which is odd, since I'm in The King's Hold.
...Magic Gardens (which I think is district.rank=4)
That is normal. King's Hold is rank 4 or 5 depending on whether you're in the 'endless' chapter or not, and Magical Gardens are rank 3.

Quote from: traceback
  File "game/BKclasses.rpy", line 1366, in restock
    self.items += [makibishi]*(dice(3)+1)
NameError: global name 'makibishi' is not defined
But this is suspect, and indeed hints at something being wrong with at least the item dictionary.

A save would be best. Doesn't even need to be Sunday, for that matter.
Logged
We’re all mad here. I’m mad. You’re mad.
Pages: 1 ... 100 101 [102] 103 104 ... 106   Go Up
 


anything
SimplePortal 2.3.3 © 2008-2010, SimplePortal