Raised This Month: $59 Target: $400
 14% 

FFAC/Tools 2.8


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 05-28-2007 , 13:14   FFAC/Tools 2.8
Reply With Quote #1

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




Attached Files
File Type: inc ffac_sys.inc (10.5 KB, 2065 views)
File Type: sma Get Plugin or Get Source (v28_ffachmp.sma - 4621 views - 45.8 KB)
__________________

Last edited by hackziner; 12-21-2007 at 13:38. Reason: 2.8
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-28-2007 , 14:49   Re: FFAC/Tools 2.0
Reply With Quote #2

got enough time on your hands? jesus.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 05-28-2007 , 15:21   Re: FFAC/Tools 2.0
Reply With Quote #3

What am i supposed to understand ? o_O
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
godlike
Senior Member
Join Date: Apr 2005
Old 05-28-2007 , 17:20   Re: FFAC/Tools 2.0
Reply With Quote #4

Lol did you all make the FFAC plugins on your own?
Respect man! keep up the good work im testing this right now.
__________________
Read the rules before posting something stupid: click here

Any questions about amxx PM me
godlike is offline
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 05-29-2007 , 03:17   Re: FFAC/Tools 2.0
Reply With Quote #5

Man this both plugins work perfect. All the tools are excelent. One of the best plugins I've ever seen! Entered the web and my game stats were there without any search. Everyone that played were there! Downloaded maps perfectly! This is the future of plugin install and maps install (altought when you download the bsp everything related to the map should download has well)! In game configs etc... Respects!
My msn received the messages everything went perfect.

The page needs a better design thought and you need a logo and banner to show on webs. Even saw players I know from other servers on stats. Im amazed!

Tested and without errors so far!

Last edited by Juba_PornBorn; 05-29-2007 at 03:24.
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
regalis
Veteran Member
Join Date: Jan 2007
Old 05-29-2007 , 05:32   Re: FFAC/Tools 2.0
Reply With Quote #6

Quote:
Originally Posted by Juba_PornBorn View Post
All the tools are excelent. One of the best plugins I've ever seen!
The same opinion!
I hope there will be more modules in future..this is amazing!
__________________
regalis is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 05-29-2007 , 19:00   Re: FFAC/Tools 2.1
Reply With Quote #7

Someone have ask for an aim contact bot... It's done

I'm going to release the plugin for the aim bot in few minuts ...


All 2.0 are going to download 2.1 on the next changemap ...
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-29-2007 , 20:01   Re: FFAC/Tools 2.1
Reply With Quote #8

Well... Good work man... Why not combine AIM bot into this post?

Anyway, I am not sure I am in the mood to add a plugin to my server that has an autoupdate feature in it.

Nice none the less.


-Matt
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Zenith77
Veteran Member
Join Date: Aug 2005
Old 05-29-2007 , 20:20   Re: FFAC/Tools 2.1
Reply With Quote #9

I have to say, kudos to you! The auto-update feature and the ability to download maps and other stuff is awesome in my opinion. The only suggestion I have is that you make the web based server code publicly available, so that server admins can install it on their own web server (note: This is just a suggestion, I understand why you have it to where it's just one master server).
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred

Last edited by Zenith77; 05-29-2007 at 20:29.
Zenith77 is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 05-29-2007 , 20:49   Re: FFAC/Tools 2.1
Reply With Quote #10

Quote:
Anyway, I am not sure I am in the mood to add a plugin to my server that has an autoupdate feature in it.
You can disable it ... I've put some cvar for that ( ffac_autoupdate & ffac_hpt )


Quote:
The only suggestion I have is that you make the web based server code publicly available, so that server admins can install it on their own web server (note: This is just a suggestion, I understand why you have it to where it's just one master server).
http://sourceforge.net/projects/ffac/

I'm going to release some part under gpl/apache2 licence ... I've to fix a lot of things ( like security fix :/ ) before release the others parts ...



Someone tells me to do a master master server o_O
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:52.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode