Page 128 of 128 FirstFirst ... 28 78 118 126 127 128
Results 1,271 to 1,280 of 1280

Thread: ZLib -- Zarqon's useful function library

  1. #1271
    Developer
    Join Date
    Apr 2010
    Posts
    5,134

    Default

    For some reason this statement really bothers me.
    Originally Posted by fronobulax View Post
    Is it because if mafia can make java throw a null pointer exception it’s clearly a java bug?

  2. #1272
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,489

    Default

    Is it because if mafia can make java throw a null pointer exception it’s clearly a java bug?
    Originally Posted by Darzil View Post
    I didn't think about that. I don't program very often in Java.

  3. #1273
    Member PsyMar's Avatar
    Join Date
    Jul 2010
    Location
    Mom's Basement
    Posts
    31

    Default

    ZLib has been updated from r40 to r40 since you last ran it.
    Uh?

  4. #1274
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,499

    Default

    Problem checking files with the map manager.

    Workaround mentioned at https://kolmafia.us/showthread.php?2...l=1#post154045

  5. #1275
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,499

    Default

    And I just did a test and two files were updated as expected so maybe it was just a hiccup with the connection.

  6. #1276
    Junior Member
    Join Date
    Aug 2008
    Location
    CO
    Posts
    11

    Default

    Tried connecting from Minnesota and had the same error as yesterday. But connecting through my VPN through Iceland worked. I'll blame Comcast.

  7. #1277
    Senior Member
    Join Date
    Feb 2010
    Posts
    1,091

    Default

    While UR, via zlib, was able to download recoveryScript_map_v2.txt today EatDrink is fails to consume anything declaring that nothing is good enough. No attempt was made to download the EatDrink map files. Bales OCD Inventory script is failing to recognize a perfectly good data file

    All of these worked prior to whatever happened over the last day or so.

    I still get a blank page when I visit "https://zachbardon.com/mafiatools/autoupdate.php?f="+fname+"&act=getver" while "https://zachbardon.com/mafiatools/autoupdate.php" loads just fine.

    Any suggestions on what I should do to "reset" things?
    Last edited by Magus_Prime; 08-31-2019 at 11:15 AM.

  8. #1278
    Developer
    Join Date
    Aug 2009
    Posts
    2,974

    Default

    If I specify an actual fname (e.g. https://zachbardon.com/mafiatools/au..._v2&act=getver), then it works just fine for me.

    Is that the case for you too?

    (Does ZLib expect fname to contain the file extension?)

  9. #1279
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,499

    Default

    zlib is passed "fname". The local file it tries to access is fname+".txt".

    The visit URL parameter is "https://zachbardon.com/mafiatools/autoupdate.php?f="+fname+"&act=getver" so the server is going to append the ".txt".

    It has successfully checked and updated several files for me already today so I maintain "works for me". I did have to remember to undo my script changes from yesterday that worked around this and I deleted the data file zversions.txt so that it would check and reload anything.
    Well, thank you.
    Originally Posted by Veracity View Post

  10. #1280
    Senior Member
    Join Date
    Feb 2010
    Posts
    1,091

    Default

    Deleting zversions.txt did the trick. Thank you!

Similar Threads

  1. Replies: 1
    Last Post: 11-25-2013, 07:48 PM
  2. StDoodle's Libray - Another function library
    By StDoodle in forum Scripting Discussion
    Replies: 6
    Last Post: 10-29-2013, 10:04 PM
  3. ROFL -- Ridiculously Overelaborate Function Library
    By Catch-22 in forum Informational Scripts
    Replies: 6
    Last Post: 06-07-2012, 07:28 AM
  4. is there a way to see what a function within zlib returns?
    By maximillian the red in forum Community Support
    Replies: 6
    Last Post: 10-03-2011, 07:33 PM
  5. Adventure Function Library
    By muffins in forum Scripting Discussion
    Replies: 9
    Last Post: 05-06-2006, 12:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •