Page 3 of 7 FirstFirst 1 2 3 4 5 ... LastLast
Results 21 to 30 of 64

Thread: KGBriefcase

  1. #21
    Senior Member
    Join Date
    Jan 2014
    Posts
    189

    Default

    It is possible to display the "help" information when the script is first run. I've sent notification to ezandora about this. It would be great if she implemented it!
    Originally Posted by Pazleysox View Post
    I tried this, but it seemed a bit spammy when you're running commands? Just "briefcase" plus enter at the dialog that pops up outputs help, so...

    Along those lines, I have another request: when "solve"ing the briefcase, if the third pair of buttons' enchantment isn't +5 Adventures, stop attempting to solve the briefcase with enough clicks left to change the enchantment to +adventures. Or throw up a warning confirmation asking whether you would like to sacrifice your rollover adventures to continue.
    Originally Posted by zarqon View Post
    Hmm. You can, of course, do "briefcase e adventures" before trying anything else. I suppose I could add a "briefcase reserve adventures" command, which saves clicks for later? Would that work?

    Feature request- How hard would it be to acquire 50 turns of a (specified) buff, using the least amount of clicks?
    Originally Posted by PartyBasher View Post
    I think it's possible? It would take quite a few clicks to identify each buff. I'll look into it.

    This is what i get every day. Regardless of if it's a new ascension or not. Has anyone else run into this?
    Originally Posted by Pazleysox View Post
    Try "svn update" in the graphical CLI. Also, enable Preferences>SVN>Update installed SVN projects on login.

    AFAIK, every time you use a click, the words 'Click' appear in the results box. You could (or Ezandora could) update the briefcase relay script to check for that and then decrement the click count number, which I believe is stored in a mafia data file somewhere.
    Originally Posted by ckb View Post
    Oh, that's a good idea, I hadn't thought of that. Done. (of course, mafia has tracking as well, now)

  2. #22
    Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Default

    Hello,

    Thanks for the script!

    After updating mafia from 18108 to 18110 I'm getting an error message everytime I call briefcase. However, everything is still working fine, so that's nice.

    EDIT: I have run svn update, (which updated briefcase.ash from r37 to r40,) and still receive the same error.

    This is what's in the Graphical CLI:

    > briefcase e

    Loading briefcase...
    Toggling handle...
    Unexpected error, debug log printed.
    Viewing briefcase enchantments.
    The enchantment command lets you modify the enchantment on the briefcase. This costs daily clicks, and resets upon ascending.
    Available enchantment slots:
    ... (continues on as normal)

    And here is the debug log.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    KoLmafia v17.6 r18110, Windows 7, Java 1.8.0_111
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Please note: do not post this log in the KoLmafia thread of KoL's
    Gameplay-Discussion forum. If you would like the KoLmafia dev team
    to look at it, please write a bug report at kolmafia.us. Include
    specific information about what you were doing when you made this
    and include this log as an attachment.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Timestamp: Tue Jun 20 14:45:19 EDT 2017
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


    Unexpected error, debug log printed.
    class java.lang.StringIndexOutOfBoundsException: String index out of range: -4
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
    at java.lang.String.substring(Unknown Source)
    at net.sourceforge.kolmafia.request.KGBRequest.countC licks(KGBRequest.java:74)
    at net.sourceforge.kolmafia.request.KGBRequest.parseR esponse(KGBRequest.java:62)
    at net.sourceforge.kolmafia.request.PlaceRequest.pars eResponse(PlaceRequest.java:154)
    at net.sourceforge.kolmafia.session.ResponseTextParse r.externalUpdate(ResponseTextParser.java:706)
    at net.sourceforge.kolmafia.session.ResponseTextParse r.externalUpdate(ResponseTextParser.java:262)
    at net.sourceforge.kolmafia.request.GenericRequest.pr ocessResults(GenericRequest.java:2852)
    at net.sourceforge.kolmafia.request.GenericRequest.pr ocessResponse(GenericRequest.java:2580)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2471)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2054)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(GenericRequest.java:1618)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(GenericRequest.java:1601)
    at net.sourceforge.kolmafia.request.GenericRequest.ru n(GenericRequest.java:1321)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:286)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:249)
    at net.sourceforge.kolmafia.textui.RuntimeLibrary.vis it_url(RuntimeLibrary.java:2466)
    at net.sourceforge.kolmafia.textui.RuntimeLibrary.vis it_url(RuntimeLibrary.java:2428)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.sourceforge.kolmafia.textui.parsetree.LibraryF unction.execute(LibraryFunction.java:104)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:151)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:102)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.Else.exe cute(Else.java:65)
    at net.sourceforge.kolmafia.textui.parsetree.If.execu te(If.java:82)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:142)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:151)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.Conditio nal.execute(Conditional.java:96)
    at net.sourceforge.kolmafia.textui.parsetree.If.execu te(If.java:68)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:142)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:151)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:142)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:151)
    at net.sourceforge.kolmafia.textui.parsetree.Assignme nt.execute(Assignment.java:103)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:142)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:151)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.Conditio nal.execute(Conditional.java:96)
    at net.sourceforge.kolmafia.textui.parsetree.If.execu te(If.java:68)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:142)
    at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:151)
    at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:417)
    at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:142)
    at net.sourceforge.kolmafia.textui.Interpreter.execut eScope(Interpreter.java:401)
    at net.sourceforge.kolmafia.textui.Interpreter.execut e(Interpreter.java:325)
    at net.sourceforge.kolmafia.textui.Interpreter.execut e(Interpreter.java:318)
    at net.sourceforge.kolmafia.textui.command.CallScript Command.call(CallScriptCommand.java:256)
    at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteComm and(KoLmafiaCLI.java:606)
    at net.sourceforge.kolmafia.KoLmafiaCLI.executeComman d(KoLmafiaCLI.java:549)
    at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(K oLmafiaCLI.java:450)
    at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(K oLmafiaCLI.java:318)
    at net.sourceforge.kolmafia.swingui.CommandDisplayFra me$CommandQueueHandler.handleQueue(CommandDisplayF rame.java:187)
    at net.sourceforge.kolmafia.swingui.CommandDisplayFra me$CommandQueueHandler.run(CommandDisplayFrame.jav a:163)
    Again, everything seems to be working fine thus far, just thought I'd share. Not sure if I should be posting this to a more general KoL Mafia debug thread, but I figured I'd start here!

    Let me know if I'm posting something in the wrong place.

    Thanks again.
    Last edited by CoupleK; 06-20-2017 at 07:04 PM.

  3. #23

    Default

    That's a problem with mafia, not with the script. I'll get to fixing that.

  4. #24

    Default

    Fixed in 18111.

  5. #25
    Senior Member
    Join Date
    Feb 2010
    Posts
    970

    Default

    Feature request- How hard would it be to acquire 50 turns of a (specified) buff, using the least amount of clicks?
    Originally Posted by PartyBasher View Post
    Another vote for this. This script has already saved me an enormous of fiddling around but some way to specify type and length of buff, once known, would be a huge help.

  6. #26
    Junior Member
    Join Date
    Feb 2015
    Posts
    23

    Default

    I get script constantly pressing Button 6 until out of clicks Updated mafia and SVN - doesn't helps...

  7. #27
    Senior Member
    Join Date
    Jan 2014
    Posts
    189

    Default

    I get script constantly pressing Button 6 until out of clicks Updated mafia and SVN - doesn't helps...
    Originally Posted by Abbbo View Post
    What command? Do you have a copy of the graphical CLI log?

    I did just fix a loop bug with the splendid martinis command, under the edge case of moving tabs. It may have been that.

  8. #28
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,560

    Default

    I also just encountered a loop in 1.0.15 where it kept clicking button 3 on the "drink" command.

    Hmm. You can, of course, do "briefcase e adventures" before trying anything else. I suppose I could add a "briefcase reserve adventures" command, which saves clicks for later? Would that work?
    Originally Posted by Ezandora View Post
    I want to unlock stuff and get martinis before/while adventuring (usually with -combat in that slot), but then I also want my +adventures at the end of the day. I'm greedy like that!

    I'd suggest either

    1) A variable/setting/property we could adjust determining whether all commands reserve clicks for +Adventures.
    b) A flag we could add to any command which would reserve clicks for +Adventures, a la "briefcase solve reserveadventures".

    I like b) myself.

    Perhaps also add information about clicks for adventures to "status":

    **Clicks used: 15 (7? remaining, 2 needed for rollover adventures)
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  9. #29
    Junior Member
    Join Date
    Feb 2015
    Posts
    23

    Default

    What command? Do you have a copy of the graphical CLI log?

    I did just fix a loop bug with the splendid martinis command, under the edge case of moving tabs. It may have been that.
    Originally Posted by Ezandora View Post
    Yes, I ask "briefcase drink" and get 1 martini and out of clicks

  10. #30
    Junior Member
    Join Date
    Feb 2015
    Posts
    23

    Default

    Still get no martini and Button 6 clicks when asking for drinks First command was solve, second - drink

    Code:
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_handleup
    place.php?whichplace=kgb&action=kgb_actuator1
    place.php?whichplace=kgb&action=kgb_handledown
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_crank
    place.php?whichplace=kgb&action=kgb_handleup
    place.php?whichplace=kgb&action=kgb_handledown
    place.php?whichplace=kgb&action=kgb_actuator1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_dial3
    place.php?whichplace=kgb&action=kgb_actuator1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial4
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_actuator2
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial1
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial2
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial5
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_dial6
    place.php?whichplace=kgb&action=kgb_actuator1
    place.php?whichplace=kgb&action=kgb_button6
    place.php?whichplace=kgb&action=kgb_button6
    place.php?whichplace=kgb&action=kgb_button6
    place.php?whichplace=kgb&action=kgb_button6
    place.php?whichplace=kgb&action=kgb_button6
    place.php?whichplace=kgb&action=kgb_button6
    place.php?whichplace=kgb&action=kgb_button1
    place.php?whichplace=kgb&action=kgb_button2
    place.php?whichplace=kgb&action=kgb_button3
    place.php?whichplace=kgb&action=kgb_button4
    place.php?whichplace=kgb&action=kgb_button2
    place.php?whichplace=kgb&action=kgb_button2
    place.php?whichplace=kgb&action=kgb_button3
    place.php?whichplace=kgb&action=kgb_button4
    place.php?whichplace=kgb&action=kgb_button4
    place.php?whichplace=kgb&action=kgb_button4
    
    place.php?whichplace=kgb&action=kgb_drawer2
    You acquire exploding cigar (3)
    place.php?whichplace=kgb&action=kgb_drawer1
    You acquire exploding cigar (3)
    > Done.
    
    place.php?whichplace=kgb&action=kgb_button6
    
    place.php?whichplace=kgb&action=kgb_button6
    
    place.php?whichplace=kgb&action=kgb_button6
    > Done.
    Last edited by Abbbo; 06-23-2017 at 05:32 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
  •