Post bug reports here!

Discussion in 'Site Feedback' started by airwreck, Jul 15, 2014.

  1. TheLowKing

    TheLowKing Really Really Experienced

    If by 'empty search' you mean what I think you mean, it's still broken.

    Query: https://chyoa.com/search?type=story&language=en

    Works fine. I get the sidebar where I can filter by various pieces of data. When I switch to "any language" (or generally remove the last enabled filter), I get sent to https://chyoa.com/search?type=story&sort=last_activity, but that 301 redirects to https://chyoa.com/recently-updated-sex-stories, which shows a different sidebar without filters. If I want to switch from (say) "English only" to "German only", the only way to do that (as far as I know) is to first set another random filter, unset "English only", set "German only", then unset the random filter.
     
    Friedman likes this.
  2. Friedman

    Friedman Administrator

    Thanks for the detailed explanation. I fixed this now, so removing the last active filter should keep you on the regular search page instead of redirecting.
     
    TheLowKing likes this.
  3. TheLowKing

    TheLowKing Really Really Experienced

    Thanks, looks good!
     
    Friedman likes this.
  4. Gambio

    Gambio CHYOA Guru

    Can confirm, works properly again now. Thanks!
     
    Friedman likes this.
  5. Gambio

    Gambio CHYOA Guru

    So, I'm not sure if this counts as a bug report, but I could swear pictures are smaller now than the used to be.

    To illustrate what I mean please take a look at this chapter

    https://chyoa.com/chapter/Don't-hug-me-I'm-scared.1870378

    This image looks far smaller in the chapter then it shows up here.
    Funnily enough in the editor itself the picture appears to be the normal size and it also seems to only affect pictures that have more wide then height


    [​IMG]
     
  6. Friedman

    Friedman Administrator

    Thanks for the report. I think this is just because you put it in a blockquote. If you remove the "> " from the beginning of the line, the image should have full width.
     
    Gambio likes this.
  7. Gambio

    Gambio CHYOA Guru

    Yeah, just figured that out as well. I never used to have that issue in the past though, but I guess that means no more centering images for now XD
     
    Friedman likes this.
  8. greatriver

    greatriver Virgin

    I'm playing around with the new features in game mode and I'm running into a problem when trying to make a button with complicated logic.

    I write this in the chapter:

    {action "Health reduced by 5" if game:minor<3 and game:major<2 and game:roll<game:size and game:health_roll<game:size set game:health-=5, game:health_roll+=20}

    I lets me save the chapter and the button appears and seems to be working, but when I edit the chapter again the text has been trimmed down to:

    {action "Health reduced by 5" if game:minor<3 and game:major<2 and game:roll

    Is there some limit to the amount of code you can put in a button? It would be better to not let you save the chapter if the text is simply going to be deleted the next time you edit it.
     
    Friedman likes this.
  9. greatriver

    greatriver Virgin

    After doing some more testing it seems that writing

    {action "Health reduced by 5" if game:minor < 3 and game:major < 2 and game:roll < game:size and game:health_test < game:size set game:health-=5, game:health_test+=20}

    doesn't get trimmed. The spaces around the < seems important somehow.
     
    Friedman and moonblack like this.
  10. Friedman

    Friedman Administrator

    Thanks for the report, and especially for testing.

    There was no intended limit on action button logic. The rich-text editor was misreading compact comparisons like game:roll<game:size as HTML when reopening the chapter, which caused the text to be cut off.

    I’ve updated the editor handling so compact comparisons are preserved.
     
    greatriver likes this.
  11. greatriver

    greatriver Virgin

    thanks for the quick fix.

    I've also encountered visual bugs where buttons inside if statements get duplicated until the page is refreshed.

    This is a simple example showcasing the behaviour:

    {if game:action=false}Action true{else}Action false{endif}

    {if game:action=false}{action "button on" set game:action=true}{else}{action "button off" set game:action=false}{endif}

    When the button is pushed the text is updated instantly and a new button appears, but the old button remains as a ghost until the page is refreshed.
     
    Friedman likes this.
  12. Friedman

    Friedman Administrator

    Thanks for the clear example. I’ve fixed that now, so the button should update cleanly in place when the condition changes.
     
    greatriver likes this.