.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   RealBot source code at Github! (http://forums.bots-united.com/showthread.php?t=6471)

stefanhendriks 22-08-2007 20:13

RealBot source code at Github!
 
(edited 03/09/2018, to point to correct up to date repositories)

Check out my projects at:

https://github.com/stefanhendriks
and:
https://github.com/Fundynamic

Where you also have :

https://github.com/stefanhendriks/RealBot

Get GIT and clone the project to get the source. You should be able to compile it easily.

The repository contains the 2 required dependencies:

metamod 1.21
half-life 1 sdk - multiplayer

include directories needed are:
hlsdk\multiplayer source\dlls
hlsdk\multiplayer source\common
hlsdk\multiplayer source\pm_shared
hlsdk\multiplayer source\engine
metamod-hl1\metamod

Be sure you have it in this order and have the Windows include directory be AFTER this order.

It *should* compile with minGW and such, but i cannot verify this, since i compile it with Visual C++ 6.0. Yah, very old. I did not try Visual C++ Express yet.

If you want to participate with coding:
- you need a gmail account
- you need coding experience
- you can mail me and ask

Any questions? ask! :)

:thumbup:

The Storm 22-08-2007 21:22

Re: RealBot source code at Google Code!
 
The Express version is perfect, you must try it. :)

stefanhendriks 22-08-2007 21:55

Re: RealBot source code at Google Code!
 
I don't know if i need anything additional to compile it?

The Storm 22-08-2007 22:23

Re: RealBot source code at Google Code!
 
Nope, just download and install, it will convert your project files but sinse the Express version support the ISO C++ standarts and VS 6.0 don't you may need to update a bit your code. :)

stefanhendriks 23-08-2007 08:06

Re: RealBot source code at Google Code!
 
Ah, thats good to hear. Now i remember, i had more trouble compiling the HLSDK 2 with it. :)

The Storm 24-08-2007 10:11

Re: RealBot source code at Google Code!
 
Yes, HL2SDK is a bit problem. :)

stefanhendriks 29-06-2008 16:27

Re: RealBot source code at Google Code!
 
i have installed visual studio 2008, and it compiles fine. You have to supress some warnings, but then it goes fine.

The Storm 29-06-2008 18:23

Re: RealBot source code at Google Code!
 
Actually the compiler of VC++ 2008 is almost the same as the VC++ 2005 with the same "deprecated" functions warnings that MS putted in...

stefanhendriks 29-06-2008 18:34

Re: RealBot source code at Google Code!
 
Ah good to hear, because I basically skipped VS2005. Since I code for a living in Java, I don't really touch C/C++/C# that much as I would like.

The Storm 29-06-2008 20:23

Re: RealBot source code at Google Code!
 
Not much on the topic but how is Java compared to C++? :)

KrashTest 18-07-2008 20:08

Re: RealBot source code at Google Code!
 
Hi Storm - Java code is pretty similar to C#, which is pretty similar to C++...Or so I hear, have a friend studying Java at university and his simple programs are very similar in design to my simple C# ones.

Oh - and This is my first post on these forums by the way - I am interested in becoming involved in RealBot coding, although I am a bit of a noob at programming - I have some basic experience in C#, but want a project to get myself better at coding in general!

stefanhendriks 20-07-2008 19:13

Re: RealBot source code at Google Code!
 
Java and C# are very similiar, hence when MS started developing C# they even hired some former-Java dudes for that.

C#/Java is similiar to C++ syntax wise, but underneath it is totally different. First, C# and Java are running in a virtual machine. C++ (or plain C) is compiled into a binary where it runs natively on your machine. THis means in order to get your program running on a different OS, you need to compile it.

Would be nice if RB could be written in Java , so we don't need to compile specifically for Linux... (i dont use it, so i can't compile it for linux).

Also, Java uses its own memory management. So it is hard to have memory leaks (but it is possible) and you are almost assured all your objects are cleaned when not used.

Basically, if you can do C you can do Java. But the ohter way around is a bit more complicated.

Whistler 21-07-2008 02:45

Re: RealBot source code at Google Code!
 
well there is a cross-compiler in the Filebase :)
http://filebase.bots-united.com/inde...on=file&id=278

if you would like to build GNU/Linux binaries on Mac, you can also build a cross compiler from the GCC and Binutils source (for glibc, just use a pre-built version from a package of any GNU/Linux distributions will be fine).

Whistler 02-01-2013 14:40

Re: RealBot source code at Google Code!
 
just a note here:
the code is available at github as well: https://github.com/stefanhendriks/RealBot
so fork it off if anyone would like to do something with it ;)

stefanhendriks 27-08-2018 17:03

Re: RealBot source code at Google Code!
 
RealBot is hosted at Github these days, see: https://github.com/Fundynamic/RealBot


All times are GMT +2. The time now is 16:18.

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