Results 1 to 6 of 6

Thread: Uservars not saving

  1. #1

    Default Uservars not saving

    So starting to drive myself a little crazy with trying to fix this.. My uservars are not saving. When I change a setting in Bigshot or Sloot which is saved in the uservars the values are not saving on logout. I log out and back in and they are back to what they were before. I set a value manually with ;vars set test=findme. ;vars list shows the value, log out, log in and ;vars list does not show the value. In sloot for a new char I fill out all the settings. The checkboxs I set for what to loot, what to sell and my overflow container are saved since they aren't stored in the uservars. I think they are stored under script_auto_settings in the lich.db3? The lootsack, herbsack and such are not saved as they are saved in uservars. Looks like when I trust a script that setting is being saved as it's in the trusted_script table in lich.db3.

    I have tried renaming lich.db3 to .old and letting lich create a new db3. I have tried renaming my lich folder to _old and redownloaded lich. I have deleted ruby, reinstalled ruby and let lich redownload sqlite3 and gtk. Nothing seems to work. The vars are still not saved on log out.

    Has anyone seen this before? Is there something I am missing? Is there a way to increase the logging for lich's debug files?

  2. #2

    Default

    I've tested multiple characters, accounts and computers... Not working on any of them. Either it's something tied to my accounts or lich is broke. Anyone mind trying to change one of their vars, log out and back in to see if it saves? You can either do something like ;vars set test=test, ;vars list, quit, log back in, ;vars list and see if it's there or try changing a value in bigshot, save, log out, log in and check bigshot to see if it's changed. I might be loosing my mind at this point but reinstalling everything and trying my two laptops and work computer makes me think there's a possibility it's not just me.

  3. #3

    Default

    Guess it's just me? FML..

  4. #4

    Default

    Make sure another copy of ruby is not running in the background

  5. #5

    Default

    Only one instance of Ruby installed and being used. Just got done doing a reset in Windows 10. So nothing installed now. Got lich and ruby freshly installed. Still won't save variables.. I think I give up.. Goodbye world..

  6. #6

    Default

    So I played around with lich.rbw. I added a bunch of echo commands throughout the Vars module to see what was being run and what wasn't. I found that when I use ;e Vars.save it will run the def in the Vars module on line 9610,

    module Vars
    def Vars.save
    end
    end

    Since it's blank the save never actually runs. It never actually gets to the def on line 2365,

    def Vars.save
    @@save.call
    end

    I have no clue why it's not loading that definition. As a work around I add @@save.call to the line def on 9610 and then disabled the lich update in the repository script. Working now. No clue yet why this is broken for me. Think I'm going to leave my workaround in place for now and pull the rest of my hair out another day.

Similar Threads

  1. Some settings aren't saving
    By Axhinde in forum The Lich Project
    Replies: 1
    Last Post: 03-29-2017, 09:35 PM
  2. Scripts suddenly not saving
    By Lulfas in forum The Lich Project
    Replies: 4
    Last Post: 07-23-2015, 11:27 AM
  3. Saving Science Fiction
    By ClydeR in forum Politics
    Replies: 0
    Last Post: 04-12-2015, 09:49 PM
  4. loot-be-gone not saving settings
    By Tgo01 in forum The Lich Project
    Replies: 3
    Last Post: 10-25-2014, 02:25 PM
  5. Saving Gemstone?
    By Necromancer in forum General Gemstone
    Replies: 184
    Last Post: 11-27-2006, 08:08 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
  •