.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   Plugin or script to count human players? (http://forums.bots-united.com/showthread.php?t=323)

T!m 11-01-2004 16:29

Plugin or script to count human players?
 
Hi, I would like to know if their is a script or plugin that can count
human players that connect to a server?

Fierce Recon 11-01-2004 18:18

Re: Plugin or script to count human players?
 
count them yourself, type in status in console and count the ones that have steamids, and not UNDEFINED or 0

T!m 11-01-2004 18:57

Re: Plugin or script to count human players?
 
umh... yes thats is an option if you want to know who is on the server that time,
but I want to know from a day or a week, so also the player that have already left.

botman 11-01-2004 19:38

Re: Plugin or script to count human players?
 
Olo's FakeFull plugin counts players...

http://www.olo.counter-strike.pl/index.php?page=old

botman

T!m 11-01-2004 20:33

Re: Plugin or script to count human players?
 
hmmm... can't get it to work the server keeps craching :(

but does it real count player? it only says that it makes fake clients in spec. mode. to make your server looks full.

botmeister 11-01-2004 21:41

Re: Plugin or script to count human players?
 
My mEAn mod supports a client connect/disconnect log. You could write code to parse through it and count the number of players that joined your server per day, week, ect.

T!m 11-01-2004 21:56

Re: Plugin or script to count human players?
 
and how do I do that? major code n00b here:D .

btw. can it also work without MEAN?

T!m 13-01-2004 18:34

Re: Plugin or script to count human players?
 
the stats me pluging sort off counts players two, I looked in to the script but i don't understand a bit of it.
So, can somebody help me whit maken a script or something?

:o Please =)

Pierre-Marie Baty 13-01-2004 19:30

Re: Plugin or script to count human players?
 
If you're using a bot, you'd better ask the "finishing touch of God" to add this option as a realbot server command... it's very simple to do ;)

Besides, what do you want to do exactly ? Do you want the output to be displayed on the server console or sent elsewhere (to a website or whatever) ? Do you want all clients to be able to issue that command or only through rcon as a normal server command ?

T!m 13-01-2004 19:44

Re: Plugin or script to count human players?
 
it will be only for myself, so it's enough to log it in a text file.

But in other words:
STEFAN Can you help me :D ......plz.

Fiber_Optic 13-01-2004 22:02

Re: Plugin or script to count human players?
 
I think the "finishing touch of God" ( :D That is A nick!) is very busy...

T!m 13-01-2004 22:13

Re: Plugin or script to count human players?
 
hmmm...., yes he probebly is being........ very nervous about his upcomming birthday, and exam :| .




:P :P :P


But of cource we wish him all the luck in de world :D

Eddy Hassle 16-01-2004 11:25

Re: Plugin or script to count human players?
 
Quote:

Originally Posted by T!m
Hi, I would like to know if their is a script or plugin that can count
human players that connect to a server?

Maybe this is what you want - Playerlog can log the arrival and leaving of human players on a game server, and can log their in-game chat as well, in 2 separate files.
I used it on my 4.1.1.1D server for TFC & Now i use it on my Steam server for TFC/DoD . Just make sure that you have a cstrike folder!! To bad it dosen't log the Stean ID's correctly though. It spits them out as -1

Here's a preview of how it logs on Steam (It creates 2 types of logs, Serverpopulation & Serverchat):

This is from my "Serverpopulation log":
[Tue Jan 13 11:40:09 2004] Eddy Hassle (WONId -1) joined the game
[Tue Jan 13 11:44:24 2004] smelly (WONId -1) joined the game
[Tue Jan 13 11:45:10 2004] Eddy Hassle (WONId -1) has left the game
[Tue Jan 13 11:46:24 2004] <.TLP | Ryan_fr.> (WONId -1) joined the game
[Tue Jan 13 11:47:31 2004] <.TLP | Ryan_fr.> (WONId -1) has left the game
[Tue Jan 13 11:51:03 2004] smelly (WONId -1) has left the game
[Tue Jan 13 11:53:16 2004] [Xinjan]$lay3r (WONId -1) joined the game
[Tue Jan 13 11:53:37 2004] [Xinjan]$lay3r (WONId -1) has left the game

This is from my "Serverchat log":
[Tue Jan 13 20:10:02 2004] Eddy Hassle (WONId -1) says: this is fun!!
[Tue Jan 13 20:10:02 2004] BoneCrusher (WONId -1) says: yea
[Tue Jan 13 20:10:02 2004] Eddy Hassle (WONId -1) says (TEAM-ONLY): oh lol.. you gunner too.. hehe
[Tue Jan 13 20:10:02 2004] BoneCrusher (WONId -1) says (TEAM-ONLY): yea...heh
[Tue Jan 13 20:10:02 2004] Eddy Hassle (WONId -1) says (TEAM-ONLY): cool
[Tue Jan 13 20:10:02 2004] BoneCrusher (WONId -1) says (TEAM-ONLY): we actually won...heh
[Tue Jan 13 20:13:28 2004] BoneCrusher (WONId -1) says (TEAM-ONLY): humans on red
[Tue Jan 13 20:13:28 2004] Eddy Hassle (WONId -1) says (TEAM-ONLY): ahh
[Tue Jan 13 20:13:28 2004] TheRifleman (WONId -1) says:

I think where it just has "says:" above^ is cuz the person used an Admin command, like timeleft ...

Anyway, you can find the plugin here - http://racc.bots-united.com/ Goto "Downloads", scroll down the page a bit.
It includes source code if you know how to modify it. Me, heh, Clueless...
Oh, read the readme, a couple cvars will let ya turn on/off the logging you want.

Pierre-Marie Baty 16-01-2004 15:02

Re: Plugin or script to count human players?
 
Geez, of course, how could I forget plugins that I wrote myself !!! o_O :D

T!m 16-01-2004 18:24

Re: Plugin or script to count human players?
 
He, thx Eddy Hassle =)



Quote:

Originally Posted by Pierre-Marie Baty
Geez, of course, how could I forget plugins that I wrote myself !!! o_O :D



:D :D :D :D :D :D :D

hahaha awell we all have that sometimes;) .


All times are GMT +2. The time now is 05:52.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.