Page 2 of 15 FirstFirst 1 2 3 4 12 ... LastLast
Results 11 to 20 of 142

Thread: WTF Relay script collection

  1. #11
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    I can think of another possible problem. A master relay override will prevent any relay scripts from working. You can test for it with the following line:

    Code:
    get masterRelayOverride
    If this returns a value, then you need to clear it with this:

    Code:
    get masterRelayOverride =

  2. #12
    Senior Member
    Join Date
    Sep 2006
    Posts
    329

    Default

    I can think of another possible problem. A master relay override will prevent any relay scripts from working. You can test for it with the following line:

    Code:
    get masterRelayOverride
    If this returns a value, then you need to clear it with this:

    Code:
    get masterRelayOverride =
    Originally Posted by Bale View Post
    Should the second code snippet be:

    Code:
    set masterRelayOverride =
    instead of "get"?
    Last edited by Ethelred; 06-28-2014 at 12:39 PM. Reason: Calarification

  3. #13
    Developer
    Join Date
    Apr 2010
    Posts
    4,082

    Default

    yes

  4. #14
    Senior Member Winterbay's Avatar
    Join Date
    Feb 2010
    Posts
    5,033

    Default

    Both work which has always confused me

  5. #15
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,735

    Default

    > get recoveryScript

    Universal_recovery

    > set recoveryScript

    Universal_recovery
    get preference [ = value ] - show/change preference settings
    set preference [ = value ] - show/change preference settings
    It's the same command. It works just like using 'set' in DOS to show you environmental variables and not actually set them.

  6. #16
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,271

    Default

    My instructions work, but obviously I should have used the word "set" instead of "get" for reasons of aesthetics and clarity. The two commands are identical in their function. I just hope we haven't confused mellissaleo with this digression.

    mellissaleo, did that work for you?

  7. #17
    Senior Member
    Join Date
    Sep 2006
    Posts
    329

    Default

    My instructions work, but obviously I should have used the word "set" instead of "get" for reasons of aesthetics and clarity. The two commands are identical in their function. I just hope we haven't confused mellissaleo with this digression.

    ...
    Originally Posted by Bale View Post
    Well, I learned something today and I'm sorry for derailing the thread over unnecessary pedantics.

  8. #18
    Junior Member
    Join Date
    Sep 2009
    Posts
    20

    Default

    Bale, thank you very much for caring.
    Unfortunately, that didn't work.
    get masterRelayOverride didn't return any value, but I still did the set/get masterRelayOverride = . No change.
    I didn't have time to thinker around with figuring out what exact file in my mafia folder migh be to blame, so I didn't want to post with just a 'No' and no further info.

    I will attempt to solve** this, when I have some time, and if I figure something out, I will let you know.

    **and by 'solve this' i mean move files from my mafia folder untill it works. not actually figure it out code-wise.

  9. #19
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,735

    Default

    As a quick check, try moving your settings\mellissaleo_prefs.txt file out of the whole mafia area and see if that fixes it. If it does, then the problem is one of your settings. If it doesn't, then the problem is one of your specific files.

  10. #20
    Junior Member
    Join Date
    Sep 2009
    Posts
    20

    Default

    Thank you for the suggestion Theraze.
    That didn't help.
    However, I finally found the time to tinker around with it, and you were very close. The culprit file was GLOBAL_prefs.txt.
    So, I compared my GLOBAL_prefs.txt with one from the vanilla Mafia folder using notepad++ compare option and cut it down a bit (I deleted stuff I was positive have nothing to do with relay scripts, like autoSatisfy, getBreakfast, preferredWebBrowser, login/logoutScript and similar).
    This is the result.
    Code:
    addStatusBarToFrames=true
    allowSocketTimeout=true
    alwaysGetBreakfast=true
    coinMasterIndex=11
    createHackerSummons=true
    defaultDropdown2=7
    defaultDropdownSplit=-1
    defaultLimit=50
    defaultLoginServer=1
    eSoluScriptType=0
    headerStates=Usable|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|power\:-1|fill\:-1|adv/fill\:-1;Restores|item name\:0|autosell\:4|quantity\:1|mallprice\:5|HP restore\:2|MP restore\:3;General|item name\:0|autosell\:2|quantity\:1|mallprice\:3|power\:-1|fill\:-1|adv/fill\:4;Recent|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|power\:-1|fill\:-1|adv/fill\:-1;Closet|item name\:0|autosell\:1|quantity\:2|mallprice\:3|power\:-1|fill\:-1|adv/fill\:-1;Storage|item name\:0|autosell\:1|quantity\:2|mallprice\:3|power\:-1|fill\:4|adv/fill\:5;Free Pulls|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|power\:-1|fill\:-1|adv/fill\:-1;No Pull|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|power\:-1|fill\:-1|adv/fill\:-1;Creatable|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|fill\:-1|adv/fill\:-1|level req\:-1;Cookable|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|fill\:-1|adv/fill\:-1|level req\:-1;Mixable|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|fill\:3|adv/fill\:4|level req\:-1;Fine Tuning|not implemented\:0;Equipment|item name\:0|power\:1|quantity\:2|mallprice\:-1|autosell\:-1;Storage |item name\:0|autosell\:1|quantity\:2|mallprice\:-1|power\:-1|fill\:-1|adv/fill\:-1;Create|item name\:0|autosell\:1|quantity\:2|mallprice\:-1|fill\:-1|adv/fill\:-1|level req\:-1;
    itemManagerIndex=6
    lastBuffRequestType=3
    lastGlobalCounterDay=11
    lastImageCacheClear=1380094134809
    lastRelayUpdate=KoLmafia v16.3 r14150
    lastRssVersion=KoLmafia v15.9
    logStatusOnLogin=true
    loginRecoverySoftcore=false
    lucreCoreLeaderboard=false
    macroLens=true
    mementoListActive=true
    mergeHobopolisChat=true
    previousUpdateRevision=14150
    readManualSoftcore=false
    relayAddsDiscoHelper=true
    relayAddsKoLSimulator=false
    relayAddsRoundNumber=false
    relayAllowsOverrides=true
    relayFormatsChatText=true
    relayHidesJunkMallItems=true
    relayMaintainsEffects=true
    relayMaintainsHealth=true
    relayMaintainsMana=true
    relayTrimsZapList=true
    relayUsesCachedImages=false
    relayViewsCustomItems=false
    removeMalignantEffects=true
    scriptButtonPosition=1
    statusDropdown=7
    useChatMonitor=false
    useCrimboToysHardcore=true
    useSeparateChannels=true
    useSystemTrayIcon=true
    For some/most of these I don't know what they are for and what they mean. Maybe somebody will have an idea?
    If not, I might consider changing one setting at a time. Or I'll just move on and leave some of my settings to the recycle bin and just start (semi)anew.

    Another note, I failed to find masterRelayOverride in Global_prefs.txt and in mellissaleo_prefs.txt. Is it supposed to be stored somewhere else? Or it doesn't show it it doesn't have a value?
    I presume my questions are silly, but a coder is not me But from all this I learned how to migrate all my settings at least (one of the silly questions from my first post in this thread)

    Thank you to everybody who made an effort ot help me

Similar Threads

  1. 'toledo's tiny tweaks' script collection
    By toledo in forum Relay Override Scripts
    Replies: 8
    Last Post: 09-22-2013, 05:03 PM
  2. Replies: 0
    Last Post: 11-27-2010, 03:30 PM
  3. Display Collection Management script?
    By brennydoogles in forum Item Handling Scripts
    Replies: 11
    Last Post: 05-25-2009, 11:57 PM
  4. Tiny Plastic Series 1 collection script
    By lordbaum in forum Informational Scripts
    Replies: 2
    Last Post: 12-03-2007, 11:14 AM
  5. Script collection (quests and a functionlib), comments!
    By hippymon in forum Scripting Discussion
    Replies: 0
    Last Post: 11-18-2007, 06:06 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
  •