AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2 Stats] With Web Ranking and Item Logger [v9.1.0] (https://forums.alliedmods.net/showthread.php?t=109006)

sejin513 02-25-2010 02:28

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
how can i ignore bots? webrank rank top10 etc..

hextasy 02-25-2010 03:04

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by jouva (Post 1094036)
Was that in response to my post?

no, with a lot of the posts here.

on a side note: I was wondering if something could be done about map statistics counting the time played when nobody's on the server. Or maybe I'm just missing something - or a simple fix?

cybersquare420 02-25-2010 07:00

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by sejin513 (Post 1099544)
how can i ignore bots? webrank rank top10 etc..

we been asking for this for months... ever since rcbot2 released a workable bot... and thats been a while now... i REALLY wish i knew enough about soursepwn to do it myself... on top of that i ould like to see a float variable on the scoring for killing bots... in my mind they should only be worth half as much as humans, as they are stupid easy to pwn...

DarthNinja 02-25-2010 20:16

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by sejin513 (Post 1099544)
how can i ignore bots? webrank rank top10 etc..


New mini-version later.
Guess what it fixes.

cybersquare420 02-25-2010 20:40

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
FTW!!!! your the man!!!

DarthNinja 02-25-2010 21:56

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Update out, see first 2 posts for update and instructions.
  • V6.3
    • Added rank_ignorebots cvar to allow for blocking/allowing bots to get points
    • Changed plugin file name from n1g-tf2-stats.smx to TF2_Stats.smx

HarryHy 02-25-2010 22:36

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Looks nice. Only annoyance I see with it: .htaccess

Not everyone uses an Apache web-server. Would it not be easier to use the direct links, instead of rewrite rules?

eraserhead 02-26-2010 09:03

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
I'm looking forward to the next release that will include the unique_pickaxe weapon. :grrr:

cybersquare420 02-26-2010 09:14

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by HarryHy (Post 1100558)
Looks nice. Only annoyance I see with it: .htaccess

Not everyone uses an Apache web-server. Would it not be easier to use the direct links, instead of rewrite rules?

i agree... and there are some inherent security issues with the process that accesses that file (im not gonna post details in public) that give attackers an avenue through witch to take control of the web server (depending on apache and host software versions and configuration)... this is not to say that its an "open door", as with proper setup and configuration these exploits can be thwarted, but it takes a lot of work... the default configuration leaves all these doors unlocked (again web server and host software versions depending).
So, since all of that gets very technical, and most admins dont really want to deal with in depth webserver hardening (and the fore mentioned windows IIS issue), it would probably be best to go over to all hard coded links... even though that makes the plugin much more difficult to modify for the end user (that is really the best part of this system... u can reflect all architecture changes in a well made .htaccess and you never need to look at the rest of the code)...
sry for wall of text... i just thought the gen pub should know these little tidbits for their own information... ill shut up now... :)

DarthNinja 02-26-2010 16:22

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by eraserhead (Post 1100965)
I'm looking forward to the next release that will include the unique_pickaxe weapon. :grrr:

and weapon "ball"

Quote:

Originally Posted by cybersquare420 (Post 1100975)
i agree... and there are some inherent security issues with the process that accesses that file (im not gonna post details in public)

Security by obscurity doesn't work.
Next major overhaul of the site, I'm going to replace .htaccess with direct links and I'll use GET for the steamids.

I'm going to be traveling for the next week or so and will have no way to test changes, so I wont be doing any updates until I get back.

cybersquare420 02-26-2010 16:41

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
nice, thats basicly what i was trying to say... but i wasnt gonna give every script kitty from here to asia a free for all in the mean time... :)
i recoded the whole web plugin to use direct links and left out the .htaccess all together... it just avoides sooo many issues.

cybersquare420 02-27-2010 09:58

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
this stops scoring bots for a little while, but then they come back... i think it is on account of the bot manager plugin i am running... it kicks them and adds them as players come and go... it appears that bots added mid round end up being scored.

DarthNinja 02-27-2010 14:58

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by cybersquare420 (Post 1101996)
this stops scoring bots for a little while, but then they come back... i think it is on account of the bot manager plugin i am running... it kicks them and adds them as players come and go... it appears that bots added mid round end up being scored.

Are you sure? I'm not sure how that could happen. The plugin just checks the SteamID of the player before awarding the points now, if the steamid is "BOT" it ignores the points.

cybersquare420 02-27-2010 15:13

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
im sure... i messed with it a bunch before posting... i use it on 3 servers that all share a database... it has DRASTICALLY reduced the points they get, but they still get some... maybe it is missing the check once in a while... im not sure... i just know they show back up after a while... i have tripple checked all the setups and am gonna look again now, but im pretty confident in my findings... :)

DarthNinja 02-27-2010 15:16

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by cybersquare420 (Post 1102339)
im sure... i messed with it a bunch before posting... i use it on 3 servers that all share a database... it has DRASTICALLY reduced the points they get, but they still get some... maybe it is missing the check once in a while... im not sure... i just know they show back up after a while... i have tripple checked all the setups and am gonna look again now, but im pretty confident in my findings... :)

Is there a stat that it is reporting? eg, sandviches stolen, or something obscure?
If so, I might have forgotten to add a check to that path.

cybersquare420 02-27-2010 16:21

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
ummmm... ill look

4 things... player_feigndeath, KOTeleporterEntrance, CPCaptured, and Death are all being tracked... not sure if death would be being tracked if the other stuff didnt open the row in the database, but it is being tracked.

thanx for your attention!!

++Karma :)

DarthNinja 02-27-2010 23:53

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by cybersquare420 (Post 1102484)
ummmm... ill look

4 things... player_feigndeath, KOTeleporterEntrance, CPCaptured, and Death are all being tracked... not sure if death would be being tracked if the other stuff didnt open the row in the database, but it is being tracked.

thanx for your attention!!

++Karma :)

Noted, thanks.
Maybe they are getting points via captures?

Not sure when I'll have time to fix those, if not tomorrow then it'll have to wait until I'm done traveling. :P

cybersquare420 02-28-2010 09:48

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
after i let them run for a day there are a few other things being counted... at the risk of being redundant i will post all of them here so a complete list is all together... these are all copied from the web interface, so the entries in the database may have different titles...

Killed Object - Sentrygun
Dispensers Destroyed
Entrances Destroyed
Exits Destroyed
Feigned Deaths
Point Captured
Capture Blocked
Sandviches Stolen
Times Teleported

thats all with points so far... i dont run ctf maps so im not sure about "Intel Captured"
and there are no points in "People Extinguished" but the bots dont know to do that... and it is in the same section as the rest so i bet it is still bgeing counted but they have failed to do it yet (would have to be an accident by a medic... but it will happen eventually)... sorry for the wall of text, but i think it is all pertinent info... i think..

heh... and again, thnx for your attention!! it is always appreciated.

DarthNinja 02-28-2010 15:28

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by cybersquare420 (Post 1103270)
after i let them run for a day there are a few other things being counted... at the risk of being redundant i will post all of them here so a complete list is all together... these are all copied from the web interface, so the entries in the database may have different titles...

Killed Object - Sentrygun
Dispensers Destroyed
Entrances Destroyed
Exits Destroyed
Feigned Deaths
Point Captured
Capture Blocked
Sandviches Stolen
Times Teleported

thats all with points so far... i dont run ctf maps so im not sure about "Intel Captured"
and there are no points in "People Extinguished" but the bots dont know to do that... and it is in the same section as the rest so i bet it is still bgeing counted but they have failed to do it yet (would have to be an accident by a medic... but it will happen eventually)... sorry for the wall of text, but i think it is all pertinent info... i think..

heh... and again, thnx for your attention!! it is always appreciated.


Ah I see, I only changed the tracking for kills etc, not for map statistics or buildings killed. I'll have to fix that.

Mind posting a link to your stats page?

cybersquare420 02-28-2010 15:57

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
http://rjm.servebeer.com:8081/

xmantou 03-06-2010 02:18

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
thank you!

Drixevel 03-17-2010 20:36

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Code:

L 03/17/2010 - 19:31:02: [SM] Failed to load plugin "n1g-tf2-stats.smx": Unable to load plugin (error 1: Unrecognizable file format)
any idea's?

hextasy 03-17-2010 20:57

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
recompile?

cybersquare420 03-17-2010 21:36

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 1120962)
Code:

L 03/17/2010 - 19:31:02: [SM] Failed to load plugin "n1g-tf2-stats.smx": Unable to load plugin (error 1: Unrecognizable file format)
any idea's?

i think its just cause it was a small patch... he will be dropping that plugin all together soon... i think... he was just trying to remove bots for us....

Drixevel 03-17-2010 23:55

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
should i go ahead and delete that file?

hextasy 03-18-2010 00:03

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
well if you go to addons/sourcemod/scripting and compile the n1g-tf2-stats.sp (with the batch file for MS, or the .sh for *NIX), then copy the .smx that's in the 'compiled' directory to ../plugins (or: addons/sourcemod/plugins/.) that's my suggestion, unless you have old includes or something.

DarthNinja 03-18-2010 00:04

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 1120962)
Code:

L 03/17/2010 - 19:31:02: [SM] Failed to load plugin "n1g-tf2-stats.smx": Unable to load plugin (error 1: Unrecognizable file format)
any idea's?

https://forums.alliedmods.net/showpo...97&postcount=2

Drixevel 03-18-2010 11:26

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
-_- i was tired during the time, don't blame anything. Lol

DarthNinja 03-18-2010 17:49

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Just changed the filename, I added the blank file so you wouldn't have 2 copies installed.

Lob (UK 03-19-2010 22:04

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Hi DarthNinja,

I have had a look at the Logs to get the new weapon names that where introduced in yesterday's update. There were 2 melee weapons added and the rest where hats and a chocolate bar. These are the 2no Melee Weapons.

L 03/19/2010 - 15:06:02: [n1g-tf2-stats.smx] Weapon: paintrain
L 03/19/2010 - 17:01:56: [n1g-tf2-stats.smx] Weapon: sledgehammer

Also, these are the ones that still need adding from a while ago.

L 03/19/2010 - 14:45:00: [n1g-tf2-stats.smx] Weapon: unique_pickaxe
L 03/19/2010 - 14:45:19: [n1g-tf2-stats.smx] Weapon: ball

No rush for this by the way. Just wanted to give you the info. :wink:

Cheers

- Lob (UK)

DarthNinja 03-20-2010 00:22

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Thanks for the info.
I'm going to try and do an update soon, but my PC is still acting strangely - I hope my PSU didn't damage anything else...

HeroXx 03-21-2010 00:16

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Does anyone know why I am receiving the following errors on the web side of things?

http://87.117.195.115/stocks/ranking/player

eraserhead 03-21-2010 09:40

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
I can't open your page dude.

HeroXx 03-21-2010 14:12

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by eraserhead (Post 1124297)
I can't open your page dude.

Try now :)

eraserhead 03-21-2010 17:05

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
The server at 87.117.195.115 is taking too long to respond.

nakashimakun 03-24-2010 01:42

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
I'm having a problem with my stats web interface. I've been having a problem with it displaying. as it doesn't seem to work on any other pages apart from the main page.

I mean the Index page displays fine. its the others saying they are missing and such from the server yet, I uploaded the file on the main page. the Web interface 6.6.0

the link im using is
www.upc-gamers.com/tcstats/index.php

Nothing displays unless I type

www.upc-gamers.com/tcstats/map_ranking.php

or

www.upc-gamers.com/tcstats/player_ranking.php

So i assume its fair to say that the .htaccess file isn't being read.

Thalion 03-24-2010 17:09

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Uh. This rank_ignorebots or whatever command doesnt work. My bots are rank 1.. It says they have 1 kill though.

DarthNinja 03-24-2010 17:40

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by Thalion (Post 1127759)
Uh. This rank_ignorebots or whatever command doesnt work. My bots are rank 1.. It says they have 1 kill though.

They still get points for captures, just not for kills right now.

snowyiet 04-09-2010 17:48

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
The rank for my server reset back to 0 players. Everything got reset to default. This happened sometime after it had over 10,000 players stored in the database.

DarthNinja 04-09-2010 18:03

Re: [TF2 Stats] With Web Ranking and Item Logger [v6.1/6.5.5]
 
Quote:

Originally Posted by snowyiet (Post 1145230)
The rank for my server reset back to 0 players. Everything got reset to default. This happened sometime after it had over 10,000 players stored in the database.

I have over 13,000 in mine :/
Remember to make backups for this reason!


All times are GMT -4. The time now is 01:19.

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