2014-05-26 16:17:51 +04: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.
|
|
|
|
|
]]--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function handle_user_whisper(account_src, account_dst, text)
|
2014-06-17 12:53:49 +04:00
|
|
|
--DEBUG(account_src.name.."->"..account_dst.name.. ": ".. text)
|
2014-05-26 16:17:51 +04:00
|
|
|
--return 1;
|
|
|
|
|
end
|
2014-07-30 17:15:30 +04:00
|
|
|
|
2014-05-26 16:17:51 +04:00
|
|
|
function handle_user_login(account)
|
2014-07-30 17:15:30 +04:00
|
|
|
if (config.ghost) then
|
|
|
|
|
gh_handle_user_login(account)
|
|
|
|
|
end
|
|
|
|
|
|
2014-08-05 21:16:49 +04:00
|
|
|
-- send SID_REQUIREDWORK
|
2014-08-10 14:21:37 +04:00
|
|
|
--if account.archtag == ARCHTAG_WINX86 then
|
|
|
|
|
-- api.client_requiredwork(account.name, "IX86ExtraWork.mpq")
|
|
|
|
|
--end
|
2014-08-05 21:16:49 +04:00
|
|
|
|
2014-06-17 12:53:49 +04:00
|
|
|
--DEBUG(account.name.." logged in")
|
2014-05-26 16:17:51 +04:00
|
|
|
--return 1;
|
|
|
|
|
end
|
2014-08-02 17:51:07 +04:00
|
|
|
|
2014-05-26 16:17:51 +04:00
|
|
|
function handle_user_disconnect(account)
|
2014-06-17 12:53:49 +04:00
|
|
|
--DEBUG(account.name.." disconnected")
|
2014-05-26 16:17:51 +04:00
|
|
|
end
|
|
|
|
|
|
2014-08-02 17:51:07 +04:00
|
|
|
function handle_user_icon(account, iconinfo)
|
|
|
|
|
--TRACE("iconinfo"..iconinfo)
|
|
|
|
|
--return iconinfo
|
|
|
|
|
end
|
|
|
|
|
|