.:: 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 > Help request
Help request Need help? Ask around here! (for questions about the source code, go to the RealBot 'Source')

Reply
 
Thread Tools
Changing install directory (WIP9 Linux)
Old
  (#1)
DoucheBag
Member
 
Status: Offline
Posts: 2
Join Date: Jun 2005
Default Changing install directory (WIP9 Linux) - 25-06-2005

I am currently renting a linux CS 1.6 server (linux exact specs not available). RealBot WIP #9

I am NOT able to install RealBot to the parent folder of "cstrike" as permission is denied. I did, however, install the "RealBot" folder to cstrike/addons (while adding the line: linux addons/RealBot/dlls/realbot_mm_i386.so to metamod/plugins.ini). RealBot was successfully loaded, and I could add/remove bots like normal. The only problem is that they can't save what they have learned about a particular map.

I realize the simpile solution would be to contact my server's admins and request that I gain permission to install it to the "correct" directory...but that doesn't solve anyone else's problem who is also renting a linux machine.

Is there any possible way to edit the code to redirect RealBot to save exp and maps to a different folder than the default at its default location? Perhaps add a simple line to a .cfg that points to where they should be saved.
  
Reply With Quote
Re: Changing install directory (WIP9 Linux)
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Changing install directory (WIP9 Linux) - 26-06-2005

get the source code, grep for "UTIL_BuildFileNameRB" and change this one:

strcpy(filename, "realbot/");

to:

strcpy(filename, "cstrike/addons/realbot/");

then recompile the bot. This may be the only way to do so.
  
Reply With Quote
Re: Changing install directory (WIP9 Linux)
Old
  (#3)
DoucheBag
Member
 
Status: Offline
Posts: 2
Join Date: Jun 2005
Default Re: Changing install directory (WIP9 Linux) - 26-06-2005

Thank you for the quick reply.

I am pretty inexperienced in working with linux, so this follow-up question might sound ridiculous... Is there any linux editing/compiling program that is available for use on Windows machines?

Or does the source code edit easily with say Dreamweaver/Text Editor and also include a compiler?
  
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