• Welcome to Valhalla Legends Archive.
 

Open source Linux BNCS client written in C

Started by mynameistmp, August 13, 2005, 07:26 PM

Previous topic - Next topic

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
"This idea is so odd, it is hard to know where to begin in challenging it." - Martin Barker, British scholar

QwertyMonster

Nice screenshot of it chatting.

"Logon Type Set to 0x0" is ok. But then ("Old Logon Style ;P"). Eh.. Why put that?

mynameistmp

#2
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"
"This idea is so odd, it is hard to know where to begin in challenging it." - Martin Barker, British scholar

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 :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


K

Quote from: iago on August 14, 2005, 01:08 PM
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 :)

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 ;)

shadypalm88

Quote from: K on August 14, 2005, 01:22 PM
Quote from: iago on August 14, 2005, 01:08 PM
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 :)

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 ;)
Wouldn't it be possible to link against Winelib and override the platform detection in checkrevision.cpp?

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. 
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


K

Quote from: shadypalm88 on August 14, 2005, 07:04 PMWouldn't it be possible to link against Winelib and override the platform detection in checkrevision.cpp?

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.