| 1 | --[[ |
| 2 | Copyright (C) 2014 HarpyWar ([email protected]) |
| 3 | |
| 4 | This file is a part of the PvPGN Project http://pvpgn.pro |
| 5 | Licensed under the same terms as Lua itself. |
| 6 | ]]-- |
| 7 | |
| 8 | -- Receive SID_READMEMORY |
| 9 | function handle_client_readmemory(account, request_id, data) |
| 10 | |
| 11 | --DEBUG("Read memory request Id: " .. request_id) |
| 12 | |
| 13 | -- display memory bytes |
| 14 | --TRACE(data) |
| 15 | |
| 16 | if (config.ah) then |
| 17 | ah_handle_client(account, request_id, data) |
| 18 | end |
| 19 | |
| 20 | end |
| 21 | |
| 22 | -- Receive SID_EXTRAWORK |
| 23 | function handle_client_extrawork(account, gametype, length, data) |
| 24 | --DEBUG(string.format("Received EXTRAWORK packet with GameType: %d and Length: %d (%s)", gametype, length, data)) |
| 25 | |
| 26 | end |