Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: MusicDemon on December 28, 2009, 11:03 AM

Title: Misconceptions about MBNCSUtil
Post by: MusicDemon on December 28, 2009, 11:03 AM
Quote from: Mystical on December 18, 2009, 09:33 PM
I'm interested in a (.NET warden handler library), I don't think anyone has made one public though, Search of the forums reveals Ribose said he wrote a handler, doesn't seem to be public however, hopefully MyndFyre implements one into MBNCSUtil.dll soon.

I thought MyndFyre stopped updating it? O.o
Title: Misconceptions about MBNCSUtil
Post by: MyndFyre on December 28, 2009, 03:15 PM
Quote from: MusicDemon on December 28, 2009, 11:03 AM
I thought MyndFyre stopped updating it? O.o
You thought wrong?
Title: Misconceptions about MBNCSUtil
Post by: MusicDemon on December 29, 2009, 03:29 PM
Ugh, my bad  :-[
Could you give a valid link to the source?
I haven't been able to find it O.o BN# doesn't uses you latest version, does it?
Title: Misconceptions about MBNCSUtil
Post by: rabbit on December 30, 2009, 07:37 AM
jinxbot.com
Title: Misconceptions about MBNCSUtil
Post by: MyndFyre on December 30, 2009, 09:55 AM
Quote from: MusicDemon on December 29, 2009, 03:29 PM
Ugh, my bad  :-[
Could you give a valid link to the source?
I haven't been able to find it O.o BN# doesn't uses you latest version, does it?

The documentation homepage (http://jinxbot.net/mbncsutil/) has links to the downloads; you can get source code out of the JinxBot subversion repository at /branches/mbncsutil/trunk/ (http://code.google.com/p/jinxbot/source/browse/#svn/branches/mbncsutil/trunk).  BN# also has MBNCSUtil rolled into it, yes; however, instead of it being in the MBNCSUtil namespace, everything is in BNSharp.MBNCSUtil.  Very minor change.

@rabbit: you fail!
Title: Misconceptions about MBNCSUtil
Post by: MusicDemon on December 30, 2009, 05:58 PM
Quote from: MyndFyre on December 30, 2009, 09:55 AM
Quote from: MusicDemon on December 29, 2009, 03:29 PM
Ugh, my bad  :-[
Could you give a valid link to the source?
I haven't been able to find it O.o BN# doesn't uses you latest version, does it?

The documentation homepage (http://jinxbot.net/mbncsutil/) has links to the downloads; you can get source code out of the JinxBot subversion repository at /branches/mbncsutil/trunk/ (http://code.google.com/p/jinxbot/source/browse/#svn/branches/mbncsutil/trunk).  BN# also has MBNCSUtil rolled into it, yes; however, instead of it being in the MBNCSUtil namespace, everything is in BNSharp.MBNCSUtil.  Very minor change.

@rabbit: you fail!
I tried to convert it from C# to VB... It failed dramatically... I was searching for the code you used to compile the pre-compiled version. Since there are things in BN# which aren't in MBNCS but needed in it...
Title: Misconceptions about MBNCSUtil
Post by: MyndFyre on December 30, 2009, 06:00 PM
So why don't you just use BN#?

Trying to port MBNCSUtil from C# to VB directly (using something like a language converter program) would be impossible because it uses pointers.

Again, you can get the code used to compile MBNCSUtil from /branches/mbncsutil/trunk of the JinxBot SVN repository.  MBNCSUtil is now considered a "branch" of BN#.  You can get it with svn checkout http://jinxbot.googlecode.com/svn/branches/mbncsutil/trunk/ jinxbot-read-only.

What do you want in MBNCSUtil that is in BN#, and why?  (In other words, submit a feature request).
Title: Misconceptions about MBNCSUtil
Post by: Mystical on December 30, 2009, 07:37 PM
Id like a bnls header option for the packetbuffer

well currently im just using databuffer for my bnls packets =P
Title: Misconceptions about MBNCSUtil
Post by: MyndFyre on December 30, 2009, 11:48 PM
BNLS isn't part of Battle.net, so that won't ever get into MBNCSUtil.

Subclass DataBuffer like I did for BncsPacket?  I think Lead has done that.

[edit] Split from the other thread since it doesn't really fit the other topic.
Title: Re: Misconceptions about MBNCSUtil
Post by: rabbit on December 31, 2009, 08:58 AM
Lead and I have both subclassed DataBuffer and DataReader (Lead for BNLS and me for Botnet and something else I forget now).  It's really not that hard at all.  In fact, it's easy enough to just subclass DataBuffer and not bother with subclassing DataReader.
Title: Re: Misconceptions about MBNCSUtil
Post by: Mystical on December 31, 2009, 03:42 PM
so then what's with the

Quote
BNLS integration, due for version 2.3.
Title: Re: Misconceptions about MBNCSUtil
Post by: MusicDemon on December 31, 2009, 07:45 PM
So... My topic I guess? :D

Well, I ONLY want to use MBNCS because there are bugs with BN# handling clan stuff...
And because I really want to create my own bot (a)
Title: Re: Misconceptions about MBNCSUtil
Post by: MyndFyre on January 01, 2010, 06:33 PM
Quote from: Mystical on December 31, 2009, 03:42 PM
so then what's with the

Quote
BNLS integration, due for version 2.3.
Dirty lies.

Quote from: MusicDemon on December 31, 2009, 07:45 PM
So... My topic I guess? :D

Well, I ONLY want to use MBNCS because there are bugs with BN# handling clan stuff...
And because I really want to create my own bot (a)
You can override BN#'s clan-handling behavior by overriding the default packet handlers for clan events.  However, I am not aware of any such defects (http://code.google.com/p/jinxbot/issues/list) in the latest version of source...
Title: Re: Misconceptions about MBNCSUtil
Post by: MusicDemon on January 02, 2010, 10:16 AM
You've got the end-tag of an url... Where's the beginning? O.o
Title: Re: Misconceptions about MBNCSUtil
Post by: rabbit on January 02, 2010, 12:34 PM
I am not aware of any such defects

That's the link.