IPB

Welcome Guest ( Log In | Register )

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 
Reply to this topicStart new topic
> Whois Information to PHP, Get bot information out to a websit
laos
post Aug 18 2009, 10:55 PM
Post #1


Rookie
*

Group: Members
Posts: 7
Joined: 11-October 06
Member No.: 10,109



Hi everyone

I was wondering if its possble for me to get the data from a /whois command out to a PHP snippet, where someone can read as text


[USERNAME] Is Currently [Offline/In Game, in private channel, etc.].

This is so users on the website can see the Bot and if its up or down.

Thanks,

Laos.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Lyerae Allaras
post Aug 19 2009, 12:57 AM
Post #2


Jr. Member
**

Group: Members
Posts: 43
Joined: 13-August 09
Member No.: 53,477



According to what I know, you would need to have script which runs a /whois command every X seconds, and then update an SQL database with the new information.
However, this would most likely not work, due to the fact that the bot cannot run very many /whois commands without being IP banned for flooding.
If it was 1-2 people every 60-120 seconds, then maybe, but with the current version of StealthBot, this would be too much for it.

If you can find a way for several bots to communicate with each other to share the load (I do not know if a way currently exists), then it may be possible, but it would require multiple bots to function properly.


--------------------
To all those who are wondering, my name is pronounced: Lay-rah Al-a-ras.
Currently inactive due to a very active social life. I'm out partyin', while your stuck at home, doing nothing.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
laos
post Aug 19 2009, 08:14 AM
Post #3


Rookie
*

Group: Members
Posts: 7
Joined: 11-October 06
Member No.: 10,109



Well, perhaps a script that takes the stealthbot, makes it send a /whois command to another user, and then sends that data to a database. every 60 seconds, can that be done?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Lyerae Allaras
post Aug 19 2009, 10:52 AM
Post #4


Jr. Member
**

Group: Members
Posts: 43
Joined: 13-August 09
Member No.: 53,477



You mean "sharing the load"?
Unless you can find a way to do that, I do not think this would be possible.


--------------------
To all those who are wondering, my name is pronounced: Lay-rah Al-a-ras.
Currently inactive due to a very active social life. I'm out partyin', while your stuck at home, doing nothing.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nate
post Aug 19 2009, 03:03 PM
Post #5


Full Member
***

Group: Sr. Members
Posts: 741
Joined: 29-January 06
Member No.: 30



Are you trying to check on the status of the bot, or the use the bot to check the status of other users?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th May 2013 - 07:29 AM
Skin by Andrea
Website Legal Information | Hosted by LunarPages