Page 235 of 235 FirstFirst ... 135 185 225 233 234 235
Results 2,341 to 2,345 of 2345

Thread: Universal Recovery Script

  1. #2341
    Senior Member
    Join Date
    Feb 2010
    Posts
    880

    Default

    Universal Recovery uses a data file hosted by zarqon on zachbardon.com/mafiatools/autoupdate.php. That server recently updated to push everything to HTTPS and something is being lost in the translation on the server side.

    To fix the problem change the three lines in Universal_recovery.ash that have the following string from
    Code:
    http://zachbardon.com/mafiatools/autoupdate.php
    to

    Code:
    https://zachbardon.com/mafiatools/autoupdate.php
    Last edited by Magus_Prime; 10-17-2017 at 03:03 PM.

  2. #2342
    Junior Member
    Join Date
    Oct 2017
    Posts
    16

    Default

    Universal Recovery uses a data file hosted by zarqon on zachbardon.com/mafiatools/autoupdate.php. That server recently updated to push everything to HTTPS and something is being lost in the translation on the server side.

    To fix the problem change the three lines in Universal_recovery.ash that have the following string from
    Code:
    http://zachbardon.com/mafiatools/autoupdate.php
    to

    Code:
    https://zachbardon.com/mafiatools/autoupdate.php
    Originally Posted by Magus_Prime View Post
    Ideally, this info should actually be stored in a file on the SVN that gets downloaded with the script. For example, the mushroom autofarm script stores its data in a text file which it downloads as part of the SVN pull

    Anyways, at the moment the script doesn't work

  3. #2343
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,490

    Default

    @taltamir: Ideals vary. The benefit of using the Map Manager over SVN is that files are publicly editable. I definitely prefer this for BatBrain, as things are being constantly added to the game which that script needs to know about, and a lot of content has been added by users. For files that don't need frequent updating as new content is added (like, probably, this case, since the file hasn't been updated since February) SVN is preferable.

    I've updated ZLib to continue to work with the Map Manager, but Bale is using his own code to access the Map Manager and hasn't been around here in several months to update his script. If you want the script to 'work' again though, you can simply add the 's' in the right places as Magus noted above until Bale (hopefully -- fingers crossed) returns to update it. That's what I did -- so there was only a small glitch in my Unversal Recovering.

    Or, optionally, change it to simply use file_to_map() rather than checking the Map Manager at all. If Bale's not around, it's probably not getting updated anyway until the script itself updates.
    Last edited by zarqon; 10-24-2017 at 07:51 AM.
    Sig by JakAtk
    My scripts: Prefref Plus | One-Click Wossname | Om******t (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mer********d (?!) | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  4. #2344
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,749

    Default

    But file_to_map does currently NOT update from https urls ...

  5. #2345
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,490

    Default

    Right, it didn't and then you bug reported it and then it did and then it didn't again. Hopefully that will be fixed soon.
    Sig by JakAtk
    My scripts: Prefref Plus | One-Click Wossname | Om******t (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mer********d (?!) | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | CanAdv | Script Registry | Map Manager | About Bats
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

Similar Threads

  1. Anecdote - Recovery Script not firing between auto-adventures?
    By fronobulax in forum Community Support
    Replies: 1
    Last Post: 02-20-2015, 07:36 PM
  2. Replies: 0
    Last Post: 09-21-2013, 06:50 PM
  3. what are all the ways mafia can consult a script? like recovery, breakfast
    By forgot my password in forum Scripting Discussion
    Replies: 5
    Last Post: 06-11-2009, 10:05 PM
  4. Recovery Script for Hardcore
    By Bale in forum Buff Upkeep Scripts
    Replies: 84
    Last Post: 03-04-2009, 08:17 AM
  5. Very New, Need a MP Recovery Script
    By Willie0248 in forum Scripting Discussion
    Replies: 2
    Last Post: 04-15-2006, 10:30 PM

Posting Permissions

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