Search results

  1. E

    Problems with stash.

    in the cli a ; at the end of the command is not needed unless there is more than one command on a line. As Macman stated bit of clingfilm is not trade-able and therefore not stash-able. kolmafia is probably trying to put that item in with others in a group of 11, and KOL's servers detect that...
  2. E

    Additional input and inventory management

    I am unsure of the answer to that one. cli_execute("call foo.ash") boolean contains() { } result:> call scripts\contains.ash Reserved word 'contains' cannot be used as a function name (contains.ash, line 1) I would say there is. the ash version is not server friendly anyway. None of the...
  3. E

    Additional input and inventory management

    for yes/no type questions there is boolean user_confirm( string ) for other there is a cluncky workaround, starting another script with parameters to main(), and saving the answers in properties.
  4. E

    List sorting features in KOLMAFIA.....

    That was a project I put a lot of thought into at one time, and never quite figured it out...but I think this might be of interest. I expect there will be changes if used. In order to show the basic functionality I needed some of the buttons to work, and I hard-coded some data in...it's just a...
  5. E

    auto login to run buffbot

    int MinutesToRollover() { //get the html source string source = visit_url("charpane.php"); //the start of the rollover var int ROS = index_of( source, "var rollover = " ) + length( "var rollover = " ); //the end of the rollover var int ROE = index_of( source, ";", ROS ); //the start of the...
  6. E

    auto login to run buffbot

    charpane.php contains 2 vars, var rollover = big number, var rightnow = big number. Subtract rightnow from rollover to get the number of seconds til rollover. divide by 60 for minutes and so-on. Other ideas?
  7. E

    Not a Kolmafia problem but...

    I just ran the program on an initial debug run, and now I need to test the output file. It seems that the file must be loaded from the web, and not from my local machine, so I am going to post the file here, and download it via pricegun for debug purposes. If you know how to do it, you are...
  8. E

    Ash documentation....

    I would prefer to see something like thefollowing KOL wiki page. http://kol.coldfront.net/thekolwiki/index.php/Category:Booze to put a link to the Best drinks page http://kol.coldfront.net/thekolwiki/index.php/Best_Drinks into the list, they put the following code on the best drinks page...
  9. E

    Not a Kolmafia problem but...

    Get Vs Post was definitely the problem. It took me some time to test because it was a little more work than just changing function calls. I had to re-structure the request from using a single string for the URL and all arguments to using a separate string for each argument. After switching to...
  10. E

    Not a Kolmafia problem but...

    your right about it being pascal. I will study into get vs post, however my previous understanding was that the TIDHTTP component always used post to retrieve data. I haven't checked since updating my Indy library, and there were many changes between the version I am most familiar with and the...
  11. E

    Not a Kolmafia problem but...

    if there are not 300 stores in the mall with the searched item at 999,999,998 or less, then I get N results where N is the number of stores there are. It appears as if I am executing the URL for a search with no quantity limit instead of a limit of 5. I have studied the URL for a typo, but I...
  12. E

    auto login to run buffbot

    The easy way: click start-->control panel, then select scheduled tasks, then add a scheduled task. This will bring up a wizard. Click next, then click browse, and browse to the folder containing kolmafia. select the exe or jar file desired. select daily then click next set your start time...
  13. E

    Not a Kolmafia problem but...

    From my understanding Fnord7 does not want to update his mallbot, and there's been problems getting the original code to work on another character/machine with another operator. I wouldn't ask this question here, but it relates to KOL, and I think I may have a mistake either in my encoding of...
  14. E

    Convert real-world calendar dates into KoL calendar dates

    you are the first kol player I have heard refer to a kol birthday in kol time. Even Jick and Co. go by the regular calendar to give out the anniversary gift boxes. The original statement was about kol birthdays, not getting the kol date. I will continue with kol birthdays. Heck I don't know if...
  15. E

    Convert real-world calendar dates into KoL calendar dates

    I'll one better ya! I don't even need charpane.php, I'll use an existing ash function to get the date. of course I have to use showplayer.php to get the player's kol Birthday... anyway here ya go, this code will be good till 2038 (unless there is a change to Kolmafia or kol) at which point...
  16. E

    Convert real-world calendar dates into KoL calendar dates

    This data is available via charpane.php without the need for php scripts on your own server. It has been for a very long time. It's basic math. Before that, a simple batch file on windows could achieve the same results...write an ash script via a batch file. There are ways of doing that same...
  17. E

    Script to summon Daily Noodles, reagents, coctail items,...

    A check to see if you are HC or not? Seems if you always forget to change the kolmafia breakfast settings you would forget to enable the breakfast script? At least I would. With the check added, you could easily leave it enabled constantly.
  18. E

    Internal database files

    I missed that change, but it is very useful! I have been looking for a way to address the potential for a change to the data structure kolmafia uses, and with this change applications I have written can also detect the change with a few quick changes to the core. I use Kolmafia's Database...
  19. E

    I need help with coding a few things.

    1: Dunno 2: send * meat to efilnikufecin where * is the amount, * means all and my name is the user you are sending to. also note: send * disco ball to efilnikufecin will send me your disco balls. Both are cli commands, wrap in a cli_execute command. 3: void main(int howmany) { eat(howmany...
  20. E

    Internal database files

    http://kolmafia.svn.sourceforge.net/viewvc/*checkout*/kolmafia/src/data/itemdescs.txt http://kolmafia.svn.sourceforge.net/viewvc/*checkout*/kolmafia/src/data/tradeitems.txt There is a "1" on the first line of both files. I'm wondering if they're supposed to be there or not? If they're supposed...
Back
Top