AdminICQ - Send message to admin on ICQ/AIM
7 Attachment(s)
This plugin with module allow you to add ICQ/AIM ability to your server.
Features:
Module was written under AMXX 1.8.0 SDK, but I use it on server with AMXX 1.8.1. Tested on Windows and Linux HLDM dedicated servers. For ICQ protocol implementation I used AOL AIM Custom Client SDK version 1.6.8 (http://dev.aol.com/aim/sdk). This was most fast way to get ICQ functionality. But if someone will point me to good OpenSource ICQ library I will try to switch to it. How to setup:
icqbot_uin "ICQ_account_number_for_server" icqbot_pass "ICQ_account_password" adminicq_admins "admin_ICQ_number;another_admin_ICQ_numbe r" // for example // icqbot_uin "123456789" // icqbot_pass "fd2$terf" // adminicq_admins "123456;987654" Also you can set in server.cfg: adminicq_trigger "!admin" // 31 char max. Default is "!admin". If empty (""), players can't send administrative alert. Notification is also will not be displayed. adminicq_showinfo 1 // show notification that players can send ICQ message to admin. Default is 1. adminicq_flood_time 600 // time range (in seconds) in which player can send 4 messages to admin (flood protection). Default is 600. adminicq_allowexec 0 // If 1 allow execution of commands received thru ICQ, otherwise if 0 just say text to all users. Default is 0. There are some limitations on messages length:
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. Next to do:
1.7 [!]Fixed: if no rcon password specified it will be set to random value on execution time of the command. 1.6 [!]Fixed: character escaping is now correct in message sended to admin on trigger. 1.5 [!]Changed: CVAR changed from adminicq_sendto to adminicq_admins! [+]Added: now commands in execute mode (adminicq_allowexec 1) are executed thru rcon and output of command is sent back to admin. If execution thru rcon is unsuccessfull command is executed directly in console and admin receive no output. [!]Fixed: added trimming of uins before comparing in admins check. 1.4 [!]Fixed: message in say mode (adminicq_allowexec 0) is now truncated to 63 chars. In previous version if message exceeded 514 chars server can't say it. 1.3 [!]Fixed: if adminicq_trigger is empty ("") players can't send administrative alerts, but notification about AdminICQ is displayed to them. Now notification will not be displayed if adminicq_trigger is empty (""). 1.2 [+]Added: server can receive messages via ICQ client and execute them on server console as commands if adminicq_allowexec set to 1 or just display message to all players if adminicq_allowexec set to 0 (default behaviour). [+]Added: new CVAR adminicq_allowexec. Default 0. If 0 first string from message will be displayed to all players in chat area (simply say command at server console), otherwise (if 1) execute each row of message as command at server console. 1.1 [!]Fixed: ICQ client goes offline on map change. Change log for module: 1.6 [!]Fixed: on fast machines messages could be sent to last specified admin if there is more than one admin specified. 1.5 (downloaded: windows: 128, linux: 73) [!]Fixed: if ICQ goes offline somehow it will try to reconnect. 1.4 [!]New: Linux version released. [!]Changed: jgtktlk.dll and sipXtapi.dll are removed from acclib.zip (now Windows acclib.zip) because they are unneeded. [!]Changed: icqbot.amxx and icqbot.sma are removed because functionality of this plugin now moved into module. [!]Changed: incoming message truncation lenght reduced to 1023. 1.2 [+]Added: server can receive messages via ICQ client. 1.1 [!]Fixed: ICQ client goes offline on map change. You need to download acclib.zip and ICQBot.zip apropriate to your system type and AdminICQ.zip. SMA files was not included on the page because they reference INC file, so they all reside in archives. You should redownload only AdminICQ and ICQBot.zip archives on version changes, acclib.zip will not change unless specified. You don't need to download "ICQBot Module Source.zip" because this is source for module. |
Re: AdminICQ - Send ICQ message to admin
Only dll for win, wtf go die in hell !
I'm kidding, good job even If I do think it's not a good idea the add this kind of functionnality inside a server |
Re: AdminICQ - Send ICQ message to admin
You should use libpurple so you can make linux binaries. Just a suggestion..
|
Re: AdminICQ - Send ICQ message to admin
Quote:
I just use windows HLDM server, write this for it and think that may be it will be usefull for somebody else. I can split ICQ client from server like you did, but doesn't see much sense in this. Now ICQ client run on separate thread. Anyway it should run somewhere, may be on the same server, so why not in the same process? Quote:
|
Re: AdminICQ - Send ICQ message to admin
icqbot_uin "ICQ_account_number_for_server"
icqbot_pass "ICQ_account_password" I don't understand what this commands do. They create new ICQ user or I should create new user by myself and set login and password in this cvars? |
Re: AdminICQ - Send ICQ message to admin
Quote:
|
Re: AdminICQ - Send ICQ message to admin
Wasnt their something like this, such as AIM, IRC, ICQ, and Messanger and from your game you can send a message
|
Re: AdminICQ - Send ICQ message to admin
Quote:
|
Re: AdminICQ - Send ICQ message to admin
Is there any plugin like this for mIRC?
|
Re: AdminICQ - Send ICQ message to admin
Quote:
*Updated topic starter. Quote:
|
All times are GMT -4. The time now is 16:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.