Valhalla Legends Forums Archive | Battle.net Bot Development | Open source Linux BNCS client written in C

AuthorMessageTime
mynameistmp
I just released this a little while ago. There're screenshots on the website and information in the tarball. Enjoy.


http://www.x0r.ca/slackchat/slackchat.htm
August 14, 2005, 12:26 AM
QwertyMonster
Nice screenshot of it chatting.

"Logon Type Set to 0x0" is ok. But then ("Old Logon Style ;P"). Eh.. Why put that?
August 14, 2005, 1:01 AM
mynameistmp
It's open source. If you don't like that comment it's easy enough to change it. Line 621 of main.c included in the tarball, then just run make again.

Part of the reason I made it open source was because I was hoping it would open up the Linux bot dev. community a little bit. I encourage you guys to modify it or use the logon code and setup a different interface or something along those lines.

Most of the way it is setup now is designed to cater to my needs. Feel free to customize it.

btw... it says "Old Logon System ;P"
August 14, 2005, 1:05 AM
iago
Have you looked at BNCSUtil?  It's an open-source login library which supports every client from Starcraft to War3: TFT.  It's well written, since it's based on my code :)
August 14, 2005, 6:08 PM
K
[quote author=iago link=topic=12522.msg124301#msg124301 date=1124042929]
Have you looked at BNCSUtil? It's an open-source login library which supports every client from Starcraft to War3: TFT. It's well written, since it's based on my code :)
[/quote]

I have a half-written linux bot based on the last svn checkout I did of this code -- the only major flaw is that bncsutil doesn't support reading the windows version information necessary for checkrevision.  I took a look at the wine source code which provides this functionality in an attempt to read it myself and gave up ;)
August 14, 2005, 6:22 PM
shadypalm88
[quote author=K link=topic=12522.msg124303#msg124303 date=1124043741]
[quote author=iago link=topic=12522.msg124301#msg124301 date=1124042929]
Have you looked at BNCSUtil? It's an open-source login library which supports every client from Starcraft to War3: TFT. It's well written, since it's based on my code :)
[/quote]

I have a half-written linux bot based on the last svn checkout I did of this code -- the only major flaw is that bncsutil doesn't support reading the windows version information necessary for checkrevision.  I took a look at the wine source code which provides this functionality in an attempt to read it myself and gave up ;)
[/quote]Wouldn't it be possible to link against Winelib and override the platform detection in checkrevision.cpp?
August 15, 2005, 12:04 AM
iago
I treat the version code the same as as version byte -- I just update it when the version updates in the same place. 

Alternatively, you can set it to 0x0000000.  That's what is done on Starcraft: Mac. 
August 15, 2005, 10:45 PM
K
[quote author=shadypalm88 link=topic=12522.msg124341#msg124341 date=1124064247]Wouldn't it be possible to link against Winelib and override the platform detection in checkrevision.cpp?
[/quote]

You can't just link against Winelib and create an ELF binary with some wine functionality.  You in essence are then just creating a windows executable that happens to run under wine with the wine loader.
August 16, 2005, 12:53 AM

Search