Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: diabl0 on September 30, 2005, 08:41 PM

Title: where to edit bnls server?
Post by: diabl0 on September 30, 2005, 08:41 PM
i have a bot source code in vb and i dont see where the bnls server is. i need to know how to change it, and what server to use. if anyone could tell me what to do that would be great.
Title: Re: where to edit bnls server?
Post by: Topaz on September 30, 2005, 09:22 PM
ctrl + f "valhallalegends.com, 9367"
Title: Re: where to edit bnls server?
Post by: rabbit on October 01, 2005, 08:40 AM
It would help to know which bot, but yes, probably Ctrl+F for it.
Title: Re: where to edit bnls server?
Post by: diabl0 on October 01, 2005, 09:18 AM
k, when i open the project, there is only one form and one module.
i searched for valhallalegends.com, 9367 and it found nothing.
the bot uses csb

here is the source if anyone is interested... im sure its probably full of other errors as well.
http://www.angelfire.com/trek/richie/bot.html

i just want this to work again... heh
also i can be reached at...

EMAIL: [email protected]

INSTANT MESSENGER:
aim: dsvevilgod
yahoo: toddie_s
Title: Re: where to edit bnls server?
Post by: Yegg on October 01, 2005, 01:53 PM
Quote from: daRktYpE on September 30, 2005, 09:22 PM
ctrl + f "valhallalegends.com, 9367"
That's a rather stupid way to find where the string containing the BNLS server is located. Since when is the domain name and the port inside of the same string?

I am assuming the Form will contain the BNLS server. Just search for either www.valhallalegends.com (or better yet valhallalegends.com) or bnls.valhallalegends.com. It will be one of the other. The port (if CSB allows you to change that as I cannot remember) for BNLS will always be 9367, so if you do see that, simply ignore it.

Update: Searching for "valhalla" within the form and the module failed. This bot does not contain the BNLS server within its source.
Title: Re: where to edit bnls server?
Post by: Topaz on October 01, 2005, 02:33 PM
Don't think you can edit default BNLS server on CSB anyhow. You're out of luck.
Title: Re: where to edit bnls server?
Post by: Yegg on October 01, 2005, 02:45 PM
Quote from: daRktYpE on October 01, 2005, 02:33 PM
Don't think you can edit default BNLS server on CSB anyhow. You're out of luck.
It may be possible to disassemble the OCX and change the value. I found the following line within the file.
unicode      'www.valhallalegends.com',0000h
Title: Re: where to edit bnls server?
Post by: Explicit on October 01, 2005, 04:26 PM
Quote from: Yegg on October 01, 2005, 02:45 PM
Quote from: daRktYpE on October 01, 2005, 02:33 PM
Don't think you can edit default BNLS server on CSB anyhow. You're out of luck.
It may be possible to disassemble the OCX and change the value. I found the following line within the file.
unicode      'www.valhallalegends.com',0000h


I doubt he'd know how to do that, so most likely, he'll request for someone to do it.
Title: Re: where to edit bnls server?
Post by: diabl0 on October 01, 2005, 07:47 PM
lol, your right peter. i DONT know how to do it.
and if i ask for someone to do it for me, what does that make me... a lazy beggar?
well, im not lazy.. and i wouldnt beg for someone to do this if i knew how.. but i dont
PLEASE PLEASE PLEASE???? otherwise.. if i wait until bnls is updated.. (maybe a year or 2) will this work then?

desperately yours,
~D
Title: Re: where to edit bnls server?
Post by: Yegg on October 01, 2005, 07:52 PM
Well, while BNLS is down (which seems like it will be a long time) you can improve your skills at Battle.net programming. Learn more about assembly and disassembling files, and maybe some day you can create a bot that connects to a Battle.net client through the local hash files instead of using BNLS.
Title: Re: where to edit bnls server?
Post by: Topaz on October 01, 2005, 11:07 PM
good job on the high and mighty instructor act, Yegg. You almost sounded smart there.
Title: Re: where to edit bnls server?
Post by: Grok on October 02, 2005, 01:16 AM
BNLS should be back up within a day or two.
Title: Re: where to edit bnls server?
Post by: Explicit on October 02, 2005, 01:35 AM
Quote from: Grok on October 02, 2005, 01:16 AM
BNLS should be back up within a day or two.

And there you have it.
Title: Re: where to edit bnls server?
Post by: l2k-Shadow on October 02, 2005, 02:01 AM
Quote from: Explicit[nK] on October 02, 2005, 01:35 AM
Quote from: Grok on October 02, 2005, 01:16 AM
BNLS should be back up within a day or two.

And there you have it.

Let me translate. Let us use the formula: Day Or Two = Month Or Two
Title: Re: where to edit bnls server?
Post by: l)ragon on October 02, 2005, 05:12 AM
anyway if the problem ever comes up again here's your solution.

START // RUN
C:\WINDOWS\system32\drivers\etc\hosts

there is an Eg. in the hosts file but anyways you can force your computer to think vl.com or what ever other ady you choose think that its another IP.
# IP                 Hostname
127.0.0.1        valhallalegends.com

fix the ip to use what ever other servers are running that service.

Problem solved gg k thx.

Title: Re: where to edit bnls server?
Post by: diabl0 on October 02, 2005, 07:53 AM
ty guys for all the replies!
i will try my best to get r' done myself.
very informative dragon....  also thanks to the rest for your ideas and suggestions! also, very good news that bnls is coming back!

ty all!
~D
Title: Re: where to edit bnls server?
Post by: Grok on October 04, 2005, 12:43 AM
Quote from: l2k-Shadow on October 02, 2005, 02:01 AM
Quote from: Explicit[nK] on October 02, 2005, 01:35 AM
Quote from: Grok on October 02, 2005, 01:16 AM
BNLS should be back up within a day or two.

And there you have it.

Let me translate. Let us use the formula: Day Or Two = Month Or Two

If you wish, I can make this happen for you.
Title: Re: where to edit bnls server?
Post by: Explicit on October 04, 2005, 02:52 AM
Please don't, ::)
Title: Re: where to edit bnls server?
Post by: Hdx on October 04, 2005, 11:36 AM
Do as |)ragon said. Using this line.
67.189.101.218        www.valhallalegends.com
Also, may I ask why BNLS is taking so long, If you know? Last I heard it was suposto come back up monday 09/26/05.
I know there is probably a lot of people out there that would be mroe then willing to host BNLS and have you re-direct to them.
But thats no needed. So anyways. Just asking
~-~(HDX)~-~
Title: Re: where to edit bnls server?
Post by: Grok on October 04, 2005, 02:06 PM
BNLS is back up.
Title: Re: where to edit bnls server?
Post by: Explicit on October 04, 2005, 02:53 PM
Quote from: Grok on October 04, 2005, 02:06 PM
BNLS is back up.

Awesome. Now to wait for the updates to the recent patches. :)
Title: Re: where to edit bnls server?
Post by: QwertyMonster on October 04, 2005, 03:39 PM
Thank-you Grok. :-)
Title: Re: where to edit bnls server?
Post by: UserLoser. on October 04, 2005, 03:51 PM
Quote from: Explicit[nK] on October 04, 2005, 02:53 PM
Quote from: Grok on October 04, 2005, 02:06 PM
BNLS is back up.

Awesome. Now to wait for the updates to the recent patches. :)

I've done my share, now it's up to Yoni/Skywing/Spht to finish the updating process
Title: Re: where to edit bnls server?
Post by: Hdx on October 04, 2005, 04:00 PM
finally, !!! Thanks.
~-~(HDX)~-~
Title: Re: where to edit bnls server?
Post by: Grok on October 04, 2005, 07:40 PM
Skywing doesn't read this forum.  If there's something he has to do, suggest sending him a PM.