Raised This Month: $32 Target: $400
 8% 

PsychoReader - Read Psychostats Ingame! (1.0.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 03-17-2007 , 06:17   PsychoReader - Read Psychostats Ingame! (1.0.0)
Reply With Quote #1

PsychoReader - InGame PsychoStats

http://www.psychostats.com/community/browse/Addons/1

DOWNLOADS:
  1. Fri, 13 Apr 2007 - psychoreader_1.0.1a.zip 2.13 MB - (v1.0.1a) - (requires PS v3.0.x+)
SCREENSHOTS: (click for larger view)




DESCRIPTION:

Current Version: 1.0.1a

(1st April 2007 - 02:27)




This is a server plugin for CS:S, DOD:S, HL2DM that will display the PsychoStats while in-game to your players. Its not like other Psycho'Viewers' that display the psychostats website in the in-game browser. My plugin will connect directly to your MySQL server where the stats are being stored, and download the required info for a specific player after they type 'rank', 'statsme', 'top10', 'next'. The data is then displayed at the side of the screen, like most traditional statsme plugins.



Note: You will need to setup your firewall and MySQL server to accept connections from your game server, or the plugin simply wont work.



Note: You MUST have MetaMod: Source installed. More info here: http://www.sourcemm.net



Note: If upgrading you MUST delete the old version of PsychoReader or your server may crash.



Useage

Commands you can type into the ingame chat are:

* rank - Shows your rank, skill, previous rank and previous skill.

* place - Shows your rank and skill as a public chat message.

* top10 - Shows the top10 players in your stats.

* next - Shows the next 9 players above you in the stats.

* statsme - Shows a box on the left filled with your stats (3 pages).

* lastupdate - Shows how long its been since the stats were updated.

* stats [Player Name | Partial Name] - Shows the statsme window for that player. (only players currently on the server)



Rcon commands you can use:

* pr_reload - If your settings arnt getting loaded into the plugin, run this.

* pr_debug - Shows the settings it has loaded, also the last error message.

* pr_setplayers - If some players's stats arnt showing, then run this command. (note: if the plugin is working ok, running this command may crash server!).

* pr_version - Prints the plugin version to the server console.



Installation

1. Download PsychoReader (link at bottom of page)

2. Upload the contents of the zip file to your mod folder. Keeping directory structure intact:

* 'cstrike' for Counter Strike: Source

* 'dod' for Day of Defeat: Source

* 'hl2mp' for Half Life 2: Deathmatch

3. In /cfg/autoexec.cfg add this line: 'exec psycho_reader.cfg' (without quotes)

4. In /cfg/psycho_reader.cfg edit the settings to reflect your setup.

5. Add this line to your metaplugins.ini: addons/psycho_reader/bin/psychoreader_mm

6. Reboot your server

7. Enjoy!



If something goes wrong, there is normally a log file generated (not on some cases, known issue) this will be stored in ./cstrike/addons/psychoreader.log



Also if you get, Error connecting to server or something like that, log into Rcon (not ma_rcon) and type pr_debug, this should show if the server settings have been loaded properly, and it should also show the last MySQL error that it found. Please if you are asking for help, please attatch your psychoreader.log and the last mysql error to your post.

Last edited by Olly; 04-13-2007 at 19:41. Reason: Because i made a update ^^
Olly is offline
Send a message via MSN to Olly
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 03-17-2007 , 09:37   Re: PsychoReader - Read Psychostats Ingame! (0.2.0b)
Reply With Quote #2

Released 0.2.0c!

This is a patch for some fixes. When i woke up, i noticed that some things didnt work properly, so here is the fix

Quote:
0.2.0c: 17 Mar 2007 - 13:25
---------------------------
* Fixed link problem with linux version.
* Changed the way sql cvars are loaded.
* Fixed some logic stuff with rank and place
* rank now shows rank to player, place shows rank to all if pr_showrankall is set to 0
Detailed installation wiki
http://www.psychostats.com/wiki/PsychoReader

Download
http://www.psychostats.com/community/browse/Addons/1

Installation
Same as before

Then reboot your server.

Enjoy
Olly is offline
Send a message via MSN to Olly
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 03-18-2007 , 02:28   Re: PsychoReader - Read Psychostats Ingame! (0.2.0b)
Reply With Quote #3

Very nice.
__________________
sslice is offline
Xtrm2Matt
Member
Join Date: Nov 2004
Location: England, UK
Old 03-18-2007 , 11:37   Re: PsychoReader - Read Psychostats Ingame! (0.2.0b)
Reply With Quote #4

Great plugin

Adding this to my server.
Xtrm2Matt is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 03-18-2007 , 18:44   Re: PsychoReader - Read Psychostats Ingame! (0.2.0b)
Reply With Quote #5

Released 0.2.1!

New version, adds support for DOD:s, and HL2DM, also the usual minor (and major) bugfixes enjoy

Quote:
0.2.1: 18 Mar 2007 - 21:59
---------------------------
* Added support for DOD:s, and HL2DM
* Changed the way that the multi-threading works to avoid server crash.
* Fixed 'UserMessage' error and server crash showing in rare cases.
* Added cvar: pr_download_msg. If 1 will show 'Downloadnig stats' in chat, 0 for disable.
* Moved all 'Downloading Stats' messages into the chat window.
* Fixed lots of little bugs, thanks Viper and sslice.
* Plugin is now used for SharedStats (www.sharedstats.com)
* Fixed showing 'next -> more' on the 2 statsme pages
* Fixed bug in 'next' and 'top10' commands where a 'ᅱ' would show in the middle and end of the message.
* Fixed some cvars and settings not loading if plugin is late loaded (loaded while map is in progress).
* Changed file structure in zip file. Place Addons, and cfg inside your mod folder:
'cstrike' for counter strike: source
'dod' for day of defeat: source
'hl2mp' for half life 2: deathmatch

Detailed installation wiki

http://www.psychostats.com/wiki/PsychoReader

Download
http://www.psychostats.com/community/browse/Addons/1

Installation
Read the wiki for newest install info

Then reboot your server.

Enjoy
Olly is offline
Send a message via MSN to Olly
Mr.Doom
Junior Member
Join Date: Feb 2007
Location: Niebert, Netherlands
Old 03-20-2007 , 08:14   Re: PsychoReader - Read Psychostats Ingame! (0.2.1)
Reply With Quote #6

Maybe a stupid question, but why not making it for CS 1.6 ??
Because you only mention Source in your text.
__________________
visit: www.doomsoldiers.nl
server: 77.75.120.30:27015
Mr.Doom is offline
Send a message via MSN to Mr.Doom Send a message via Skype™ to Mr.Doom
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 03-20-2007 , 12:53   Re: PsychoReader - Read Psychostats Ingame! (0.2.1)
Reply With Quote #7

Quote:
Originally Posted by Mr.Doom View Post
Maybe a stupid question, but why not making it for CS 1.6 ??
Because you only mention Source in your text.
Because i havnt got time to make it for both atm...

Maybe later
Olly is offline
Send a message via MSN to Olly
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 03-20-2007 , 14:00   Re: PsychoReader - Read Psychostats Ingame! (0.2.1)
Reply With Quote #8

And this is a Source developers forum ;)
__________________
tcviper is offline
Send a message via MSN to tcviper
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 03-26-2007 , 22:20   Re: PsychoReader - Read Psychostats Ingame! (0.2.1)
Reply With Quote #9

can i make a request for anyone who knows more than one language to help me out and translate my plugin pls i have english and french at the moment.

I have left the statsme stuff out of the language file because its a mess, and i'm gonna re-write it. But i have still included it to be translated.

Thanks in advance to anyone that helps

Code:
Language {
    "EN" {
        //Info Messages
        MsgSettingReload        "Reloaded settings."
        MsgDownloading        "Downloading data. \x01Please Wait..."
        MsgMultipleUsers        "Found multiple players with that name, please be more specific."
        MsgNoUsers            "No player found with that name, please be more specific."
        MsgShowingStatsFor    "Showing stat data for \x01%s"
        MsgNotYetRanked        "You are not yet ranked.\nKeep playing!"
        MsgCurrentlyTracking    "\x01 Currently tracking \x03%d \x01players' stats!"
        MsgUpdatePlugin        "A new version of PsychoReader is available.\nPlease upgrade as soon as possible."
        MsgStatsHelp        "\x04PsychoStats:\x01 Visit\x03 www.PsychoStats.com\x01 for more information.\n"
        MsgNotFinishedMsg        "User: %s started a message win function: %s without finising last message!"
        MsgSmallRank        "Rank: %s | Skill: %s\nPrevious Rank: %s | Previous Skill: %s\nRank Diff: %s | Skill Diff: %s"
        MsgRank            "\x01 %s is ranked \x03%s \x01of \x03%d, \x01with a skill of \x03%s"
        MsgNotRanked        "You are on the stats, but not yet ranked.\nKeep playing!"
        MsgNoPlayers        "No players in stats database.\n"    
        MsgLastUpdate        "Last stats update was, %s ago"
    
        //Errors
        ErrSQL            "Error connecting to stats server!\nRetry next map."
        ErrSQLServer        "Couldn't connect to server! (%s)\n"
        ErrSQLQuery            "SQL ERROR: Query failed (%s)\n"
        ErrSQLStore            "SQL ERROR: Error storing data (%s)\n"
        ErrSQLUserMsg        "Error connecting to database.\nPlease try later."
        ErrSQLDisable        "There has been %d errors trying to contacting MySQL server, disabling MySQL for this map"
        ErrTop10            "Error downloading top 10."
        ErrNext            "Error downloading next players."

        //Panel Headers
        HdTop10            "Top 10 Players:\nRnk   Skill           KPD   Name\n"
        HdNext            "->1. Next Players:\nRnk   Skill           Diff        Name\n"

        //Misc
        MsgPrefix            "-- PsychoReader Message --"
    }
}
CSS Statsme Page1
Code:
->1.Your %s\n
Kills %s\n
Deaths %s\n
Headshots %s\n
Kill:Death %s\n
Suicides %s\n
\n
->2.Bombs\n
Planted %s (%s%%)\n
Exploded %s (%s%%)\n
Defused %s (%s%%)\n
\n
->3.Hostages\n
Rescued %s (%s%%)\n
Killed %s\n
\n
->4.Terrorist\n
Wins/Losses %s/%s (Wins %s%%)\n
\n
->5.Counter Terrorist\n
Wins/Losses %s/%s (Wins %s%%)\n
\n
->9.Next\n
->0.Close
DOD Statsme Page 1
Code:
->1.Your %s\n
Kills %s\n
Deaths %s\n
Headshots %s\n
Kill:Death %s\n
Suicides %s\n
\n
->2.Bombs\n
Planted %s\n
Defused %s\n
\n
->4.Allies\n
Wins/Losses %s/%s (Wins %s%%)\n
Score %s\n
\n
->5.Axis\n
Wins/Losses %s/%s (Wins %s%%)\n
\n
->9.Next\n
->0.Close
Statsme Page 2
Code:
->1.Kills/Deaths\n
Kill Streak %s\n
KPM %s\n
KPD %s\n
\n
Death Streak %s\n
Headshot Deaths %s\n
\n
->2.Weapon\n
Shots %s\n
Hits %s\n
S:K %s\n
Damage %s\n
Accuracy %s%% \n
\n
->8.Back\n
->9.Next\n
->0.Close
Statsme Page 3
Code:
->1.Server\n
Connections %s\n
Games %s\n
\nRank  %s\n
Skill %s \n
\n
Previous Rank %s\n
Previous Skill %s\n
\n
Bonus Points %s \n
\n
->8.Back\n
->0.Close
Olly is offline
Send a message via MSN to Olly
Mr.Doom
Junior Member
Join Date: Feb 2007
Location: Niebert, Netherlands
Old 03-29-2007 , 07:35   Re: PsychoReader - Read Psychostats Ingame! (0.2.1)
Reply With Quote #10

I can make them in dutch for you... If you like?

Just those 3 pages have to be translated to it? Or also the code page?
__________________
visit: www.doomsoldiers.nl
server: 77.75.120.30:27015
Mr.Doom is offline
Send a message via MSN to Mr.Doom Send a message via Skype™ to Mr.Doom
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 02:35.


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