Difference between revisions of "Help:To Do List"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(→‎Missing Stuff: test CLI command)
imported>Bale
(→‎Missing Stuff: is_banished has been added to the wiki)
Line 29: Line 29:
 
  13213: Add "debug ash on" and "debug ash off" to turn on and off ASH script tracing  
 
  13213: Add "debug ash on" and "debug ash off" to turn on and off ASH script tracing  
 
  ASH tracing goes into ASH_datestamp.txt
 
  ASH tracing goes into ASH_datestamp.txt
 
13222: Add preference banishedMonsters to track banishes. Add ash command '''is_banished($monsterName[name])'''
 
  
 
  r14729: add fixedThreadPoolSize pref - diagnostic/fine tuning for limiting the threadpool size.
 
  r14729: add fixedThreadPoolSize pref - diagnostic/fine tuning for limiting the threadpool size.

Revision as of 07:38, 22 November 2014

"To Do" List

This is a list of stuff that is missing from the wiki or else needs major work. Please help!


If you need tips for editing the wiki, find that here: Help:Editing.

  • CLI Commands are usually only added to the CLI Reference. Only very complicated commands require their own page.
  • ASH commands need to be listed on their category page as well as on the Ash Functions list.
    • It is not necessary to always create a code sample, although it is preferred.
    • If you don't add a code sample, please remember to add needscode=yes| to the page.


Missing Stuff

r9181, 9183, 9184 & r9190: moods per slyz's summary here: http://kolmafia.us/showthread.php?8852-Composable-Moods
r11707: Experimental ASH feature: the main() function of imported scripts can now be
invoked, under the alternate name main@filename()
(where 'filename' can be overridden by a 'script' directive, any ".ash"
suffix is dropped, and non-alphanumeric characters are replaced by
underscores). Note that no spaces are allowed around the @, the whole thing
is a single token.
r12062: add ASH get_outfits() and get_custom_outfits()
13213: Add "debug ash on" and "debug ash off" to turn on and off ASH script tracing 
ASH tracing goes into ASH_datestamp.txt
r14729: add fixedThreadPoolSize pref - diagnostic/fine tuning for limiting the threadpool size.
r8628 http://kolmafia.us/showthread.php?4750-Master-Relay-Override&p=34367&viewfull=1#post34367
string get_path_full() Returns the full URL that was submitted.
string get_path()Returns just the page name of the URL that was submitted.
string get_path_variables() Returns just the variables after the "?" in the URL that was submitted.
r11198: Add naive implementation of to_json() for all types
It has no special checking, so don't use this on something that can't actually be converted directly into JSON 
(so an aggregate type that doesn't use non-simple keys) or it'll return a gibberish string that JSON parsers will choke on.
string to_json( null )
http://kolmafia.us/showthread.php?10513-JSON-data-exporting
It is intended to be given an aggregate as an input.
test CLI commands:

r14764: add "test xpath" to, well, test xpath expressions
r14767: Expose an xpath function that relay scripts can use after they've invoked visit_url().
http://kolmafia.us/showthread.php?16722-the-DOM-regex-scalability-and-other-jargony-words
http://kolmafia.us/showthread.php?16764-xpath-primer

r14967: Add "test mchat" command which can be used after "test load JSONFILE"

Needs Major Work

Proxy Records is only slightly better than a placeholder.

In r10047, the adventure tab interface was altered. Fix SinginSally's guide on pages...

http://wiki.kolmafia.us/index.php?title=KoLmafia_Guide:_Attack_Script
http://wiki.kolmafia.us/index.php?title=KoLmafia_Guide:_Custom_Combat_Script
http://wiki.kolmafia.us/index.php?title=KoLmafia_Guide:_Goal-Oriented_Adventuring
Information on moods calling other moods: http://kolmafia.us/showthread.php?8852-Composable-Moods&p=66468&viewfull=1#post66468

Needs Code Samples

There is a list of all pages that require code samples: Category:Needs Code Sample

Information on how to create a code sample: Template:CodeSample