2014-06-17 01:35:06 -06:00
|
|
|
--[[
|
|
|
|
Copyright (C) 2014 HarpyWar (harpywar@gmail.com)
|
|
|
|
|
|
|
|
This file is a part of the PvPGN Project http://pvpgn.pro
|
|
|
|
Licensed under the same terms as Lua itself.
|
|
|
|
]]--
|
|
|
|
|
2014-08-05 11:16:49 -06:00
|
|
|
-- Receive SID_READMEMORY
|
2014-06-17 01:35:06 -06:00
|
|
|
function handle_client_readmemory(account, request_id, data)
|
|
|
|
|
2014-08-05 11:16:49 -06:00
|
|
|
--DEBUG("Read memory request Id: " .. request_id)
|
2014-06-19 11:16:57 -06:00
|
|
|
|
2014-06-17 01:35:06 -06:00
|
|
|
-- display memory bytes
|
2014-08-05 11:16:49 -06:00
|
|
|
--TRACE(data)
|
2014-06-19 11:16:57 -06:00
|
|
|
|
|
|
|
if (config.ah) then
|
|
|
|
ah_handle_client(account, request_id, data)
|
|
|
|
end
|
2014-06-17 01:35:06 -06:00
|
|
|
|
|
|
|
end
|
2014-08-05 11:16:49 -06:00
|
|
|
|
|
|
|
-- Receive SID_EXTRAWORK
|
|
|
|
function handle_client_extrawork(account, gametype, length, data)
|
|
|
|
--DEBUG(string.format("Received EXTRAWORK packet with GameType: %d and Length: %d (%s)", gametype, length, data))
|
|
|
|
|
|
|
|
end
|