.:: 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 ::. > Cyborg Factory > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Creating a workspace...
Old
  (#1)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Creating a workspace... - 01-06-2004

Alright, I'm looking for directions on creating the workspace required in MS Visual C++ to be able to compile the Realbot DLL.

I'm also wondering what other packages are required to compile, and where everything must be in order for C++ to compile properly. (HL SDK, MetaMod source.... etc)

Anything else you can think of that would make the source code usable in C++ (and most of all, compilable so the small changes I make can be tested) would be helpful! Thanks!
  
Reply With Quote
Re: Creating a workspace...
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Creating a workspace... - 01-06-2004

Hmm, i use a metamod source that is changed so you can't just download that version and i can't steer you into several sites and make a handy tutorial.. hmm

Well, lets make it easy then, i will create a simple downloadable source-files-package. You should unzip it, then you also have a RB workspace (you just need to grab the source files via CVS) and you should be on your way.

This is for MSVC though, i don't know about Linux as i had Pierre and Onno working on that issue. You'll see a source download asap in the filebase.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Creating a workspace...
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Creating a workspace... - 01-06-2004

File you need

- Changed HL SDK. You can download this at the RealBot filebase. Its a big download (1.25 Megs). Note this is not the complete HLSDK, it ONLY contains Multiplayer Source...

- Metamod source, You can download this at the RealBot filebase. keep in mind this is not the complete metamod package. It is a stripped version, for a complete version get the metamod zip file from the metamod site and then overwrite that package with this package on the realbot filebase.

THIS IS ALL IN ONE FILE NOW, GETSTARTED.ZIP!

How to set it up

Create a directory, ie like "RealBot"

then into that directory unzip GETSTARTED.ZIP , it will create a sub-dir 'hlsdk' and 'metamod-1.17'. So you have now:

RealBot
|-Hlsdk
|-Metamod
|-realbot_plugin

in realbot_plugin, you should set CVS so you GET the files into there. In that directory you also find realbot_mm.** files, there you have your workspace to open with MSVC and such.

Note, if you cannot grab the source with CVS yet, visit: http://forums.bots-united.com/showthread.php?t=1816

Set your paths
In order to compile this, you need to set the paths to several directories in your HLSDK and metamod., i will use the example directory to give you an idea:

RealBot\Metamod-1.17
RealBot\hlsdk\Multiplayer source\engine
RealBot\hlsdk\Multiplayer source\
RealBot\hlsdk\Multiplayer source\dlls
RealBot\hlsdk\Multiplayer source\common
RealBot\hlsdk\Multiplayer source\pm_shared


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Creating a workspace...
Old
  (#4)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Creating a workspace... - 07-06-2004

I know you said it's coming, but where should I look for help on compiling this on Linux? I'm running Mandrake Linux version 2.4.22-28mdk. Also, I've noticed the CVS was updated and I got a message that a couple of files are missing. Are they deprecated?


Nowhere does science promise emancipation.
  
Reply With Quote
Re: Creating a workspace...
Old
  (#5)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Creating a workspace... - 07-06-2004

the missing files could be of workspace files (dws file). There are no new source files, so you should be able to download/update the files and compile them. I have no clue about Linux though!


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Creating a workspace...
Old
  (#6)
evy
Guest
 
Status:
Posts: n/a
Default Re: Creating a workspace... - 07-06-2004

Quote:
Originally Posted by minorgod
I know you said it's coming, but where should I look for help on compiling this on Linux? I'm running Mandrake Linux version 2.4.22-28mdk. Also, I've noticed the CVS was updated and I got a message that a couple of files are missing. Are they deprecated?
For your info, Stefan just changed the CVS repository to contain 'Linux compatible' source code. This compiles under Mandrake 9.0. Please be sure of course to use a compatible CVS (the default one does not support sserver).

My directory structure is:
/HSDK (from Stefan's zip file)
...../multiplayer (I had to rename the directory from Multiplayer Source)
/metamod-1.17 (from Stefan's zip file)
/realbot (contains the CVS repository)

Then, modify the Makefile as:
Code:
 
#this is gcc 3.2
CPP = gcc
# CPP must be g++ on Linux
CPP = g++
ARCHFLAG = i586 
METAMOD_SRCDIR = ../metamod-1.17/metamod
HLSDK_BASEDIR = ../HLSDK
Last step, make ;-)

Hope it helps

-eric
  
Reply With Quote
Re: Creating a workspace...
Old
  (#7)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: Creating a workspace... - 08-06-2004

By "set your paths", do you mean go into command prompt and type "SET PATH=x" or whatever?

Or is there a part of MSVC++ where you can enter paths?
  
Reply With Quote
Re: Creating a workspace...
Old
  (#8)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Creating a workspace... - 08-06-2004

i use MSVC, so you set the paths in there. I thought via TOOLS->OPTIONS -> (TAB): Directories


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Creating a workspace...
Old
  (#9)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: Creating a workspace... - 08-06-2004

Found it, thank you.
  
Reply With Quote
Re: Creating a workspace...
Old
  (#10)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Creating a workspace... - 09-06-2004

Quote:
Originally Posted by evy
My directory structure is:
/HSDK (from Stefan's zip file)
...../multiplayer (I had to rename the directory from Multiplayer Source)
/metamod-1.17 (from Stefan's zip file)
/realbot (contains the CVS repository)
........
Is that directory structure nested in your steam directory? I've got my server installed at /usr/steam/hlds_l

Should I put the HSDK folder etc. in my steam folder or in my hlds_l folder?


Nowhere does science promise emancipation.

Last edited by minorgod; 10-06-2004 at 00:22..
  
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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com