• Welcome to Valhalla Legends Archive.
 

Bot for OpenBSD

Started by Tazo, June 22, 2005, 03:45 PM

Previous topic - Next topic

Tazo

Does anyone know of a binary bot that supports Open BSD? I tried zDS, but that doesnt even compile and its only for FreeBSD and Linux
Would a FreeBSD supported bot work on OpenBSD?

Blaze

If it supports Java, JavaOp2.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

Lenny

Sun never released a Java platform for FreeBSD, but they are available.
http://www.freebsd.org/java/

As for OpenBSD, there was a project going on to create a native port of the platform, but that seems to be over and forgotten with....
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

Kp

What fails in the compilation?  If there aren't too many errors, you could just fix it yourself.  I'm not familiar with {Free,Open}BSD, but it seems a little surprising that a program which works on one cannot easily be made to work on the other.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Tazo

Quote from: Kp on June 22, 2005, 09:01 PM
What fails in the compilation?  If there aren't too many errors, you could just fix it yourself.  I'm not familiar with {Free,Open}BSD, but it seems a little surprising that a program which works on one cannot easily be made to work on the other.
no one can get it to compile, it seems the newest source is broken
I received ZeroOne bot, but that doesnt seem to be working either

Kp

Since you haven't actually said what errors you're receiving, I cannot even begin to suggest how to fix it.  Barring further action by interested parties, this will be classified as RESOLVED -> WORKSFORME.

(Note: it really helps to be familiar with Bugzilla; in particular, the life cycle of a bug.)
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Tazo

= Compiling FreeBSD Base:
Build number: 2125
g++ -O2 -mcpu=pentium -funroll-loops -fexpensive-optimizations -c -o main.fbsd.o main.cpp
In file included from network.h:14,
                 from bot.h:16,
                 from botlist.h:4,
                 from main.h:17,
                 from main.cpp:2:
display.h:34: error: syntax error before `*' token
In file included from botlist.h:4,
                 from main.h:17,
                 from main.cpp:2:
bot.h:100: error: `string' undeclared in namespace `std'
bot.h:100: error: syntax error before `*' token
bot.h:101: error: syntax error before `*' token
bot.h:102: error: syntax error before `*' token
In file included from main.h:19,
                 from main.cpp:2:
globals.h:20: error: `string' undeclared in namespace `std'
globals.h:20: error: syntax error before `*' token
globals.h:21: error: `string' undeclared in namespace `std'
globals.h:21: error: `string' undeclared in namespace `std'
globals.h:21: error: syntax error before `*' token
globals.h:22: error: `string' undeclared in namespace `std'
globals.h:22: error: `string' undeclared in namespace `std'
globals.h:22: error: syntax error before `*' token
globals.h:24: error: `string' undeclared in namespace `std'
globals.h:24: error: syntax error before `*' token
globals.h:35: error: syntax error before `&' token
globals.h:36: error: syntax error before `&' token
globals.h:38: error: syntax error before `&' token
globals.h:43: error: syntax error before `&' token
globals.h:44: error: syntax error before `&' token
*** Error code 1

Stop in /home/tazox/zDSBot3/Base (line 73 of Makefile).
*** Error code 1

Stop in /home/tazox/zDSBot3 (line 28 of Makefile).


Topaz


Tazo

{In reference to zDS}
Will the FreeBSD version work on OpenBSD?

Quote from: Topaz on June 23, 2005, 12:13 AM
zDS still works rather well; www.newds.zefga.net
No it doesn't, try to compile the newest cvs thing..


Tazo

Quote from: NicoQwertyu on June 23, 2005, 10:15 AM
Don't get the newest.  All versions after 2088, which use the crappy new config scheme, are terrible.  Get zDS 2088 and see if that compiles for you.
zDS doesnt built for Open BSD, does it -.^

R.a.B.B.i.T

Quote from: Tazo on June 22, 2005, 10:53 PM
= Compiling FreeBSD Base:
Build number: 2125
g++ -O2 -mcpu=pentium -funroll-loops -fexpensive-optimizations -c -o main.fbsd.o main.cpp
In file included from network.h:14,
                 from bot.h:16,
                 from botlist.h:4,
                 from main.h:17,
                 from main.cpp:2:
display.h:34: error: syntax error before `*' token
In file included from botlist.h:4,
                 from main.h:17,
                 from main.cpp:2:
bot.h:100: error: `string' undeclared in namespace `std'
bot.h:100: error: syntax error before `*' token
bot.h:101: error: syntax error before `*' token
bot.h:102: error: syntax error before `*' token
In file included from main.h:19,
                 from main.cpp:2:
globals.h:20: error: `string' undeclared in namespace `std'
globals.h:20: error: syntax error before `*' token
globals.h:21: error: `string' undeclared in namespace `std'
globals.h:21: error: `string' undeclared in namespace `std'
globals.h:21: error: syntax error before `*' token
globals.h:22: error: `string' undeclared in namespace `std'
globals.h:22: error: `string' undeclared in namespace `std'
globals.h:22: error: syntax error before `*' token
globals.h:24: error: `string' undeclared in namespace `std'
globals.h:24: error: syntax error before `*' token
globals.h:35: error: syntax error before `&' token
globals.h:36: error: syntax error before `&' token
globals.h:38: error: syntax error before `&' token
globals.h:43: error: syntax error before `&' token
globals.h:44: error: syntax error before `&' token
*** Error code 1

Stop in /home/tazox/zDSBot3/Base (line 73 of Makefile).
*** Error code 1

Stop in /home/tazox/zDSBot3 (line 28 of Makefile).


It would appear that compiler disagrees with reference and pointer variables, as well as string types in namespaces.

Tazo

Attempting to run Linux version of zDS on OpenBSD:
Abort trap
Attempting to run FreeBSD version of zDS on OpenBSD:
Abort trap

-.-

Kp

Quote from: Tazo on June 22, 2005, 10:53 PMIn file included from network.h:14,
                 from bot.h:16,
                 from botlist.h:4,
                 from main.h:17,
                 from main.cpp:2:
display.h:34: error: syntax error before `*' token
Probably someone wrote type *, but failed to include the appropriate header to declare that type.  Given your subsequent errors with std::string, I'd guess it's a string *.  Include the header for that type, and this will be fixed.
Quote from: Tazo on June 22, 2005, 10:53 PMIn file included from botlist.h:4,
                 from main.h:17,
                 from main.cpp:2:
bot.h:100: error: `string' undeclared in namespace `std'
bot.h:100: error: syntax error before `*' token
bot.h:101: error: syntax error before `*' token
bot.h:102: error: syntax error before `*' token
string is in the wrong namespace in your headers (indicative of a badly outdated compiler), or it's in the wrong header, or the author forgot to include that header.  Given that it seems to work on GNU/Linux, I'd guess it isn't the third one.  The syntax errors are almost certainly consequences of the missing type definition.
Quote from: Tazo on June 22, 2005, 10:53 PMIn file included from main.h:19,
                 from main.cpp:2:
globals.h:20: error: `string' undeclared in namespace `std'
globals.h:20: error: syntax error before `*' token
globals.h:21: error: `string' undeclared in namespace `std'
globals.h:21: error: `string' undeclared in namespace `std'
globals.h:21: error: syntax error before `*' token
globals.h:22: error: `string' undeclared in namespace `std'
globals.h:22: error: `string' undeclared in namespace `std'
globals.h:22: error: syntax error before `*' token
globals.h:24: error: `string' undeclared in namespace `std'
globals.h:24: error: syntax error before `*' token
Same reason/fix as above: include the correct header for std::string.
Quote from: Tazo on June 22, 2005, 10:53 PMglobals.h:35: error: syntax error before `&' token
globals.h:36: error: syntax error before `&' token
globals.h:38: error: syntax error before `&' token
globals.h:43: error: syntax error before `&' token
globals.h:44: error: syntax error before `&' token
Probably just more of the same.  Fix your headers and it'll all work.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!