Valhalla Legends Forums Archive | Battle.net Bot Development | Bot for OpenBSD

AuthorMessageTime
laurion
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?
June 22, 2005, 8:45 PM
KkBlazekK
If it supports Java, JavaOp2.
June 22, 2005, 8:47 PM
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....
June 22, 2005, 9:04 PM
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.
June 23, 2005, 2:01 AM
laurion
[quote author=Kp link=topic=11925.msg116960#msg116960 date=1119492116]
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.
[/quote]
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
June 23, 2005, 2:04 AM
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.)
June 23, 2005, 3:44 AM
laurion
= 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).

June 23, 2005, 3:53 AM
Topaz
zDS still works rather well; www.newds.zefga.net
June 23, 2005, 5:13 AM
laurion
{In reference to zDS}
Will the FreeBSD version work on OpenBSD?

[quote author=Topaz link=topic=11925.msg116980#msg116980 date=1119503601]
zDS still works rather well; www.newds.zefga.net
[/quote]
No it doesn't, try to compile the newest cvs thing..
June 23, 2005, 1:18 PM
NicoQwertyu
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.
June 23, 2005, 3:15 PM
laurion
[quote author=NicoQwertyu link=topic=11925.msg117021#msg117021 date=1119539706]
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.
[/quote]
zDS doesnt built for Open BSD, does it -.^
June 23, 2005, 4:10 PM
R.a.B.B.i.T
[quote author=Tazo link=topic=11925.msg116973#msg116973 date=1119498799]
= 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).


[/quote]It would appear that compiler disagrees with reference and pointer variables, as well as string types in namespaces.
June 23, 2005, 10:26 PM
laurion
Attempting to run Linux version of zDS on OpenBSD:
Abort trap
Attempting to run FreeBSD version of zDS on OpenBSD:
Abort trap

-.-
June 23, 2005, 10:58 PM
Kp
[quote author=Tazo link=topic=11925.msg116973#msg116973 date=1119498799]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[/quote]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 author=Tazo link=topic=11925.msg116973#msg116973 date=1119498799]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[/quote]string is in the wrong namespace in your headers (indicative of a [u]badly[/u] 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 author=Tazo link=topic=11925.msg116973#msg116973 date=1119498799]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[/quote]Same reason/fix as above: include the correct header for std::string.[quote author=Tazo link=topic=11925.msg116973#msg116973 date=1119498799]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[/quote]Probably just more of the same.  Fix your headers and it'll all work.
June 24, 2005, 1:55 AM

Search