devolution

Author Topic: Reporting Errors:  (Read 354809 times)

0 Members and 4 Guests are viewing this topic.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #510 on: August 13, 2014, 04:44:54 PM »
omg all this caused by 2k_tan in rchar.. error loading sample-2aed6f5b38a2f2eb364cbf6c173419e2.jpg caused cascading errors after MC screen when ignored that image error
renaming into sample.jpg the file + in json corrected the error

Renamer should have deleted that file... strange.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #511 on: August 14, 2014, 01:38:22 AM »
There shouldn't be an image with such a name. I hate meaningless names, so I always rename them.
I probably mised it during taggind/renaming (maybe I just wanted to delete it later, because you cannot do it during tagging with Rudi's tagger), so maybe json doesn't have it.
« Last Edit: August 14, 2014, 01:53:14 AM by DarkTl »

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #512 on: August 16, 2014, 08:32:47 AM »
Yes indeed. Somehow there is sample-2aed6f5b38a2f2eb364cbf6c173419e2.jpg picture in 2K pack with the single "sample-2aed6f5b38a2f2eb364cbf6c173419e2" tag in json.
It probably has something to do with Rudi's notorious "guess tags from names" option. Well, one more thing that will be fixed when we'll finalize the system.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #513 on: August 16, 2014, 08:38:17 AM »
Yes indeed. Somehow there is sample-2aed6f5b38a2f2eb364cbf6c173419e2.jpg picture in 2K pack with the single "sample-2aed6f5b38a2f2eb364cbf6c173419e2" tag in json.
It probably has something to do with Rudi's notorious "guess tags from names" option. Well, one more thing that will be fixed when we'll finalize the system.

System should have deleted the file just like it deletes all jsons after renaming. No idea as to why is has not atm.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #514 on: August 16, 2014, 08:46:30 AM »
It has deleted for me. The file remains in my backups only.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #515 on: August 27, 2014, 12:14:40 PM »
During girlsmeets suddenly
Quote
  File "game/library/screens/locations/pyt - screens - main street.rpy", line 21, in script
    python:
  File "game/library/screens/locations/pyt - screens - main street.rpy", line 36, in <module>
    pytfall.gm.start_gm(result[1])
  File "game/library/classes - support.rpy", line 296, in start_gm
    hs()
  File "game/library/functions.rpy", line 467, in hs
    renpy.hide_screen(renpy.current_screen().tag)
TypeError: 'NoneType' object has no attribute '__getitem__'
During girlsmeets when trying about her option after all those lines:
Quote
  File "game/library/screens/girlsmeets/pyt - labels - girlsmeets.rpy", line 419, in script
    $g(choice(gm_abouther_list))
  File "game/library/screens/girlsmeets/pyt - labels - girlsmeets.rpy", line 419, in <module>
    $g(choice(gm_abouther_list))
TypeError: expected string or buffer
« Last Edit: August 27, 2014, 12:20:54 PM by DarkTl »

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #516 on: August 27, 2014, 12:24:47 PM »
Yeah, I know. Noticed this happen at times, I'll get rid or adjust that function soon, it doesn't always fail and has something to do with CPU/GPU power. Keep forgetting that is a problem.

The second error could be CW not anticipating a possibility that girl may not have any of the above traits at all (no default set).
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #517 on: August 27, 2014, 12:27:21 PM »
The second error could be CW not anticipating a possibility that girl may not have any of the above traits at all (no default set).
No, it happens all the time no matter the traits.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #518 on: August 27, 2014, 12:58:09 PM »
No, it happens all the time no matter the traits.

I have no idea... no traits is anticipated by the code and I cannot reproduce the error.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #519 on: August 27, 2014, 01:19:29 PM »
I see what's going on here. Cherry wanted to block "about her" option for girls with mind fucked trait (replace the list by unintelligible sounds). I guess he changed his mind, since now there is
Quote
    if ct("Mind Fucked"):
        $ gm_disp_multiplicator = ((gm_disp_multiplicator)*0.5)
too, which is useless if there is no conversation.
Yet there is another  $gm_abouther_list = [] remained after check for Mind Fucked in the very end.

I think it's justified to cut off some options for MF characters.
I hope with this
Quote
    if ct("Mind Fucked"):
        $rc("...", "Eh?", "I wanna kitty! Ehehe...", "Mmmm...", "*she stares into the sky*")
        jump gm_chat_refuse
    else:
        $gm_abouther_list = []   
...
there won't be any more problems.
« Last Edit: August 27, 2014, 01:52:09 PM by DarkTl »

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #520 on: August 27, 2014, 02:27:28 PM »
I see what's going on here. Cherry wanted to block "about her" option for girls with mind fucked trait (replace the list by unintelligible sounds). I guess he changed his mind, since now there istoo, which is useless if there is no conversation.
Yet there is another  $gm_abouther_list = [] remained after check for Mind Fucked in the very end.

I think it's justified to cut off some options for MF characters.
I hope with thisthere won't be any more problems.

I can't tell without looking at code, but it seems like jumping to a default refuse label after a response is not desired.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #521 on: August 27, 2014, 02:36:55 PM »
Yeah. I'll add those MF lines to refuse label.

Offline CherryWood

  • Hero Member
  • *****
  • Posts: 643
Re: Reporting Errors:
« Reply #522 on: August 28, 2014, 03:35:42 AM »
That's strange, I've never seen that error in "about her" chat. But I also never tested it that much...


By my original plan, chating with MF girl was supposed to give "..." answer, but only half the disposition points on succeed. Probably not a good idea, but I can't tell now from looking at the code why it shoudn't work as intended now as all changes to disposition are applied before texts.

=======
There is a typo in the last push for this label, it has wrong indentation now
Code: [Select]
    if dice(gm_dice):
        $chr.disposition += (randint(6, 12)*(gm_disp_multiplicator))
        $ gm_abouther_count = 0


    if chr.disposition > 600:
        if dice(50):
            $gm_abouther_count += 1
            $gm_abouther_d600 = rc("I think you're intresting.")
            $gm_abouther_list.append(gm_abouther_d600)         
        if chr.occupation == 'Warrior':
it should look like this:
Code: [Select]
    if dice(gm_dice):
        $chr.disposition += (random.randint(6, 12)*(gm_disp_multiplicator))
        $ gm_abouther_count = 0
       
        if chr.disposition > 600:
            if dice(50):
                $gm_abouther_count += 1
                $gm_abouther_d600 = (random.choice(["I think you're intresting. "]))
                $gm_abouther_list.append(gm_abouther_d600)
        if chr.occupation == 'Warrior':
            $gm_abouther_count += 1
right now all girls refuse to talk if they disposition isn't over 600  :)
« Last Edit: August 28, 2014, 05:41:58 AM by CherryWood »

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #523 on: August 28, 2014, 08:50:17 AM »
If a girl cannot answer ("..."), why change disposition or do anything at all? Let's just jump to refuse label or $rc something right on the spot.

There is a typo in the last push for this label, it has wrong indentation now
Ah, so it's a typo  :)
I was wondering why it has such high requirement, and I changed it to -600 during testing.

Offline Gismo

  • Jr. Member
  • **
  • Posts: 88
Re: Reporting Errors:
« Reply #524 on: September 19, 2014, 09:02:25 AM »



Got this error at meet_beggar_event.
Code: [Select]
While running game code:
  File "game/library/events/events - base.rpy", line 33, in script
    chr 'Thanks! ^_^'
Exception: Sayer chr is not a function or string.