send: Difference between revisions
Jump to navigation
Jump to search
(Created page with ';send (<hex string>) :<hex string> ::- a space-separated sequence of hex codes (e.g. 04 02 22 37 D7 FC). :Send a raw packet to the server. Category:Console Command') |
(this is not meant to be used in any configs/macros) |
||
Line 1: | Line 1: | ||
;send | ;send <hex string> | ||
:<hex string> | :<hex string> | ||
::- a space-separated sequence of hex codes (e.g. 04 02 22 37 D7 FC). | ::- a space-separated sequence of hex codes (e.g. 04 02 22 37 D7 FC). | ||
Send a raw packet to the server. | |||
'''That is meant only for testing!''' If you're using that in configuration (for example, doCommand) or macro, you should add corresponding sub in your serverType's Send package (located at <code>src/Network/Send</code>) and use it instead via global <code>$messageSender</code> object. Additionally, you can then add console command to wrap <code>$messageSender</code> usage into something which can be used easier. | |||
[[Category:Console Command]] | [[Category:Console Command]] |
Revision as of 01:00, 13 February 2011
- send <hex string>
- <hex string>
- - a space-separated sequence of hex codes (e.g. 04 02 22 37 D7 FC).
Send a raw packet to the server.
That is meant only for testing! If you're using that in configuration (for example, doCommand) or macro, you should add corresponding sub in your serverType's Send package (located at src/Network/Send
) and use it instead via global $messageSender
object. Additionally, you can then add console command to wrap $messageSender
usage into something which can be used easier.