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 

SteamID TCL Script
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


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

PostPosted: Thu Nov 23, 2006 4:57 pm    Post subject: Reply with quote

I generally use the http package for these kinds of scripts.. But sockets are not that much harder, the thing to keep in mind, is that you have to "gets" each line from a socket, whereas the "geturl" function from the http package gets the entire file at once (unless you do other things to limit how many lines you pull in) Take a look at the weather script I (re)did, it uses both sockets or http package (configurable option).
Back to top
View user's profile Send private message
atreides
Voice


Joined: 20 Nov 2006
Posts: 17

PostPosted: Thu Nov 23, 2006 7:57 pm    Post subject: Reply with quote

rosc2112 wrote:
atreides wrote:

It connects to a server (CounterStrike)
It reports round scores and player kills to the channel.


URL for where to get scores?


Well I dont think you can get this information from a URL. There is a program called HLSW that can connect to servers and it has a scorebot feature of its own. I think this script would be a bit harder, and you would have to have HLSW.
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Thu Nov 23, 2006 8:06 pm    Post subject: Reply with quote

I need to know the server address and port number if you expect a script to do this. I'm not a mind-reader.
Back to top
View user's profile Send private message
atreides
Voice


Joined: 20 Nov 2006
Posts: 17

PostPosted: Thu Nov 23, 2006 8:29 pm    Post subject: Reply with quote

Ah yes. I was hopin you could script it so we enter that information on our own. Would you need the rcon password?

connect 216.86.155.34:27016

There is a password...
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Thu Nov 23, 2006 9:10 pm    Post subject: Reply with quote

telnet: Unable to connect to remote host: Connection refused

I need the address and port number you connect to to get scores from. And preferably some protocol specifications..Obviously the other software you mention understands the protocol to be able to pull the data. I have not the vaguest idea about this game thing, but if I could find out how to pull in the data, I can make a script for it. But I can't do anything without being able to connect to the right server and the right port number. The address and port number you gave me are invalid.
Back to top
View user's profile Send private message
atreides
Voice


Joined: 20 Nov 2006
Posts: 17

PostPosted: Thu Nov 23, 2006 9:13 pm    Post subject: Reply with quote

rosc2112 wrote:
telnet: Unable to connect to remote host: Connection refused

I need the address and port number you connect to to get scores from. And preferably some protocol specifications..Obviously the other software you mention understands the protocol to be able to pull the data. I have not the vaguest idea about this game thing, but if I could find out how to pull in the data, I can make a script for it. But I can't do anything without being able to connect to the right server and the right port number. The address and port number you gave me are invalid.


I really wouldnt no then, sorry. I wouldnt sweat this. I could use the software. Thanks so much
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Thu Nov 23, 2006 9:32 pm    Post subject: Reply with quote

Ok then.
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Fri Nov 24, 2006 2:56 am    Post subject: Reply with quote

It only took me 5 seconds with google to find what you're looking for.

Ofcourse, I'm not entirely sure if it works.

http://limit.org/projects.php
Back to top
View user's profile Send private message
jhan86
Voice


Joined: 20 Sep 2006
Posts: 12

PostPosted: Fri Nov 24, 2006 7:06 am    Post subject: Reply with quote

BoOoO... You got me all excited because I thought it was SteamID script but it was a matchbot script Sad
_________________
#scripts @ GameSurge
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Fri Nov 24, 2006 7:11 am    Post subject: SteamID script Reply with quote

SteamID script is finished:
http://forum.egghelp.org/viewtopic.php?p=68413#68413
Back to top
View user's profile Send private message
jhan86
Voice


Joined: 20 Sep 2006
Posts: 12

PostPosted: Fri Nov 24, 2006 7:18 am    Post subject: Reply with quote

Metroid: i just tried using that script. It doesn't work either. Sad
_________________
#scripts @ GameSurge
Back to top
View user's profile Send private message
jhan86
Voice


Joined: 20 Sep 2006
Posts: 12

PostPosted: Fri Nov 24, 2006 3:52 pm    Post subject: Reply with quote

rosc!!! Thank you very much! I'm sure alot of people will enjoy your script!
_________________
#scripts @ GameSurge
Back to top
View user's profile Send private message
atreides
Voice


Joined: 20 Nov 2006
Posts: 17

PostPosted: Sat Nov 25, 2006 12:53 am    Post subject: Reply with quote

works like a charm.
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
Goto page Previous  1, 2
Page 2 of 2

 
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