PDA

View Full Version : PS Rank PsychoStats v2.0.1+ (In-Game Stats)


cgountanis
03-22-2004, 19:44
http://www.psychostats.com/contribs/viewitem.php?itemid=86


/*
* PSRank for http://www.psychostats.com/ - By: DynAstY
* (currently for Counter-Strike and Day of Defeat)
*
* SAY COMMANDS:
*
* - /rank // shows all stats
*
* - /top10 or /top15 // shows all stats
*
* - /topclan // shows clan page
*
* - /stats // shows your player's stats (name must match in game)
*
* - /search [PLAYER NAME] // does a search with string entered as player name
*
*
* Set amx_psrank_url in amx.cfg to PsychoStats base web URL (trailing forward slash (/) needed)
* Example: amx_psrank_url "http://www.myclanweb.com/stats/"
*
*
*/

If you don't have at least PsychoStats 2.0.1 update now! http://www.psychostats.com/

1. Add AMX file to AMX plugins folder and add line in plugins.ini.
2. Set amx_psrank_url in AMX.CFG.
3. Reload map and enjoy the new commands.



********************************************* *
Alternate STATS.AMX README

Alternate STATS.AMX HELP:

The problem was running PS Rank and also STATS.AMX to get the cool sounds or on screen messages. I tweaked this version of the STATS.AMX so you could still use /rank, /stats and /top15 as PS Rank whats to use them showing only your PsychoStats ranking system.

There is however something you must do so you don't get conficting stats information in-game. You have to use my tweaked version of STATS.AMX and follow config directions below..

Plugins Envoled (must be running csstats module also):

stats.amx
stats_logging.amx
miscstats.amx
psrank.amx

In game you need to type in console amx_statscfgmenu and turn off a few settings:

Stats at end of map OFF
Top15 at end of map OFF
Say /stats OFF
Say /top15 OFF
Say /rank OFF
Spec rank info OFF

I have found that Say /statsme ON is still pretty cool for your personal round stats.
********************************************* *

BigBaller
03-23-2004, 01:37
just one suggestion

change

#include <amxmod> to #include <amxmodx>

it compiles just fine but SniperBeamer wants everything using amxmodx.inc on this plugin forum

cgountanis
03-23-2004, 11:21
I forgot... it would be easier to keep things the same you know so I don't have to update 3 places everytime I make a minor change.

I have 5 bosses and the TPS report memo is RIGHT here!!!!

*UPDATED*

cgountanis
03-25-2004, 11:12
anybody find this useful?

DoubleTap
03-25-2004, 12:12
I am not using the Mod X version, but when I do convert this will definately be an addition, it works great.

Vic/DT

cgountanis
03-25-2004, 12:18
funny... ive gotten more feed back from my plugins that make fart noises more than something i thought would be useful.


what has the world come to :)

DoubleTap
03-25-2004, 12:23
Problem is, "most" of these guys dont run servers, they test with bots and such... add to that PS2.01 is still a beta and not as widespread as PS1. Once Mod X takes off to it's potential you'll see much more info here. Most of the chatter here are these guys talking back and forth between themselves... Later it'll be full of folks needing help just like AMX is... which is both good and bad :)

Vic/DT

ArtAttack
03-25-2004, 16:29
stats features are why i switched to AMX.
I used to use statsme.
Now i'm waiting for something better (if it's possible)

cgountanis
03-25-2004, 16:37
Have you tried PsychoStats v2.0.1: http://www.psychostats.com/

Example Live Site: http://www.hyperionx.com/stats_cs/



The big problem with in game compiling stats IMO is the lag and requirements for freezetime. StatsX is most likely your bext bet if you HAVE to have in-game stats. I like the detail and NOW with the at least displaying in-game of PsychoStats v2.0.1 +++.

DoubleTap
03-25-2004, 18:49
Oh dude, mine looks MUCH better :)

http://counterstrike.twazz.net/modules.php?name=PsychoNuke

Vic/DT

Your plugin uses the red theme on my server... but I couldn't use the theme on my site.

cgountanis
03-25-2004, 19:05
Your site look very nice. I have to stay simple due to being burnt out updating crap cause of STEAM :)

ArtAttack
03-25-2004, 19:15
Have you tried PsychoStats v2.0.1: http://www.psychostats.com/

Example Live Site: http://www.hyperionx.com/stats_cs/



The big problem with in game compiling stats IMO is the lag and requirements for freezetime. StatsX is most likely your bext bet if you HAVE to have in-game stats. I like the detail and NOW with the at least displaying in-game of PsychoStats v2.0.1 +++.

You were talking to me?
I don't think you can teach me anything, especially about stats.

DoubleTap
03-25-2004, 19:35
I believe you missed the point...

pr0*killa
03-25-2004, 20:03
is this only for steam? :?

cgountanis
03-25-2004, 20:23
YES since CS 1.6 introduced the HTML window MOTD type thingy ;)

cgountanis
03-29-2004, 19:30
*BUMP*

weird I got a blank email saying there was activity here and ther wasn't

:)

DoubleTap
03-29-2004, 19:52
Ok, I had to verify before I wrote and I had not checked earlier thats why I deleted the message... In AMX, I still was able to show attacker/killer info with stats.amx disabled... with Mod X I cannot... So I have to choose to lose this plugins best features and only have /search ability or attacker/killer info. Users were already asking about killer info so for now I have re-enabled stats.amx... can you fix that ?

Vic/DT

cgountanis
03-29-2004, 22:39
PStats is diff than stats.amx or statsx.amx stats. You ranks will never equal. You could if you really want tweak the stats.sma and make so the needed PS Rank commands do not work but leave things like /hp or /me and shit like that. It is possible to maybe combine the 2 if your really excited. Basically you remove the parts that look for /stats /rank /top15 and recompile. The rest you can disable doing a amx_statscfgmenu and turning off (stats_cfg.amx).

gl

DoubleTap
03-29-2004, 22:55
I think I figured out why it works in AMX but not in Mod X... but it's not a good thing. In AMX I run WC3 and it displays the damage and such...

I dont want any AMXX rank... thats why your plugin is so appealing... What I need is to have the damage showing and other stuff not related to your plugin... not any of the /commands Just the other settings...

Make sense ?

Vic/DT

cgountanis
03-30-2004, 09:41
List the plugins your running and what plugins you think are responsible for the alternate /rank, /stats, /top15 commands.

DoubleTap
03-30-2004, 10:26
Wow... I guess your not really reading what I have been writing... I will try again, and be more specific.

If I disable stats.amx (This applies to BOTH AMX & AMXX) I lose Attacker / Victim / Most Damage info which my users really like to see. I thought it was a unique to AMXX issue until I realised the only reason I saw ATTK/VIC/DMG info when running AMX is I typically run WC3 Mod which produces that info for me.

I'd like to see this info incorporated into your plugin so we can disable stats.amx safely without losing functionality. Elsewise maybe mod the plugin to use seperate commands /psrank /psstats /pstop15. It also should be stated in the info that folks will lose the other functionality by disabling stats.amx.

Vic/DT

We lose all functionality until page 3, number 2 - Multikill and beyond we have after disabling stats.amx:

http://www.twazz.org/stats1.jpghttp://www.twazz.org/stats2.jpghttp://www.twazz.org/stats3.jpg

cgountanis
03-30-2004, 10:54
Read my edited first post. I think I have solved your issues. Great idea by the way. I am also running stats.amx now for the cool ingame information and making sure ranks are only coming from PS Rank. I tested worked fine... let me know how it goes.

DoubleTap
03-30-2004, 10:59
I think that should make everyone happy... We gain your functionality and retain the others... Godo work, thanks !

Vic/DT

Now all is working well :)

rjlan82
06-04-2004, 23:33
great plugin!

Regulate
06-05-2004, 20:24
Question:

What features does PStats offer besides the webpage stats? Does it hve like in-game stuff? The main in-game stat i am looking for is when you die or the round ends, shows the attackers dmg to you/your dmg to other players.

All the other ones are just spiffy.

Besides /rank and /top15

StatsX seems to case alot of crashes and errors, so i was thinking of switching to PStats. Only reason i went StatsX is because everyone says use it on the forums.

TheEnd
06-06-2004, 00:06
I forgot... it would be easier to keep things the same you know so I don't have to update 3 places everytime I make a minor change.

I have 5 bosses and the TPS report memo is RIGHT here!!!!

*UPDATED*
Yea... that'd be great...

Regulate
06-08-2004, 18:57
Btw, BigBaller, can u tell me how to insatll all this from scratch? :) I know the psrank.amx, stats.amx go into the plugins, and add it to the plugins list. What do i do to add it to the webpage? I downloaded the same theme as you: PsychoNuke-0.3.0...Wanna help me out ? :)

Or if your lazy just refer me to the installation page?

DoubleTap
06-08-2004, 19:34
He is not lazy for not holding your hand... wrong attitude...

Psycho-Nuke is to integrate Php-Nuke and Psychostats... you dont need Psycho-Nuke or Php-Nuke to run this plugin in conjunction with Psychostats. It actually is a bad idea because your opening a whole website inside a MOTD window in CS, just to see the stats inside a window on the website.

For example (Psychonuke on my site):
http://counterstrike.twazz.net/modules.php?name=PsychoNuke

Psychostats displayed as stand alone, used on plugin:
http://twazz.xstreamdata.net/pstats/index.php?page=index

Shrink your browser window and you'll see what I mean about loading the site in a small MOTD window vs. just the stats themselves. All that being said, you are in the wrong place for Psychostats support:

http://www.psychostats.com/forums/viewforum.php?f=24&sid=&PSSESS_sid=42d202aa65b1afcd96d26e4a38e53ee8

You'll see many of the AMXX names there... because we are NOT lazy and do our own homework.

Vic/DT

Sidenote: Psycho-Nuke, like PS2.1b recently, is being revamped and 0.4.0 will be out soon... installing 0.3.0 will be a waste as it doesn't use all the nifty new stuff in PS2.1b

[~DDD~] EvilHomer
06-15-2004, 22:05
Arrgh i was reading this and it sounded soo amazing !!
Then i saw the 1.6 only :cry:

Im running a very popular 1.5 server do i really need to install that steam ?
Is it worth converting ?

cgountanis
06-15-2004, 23:40
I would think now would be good time to convert if your players are all up for it. Steam is pretty stable now and 1.6 is the only one with the in game brower type capabilities.

haderlump
07-12-2004, 21:45
07/12/2004 - 17:28:28: [AMXX] Function not found (name "mysql_close") (plugin "admin_mysql.amx")
{5:28:33 PM} L 07/12/2004 - 17:28:28: [AMXX] Function not found (name "mysql_close") (plugin "ps.amx")
{5:28:33 PM}

i am working toward getting psychostats 2 installed
found this.......

and it has paused my cstrike.so module
?

cgountanis
07-12-2004, 23:22
doesnt use that so i have no clue


check the source for that call... weird

lantz69
07-14-2004, 15:32
07/12/2004 - 17:28:28: [AMXX] Function not found (name "mysql_close") (plugin "admin_mysql.amx")
{5:28:33 PM} L 07/12/2004 - 17:28:28: [AMXX] Function not found (name "mysql_close") (plugin "ps.amx")
{5:28:33 PM}

i am working toward getting psychostats 2 installed
found this.......

and it has paused my cstrike.so module
?

Have you enabled the mysql-module in modules.ini ?
I believe that's your problem.

sanaell
08-01-2004, 03:36
public plugin_init() {
register_plugin("PSRank", "1.1", "DynAstY")
register_clcmd("say", "HandleSay", 0, "N/A")
register_cvar("amx_psrank_url", "http://www.google.com")
}

public HandleSay(id) {
new sBaseURL[256]
get_cvar_string("amx_psrank_url",sBaseURL,255)
new args[256]
read_argv(1, args, 256)

if(containi(args, "/rank")!=-1) { // SAY /rank
show_motd(id, sBaseURL, "")
return PLUGIN_HANDLED
}

if (containi(args, "/top15")!=-1) { //SAY /top15
new gRankURL[256]
format(gRankURL, 255,"%sindex.php?page=index&sort=skill&order=desc&limit=15&start=0", sBaseURL)
show_motd(id, gRankURL, "")
return PLUGIN_HANDLED
}

if(containi(args, "/stats")!=-1) { // SAY /stats
new name[32]
get_user_name(id, name, 31)
new gRankURL[256]
format(gRankURL, 255,"%sindex.php?page=index&sort=skill&order=desc&search=%s", sBaseURL, name)
show_motd(id, gRankURL, "")
return PLUGIN_HANDLED
}

if(containi(args, "/search")!=-1) { // SAY /search processing trailing argument
new t1[32]
new t2[32]
parse(args,t1,32,t2,32)
new gRankURL[256]
format(gRankURL, 255,"%sindex.php?page=index&sort=skill&order=desc&search=%s", sBaseURL, t2)
show_motd(id, gRankURL, "")
return PLUGIN_HANDLED
}

if (containi(args, "/topclan")!=-1) { //SAY /topclan
new gRankURL[256]
format(gRankURL, 255,"%sindex.php?page=clanlist", sBaseURL)
show_motd(id, gRankURL, "")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}


use this code to have
REAL TOP15
&
TOP CLAN

remember to declare the amx_psrank_url cvar

supermj
08-23-2004, 00:58
Ok, in the new .20, I disabled the stuff in stats cfg. When I do /top15 or /stats, it says it's been disabled.

supermj
08-23-2004, 01:09
Ok, I got it fixed. Put the psrank info in the plugin.ini file before the other rank files.

cgountanis
12-20-2004, 23:20
Added /top10 to triggers since everyone was used to /top10 and added sanaell code for topclan. Fixed topclan for the new PS version since the clan page uses clanlist.php and not the old querystring method.

Thanks!


Works in DOD and CS since both have HTML MOTD.

cgountanis
12-22-2004, 17:25
v1.3

added informational message on join so people know how to use the plugin

/search [playername] works prefect

juggaloblaza
12-25-2004, 16:30
i have recently installed amx mod x and i just tryed to install the ps system but it dosrnt work i put the files in there appropriate places and i checked the stats config on my mod menu and it says there are no stats plugins installed does anyone have an idea what i should do and someone said to add line to plugins.ini what line is that, and is that(amx_psrank_url) all i need to put in the amxxconfig or is there something else and how would i type it.?!?!?!

cgountanis
12-27-2004, 17:43
Get PS working from PS web and forums then worry about this plugin after you can visit the page flawlessly will any web browser.

juggaloblaza
12-27-2004, 18:19
ok now ive had the thing for a week now and still waiting for a reply on my question

Corn
01-15-2005, 09:25
hey, I just installed the plugin and /top10 and /topclan are working, although /rank does not work.

cgountanis
01-15-2005, 13:55
/rank /top10 /top15 all do the same thing so if one works most likely they all work. /stats is the only one that does a search on your current name if found should go right to your details page. /search [name] is kinda the same thing as /stats but you can enter you own name to search for. /topclan's only thing is to show you the clan page. Sounds like things are working fine for you.

As far as having the other stats.amxx installed at same time you need to tweak that plugin so it doesn't use the same commands like /stats and /top15. I would check that or remove that plugin. All you really need is the statsloggin plugin to get the details for hitboxes and headshots.

Front Line
04-20-2005, 08:45
Good stuff!

ranger
04-20-2005, 09:11
Hi,

must i deactivate the statsx.amxx !?

because the /top15 /topclans etc. doesnt work with statsx.amxx and this plugin. I always become the message "the does not allow this option" !!

thx

Axyo
09-27-2005, 07:24
does it work amxx 1.60?

maybe you can make it better :oops:

The Real DeAtH07
10-06-2005, 20:17
Seems to compile with 1.60

No worky at all with NS :(

Can this be fixed

Trip~Hazard
01-27-2006, 15:06
funny... ive gotten more feed back from my plugins that make fart noises more than something i thought would be useful.

what has the world come to :)

:D Our server wouldn't survive without amx_gas. I am considering trying this plugin, but my sole intent would be to track player user names. I have tried the 2 sql user tracking plugins available for amxx and both have issues.

I know Psychostats provides exactly what I want to know regarding player user names and I believe seeing the info in game this way will get me what I want, but only if I can click to that screen showing all names used for the steam ID.

JGHG has the ultimate plugin for this (remember_the_names), however I can't use it with sql because it mad lags the server at every player connection.

Trip~Hazard
01-27-2006, 15:13
You have to use my tweaked version of STATS.AMX and follow config directions below..
:? Does anyone have this file....not available for d/l with the source code.

Mcoy
01-27-2006, 15:44
Oh dude, mine looks MUCH better :)

http://counterstrike.twazz.net/modules.php?name=PsychoNuke

Vic/DT



Yes, looks very nice.... *cough, cough*

Trip~Hazard
01-28-2006, 20:20
Tried this with 1.60 and there are a few issues. When the motd window with psychostats is open, my game in the background was very choppy. I asked others to view my ping while viewing the motd and I was told my ping kept going blank then reappearing as if I was losing connection to the server.

Other notes, search doesn't work, rank pulls up a screen with random players in no particular order, top clan doesn't seem to do anything. The only command that works correctly is /stats. I suppose until something changes, I will have to remove this one.

Lektor
03-28-2006, 18:40
You have to use my tweaked version of STATS.AMX and follow config directions below..
I dont have it :( Where I can dowload it ?

Cuz I suppose that I cant use subj plug whitout this one ..
I did all instruction but when I write /rank /stats there is no result.. Advise what to do .. plz

Oh.. I uncoment some plugs in *ini and now when i write /stast or /rank I have window with white content... Thouth amx_psrank_url type correct /
I think I need this
You have to use my tweaked version of STATS.AMX and follow config directions below..
8)

Lektor
03-29-2006, 12:28
Hey guys, is so difficult to give a file:
You have to use my tweaked version of STATS.AMX and follow config directions below..
Oh if I something misunderstand,, could you explain me ?
Do I realy need this file.. or my mistake was coused something else .
when i write /stast or /rank I have window with white content... Thouth amx_psrank_url type correct /

Lektor
03-30-2006, 14:53
Hey guys, is so difficult to give a file:
You have to use my tweaked version of STATS.AMX and follow config directions below..
Oh if I something misunderstand,, could you explain me ?
Do I realy need this file.. or my mistake was coused something else .
when i write /stast or /rank I have window with white content... Thouth amx_psrank_url type correct /
One more quastion: Do I need STATS.AMX plugin and csstats module, if i have statsX.AMX plugin and csx_amxx.dll module ..?
And if I do, Shold i then cooment my previous plug and mod to work this new ones// ?

Method-47
04-15-2006, 14:54
Set amx_psrank_url in AMX.CFG.

I looked in my amxx.cfg and I couldnt find anything that related to this. Do I just add and extra line at the bottom?

zNiz
05-20-2006, 15:26
YES since CS 1.6 introduced the HTML window MOTD type thingy ;)sry But I Dont Know What i have To Write in amx_psrank_url?

amx_psrank_url http://www.psychostats.com?

Tartooob
05-27-2006, 15:05
Sorry for my noob Q
But can you explain little more about this part which says

2. Set amx_psrank_url in AMX.CFG.

Set amx_psrank_url in amx.cfg to PsychoStats base web URL (trailing forward slash (/) needed)
* Example: amx_psrank_url "http://www.myclanweb.com/stats/"

Thank you, your plugin is gr8 :)

diamond-optic
05-28-2006, 11:27
ok take your address to your pstats..

like for example mine is:

http://teamcdrive.clanservers.com/stats2/

then in my amxx.cfg file in the amxmodx/configs/ directory I would put this:

amx_psrank_url "http://teamcdrive.clanservers.com/stats2/"

there isnt much more to it.. its just like the example that you posted lol

Tramp
10-25-2006, 09:07
Thats stupid plugin.
if we have to delete statsx.amxx for only this webrank into game.
Thats big mistake.

After that we won't get Victim/Atacker etc.

szymas
02-04-2007, 22:52
are you going to release a version for ps3?

Kill4Free
02-12-2007, 16:29
http://forums.alliedmods.net/showthread.php?p=439137
I have edited this version.. Now you can use it with Psychostats 3.0.4b!!

hahao5
04-22-2007, 17:25
I dont get how to make go to the website. Do you think u can help me pls?

canim
03-19-2009, 14:28
Hi i have the problem that i cant scroll down the page can you fix it or say me how i dot it,please that importent thing that i search

LinusNeuman
04-17-2012, 10:46
When i type /stats it says "Server has disabled that option"


???
Please help!!!
EDIT:
When i type amx_help nothing happens. When i type amx_statscfgmenu Nothing happens either!!!!!
Almost everything i type in it says "Server has disabled that option"
HELP ME!

Jje
04-21-2012, 14:01
When i type /stats it says "Server has disabled that option"


???
Please help!!!
EDIT:
When i type amx_help nothing happens. When i type amx_statscfgmenu Nothing happens either!!!!!
Almost everything i type in it says "Server has disabled that option"
HELP ME!
enable stats.amxx and statscfg.amxx in plugins.ini
type
amx_statscfgmenu
disable /rank /top /stats and others
enjoy