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') |
|||
(2 intermediate revisions by one other user not shown) | |||
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. If you don't do any of that, you may easily meet various problems, for example, vending wrong items with wrong prices (if you would have vended using '''send'''). Also, you can share your patch/diff with us to include in OpenKore. | |||
[[Category:Console Command]] | [[Category:Console Command]] |
Latest revision as of 22:35, 26 April 2021
- 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. If you don't do any of that, you may easily meet various problems, for example, vending wrong items with wrong prices (if you would have vended using send). Also, you can share your patch/diff with us to include in OpenKore.