send: Difference between revisions
Jump to navigation
Jump to search
(this is not meant to be used in any configs/macros) |
mNo edit summary |
||
Line 6: | Line 6: | ||
Send a raw packet to the server. | 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. | '''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]] |
Revision as of 20:00, 18 May 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. 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.