• Welcome to Valhalla Legends Archive.
 

Using a Database

Started by JoeSchmoe, September 20, 2003, 10:48 PM

Previous topic - Next topic

JoeSchmoe

Hello,

    I would like to know how to use a database for my bot. Kind of like Feanor's WinClient. It reads a text file from a website and checks to see if username is on the list. If not, it declines connection, if so, it allows the bot to connect.

Thank You,
JoeSchmoe

EvilCheese

It seems to me that you just answered your own question. To do what you asked, simply:

-Read a text file from a website containing a list of users.
-Check to see if the current username is on the list.
-If so, allow connection.
-If not, decline connection.

JoeSchmoe

Yes, thanks, but I do not know how to make a VB program read a text file from the internet.

VB to Internet or Internet to VB is what I'm new at.

UserLoser

Using Winsock, or it could easily be done with the INet control.

JoeSchmoe

Don't know how to do that stuff.  :P

MyndFyre

Quote from: JoeSchmoe on September 20, 2003, 11:53 PM
Don't know how to do that stuff.  :P

This is when you look up the control info for the winsock or inet controls....
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

iago

Quote from: Myndfyre on September 21, 2003, 12:47 AM
Quote from: JoeSchmoe on September 20, 2003, 11:53 PM
Don't know how to do that stuff.  :P

This is when you look up the control info for the winsock or inet controls....

You took the words right out of my mouth!  Well, right off my keyboard anyway...

Since you've been given the outline of what you need to do, I would suggest going and researching it.  You have to look like you're at least making some effort at learning :-P
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


UserLoser

Quote from: JoeSchmoe on September 20, 2003, 11:53 PM
Don't know how to do that stuff.  :P

www.pscode.com
www.google.com
www.elitevb.com
...

i can go on and on with VB sites =)