.:: 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
I am new and need help.
Old
  (#1)
Pex657
Guest
 
Status:
Posts: n/a
Default I am new and need help. - 19-03-2004

Hey everyon one. I downloaded the source code for HPB and I still have no idea what is going on. I want to make bots for the mod Rival Species. www.rivalspecies.com Sadly I have no coding experiece what so ever. I would like to know if any one can help me.

I need to know which programs I need, and how to make the bot using the HPB template. Any help would be appreciated. Thanks!
  
Reply With Quote
Re: I am new and need help.
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: I am new and need help. - 19-03-2004

Sure

You need a compiler first, and some program to edit the .cpp files. This can be notepad, but there are also really cool development environments programs available, with syntax highlighting, colors and a lot of things. The best of them for Windows is, IMO, Microsoft Visual Studio (MSVC). You only need the Visual C++ part of Visual Studio anyway.

Then you must have noticed a readme coming with the HPB_bot template. Read it (take the time to), even if you don't understand everything, it will be useful for you to understand a bit of what's going on.

Then you can try to compile the bot for one of the already supported mods, such as Half-Life deathmatch for example. Compile the bot, change a few things in the source code where you understand what it's about (for example, change the reaction delays of the bots, or try to make the bots say something on occasion) - browse the source code, notice how it works, copy and paste little blocks when you know what they do, do this for some time and you will improve the bot a bit, but foremost you'll be learning how C/C++ works.

Once you get a little more familiar with the code (not necessarily to know what everything does, but at least when you know roughly where such or such function is located in the .cpp files), you can try to port the bot to your Rival Species mod. To do so, read the readme again and try to follow what it says step by step.

The best place for discussing about bot coding is the bot coders forum (I'm moving the thread there, no objections ?) ; we welcome beginners so don't hesitate to come and ask whenever you've got a question !



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
  (#3)
Pex657
Guest
 
Status:
Posts: n/a
Default Re: I am new and need help. - 19-03-2004

Where can i get Microsoft Vidusal Studio, and a program that can edit .ccp files.


I read throught the Readme, and that just got me more confused.
  
Reply With Quote
Re: I am new and need help.
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: I am new and need help. - 19-03-2004

If you're a student, or if you work in a school, or if you know a relative who does, you can buy cheap licenses of MSVC from Microsoft. Other than that I suppose you can find copies of MSVC for sale on eBay. I don't recommend the latest version, MSVC .NET, but for a beginner I'd go with the version 6 (Visual Studio 6).

It's normal to be confused if you don't know anything about bots and programming. Build a bot DLL from the source code, and put it to work, then start hacking around (DON'T FORGET TO MAKE BACKUPS IN CASE YOU MESS STUFF UP!). Things will clarify with time.



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
  (#5)
Pex657
Guest
 
Status:
Posts: n/a
Default Re: I am new and need help. - 19-03-2004

I am a student. Where can I buy it for cheaper?
  
Reply With Quote
Re: I am new and need help.
Old
  (#6)
bluesy
Moderator
 
bluesy's Avatar
 
Status: Offline
Posts: 3
Join Date: Jan 2004
Location: Israel
Default Re: I am new and need help. - 21-03-2004

You can try looking in http://www.microsoft.com/education/?ID=AERFind


8D
  
Reply With Quote
Re: I am new and need help.
Old
  (#7)
Cpl. Shrike
ShrikeBot Coder/Moderator
 
Cpl. Shrike's Avatar
 
Status: Offline
Posts: 550
Join Date: Mar 2004
Location: The Netherlands
Default Re: I am new and need help. - 21-03-2004

Hello, Pex657.

Someone contacted me earlier via drek about a bot for rival species.
I've since then researched the mod some what. and wanted to add rival species to ShrikeBot. If yr interested on coding along you can contact me. (via this boards PM message system.)

------
edit...

oh wait.. you don't have a compiler or anything.
not much ya can help then ...... ... sorry.
well let me know when ya get compiling 9_9

Last edited by Cpl. Shrike; 21-03-2004 at 04:19..
  
Reply With Quote
Re: I am new and need help.
Old
  (#8)
Pex657
Guest
 
Status:
Posts: n/a
Default Re: I am new and need help. - 21-03-2004

Thanks, i already Pm you
  
Reply With Quote
Re: I am new and need help.
Old
  (#9)
Crow Willian
Guest
 
Status:
Posts: n/a
Default Re: I am new and need help. - 22-11-2004

I really NEED bots for rival species, if anyone knows about it, post it here please.

THANK U
  
Reply With Quote
Re: I am new and need help.
Old
  (#10)
Whistler
Whistler
 
Whistler's Avatar
 
Status: Offline
Posts: 1,491
Join Date: Feb 2004
Location: P. R. China
Default Re: I am new and need help. - 23-11-2004

well you don't have to buy MSVC, as there are free replacements which is perfect to compile the bot code:

I would recommend the MinGW (the Windows port of GNU Compiler Collection):
http://prdownloads.sourceforge.net/m...1.exe?download

In case of you need a nice IDE to edit the source code:
http://prdownloads.sourceforge.net/d...p.exe?download

Having said that, you need a bit of work to get HPB bot to compile under current version of MinGW. If you have problems you can ask in the forum or ask me directly.

You can also use the Borland C++ command line compiler, which is freeware. (http://www.borland.com)

@PMB: now I would feel no surprise to see how you're promoting M$ proprietary software which costs quite a lot of $$$ just for using it hehehe... (j/k)
  
Reply With Quote
Reply


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

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 - 2019, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com