Changes between Version 45 and Version 46 of ProtocolZero


Ignore:
Timestamp:
Jun 8, 2011 11:08:11 AM (13 years ago)
Author:
jherwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v45 v46  
    8888 * ''wiki:sh'' - "Set Health". Takes two arguments:
    8989  * long botid
    90   * int dhealth
     90  * int newhealth
    9191 * ''wiki:sg'' - "Set Gravity". Takes one argument:
    9292  * float gravity
     93 * ''wiki:sa;; - "Set Armor". Takes two arguments:
     94  * long botid
     95  * int newarmor
    9396
    9497* God Queries
    95 
     98 * ''wiki:gh'' - "Get Health". Takes one argument:
     99  * long botid
     100 * ''wiki:ga'' - "Get Armor". Takes one argument:
     101  * long botid
     102 * ''wiki:gg;; - "Get Gravity". Takes no arguments.
     103 * ''wiki:gp'' - "Get Positions". Takes no arguments.
     104 * ''wiki:fd'' - "Find Distance". Takes four arguments:
     105  * double x1
     106  * double y1
     107  * double x2
     108  * double y2
    96109== Example Session ==
    97110All strings here are terminated in a newline. In a program like telnet, this will typically be automatic for you, but if you're writing your own socket code, be sure to separate commands with newlines.