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
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
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.
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..
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.
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