Search results

  1. N

    GCLI print() in color

    Evil thread necro... but the question is directly related to this added color functionality. Does anyone know how to print to the same line? (I'm looking to create multicolor lines of text) Failed: print( "You "+print( "Win", "#00FF00")) Since its a "void" return so it doesn't actually return...
  2. N

    Passing $location[none] to a ASH script?

    Seeing as how you can have void main( location PassedLoc) and it pops up with a dropdown box for you to select which location to set PassedLoc to, is there some way to edit the adventures file to have a "fake" location so theres a option to select $location[none]? I'm just asking as I have...
  3. N

    Simple Adventure Script

    If in doubt check the manual! Or at least thats what I still do, http://kolmafia.sourceforge.net/scripting.html Heh while I'm not trying to be mean I just want to ask why exactly do are you Lemon-party slotting these multi's? I mean surely theres better places to train if your using that kind...
  4. N

    CLI summaries to text logs

    summary .\mafia\10.2\Logs\FarmingResult.txt (The .\ means starting from where the kolmafia executable file is, so .\settings\Test.txt would send it to Test.txt in the settings folder. It will automatically create the folder if needed.) At least it worked for me on 10.3, I don't currently have...
  5. N

    Closeting Quest Items - ClosetQuest v0.8

    Re: Closeting Quest Items - ClosetQuest v0.4 Heh since you already rewritten the function a simple edit to make it work is semi-redundant but having a look at that section of code I get the feeling the "closet_amount()" functions should be &&ed together not ||ed. Stick brackets around the...
  6. N

    Linking ash files...

    Thread-jack but the above... I read in the manual somewhere (Can't remember where exactly, I checked "call" in the basic scripting section but it wasn't there) that calling a ASH script while within a ASH script could result in unpredictable results. So I'm just wondering if you have ever...
  7. N

    Yeah, but exactly HOW do you do it?

    Yay for notepad and ctrl+g for goto line. ^^ Anyway currently I still use notepad, yeah gets a bit confusing when you have massive nested code but yeah, simple and most windows boxes have it.
  8. N

    can_adventure( location loc)?

    Weee thread necro... Well actually not quite a month but I've encountered some various locations which I need help with, the 3 clan gyms. I am under the impression that URL's with "clan" are blacklisted internally so parsing the visit_url of the rumpus room is dead and I can't think of any other...
  9. N

    auto-Pet-buffing spray

    Hmmm mind attaching the updated file? It's really kind of hard debugging something when you probably have a different version of the script as the person thats trying to use it >>. Hmm use have_effect( $effect[Heavy Petting]) instead of int have_effect[Heavy Petting](The int at the start is...
  10. N

    auto-Pet-buffing spray

    Wow you learn something everyday, on my V10.1 (Jan 7th re-release), it seems you can't have functions that use "-" in its name. (So you will need to change that to a "_" or such) Thats not really a error on your part though. Once you change the name of the function theres only one other error...
  11. N

    a Buffbot script

    I'm pretty sure the today_to_string command is set to EDT (Think its EDT) so it should work for rollover checks. (A print of today_to_string returned 20070121 when its the 22nd in my country (+12 GMT)
  12. N

    get all clovers from hermit

    I thought the spiceloop got broken ever since the clovers were limited (since the loop uses a clover to get a trinket)?
  13. N

    Daily farming script

    I always just figured it saw the "=", goes "ohhh so the stuff before was a variable and the following will be the value"... then "Wait, wtf, its got 2 open parentheses and only 1 closing parentheses", then "zomg throw a error saying they need another closing parentheses". Just a guess though.
  14. N

    Adventures.dat to Location Map?

    We get the same output... The problem is that, when the record isn't fully filled in it just marks the value as "none"... Output we get in the GCLI: Astral 0/0 adventure=96 none ----- Output I'm looking for in the GCLI: Astral 0/0 adventure=96 Astral Mushroom (Bad Trip) none ----- Its listed...
  15. N

    Daily farming script

    Your missing a second "=" sign in your if... (Use "==" not "=")
  16. N

    Adventures.dat to Location Map?

    Hmmm since in adventures.txt the first line is the "area" it repeats itself which means I can't just use a single key map... Effectively I'm forced to use a 3 key map and it doesn't seem to be working... It only has the location name when theres a optional objective, no optional objective means...
  17. N

    Adventures.dat to Location Map?

    Hmm, I updated to 10.1 now and updated to work with the new file format (I was using 9.9 before) but I still can't seem to get it to work, care to link me to your script?
  18. N

    Daily farming script

    Because if you looped that yeti purchasing script it WOULD be a mallbot? (You never did specify when you were going to run that script, and when you leave it as "I want to buy X item when under Y price" it's not suprising one will assume mallbot)
  19. N

    Adventures.dat to Location Map?

    I'm just wondering if anyone has figured out a way to import a file using file_to_map when the file has different numbers of tab characters? (The objectives section of adventures.dat for instance) I'm trying to pull out what locations are in mafia's internal datafiles but clearly I'm having...
  20. N

    Daily farming script

    I would agree if only it didn't require the purchase of a item first before being able to determine if a item is under a certain value. (There is actually a few ways to bypass the actual buying but he never stated any of them so I assume he didn't think of them or doesn't know how to use them)...
Back
Top