send: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|
(No difference)
|
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.