• Welcome to Valhalla Legends Archive.
 

Help handling warden

Started by TheTrueFace, July 08, 2009, 05:43 PM

Previous topic - Next topic

TheTrueFace

I'm programming a bot using C# with the help of BNSharp.

Is there any way I could reference a dll of warden or anything?

MyndFyre

There is not currently a public implementation of Warden available in C#.

BN# provides extensibility points for Warden handling, though, if you can implement it yourself.
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.

TheTrueFace

When I connect, I receive such messages, it says that warden was requested and not handled.

Does this actually mean that there is a method to handle warden with BNSharp already? And if so could I please have help doing it? I don't even know where to begin.

MyndFyre

Quote from: TheTrueFace on July 08, 2009, 06:55 PM
When I connect, I receive such messages, it says that warden was requested and not handled.

Does this actually mean that there is a method to handle warden with BNSharp already? And if so could I please have help doing it? I don't even know where to begin.
In order to implement Warden within BN#, you need to:

  • Implement the IWardenModule interface
  • Create an instance of the IWardenModule implementation class
  • Assign the instance to your connection's WardenModule property
During connection, BN#'s BattleNetClient class calls the various methods of the IWardenModule interface, so you need to implement them.  BN# generates that warning when no warden module is provided, but Battle.net requests Warden functionality of the client.
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.

TheTrueFace

Can you help me with code? I really don't know how to do this. =/

MyndFyre

Quote from: TheTrueFace on July 08, 2009, 07:59 PM
Can you help me with code? I really don't know how to do this. =/

What are you having trouble with?

Implementing an interface in C#?
Creating an instance of a class?
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.

Sveet

if you're having problems with the implementation, you can always use BNLS to handle it. Check out the BNLS 0x7D thread on the same page as this.

TheTrueFace

I'd like to be able to just implement warden as a class file, as I am using hash files, and don't care for BNLS.

How would I write this in a class file? Or is it even possible to use this method?

MyndFyre

Do you know how to program in C#?
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.

Hdx

#9
Quote from: MyndFyre on July 09, 2009, 04:45 PMDo you know how to program in C#?
No, he doesn't, I've spoken with him. This is his first program after writing a simple text editor which 1/2 the functionality didn't work [saving/loading files]

I've told him that I would be more then willing to help if he wanted to truly learn how to make a bot and go back to the basics. But he refuses to instead he uses BN# which is just a modern replacement to CSB [with improved features that make it great for experienced developers who simply don't want to re-write the connection over and over] and we all know how big of a head ake that was :/

He doesn't even know how to create a socket.

If he really wants to know whats going on, Ron's site will be helpful for the basics, after that we can direct him to the posts on these forums with more information, but, I'm doubtful he will understand the wiki less know how to implement it as the code is in C/Java not C# for him to copy.

So i'll state again, You should go back to the basics, and turly learn your language of choice, BEFORE making a bot, with or without BN#.

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

MyndFyre

Quote from: Hdx on July 09, 2009, 04:51 PM
[with improved features that make it great for experienced developers who simply don't want to re-write the connection over and over]
Nice save :P
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.