• Welcome to Valhalla Legends Archive.
 

Saving to a DB

Started by WiLD, July 02, 2003, 01:56 AM

Previous topic - Next topic

WiLD

I know its possible because fyrebot does it. I was wondering how i would save data from my bot to a DB on the net.

Ofcourse im not going to use it to steal information but to log info. I was thinking that it would be nice to know whos using your bot on what server the master and home channel. This would be very useful if you release a private version of your bot, and you can see whos using and where they are. So then you can patch it.

I do know that knowledge of ASP or PHP will be needed but if you could at least please help me with the client side(bot).

Any information/code will be helpful

Thank you
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest

Noodlez

You could write an ASP or PHP script that works something like this...
script.asp?username=Noodlez&timesloaded=0&blah=blah

Of course, you should have some security measures to make sure it is actually the bot executing the script, otherwise people could add garbage to your database.

UnkNowN....Man.

u talkin bot like.. i don know, a WeBBot?

Kp

Quote from: WiLD on July 02, 2003, 01:56 AM
I know its possible because fyrebot does it. I was wondering how i would save data from my bot to a DB on the net.

Ofcourse im not going to use it to steal information but to log info. I was thinking that it would be nice to know whos using your bot on what server the master and home channel. This would be very useful if you release a private version of your bot, and you can see whos using and where they are. So then you can patch it.
What precisely is your goal in this?  Retain a list of people running the bot, see who's using it at a given instant (but not have a list of all people who've ever run it), view the databases that they are using, ...?  Knowing precisely what you want done with it will make it much easier to give you a relevant answer.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

WiLD

ok srr,
i want it save to a DB with the;
username,
master,
server,
home channel,
last time it connected
Quote
u talkin bot like.. i don know, a WeBBot?
not really, because if i understand correct a webbot just transmits data from what the bot sees in the channel to a website.
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest