.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Re: I am new and need help.
Old
  (#11)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: I am new and need help. - 23-11-2004

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



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: I am new and need help.
Old
  (#12)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: I am new and need help. - 23-11-2004

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".

Last edited by Whistler; 23-11-2004 at 13:58..
  
Reply With Quote
Re: I am new and need help.
Old
  (#13)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: I am new and need help. - 23-11-2004

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
  
Reply With Quote
Re: I am new and need help.
Old
  (#14)
MUSICAL_DUCK
Member
 
Status: Offline
Posts: 3
Join Date: Nov 2004
Default Re: I am new and need help. - 30-11-2004

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!

Last edited by MUSICAL_DUCK; 30-11-2004 at 00:31..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com