send

From OpenKore Wiki
(Redirected from Send)
Jump to navigation Jump to search
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.