<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/3215" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-12-11T08:16:07-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/3215</id>

		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-11T08:16:07-04:00</updated>

		<published>2002-12-11T08:16:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14178#p14178</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14178#p14178"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14178#p14178"><![CDATA[
(or of course go the whole hog and write a module that does async UDP sockets and handles timeouts (which are the real bugger) ...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><br><br>/me = masochist  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Wed Dec 11, 2002 8:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-11T08:00:09-04:00</updated>

		<published>2002-12-11T08:00:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14177#p14177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14177#p14177"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14177#p14177"><![CDATA[
You can use the open command, and use file based events to prevent this sort of blocking.<br><br>Exec the script, and setup a event handler, passing all needed information, that is required to get the data to it's destination once complete (IE, nick, channel, information type).<br><br>With this, you can fancily use token based variables (like those that are generated by the http package), and store all the incoming data, until the applications goes EOF, and you issue a close.<br><br>This is the most sane method of doing it. The downside, it's aucward to impliment. However, it's far easier to maintain once complete. It will allow more queries that a standard exec method, and it can't block.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Dec 11, 2002 8:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-11T07:51:48-04:00</updated>

		<published>2002-12-11T07:51:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14176#p14176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14176#p14176"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14176#p14176"><![CDATA[
The problem with exec is that control is not returned to the bot until the program called returns.<br><br>I would try to walk before you run - try just one server for now. If the bot is timing out of IRc then its because you are just doing too much!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Wed Dec 11, 2002 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Black|Man]]></name></author>
		<updated>2002-12-11T07:35:30-04:00</updated>

		<published>2002-12-11T07:35:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14175#p14175</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14175#p14175"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14175#p14175"><![CDATA[
yes i have a txt file now with all ip in when i search for player crash my bot, maybe the way is search from a hompage ?<br><br>You can get a list of all servers and players from Qstat like this:<br>qstat -P -rwm,60 wolfmaster.idsoftware.com<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2091">Black|Man</a> — Wed Dec 11, 2002 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-11T07:17:08-04:00</updated>

		<published>2002-12-11T07:17:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14174#p14174</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14174#p14174"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14174#p14174"><![CDATA[
Thinking about it .. using the qstat4eggdrop script it is possible to modify it so that it searches each line for the string specified ... you'd have to call it multiple times (once for each server you want to query) tho...<br><br>The reason I went the route I did is that I want to do rcon stuff as well...<br><br>This is not available with the standard script tho.  So you'd have to build a list of servers (maybe with an !addserver command ...) and then run through that list.<br><br>So I would research string matching and list building in tcl. (no, I'm not going to do it - I make modules)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Wed Dec 11, 2002 7:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-11T06:59:15-04:00</updated>

		<published>2002-12-11T06:59:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14173#p14173</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14173#p14173"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14173#p14173"><![CDATA[
I'm afraid the only way to do this with Qstat is to run a seperate batch file that does the qstats into another file and then grep them for the results. Its tricky, but it does work, we've done it. You've been watching the BY bots havent you? They can do it because they have access to the server logs btw...<br><br>However I am writing a bot that can do this (for wolf) right at the minute on remote servers (qstat built in). Not sure when it will be finished tho.<br><br>[edit] start with the qstat4eggdrop script that can be found around about. but I warn you - it has been removed from a number of places because the exec it calls can be exploited. Also, if the program you call with exec does not return (lags out in any way) then your bot will also lag out of IRC.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Wed Dec 11, 2002 6:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Black|Man]]></name></author>
		<updated>2002-12-10T19:51:33-04:00</updated>

		<published>2002-12-10T19:51:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14166#p14166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14166#p14166"/>
		<title type="html"><![CDATA[Qstat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14166#p14166"><![CDATA[
My problem is i need TCl script there can search from <strong class="text-strong">Qstat</strong> and give me info back someting like this <strong class="text-strong">!find wolfplayer</strong> and the BOT say where the player is<br><br><br>1. !find wolfplayer<br>2. The BOT say -&gt;  Looking for 'wolfplayer', patience.<br><strong class="text-strong">3.And finaly the BOT say</strong><br><br>WolfPlayer     score:  5 is on T2Server1 Depot Only (128.176.224.13:27910)<br>DK WolfPlayer  score: 20 is on gamesdomain.co.uk - Objective Event (213.221.165.14:28960)<br>[HP]WolfPlayer score: 23 is on Happy_Penguin (216.234.192.28:27960)<br><strong class="text-strong">3 players found.</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2091">Black|Man</a> — Tue Dec 10, 2002 7:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
