View Single Post
Flasher
Senior Member
Join Date: Apr 2008
Old 12-01-2008 , 19:48   Re: AdminICQ - Send ICQ message to admin
Reply With Quote #20

Quote:
Originally Posted by DruGzOG View Post
Wouldn't the highlighted be using a master server?
No. Let's I describe the conceptions:

1. FFAC ICQ bot:
User type "!admin message".
Plugin catch say event. Then it check for "!admin" string if it is, plugin prepare next info: admin ICQ, message, and send this info by UDP packet to predefined master server.
Master server is running special program that waits such UDP packets and, when receives, it send an ICQ message to specified admin ICQ.

2. AdminICQ plugin:
Special module on HL server starts ICQ client using icqbot_uin and icqbot_pass "CVARs" information (they are not really CVARs, but this is not important).
User type "!admin message".
Plugin catch say event. Then it check for "!admin" string if it is, plugin call for module running ICQ client send message to specified admin ICQ.
ICQ Client running in separate thread on HL server send message.

There will be more I hope: If I will have some free time I will do message receiving by server. This can give some more interesting features: admininstering server by ICQ, subscribing on in game events, such as notification about your friend is come to play on server, your faivorite map is started and so on.

Last edited by Flasher; 12-01-2008 at 19:55.
Flasher is offline