Valhalla Legends Forums Archive | Battle.net Bot Development | Using a Database

AuthorMessageTime
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
September 21, 2003, 3:48 AM
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.
September 21, 2003, 3:58 AM
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.
September 21, 2003, 4:16 AM
UserLoser
Using Winsock, or it could easily be done with the INet control.
September 21, 2003, 4:29 AM
JoeSchmoe
Don't know how to do that stuff. :P
September 21, 2003, 4:53 AM
Myndfyr
[quote author=JoeSchmoe link=board=17;threadid=2777;start=0#msg21859 date=1064120032]
Don't know how to do that stuff. :P
[/quote]

This is when you look up the control info for the winsock or inet controls....
September 21, 2003, 5:47 AM
iago
[quote author=Myndfyre link=board=17;threadid=2777;start=0#msg21860 date=1064123242]
[quote author=JoeSchmoe link=board=17;threadid=2777;start=0#msg21859 date=1064120032]
Don't know how to do that stuff. :P
[/quote]

This is when you look up the control info for the winsock or inet controls....
[/quote]

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
September 21, 2003, 11:31 AM
UserLoser
[quote author=JoeSchmoe link=board=17;threadid=2777;start=0#msg21859 date=1064120032]
Don't know how to do that stuff. :P
[/quote]

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

i can go on and on with VB sites =)
September 21, 2003, 4:02 PM

Search