.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   I am new and need help. (http://forums.bots-united.com/showthread.php?t=1137)

Pierre-Marie Baty 23-11-2004 11:33

Re: I am new and need help.
 
nag me all you can, but you know pretty well like me that HL1 chronically hates anything that's not compiled with MS compilers... :)

I would have recommended Microsoft's free compiler and the Eclipse IDE. But MSVC is much easier for beginners, so I stick to my point :P

Whistler 23-11-2004 13:04

Re: I am new and need help.
 
I have made a dev-cpp and mingw version of HPB bot template...
http://filebase.bots-united.com/inde...on=file&id=225

it should compile & run perfectly with GCC/MinGW 3.2.3 and Dev-Cpp.
See readme for details. :)

The Dev-Cpp is basically as easy as MSVC, and I don't think we should recommend new users the MSVC as they will just get addicted into proprietary software.

[edit]
well I missed something...
at first time you run the Dev-Cpp, you need to select Tools->Compiler options->Programs, and fill in "mingw32-make.exe" after the "make:" (which is originally "make.exe".

botman 23-11-2004 15:03

Re: I am new and need help.
 
Hey Whistler, have you tried this out on Win98?

Last time I tried to use Bloodshed (Dev-cpp), it had problems with Win98's limited command line length.

I had to download and install MSYS (from the MinGW website) and use that command line shell to have a long enough command line such that I didn't get linker errors when trying to link all the .o files into the executable DLL.

botman

MUSICAL_DUCK 30-11-2004 00:17

Re: I am new and need help.
 
I am currently coding a bot for Rival species :)

Currently working on the navigation but the following is functionalish

Bot can use menus for:

Team selection

Weapon selection

Class Selection

Bot can select weapons, aim and fire during combat. (also does melee nicely :) )

As to navigation I have gotten to the point where I just need decent waypoints for the maps so I'll post about that later.

Also can someone please give me a quick run down of how to use the Floyds route thing in HPB v4. (Would Djikstra be better?)

I need info on what is necessary for initialization and why does it only return unsigned short ints for next waypoint on route? (<=255? MAX_WAYPOINTS set to 1024 by default? )

I am probably just making some simple mistake tho but any help would be cool.

Then maybe bot will be ready for the next version of RS! I am on the development team now so can have the bot ready with the release. It should also be compatible with all 7 races, their classes and their guns, yay!


All times are GMT +2. The time now is 01:42.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.