.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   HOw tO StARt pRoGraMiNG ?? (http://forums.bots-united.com/showthread.php?t=4553)

lennex 05-10-2005 10:54

HOw tO StARt pRoGraMiNG ??
 
can someone provide a step-by-step guilde on creating a bot.
i got 0 knowledge on creating a bot..

1st problem ----- how to start programming?
2nd problem ----- what software is the best to use?

Please help me out!!!

Whistler 06-10-2005 03:52

Re: HOw tO StARt pRoGraMiNG ??
 
1 - First buy a C/C++ book and read it. Then try writing some small programs, and move to bigger programs if you succeed. You'll learn programming if you try hard.

2 - GCC plus Dev-C++ (if you are using MS platform) or Anjuta (if you are using GNU/Linux). Google it for downloads. I don't recommend MSVC because that tends to encourage warez :P

Pierre-Marie Baty 06-10-2005 10:07

Re: HOw tO StARt pRoGraMiNG ??
 
AlSo, C++ bEiNg A sTrOnG-tYpEd LaNgUaGe, YoUr PrOgRaMs WoN't WoRk If YoU wRiTe ThEm In SuCh A hOrRiBlE fAsHiOn.

Luckily I'm not strong-typed myself, but write clearly please...

Rick 06-10-2005 22:14

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Anjuta (if you are using GNU/Linux).
Even better: KDevelop :)

If you need lots of coding examples: www.koders.com

Whistler 07-10-2005 03:18

Re: HOw tO StARt pRoGraMiNG ??
 
well I'm actually using KDevelop but I think it does not work well for single-file small C programs :P

lennex 07-10-2005 06:38

Re: HOw tO StARt pRoGraMiNG ??
 
what should i learn C first?
or C++?
which one better on creating a game bot?

The Storm 07-10-2005 09:23

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Originally Posted by lennex
what should i learn C first?
or C++?
which one better on creating a game bot?

You can start directly with C++. Actually C is the base of C++. If you know C you will need to learn very small to become a C++ coder. However you can start directly with C++. To create a bot for the HL engine it is better to know C++ but you can code the bot with a clean C as well but it will be maybe more messed.

EDIT: If you don't want to give a money for a book to learn C/C++ you can use the free internet tutorials. Here you are two links:
http://www.cplusplus.com/
http://www.cprogramming.com/

EDIT 2:
Quote:

Originally Posted by Rick
Even better: KDevelop :)

Is there a KDevelop for Windows? I want to try it.

cld 07-10-2005 14:21

Re: HOw tO StARt pRoGraMiNG ??
 
I think C isn't base of C++. There are different languages.

Rick 07-10-2005 14:46

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Is there a KDevelop for Windows? I want to try it.
Nope, but I think its on the knoppix live cd.

Whistler 08-10-2005 04:04

Re: HOw tO StARt pRoGraMiNG ??
 
you can actually use Cygwin to run KDE.
http://www.cygwin.com
http://kde-cygwin.sf.net

however this is actually more difficult than a genuine GNU/Linux system and it's also _much_ slower.

also the Knoppix 4.0.2 version doesn't have KDevelop.

mirv 08-10-2005 05:03

Re: HOw tO StARt pRoGraMiNG ??
 
Go a simple syntax highlighting editor (scite is my choice), and the command line! Though dev-c++ is nice, and for a windows user would be a good place to start. Another one that might be ok (haven't tried it personally) is code::blocks.

The Storm 08-10-2005 12:35

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Originally Posted by Whistler
also the Knoppix 4.0.2 version doesn't have KDevelop.

The version of Knoppix that I have is 3.4. :)

callide 15-03-2006 00:07

Re: HOw tO StARt pRoGraMiNG ??
 
I'd recommend learning how to program/program OO before learning a language :)

s3designer 21-07-2006 00:23

Help Me
 
i am new here and want to know how to make bots..? i know c++ programming a little .. recently done oop programming in c++ and now want to make bots.. so any one guide me from begining?

Bluesman 21-07-2006 01:05

Re: Help Me
 
Quote:

Originally Posted by s3designer
i am new here and want to know how to make bots..? i know c++ programming a little .. recently done oop programming in c++ and now want to make bots.. so any one guide me from begining?

Most "I want to make some kick-ass bots" dudes begin their bot-journey with botmans hpb-templates ( http://hpb-bot.bots-united.com/ )

The_Hard_Mission_Guy 25-07-2006 02:19

Re: HOw tO StARt pRoGraMiNG ??
 
The Hard Mission Guy
presents
A Crash Course on How to

Make a Bot in 10 Steps

1)Buy a Computer
-Intel and/or Compatibles(Recommended)
-Mac (Very bad)

2)Choose an Operating System
-Windows
-Linux
-Mac OS(only for mac idiots)

3)Choose a Programming Language
-C/C++(Excellent Choice):thumbup:
-Java(Too Slow and far Too isolated)
-Basic(Too easy)
-Pascal(Too primitive)

4)Choose a Compiler
-MSVC or higher
-GCC
-The I-donno-what-compiler

5)Go to www.google.com and type the keyword "C/C++ Tutorial"(Yahoo Does it Also!)

6)Make a "Hello World" program(a Very Very essential Step, DO NOT SKIP)

7)Learn how to deal with pointers, arrays and dynamic allocation without overflowing your RAM(Random Access Memory)

8()Choose your Game engine
-HL
-HL2
-Quake/2/3/4
-The Super Duper ass terminating First Person Shooter Game

9)Download the Hpb_bot template (Only for HL )

10)Find out what edict_t and pfnRunPlayerMove means.....

...................and please don't kill my Ass if your bot does only frag your Mind and/or your Computer........and of Course HAVE FUN DUDE!!

Brainz 11-08-2006 11:57

Re: HOw tO StARt pRoGraMiNG ??
 
Code:

10 rem my first program!
20 cls
30 print "hello world"
run

ah, memories... BBC BASIC

Code:

private sub cmdClickMe_click()
msgbox "hello world"
end sub

How we've moved on.

Can we get this forum extended to include BASIC and similar?


All times are GMT +2. The time now is 21:13.

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