Changes between Version 45 and Version 46 of ProtocolZero
- Timestamp:
- Jun 8, 2011 11:08:11 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProtocolZero
v45 v46 88 88 * ''wiki:sh'' - "Set Health". Takes two arguments: 89 89 * long botid 90 * int dhealth90 * int newhealth 91 91 * ''wiki:sg'' - "Set Gravity". Takes one argument: 92 92 * float gravity 93 * ''wiki:sa;; - "Set Armor". Takes two arguments: 94 * long botid 95 * int newarmor 93 96 94 97 * 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 96 109 == Example Session == 97 110 All 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.