Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: BNLS on February 04, 2006, 02:05 PM

Title: FBSD Bot
Post by: BNLS on February 04, 2006, 02:05 PM
Im looking for a bot that will load on FBSD 5.4......tried using zDS but it was compiled on 4.xx and idk wtf do to make it work on 5.4 unless i get the source code and recompile
Title: Re: FBSD Bot
Post by: Kp on February 04, 2006, 03:47 PM
So recompile it? :p
Title: Re: FBSD Bot
Post by: l2k-Shadow on February 04, 2006, 05:25 PM
zDS is open source.
Title: Re: FBSD Bot
Post by: Tazo on February 04, 2006, 09:19 PM
The linux version is open source, the freebsd version never surfaced (I ran into this problem previously). Here is what I was told: Find ZeroOne bot, something I still havent found..  :-\
Title: Re: FBSD Bot
Post by: Kp on February 04, 2006, 09:48 PM
If you've got the source to one, it shouldn't be hard to move it to another Unix...
Title: Re: FBSD Bot
Post by: topaz on February 04, 2006, 09:52 PM
Copy over the code and make adjustments, it should still work...
Title: Re: FBSD Bot
Post by: l)ragon on February 05, 2006, 03:34 PM
does javaop not run on fbsd?
Title: Re: FBSD Bot
Post by: Kp on February 05, 2006, 03:38 PM
Quote from: l)ragon on February 05, 2006, 03:34 PM
does javaop not run on fbsd?

JavaOp can run on any system with a working JVM.  IIRC, there've never been any particularly good JVMs for BSD because Sun didn't think it was important enough.
Title: Re: FBSD Bot
Post by: Tazo on February 05, 2006, 11:01 PM
Yes, installing java on fbsd is a royal pain in the ass, including finding a distro  :-\
Title: Re: FBSD Bot
Post by: BNLS on February 06, 2006, 10:37 PM
yah see im not a very technical person here:\ so it makes it that much harder, im just kinda still learning to use my shells
Title: Re: FBSD Bot
Post by: iago on February 06, 2006, 10:54 PM
Quote from: Tazo on February 05, 2006, 11:01 PM
Yes, installing java on fbsd is a royal pain in the ass, including finding a distro  :-\

It didn't seem too difficult.  Although my harddrive crapped out while Java was compiling, that can barely be blamed on Java. :)

Alternatively, try SlackChat (http://www.javaop.com/~tmp/).  It's fairly simple, and written in C for Slackware.  Converting it over to FreeBSD shouldn't be terribly difficult.  The code I wrote that was based on it worked with one very tiny change (changing #include <malloc.h> to <stdlib.h>, which was a good idea anyways). 

Title: Re: FBSD Bot
Post by: Newby on February 07, 2006, 08:41 PM
Quote from: Tazo on February 05, 2006, 11:01 PM
Yes, installing java on fbsd is a royal pain in the ass, including finding a distro  :-\

That didn't make sense to me.
Title: Re: FBSD Bot
Post by: iago on February 17, 2006, 03:35 AM
A bit late, but I agree that installing Java is annoying due to licensing.  I have to download crap from Sun's site which requires a gui-based browser (I couldn't get it with lynx or links), which means I have to install x, firefox, etc. (*sob*). 

Anyways, I verified that SlackChat (http://www.javaop.com/~tmp) works on FreeBSD.  Just make sure you compile with gmake.  Unfortunately, the version is out of date, so either somebody has to harass tmp to update it or you should update it yourself.