egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stats Request

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Fri Feb 09, 2007 10:40 pm    Post subject: Stats Request Reply with quote

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 Smile


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?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Feb 09, 2007 11:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Sat Feb 10, 2007 10:28 am    Post subject: Reply with quote

There is nothing which can help me in any way.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Feb 11, 2007 12:33 am    Post subject: Reply with quote

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_archive.tcl?mode=download&id=1399
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Feb 11, 2007 1:07 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Mon Feb 12, 2007 8:57 am    Post subject: Reply with quote

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?mode=search&q=STEAM_0:1:10953223&st=uniqueid&game=

In the script that I uploaded, you even cant use the cvars?
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Feb 12, 2007 11:42 pm    Post subject: Reply with quote

How is the above steamid site any different than the one I already wrote a script for? Did you even look at my script?
Back to top
View user's profile Send private message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Tue Feb 13, 2007 9:35 am    Post subject: Reply with quote

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..
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Feb 13, 2007 7:46 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Thu Feb 15, 2007 8:59 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Sat Feb 24, 2007 10:37 pm    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber