Bug - Fixed game.php requests are non-interrupting

fredg1

Member
self-explanatory. game.php requests always return a frameset, never altering your state.

edit: same thing with chatlaunch.php, topmenu.php and awesomemenu.php
all of them will be seen when refreshing the page.
 

Attachments

  • refresh.patch
    2.3 KB · Views: 5
Last edited:

fredg1

Member
Oh, sorry...

When refreshing the page (or just simply opening the relay browser), a request is sent to game.php (and then chatpane.php, topmenu.php and chatlaunch.php). If in a choice adventure, these currently trigger a visit to visitChoice, even though these won't return choice adventure-related responses.
 
This could possibly fix a problem with my poorly written scripts: in a situation something like
Code:
visit_url("place.php?whichplace=snojo&action=snojo_controller");
run_choice(1);

sometimes opening the relay browser can distract it to the point where it's no longer in a choice adventure, and the combination of visit_url + run_choice doesn't work.

Alternatively it might be failing for different reasons and this wouldn't help at all ;)
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
Top