Raised This Month: $12 Target: $400
 3% 

FFAC/Tools (Statistics,Banlist,MSNbot,ig plugin dl & install,...)[6/5/07]


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 01-28-2007 , 11:26   FFAC/Tools (Statistics,Banlist,MSNbot,ig plugin dl & install,...)[6/5/07]
Reply With Quote #1

FFAC/Tools Features !

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 ( a player on the server can contact several admin on msn ! )
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 ! )


Code:
/*********************************************************************************************
*                        FFAC server side plugin v1.4
**********************************************************************************************
FFAChmp V1.4
hackziner : [email protected]
FFAC Website : http://82.232.102.55/FFAC


Licence : CeCILL FREE SOFTWARE LICENSE AGREEMENT, there is a copy of the licence at the end of this file.

Use :
 Only run the plugin on your server. After the first player connection the server will be added to the server list
 No subscription require !

     Features, ... :

    Global players stats  ( based on skill ) !
    FFA Team rank ( create a team with ffa player )
    Global CStats like rank ( based on Kill - Death ... )
    Servers stats ( graphs with connections by hours/day, total frag, ... )
    Show current skill,rank on a server
    Show top players of the serveur in motd
    Show your stats in motd
    Global Banlist
    Sentence log
    User can contact an admin on MSN through server/ffacmsnbot
    Map download from FFAC server 
    Package Manager 
    Package choice menu 
    Autoupdate
    Show if an admin is online, and explain how to contact througth msn if nobody is online
    No subscription require !

More informations, support, improvements, .... :
http://ufb.free.fr or http://82.232.102.55/FFAC/forum

    Cvar:
    ffac_showinfo ( default 1 ) : Show information ingame, like player skill ... ( commands are skill,ffac,score,allskill,ffac version )
    ffac_hudinfo ( default 0 ) : Show informations ( like skill ... ) in a hud message
    ffac_showpub ( default 1 ) : Show a little pub message for ffac every 180 secs
    ffac_ffacban ( default 1 ) : Use the FFAC banned steamid database
    ffac_skill_on_aim ( default 0 ) : show player level on aim ( eg Low/Middle/High )
    ffac_ban ( default 30 ) : Duration of a FFACBan in Min
    ffac_plog ( default 1 ) : Log sentence function ( when you say something with "log" inside, the sentence is logged and you can read it on the ffac website )
    ffac_msn_contact ( default "" ) : Set the msn adress for the ffac msn bot !
    ffac_ip_bind ( default "" ) : Set your public ip ( if you server is behind someting ... )
    ffac_autoupdate ( default 1 ) : enable autoupdate
    ffac_hpt ( default 1 ) : enable the packet manager
    
    Technicals Cvar :
    ffac_packetsize ( default 1024 ) :  Size of packets
    ffac_master_server ( default "82.232.102.55" ) : FFAC master server address
    
    admin commands :
    
    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
    
    Players commands : ffac version,ffac changelog,skill,rank,topplayers,mystats,serverconnections,!log <sentence>,admin,!admin <message>,set nickname

    ffac version : display the ffac version
    ffac changelog : display ffac changelog
    serverconnections : show server connections stats in motd ( day & month )
    skill : show your skill
    /me : display your level
    admin : show number of admin online. If 0 and msn_contact set, explain the !admin command
    topplayers : show kill,deaths ... of all players in game
    mystats : show your stats ( kill, death, connections, online time, ... )
    rank : show your rank by skill and csstats ( global and server rank )
    !admin <message> : send a message to the msn contact ( on msn ^^ ) by the ffac msn bot
    !log <sentence> : Log a sentence ( you can view all your logged sentences on the ffac website )
    
    
    FFACBan :
    Ban player banned in the FFAC Database for 30 minute ! Not unlimited ban !
    
    
    Package manager syntax : 
    
    
    [Version]  // Check the require amx version 
    1.7
    [Download] // Download a file
    configs/hpt/remove_smallfun.hpt
    [Install] // Download and install a plugin
    plugins/spawnprotection.amxx
    spawnprotection.amxx

    
    Package : 
    smallfun ( amx_ffac_hpt_install smallfun ) ( this package contains, spawnprotection, bunnyhop and lastmanbets )
    sanksound ( amx_ffac_hpt_install sanksound ) ( this package contains sanksound plugin with sounds )
    matchdeluxe ( amx_ffac_hpt_install matchdeluxe ) ( this package contains amx_match_deluxe )
    ...

    ToDo: 
    -stats improvement
    -few commands like online time, etcs
    -msn to server messages
    -autoupdate for all plugins
    -trombi/annuaire
    ....
    
    Changelog:
    
    [21/4/2007] 1.4
    -allow multiple msn in msn_contact ( use  : ffac_msn_contact "[email protected];[email protected]" )
    -Extend max msn_contact size from 30 to 128 chars
    -Fix command display bug
    -Replace valve id lan or steam id lan by ip in the msn contact message
    -new natives for db_sys
    -indentation problems fix
    -multi language support
    -auto download language file if not found !
    -integration of the package manager in the amxmodmenu !
    -new say command : /me to display your level
    
    
    
    [21/4/2007] 1.3
    -amx_ffac_hpt_menu //Menu for install new plugin, autodownload the plugin list, ...
    -new comands to show server connections stats, say "serverconnections"
    -new commands to show changelog, say "ffac changelog"
    -new function to display player level on aim : set ffac_skill_on_aim 1
    -Some fix with the proxy

    [7/4/2007]    1.2
    -security fix ( package manager )
    -dynamic master server
    -new package matchdeluxe
    -now package manager and autoupdate are activate by default
    -spawn count fixed
    

*********************************************************************************************/
    

*********************************************************************************************/
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.

Server stats

Description:
FFAC provides server connections stats by hours and day. Stats are displayed on the FFAC website and in motd

Commands:
CVARS:
  • ffac_showinfo (default 1) : Show information ingame, like player skill,...
  • ffac_hudinfo (default 0) : Show informations (like skill) in hud message
  • ffac_showpub (default 1) : Show a little ads message with commands for ffac every 180 secs


Misc

Level on aim : display player level on aim ( "low", "middle", ... )
Sentence log : log sentences on the FFAC website
Commands:
  • ffac version ( say ) : displays FFAC version
  • ffac changelog ( say ) : displays the ffac changelog
  • admin (say ) : displays how many admin are online
  • !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_skill_on_aim (default 0) : show player level on aim
  • ffac_ip_bind (default "") : Set your public ip ( if you server is behind something ... )


Tools

MSN Bot

Description:
This tool allows someone on your server to send a message to an admin on MSN

Sample:
Your are playing on a server, there is a cheater. You type "!admin CheaterPlayer is cheating"
The admin will receive on msn something like :
!admin from '-=UFB=-hackziner' (STEAM_0:0:186639) say : !admin CheaterPlayer is cheating



Command:
  • !admin <message> : send the <message> to server msn contact with the ffac msn bot
CVARS:

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
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

Some stats :

FFAC Stats ( 11 feb )

Total Players : 8840
Total Players : Online
111
Total Kills :
253918
Total Deaths :
248854
Total Connections : 26140
Total Servers :
30
Total Teams :
7
Players Online/Capacity : 111/431
Total Players Online Time : 188 Days 21 Hours and 17 Mins

FFAC Stats ( 1 may )

Total Players 92404
Total Players Online 226
Total Kills 4268608
Total Deaths 4265948
Total Connections 412119
Total Servers 85
Total Teams 27
Players Online/Capacity 226/1620
Total Players Online Time 2824 Days 11 Hours and 37 Mins

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


Thks to Alka for testing new functions in beta ^^


Changelog:

[6/5/2007] 1.4
-allow multiple msn in msn_contact ( use : ffac_msn_contact "[email protected];[email protected]" )
-Extend max msn_contact size from 30 to 128 chars
-Fix command display bug
-Replace valve id lan or steam id lan by ip in the msn contact message
-new natives for db_sys
-indentation problems fix
-multi language support ( set ffac_multi_lang to 1 to test )
-auto download language file if not found !
-integration of the package manager in the amxmodmenu !
-new say command : /me to display your level

[21/4/2007] 1.3

-amx_ffac_hpt_menu //Menu for install new plugin, autodownload the plugin list, ...
-new comands to show server connections stats, say "serverconnections"
-new commands to show changelog, say "ffac changelog"
-new function to display player level on aim : set ffac_skill_on_aim 1
-Some fix with the proxy


[7/4/2007] 1.2
-security fix ( package manager )
-dynamic master server
-new package matchdeluxe
-now package manager and autoupdate are activate by default
-spawn count fixed
Attached Thumbnails
Click image for larger version

Name:	mystats.JPG
Views:	3418
Size:	79.8 KB
ID:	13798   Click image for larger version

Name:	topplayers0.jpg
Views:	5988
Size:	79.8 KB
ID:	13799   Click image for larger version

Name:	msnbot.JPG
Views:	2013
Size:	38.2 KB
ID:	14151   Click image for larger version

Name:	mapdownload.JPG
Views:	2268
Size:	6.9 KB
ID:	14599   Click image for larger version

Name:	ighptmenu.JPG
Views:	2018
Size:	31.2 KB
ID:	15636  

Click image for larger version

Name:	iglvl.JPG
Views:	4663
Size:	50.1 KB
ID:	15637   Click image for larger version

Name:	igstats.JPG
Views:	1434
Size:	25.6 KB
ID:	15638  
Attached Files
File Type: sma Get Plugin or Get Source (v14_ffachmp.sma - 3834 views - 57.7 KB)
File Type: inc ffac_sys.inc (636 Bytes, 1602 views)
File Type: txt ffac.txt (966 Bytes, 1775 views)
__________________

Last edited by hackziner; 05-07-2007 at 03:27. Reason: 1.4 ( new doc ! )
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
neogeo
Senior Member
Join Date: Jul 2005
Old 01-28-2007 , 11:52   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #2

merci l'ami
thanks
neogeo is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 01-28-2007 , 13:34   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #3

good idea, looks sort of clean (would appreciate if you ran it through an auto indenter), but there are still some small things you can fix (saving things into variables instead of getting them more than once)
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Pinkrhino
Junior Member
Join Date: Jan 2007
Old 01-28-2007 , 14:00   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #4

Ehm.... does it need Nvault or mysql or anything?
Pinkrhino is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 01-28-2007 , 14:19   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #5

Only sockets and i think ( 95% ) it works with incoming ports closed.
__________________
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
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 01-28-2007 , 15:09   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #6

You spelled championship wrong
you spelled it-->championchip
__________________
i stop around here and there.
Da_sk8rboy is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 01-28-2007 , 15:31   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #7

Oups ... and I can't change the title :/
__________________
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
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 01-28-2007 , 15:38   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #8

Push the edit button,after that Go Advanced! now u can edit the tiltle! ;)
Alka is offline
s p l i t
Senior Member
Join Date: May 2006
Location: US, NC
Old 01-28-2007 , 15:40   Re: FFA Championchip (Server stats, "all servers stats", banlist, ... )
Reply With Quote #9

Remove the .amxx attachment.
s p l i t is offline
Send a message via AIM to s p l i t Send a message via MSN to s p l i t
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 01-28-2007 , 21:05   Re: FFA Championship (Server stats, "all servers stats", banlist, ... )
Reply With Quote #10

Quote:
"badly coded" lines.
By that did you mean badly indented?
__________________
i stop around here and there.
Da_sk8rboy is offline
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 06:59.


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