Search:

Type: Posts; User: Veracity

Search: Search took 0.02 seconds.

  1. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    I was intending to make one this weekend. Perhaps...

    I was intending to make one this weekend. Perhaps I'll do it tonight. :)
  2. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Somebody reported that certain items are "old...

    Somebody reported that certain items are "old school" and others are "old-school", so KoL decided to make all of them wrong.

    Well, technically, they are equivalent - but if you look up "old...
  3. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Yeah, I noticed bad frames when switching back...

    Yeah, I noticed bad frames when switching back and forth between "save frames" when closing the browser window and reopening it even after we started transmitting all cookies to the browser correctly...
  4. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Revision 17296 now distinguished between...

    Revision 17296 now distinguished between "special" cookies - PHPSESSID and AWSALB - and everything else.
    It will save the "special" ones and send those with every internal or external (Browser)...
  5. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Well, this is interesting. - We save all...

    Well, this is interesting.

    - We save all cookies that KoL sends via Set-Cookie
    - We strip off the Expires field when we save them
    - We ignore cookies that the browser sends

    That all works...
  6. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    OK, I logged in with DEBUG logging including...

    OK, I logged in with DEBUG logging including Browser interactions.
    I started the Relay Browser:


    -----From Browser-----
    GET /game.php HTTP/1.1
    ...
    Cookie:...
  7. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    We don't assign cookie names. KoL does.

    We don't assign cookie names. KoL does.
  8. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Hmm. Let me check those Browser interactions: ...

    Hmm. Let me check those Browser interactions:


    -----From Browser-----
    POST /account.php HTTP/1.1
    Host: 127.0.0.1:60080
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0)...
  9. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    There are cookies that KoL sends if you tell it...

    There are cookies that KoL sends if you tell it to remember frame sizes. There are two specific cookies that KoL sends that we handle ourself, but we pass any other cookie down from KoL to the...
  10. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    //We don't give the javascript __relay_filename,...

    //We don't give the javascript __relay_filename, because it's unsafe without escaping, and writing escape functions yourself is a bad plan.
    //So if they rename the file, automatic refreshing and...
  11. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    I installed Guide just to look at the code. ...

    I installed Guide just to look at the code.


    string __relay_filename;
    ...
    __relay_filename = relay_filename;
    ...
    if (__relay_filename == "relay_Guide.ash")
    ...
  12. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Log in to KoL Go to the "options"page Look at...

    Log in to KoL
    Go to the "options"page
    Look at the "Interface" tab
    Is "Remember the size of the character pane and chat" checked?
    If so, uncheck it, close the Relay Browser, and reopen it.
    Report...
  13. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Revision 15472 had some issues with certain...

    Revision 15472 had some issues with certain browsers - as reported by Ezandora. Try 15474.
  14. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Yes. The github servers are buggy; they don't do...

    Yes. The github servers are buggy; they don't do SVN update correctly, it seems.
  15. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Well, there are a couple things I am thinking of....

    Well, there are a couple things I am thinking of.

    1) The Interpreter class itself should synchronize on "this" when you try to execute in it. That's a general code cleanup which would obviate...
  16. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Wow. Well, the Interpreter object is very much...

    Wow. Well, the Interpreter object is very much not thread safe. Therefore, revision 14301 synchronizes on Interpreter for chat scripts. Hopefully, that should remove any need for "synchronization...
  17. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    Actually, I take that back. We synchronize for...

    Actually, I take that back. We synchronize for Relay scripts, but not chat scripts.
    Let me think about that.
  18. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    The first time KoLmafia executes a particular ASH...

    The first time KoLmafia executes a particular ASH script, it compiles it and loads it into an Interpreter. It save the Interpreter so that every time it wants to execute the same script again (and...
  19. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    This is a KoLmafia bug. It's a race condition....

    This is a KoLmafia bug. It's a race condition. I'll discuss the specific issue in the bug report thread you opened.

    I learned something about Guide when I was looking at Bale's...
  20. Thread: Guide

    by Veracity
    Replies
    579
    Views
    129,625

    That info is also recorded in your session log,...

    That info is also recorded in your session log, so you can get it any time you want, even after you have closed KoLmafia.
Results 1 to 20 of 20