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

Ingame Psychostats


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical       
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-08-2010 , 13:57   Ingame Psychostats
Reply With Quote #1

Ingame Psychostats by Nextra
(psychostats ingame psychostats igps ps)


.: Description
This plugin provides a feature-rich, SQL-based, ingame interface for Psychostats (www.psychostats.com).
.: Features
- Show Skill
- Show Skillstats
- Show Top X
- Ingame menu
- Extended whois information request for admins
- Ingame registration for users
- Support for all GoldSrc mods Psychostats features
- Threaded Querying does everything in the background so it will not interfere with your gameplay
.: Cvars
ps_host "" - DB host
ps_user "" - DB user
ps_pass "" - DB pass
ps_db "" - DB
ps_prefix "" - Table prefix
ps_site "" - The site that is displayed ingame
ps_func - Which functions should be enabled, add the numbers to get your configuration:
1 - /skill, /skillme
2 - /skilltop#, /skill15
4 - /skillstats
8 - /whois
16 - connect messages
32 - disconnect messages
ps_ads <0|1> - 1 = enable, 0 = disable advertising of commands
ps_adfreq - Frequency of ad messages (float!)
ps_floodp - Flood protection. Delay between skill commands in seconds (float!)
ps_allowreg <0|1> - 1 = enable, 0 = disable possibility for users to register from within the game
ps_hidechat <0|1> - 1 = do, 0 = don't hide chat commands (/skillme and /whois are always hidden)
ps_menu <0|1> - 1 = enable, 0 = disable ingame menu
ps_onlymenu <0|1|2> - Controls forcing menu output for all commands. 2 = enable, 1 = enable for all except /skill, 0 = disable forcing menus
0 - Disable forced menu output. Toplists, Player Stats and Whois will open up in an MOTD window, Skill commands will display in chat.
1 - Force menu output for all commands except /skill.
On this setting, /skill will still output a chat line in addition to the menu so players can still show their rank for the bragging rights.
2 - Force menu output for all commands. No MOTD windows will show, /skill and /skillme will output in menu-only.
If this cvar is enabled either way, ps_menu will have no effect.
ps_showheading - Which headings to display when commands are used, add the numbers to get your configuration (0 = headings disabled):
1 - Ad Heading ("This server is using Psychostats")
2 - Rank Heading ("Your Psychostats ranking")
ps_showversion <1|0> - 1 = show, 0 = don't show used Psychostats version
.: Commands
say or say_team:

/skill
Will print the players rank into the chat with a brief overview of stats.
/skillme
Does the same but will display only to the player him/herself.
/skilltop
Will display the top 15 players. It is possible to pass a number with it to show any other ranks from #-14 to #
/skill15
Will display the top 15 players.
/skillstats
Shows an advanced overview of the players stats. It is possible to pass a name or #userid to show the stats of any player on the server.
/skillmenu
Opens the menu.
console:

skillmenu
Opens the menu.
ps_reg USERNAME PASSWORD
Will attempt to register the player.
.: Admincommands
say or say_team:

/whois
A whois request with even more stats, most used names, ip, access, onlinetime etc. It is possible to pass a name or #userid.
console:

ps_adnow
Instantly display ads.
.: Credits
- Thanks to tramp for ps31. Ingame Psychostats started merely as an enhancement of ps31 before I made major feature implementations and a complete rewrite
to make Ingame Psychostats what it is today. (Original release thread: http://www.psychostats.com/forums/in...howtopic=17607)
- Thanks to teame06 and all contributors for the ColorChat function.
.: Translations
Since this plugin supports ML, translations are greatly appreciated and will be added as soon as possible.
The following translations are already included:

[en] - Nextra
[de] - Nextra
[bg] - papyrus_kn
[ro] - claudiuhks
[es] - liryck
[fr] - -Kid-
[pl] - likekurva
.: Notes
#1 - The file ig_ps.cfg will be automatically executed if you put it into the amxmodx/configs folder. However this is not required and you can use your favorite cfg file to set up this plugin.

#2
- I do not know which mods support this plugin to what extent. It was tested and confirmed working on CS, CZERO, DOD and TFC but the
experience varies between different mods. If you plan to run this plugin on a different mod it is very important that you give feedback on the plugins performance.
If a mod does not support MOTD windows at all please let me know aswell. I already implemented a system to force menu output over any cvar setting
of ps_menu/ps_menuonly and will add mods to the list that can not even open plain text MOTDs.

Current list of support levels:

Perfect Support:
- Counter-Strike (HTML MOTDs, colored menus & chat)
- Counter-Strike Condition Zero (HTML MOTDs, colored menus & chat)
Limited Support:
- Day of Defeat (HTML MOTDs, colored menus, no colored chat)
- Team Fortress Classic (plain text MOTDs, no colored menus & chat)
Poor Support:
- Natural Selection (no MOTDs at all, only uncolored menus & chat)
Natural Selection support level is based on tests I did for my Voiceserver Connect plugin. The show_motd native is broken for that mod.

#3 - This plugin can cause a lot of database traffic depending on which features you enable and how your players use the system. If your SQL
server is already struggling with Psychostats itself you should keep careful watch over your database load. Maybe deactivate frequently
called features such as connect/disconnect messages or disable functions with extensive queries such as the whois lookup or the top15.
.: Changelog (latest changes)
* 1.0.001
- Fixed string formatting error.

* 1.0.015
- Added two new cvars based on user request: ps_showheading and ps_showversion
- Some minor efficiency tweaks
- Fixed message (MSG_ONE w/o target entity) errors that would crash the server

* 1.0.016
- Fixed showing unranked players in skilltop
Using the latest AMXX 1.8.2 devbuild is recommended.

This plugin is STEAM only. Make sure your stats are tracking by STEAM_ID.

Psychostats is dead. I will not maintain and/or support this plugin.

.: Downloads: 1081+ :.
Attached Files
File Type: txt ingame_psychostats.txt (17.2 KB, 1773 views)
File Type: cfg ig_ps.cfg (1.5 KB, 1729 views)
File Type: sma Get Plugin or Get Source (ingame_psychostats.sma - 2694 views - 58.8 KB)
__________________
In Flames we trust!

Last edited by Nextra; 08-31-2014 at 09:37.
Nextra is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-08-2010 , 14:05   Re: Ingame Psychostats
Reply With Quote #2

Although, I can't test it right now, I am sure that it is very useful, and, looking in the source-code, everything looks very well coded.

Congratz!
__________________
unnyquee is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 04-08-2010 , 14:13   Re: Ingame Psychostats
Reply With Quote #3

Cool stuff!
KadiR is offline
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 04-08-2010 , 16:17   Re: Ingame Psychostats
Reply With Quote #4

some screens?
hasta is offline
Send a message via ICQ to hasta
damoh
New Member
Join Date: Aug 2009
Old 04-08-2010 , 17:45   Re: Ingame Psychostats
Reply With Quote #5

hi
Great little plugin, were only having one problem, the option in the admin menu is greyed out, weve checked our config file and it seems to be fine. Could you shed any light on this please
regards
damoh is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-08-2010 , 17:49   Re: Ingame Psychostats
Reply With Quote #6

Which option in the admin menu is greyed out?
__________________
In Flames we trust!
Nextra is offline
damoh
New Member
Join Date: Aug 2009
Old 04-08-2010 , 17:50   Re: Ingame Psychostats
Reply With Quote #7

It says
Ingame Psychostats
damoh is offline
tonyboy_25
Junior Member
Join Date: Mar 2010
Old 04-08-2010 , 17:53   Re: Ingame Psychostats
Reply With Quote #8

Hi Nextra - relating to above post...its in amxmodmenu>plugin cvars> ingame psychostats (greyed out)...like damoh says everything in correct place etc...all other plugins working corectly... :S
tonyboy_25 is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-08-2010 , 18:00   Re: Ingame Psychostats
Reply With Quote #9

It's not greyed out for me. Which access flags do you have?
__________________
In Flames we trust!
Nextra is offline
tonyboy_25
Junior Member
Join Date: Mar 2010
Old 04-08-2010 , 18:03   Re: Ingame Psychostats
Reply With Quote #10

We both have full acces to all flags ... seems very strange that its greyed out when everything is enabled etc. Woud it grey out if the settings in the cfg were wrong? or just not connect?...
tonyboy_25 is offline
Reply



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 14:14.


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