This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Stats Request

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
P
Psyfire
Voice
Posts: 36
Joined: Sun Nov 05, 2006 12:32 pm

Stats Request

Post by Psyfire »

Hello,

does anyone know HL Stats? If yes he can help me out for a simple tcl script. If you dont know HL Stats, look here -> http://stats.extreme-assault.de

I need a script where you can get your stats like ingame. If you type in the channel !stats STEAMID you get simple information from a mysql database of your ranking.

Example:

testuser: !stats STEAM_0:0:123456789
Bot: Testuser is ranked # 12 of 28152 with 2053 points and 3.47 kills

I dont know if it helps but I got a file for ingame stats. In the source the command is called /skill

www.psyfire.de/Extern/hlstats.zip

I hope somebody can make it, it would help me a lot :-)


My other question is, if somebody knows a sort of this stats module for quakenet -> http://botstats.logs.botstats.com

Its in french and I dont understand french. Somebody knows some sort of this in english?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Look in the Tcl Archive for counter strike scripts; there should be a few.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
P
Psyfire
Voice
Posts: 36
Joined: Sun Nov 05, 2006 12:32 pm

Post by Psyfire »

There is nothing which can help me in any way.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

I did a steamid script not that long ago.. Why doesn't that work for you?

SteamID Counter-Strike Lookup 0.1a 24/11/2006 Rosc Looks up data based on steamid#, player handle, name, tag, irc channel, or clan. Returns ID#, League, Location, Division, Clan and ClanURL, Record, IRC channel, Tag, Handle and Handle URL, and Name. Can configure the max number of lines to show, whether to show results in channel or privmsg, etc.
http://www.egghelp.org/cgi-bin/tcl_arch ... ad&id=1399
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Hmm actually, on further looking, what you're asking for won't be possible until someone reveals the protocol used by these games. I've asked for the protocol specs before and never gotten any answer, so I can't make a script to work "in game" .. The hlstats script you pointed to is a perl script that depends on a lib, and of course the protocol would be built into that lib, and so we end up back at square one - show me the protocol specs so scripts can be written for it.
P
Psyfire
Voice
Posts: 36
Joined: Sun Nov 05, 2006 12:32 pm

Post by Psyfire »

rosc2112 wrote:I can't make a script to work "in game"
Not ingame, in the channel!

We got our database, MySQL, PHP, Perl and so on.

The link if you search for a Steam ID is the following:

http://89.106.68.52/hlstats/hlstats.php ... ueid&game=

In the script that I uploaded, you even cant use the cvars?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

How is the above steamid site any different than the one I already wrote a script for? Did you even look at my script?
P
Psyfire
Voice
Posts: 36
Joined: Sun Nov 05, 2006 12:32 pm

Post by Psyfire »

Yeah for sure I looked at your script and I tried it out. But it is not the same. Your script looks up into a CAL base, my request is to connect to a stats database, to retrieve a certain information from it and to post them into the channel.

I think its much easier to do that with your script, cause you got already the steam ID searching in it. I dont know much about scripting, but it would be nice if someone could try it..
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

The only data shown on that url is the players id number and a link to their player page.. doesn't seem like it's worth for me to make a new script.

You could take one of the many html scripts to learn how to do them and make one yourself. They're not hard to do. Feel free to use my steamid script for example, to make a new one to suit your own. It's pretty straight forward and cleanly written so it should be easy enough to learn from. The only real aspect you'd probably have some trouble with is the regexp's needed for getting the data from the html output, if you're not familiar with regexp.

If you do decide to work out your own script, feel free to ask for specific help in the script help forum.
P
Psyfire
Voice
Posts: 36
Joined: Sun Nov 05, 2006 12:32 pm

Post by Psyfire »

Wait...

I chose this board area for "requesting something". I got no time to learn it, but I can donate a small amount to somebody, who will got time and want to create this little script. Thats definitly no problem :-)
P
Psyfire
Voice
Posts: 36
Joined: Sun Nov 05, 2006 12:32 pm

Post by Psyfire »

Hello,

somebody of our team tried to recode the steam id script but it does not work. Can somebody of you try it? We need this script :-(
Post Reply