FFAC/Tools Features 2.8 !
Statisticals part
Players stats
Team stats
Server stats
Ingame stats, website
Death,kill,spawn, .. counter, rank by csstats,skill, ...
Other misc function to display stats ( like display skill on aim ! )
Tools
MSN Bot
Aim Bot
ICQ Bot
Banlist ( about 12000 cheater banned ... )
Package manager ( install plugin like amxmatchdeluxe with one command line, without ftp access, ... )
Auto update ( The plugin automaticaly download and install the lastest version ! )
Map Download ( You wan some new map on your server, there is a function to download map from ffac server to your server ! )
Library
Now you can use FFAC as a library
So you can develop a plugin which use the FFAC MSN BOT, ...
********************************************* ********************************************* ***/[/code] The purpose of the plugin is to provided a kind of "global" ranking and admins tools on several server at the same time.
For example you go on a server A, you get a skill of 54000. You leave the server and go on an other one. Your skill will load on the other server, ...
FFAC/Tools
Statisticals part
Players stats
Description:
Players stats are available ingame and on the ffac website. FFAC provides several player stats :
- Connection count
- Online Time
- Kill
- Death
- HS
- HS taken
- Spawns
- Server rank
- FFAC rank
- Skill
- Country
Commands:
- skill (say ): show your skill
- mystats ( say ): display your full stats in motd
- /me ( say ) : display your level in chat (low/middle/... )
- rank ( say ) : display your rank on the server and on all server ( by skill and csstats )
Team stats
Description:
Team stats are only available on the FFAC Website for now (
http://82.232.102.55/FFAC ). Team are ranked by skill only.
FAQ :
Join a team ?
Play on a server with the FFAC plugin, register on the FFAC website (
http://82.232.102.55/FFAC ), and go to the team list.
Misc
Sentence log : log sentences on the FFAC website
Commands:
- ffac version ( say ) : displays FFAC version
- ffac changelog ( say ) : displays the ffac changelog
- !log <sentence> ( say ) : log a sentence on the ffac website, you can see all your logged sentences on the ffac website
CVARS:
- ffac_plog (default 1) : Enable log sentence
- ffac_ip_bind (default "") : Set your public ip ( if you server is behind something ... )
Tools
Banlist
Description:
FFAC provides a global banlist like steambans or radars.
CVARS:
- ffac_ffacban (default 1) : Use the FFAC banned steamid database
- ffac_ban (default 30) : Duration of a FFACBan in Min
Package manager
Description:
FFAC include a package manager like apt/dpkg on debian ... So a package is pack with several files and installation instruction. The package manager will download and install every files from FFAC server and configures everything automaticaly. For now there are about 10 packages.
new(v1.4) : You can access to the hpt_menu with the amxmodmenu command !
Sample:
You want to install amxmatchdeluxe for your server.
You have two solution :
- in console : "amx_ffac_hpt_install matchdeluxe"
- in console : "amx_ffac_hpt_menu" and select "amx matchdeluxe"
The package manager will download all plugin file from FFAC server and add all config automaticaly ( With one line you can install a plugin ! )
Available packages
smallfun ( this package contains, spawnprotection, bunnyhop and lastmanbets )
sanksound ( this package contains sanksound plugin with sounds )
matchdeluxe ( this package contains amx_match_deluxe )
more and more ... use amx_ffac_hpt_menu to display all packages
CVARS:
- ffac_hpt (default 1) : Enable the packet manager
Admins commands:
- amx_ffac_hpt_install <package> : Install a package on your server!
- amx_ffac_hpt_remove <package> : Remove a package
- amx_ffac_hpt_menu : Show a menu with all packages available
Map download system
Description:
Allow to download map from FFAC server to your server.
Sample:
You don't have fy_pool_day, your admin don't have a ftp access to the server and he wants put fy_pool_day.
He can download with a command on the server :
amx_ffac_map_download fy_pool_day
The server'll download the map and he will be able to changemap to fy_pool_day
Admins commands:
- amx_ffac_map_download <map> : download a map from the ffac server on your server !
- amx_ffac_map_list : show the list of downloable maps
Auto update
Description:
Automaticaly download and install the lastest version of FFAC.
admin :
*amx_ffac_ban <user id or steam id> : ban a player for amx_ffac_ffacban minuts, and repport the ban to the ffac server
*amx_ffac_map_download <map> : download a map from the ffac server on your server !
*amx_ffac_map_list : show the list of downloable maps
*amx_ffac_hpt_install <package> : Install a package on your server !
*amx_ffac_hpt_remove <package> : Remove a package
*amx_ffac_hpt_menu : Show a menu with all packages available
CVARS:- ffac_autoupdate ( default 1 ) : enable autoupdate
MISC
CVARS:
- ffac_packetsize ( default 1024 ) : Size of packets
- ffac_master_server ( default "82.232.102.55" ) : FFAC master server address
- ffac_slave_server ( default "91.121.69.110" ) : FFAC slave server address
- ffac_location ( default 0 ) : enable city/latitute/longitude resolution
Library
Now ffac can work as a library. You can use functions like the msn bot, the package manager in your plugins.
PHP Code:
#pragma reqlib "ffac_sys"
/**********************
Include file for FFAC 2.3
please visit http://82.232.102.55/FFAC
***********************/
/*************************************************
Register a plugin in ffac
Now ... this do nothing ... but it'll be usefull for plugin autoupdate, ... :)
**************************************************/
native ffac_register_plugin(const plugin_name[], const version[], const author[])
/*************************************************
//return the ffac id of the server
**************************************************/
native ffac_get_server_id()
/*************************************************
//return is if the player is authentified on ffac server
// 0 = no auth, 1 = auth, 2 = under auth
Banned player can't get an autentification
**************************************************/
native ffac_is_player_auth(id)
/*************************************************
//return a player skill
//please note the skill is retrieve about 1 second after the player connection !
**************************************************/
native ffac_get_skill(id)
/*************************************************************************
**************************************************************************
**************************************************************************
FFAC MSN BOT RULES ! PLEASE READ !
First, this is free, please don't abuse !
The bot may be slow ... It's normal and I've no enought time to check the problem ...
How to add a contact ?
-Send a message, the bot will drop the message and add the contact in the contact list
How ti remove a contact ?
-You can't
How to get the contact list ?
-You can't
How to send a message to several contact ?
-"[email protected];[email protected];[email protected]"
**************************************************************************
**************************************************************************
**************************************************************************/
/*************************************************
// Send a message to someone on msn throught the ffac bot !
Please note the msn contact is defined with the cvar "ffac_msn_contact" in ffac plugin.
**************************************************/
native ffac_msn_message2admin(msg[128])
/*************************************************
// Send a message to someone on msn throught the ffac bot !
Please note the msn contact is defined with the cvar "ffac_msn_contact" in ffac plugin.
This is the function of the ffac 1.x plugin which display the ident and a nickname
**************************************************/
native ffac_msn_message2admin2(msg[128],ident[32],nickname[32])
/*************************************************
Send a message to a specific contact ! Please send to only ONE CONTACT a the same time
Please don't abuse of this function ...
**************************************************/
native ffac_msn_message(msg[128],msncontact[128])
/*************************************************************************
**************************************************************************
**************************************************************************
FFAC AIM BOT RULES ! PLEASE READ !
First, this is free, please don't abuse !
The bot may be slow ... It's normal and I've no enought time to check the problem ...
How to add a contact ?
-Send a message, the bot will drop the message and add the contact in the contact list
How ti remove a contact ?
-You can't
How to get the contact list ?
-You can't
How to send a message to several contact ?
-"buddyname;buddyname2"
**************************************************************************
**************************************************************************
**************************************************************************/
/*************************************************
// Send a message to someone on msn throught the ffac bot !
Please note the msn contact is defined with the cvar "ffac_msn_contact" in ffac plugin.
**************************************************/
native ffac_aim_message2admin(msg[128])
/*************************************************
// Send a message to someone on msn throught the ffac bot !
Please note the msn contact is defined with the cvar "ffac_msn_contact" in ffac plugin.
This is the function of the ffac 1.x plugin which display the ident and a nickname
**************************************************/
native ffac_aim_message2admin2(msg[128],ident[32],nickname[32])
/*************************************************
Send a message to a specific contact ! Please send to only ONE CONTACT a the same time
Please don't abuse of this function ...
**************************************************/
native ffac_aim_message(msg[128],msncontact[64])
/*************************************************************************
**************************************************************************
**************************************************************************
FFAC ICQ BOT RULES ! PLEASE READ !
First, this is free, please don't abuse !
The bot may be slow ... It's normal and I've no enought time to check the problem ...
How to add a contact ?
-Send a message, the bot will drop the message and add the contact in the contact list
How ti remove a contact ?
-You can't
How to get the contact list ?
-You can't
How to send a message to several contact ?
-"buddyname;buddyname2"
**************************************************************************
**************************************************************************
**************************************************************************/
/*************************************************
// Send a message to someone on msn throught the ffac bot !
Please note the msn contact is defined with the cvar "ffac_msn_contact" in ffac plugin.
**************************************************/
native ffac_icq_message2admin(msg[128])
/*************************************************
// Send a message to someone on msn throught the ffac bot !
Please note the msn contact is defined with the cvar "ffac_msn_contact" in ffac plugin.
This is the function of the ffac 1.x plugin which display the ident and a nickname
**************************************************/
native ffac_icq_message2admin2(msg[128],ident[32],nickname[32])
/*************************************************
Send a message to a specific contact ! Please send to only ONE CONTACT a the same time
Please don't abuse of this function ...
**************************************************/
native ffac_icq_message(msg[128],msncontact[64])
/*************************************************************************
**************************************************************************
**************************************************************************
FFAC PACKAGE MANAGER & MAP DOWNLOADER RULES ! PLEASE READ !
First, this is free, please don't abuse !
The speed of the transfer depends on my bandwith and the latency between me and you (pj)
Map download :
Just allow to download maps from ffac server to your server ( no support for maps with .wad, ... )
If you want add maps to ffac map server, please go to http://82.232.102.55/FFAC and post on the forum
Package Manager :
Allow to make package like dpkg on linux ...
To add a new package please post on the ffac forum ( http://82.232.102.55/FFAC )
A package is a plugin.hpt , remove_plugin.hpt file and other packages files
A package can be
************
[INFO]
sanksound: SankSound plugin and sounds //description for the package installer menu
[Version]
1.7 // required version of amxmodx ( here it's 1.7x )
[MkDir]
../../sound/misc //create a directory, may don't work on certain servers ...
[Download]
configs/hpt/remove_sanksound.hpt //download the remove package file
[Download]
../../sound/misc/godlike.wav //download a new sound
...
[Download]
../../sound/misc/ultrakill.wav
[Install]
plugins/ultimate_sounds.amxx //download the plugin
ultimate_sounds.amxx //add the plugin line in plugins.ini
*************
A package remover can be
**************
[Version]
1.7
[UnInstall]
plugins/ultimate_sounds.amxx
ultimate_sounds.amxx
***************
A package installer, for what ?
-Make plugin autoinstaller : for example, make maps installer menu for plugin like soccer jam.
-Autoupdate your plugin
-...
**************************************************************************
**************************************************************************
**************************************************************************/
/*************************************************
Download and install a package
**************************************************/
native ffac_install_package(mapname[32])
/*************************************************
Remove an installed package
**************************************************/
native ffac_remove_package(mapname[32])
/*************************************************
Download a map ( please note, that don't install other map ressources, like .wad or sounds ...)
If you have a map with some other thing, please use the package manager
**************************************************/
native ffac_download_map(packagename[16])
/*************************************************************************
**************************************************************************
**************************************************************************
Other misc functions
First, this is free, please don't abuse !
*************************************************************************
**************************************************************************
**************************************************************************/
/*************************************************
log a sentence. A player can see all his logged sentences on your account on the ffac website.
**************************************************/
native ffac_log_sentence(id,sentence[96])
/**************************************************************************
Location system
***************************************************************************/
native ffac_get_player_latitude(id,latitude[8])
native ffac_get_player_longitude(id,longitude[8])
native ffac_get_player_city(id,city[16])
native ffac_get_player_country(id,country[16])
/**************************************************************************
DBSYS Beta
***************************************************************************/
native ffac_register_gvar(gvarname[])
native ffac_get_gvar_int(gvarid,playerid)
native ffac_set_gvar_int(gvarid,playerid,gvarval)
/**************************************************************************
***************************************************************************/
Installation :
Only install the plugin on your server. The server will be automaticaly add to the server list.
"No incoming port open required"
Front end :
http://82.232.102.55/FFAC
Require :
Socket
Connections of all server on FFAC by day
Connections of all server on FFAC by hours
If you have any questions or suggestions, please ask
Even thought you think it's impossible ^^
http://82.232.102.55/FFAC/forum
Changelog:
2.8
-fix autoswitch server time too short
-some adds for futur improvements
-colours try ...
2.7
-fix autoupdate version bug
-new cvar ffac_slave_server & backup system 2.6
-beta city
-native to get city/lattitude/longitude/country
[2.5]
- dbsys
- Change autoupdate system, now it update only if the version is older
- bmann_420 reported bug corrected
- change tfc mod detection : tfc -> tf%
- new package instruction : DeleleFile
- new cvar ffac_pub_time to change the pub time
- new forward ffac_client_auth(id)
- some other little fix
[2.4]
- force update on some client to avoid DoS attack
[2.3]
- Optimisation : ->static
- Optimisation : ->formatex
- Optimisation : ->Global
- New package manager instruction : [ServerExec]
- Remove unused multilang support
- Remove hud skill messages
- Command list/ads -> One line
- Some "say text" commands are registered now
- "Auto ban" report and better ban support
- New stats support ( tp stats )
- Log all games of last 7 days
- Support stats of specifics mods (cs & tfc)
- Version before 0.8 are unsupported now
[2.2] 1/05/07
- fix the aim bot bug
- add icq support
- new stats record ...
- several little fixs ..
[2.1] 29/05/07
- aim bot support ...
- cvar version bug
[2.0] 28/05/07
- Totaly new version
- all fix of 1.4 and 1.5
- Some security fix with the package manager
- new natives
- split the plugin in some sub plugins ( admin call, skill on aim and motd stats display )
- auto switch between fast & slow mode for the socket packet check
Note : If you run a 1.4 there will be NO AUTOUPDATE because of the new structure of the plugin. You may update manualy !
I'm gonna to autoupdate version <2.5 and 2.5.
1.4 'll not longer supported
My ffac server'll be down from the 22 of december 2007 to the 6 of january 2008. If you really want something during thoses two week ... use google to find one other ffac server ip