IPB

Welcome Guest ( Log In | Register )

> Various Linux issues
Lumpy
post Sep 23 2003, 05:04 AM
Post #1


Member
**

Group: Members
Posts: 10
Joined: 23-September 03
Member No.: 31



I've duplicated the following in both Steam 1.1.2.0 and the older HLDS 3.1.1.1d

FreeBSD 4.8-RELEASE
linux_base-debian-3.0.23 for linux emulation
Steam 1.1.2.0
NS 2.01
MetaMod 1.16.2
----------------------------------------------------------------------------------------------
The linux install readme states:

-------
Linux :
-------
WITHOUT METAMOD:

Extract the zip into the Half-life folder, make sure all files are
in the Half-Life folder/rcbot directory.

Yet when attempting to execute I receive this error.

LoadLibrary failed on ./ns/rcbot/dlls/rcbot_i386.so: ./ns/rcbot/dlls/rcbot_i386.so: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from ./ns/rcbot/dlls/rcbot_i386.so!

Which seems to indicate it wants all the files to be present in Half-Life folder/mod/rcbot instead of just Half-Life folder/rcbot.

So I moved the rcbot folder into the mod folder. This however leads to another problem.

As seen above it's looking for a rcbot_i386.so file. However the two files included are rcbot_i486.so and rcbot_mm_i486.so The readme also states:

Open the liblist.gam file and then EDIT the line:

gamedll_linux "<MOD_DLL>"

to

gamedll_linux "../rcbot/dlls/rcbot_mm_i486.so"

I was thinking that the rcbot_i486.so would be for nonmetamod and that the rcbot_mm_i486.so would be for metamod. I'm guessing it's just a typo which is no big deal. I tried both to be safe but got the same error above even though I had put the rcbot folder under the NS folder.

On an impulse I renamed rcbot_i486.so to rcbot_i386.so as that's what it was looking for. The above errors disappeared to be replaced with

Server IP address 10.0.0.3:27015
[RCBOT>] Warning : Could not find bot chat file!
[RCBOT>] DLL Attaching To : ns/dlls/ns_i386.so

and

L 09/23/2003 - 00:31:31: Server cvars end
loading waypoint file: rcbot/waypoints/ns/ns_bast.rcw
[RCBOT>] Waypoint file rcbot/waypoints/ns_bast.wpt does not exist!

This is still with my liblist.gam pointing to gamedll_linux "rcbot/dlls/rcbot_i486.so"
I changed to that to gamedll_linux "rcbot/dlls/rcbot_i386.so" and duplicated the results. I also renamed rcbot_mm_i486.so to rcbot_mm_i386.so and changed liblist.gam to reflect gamedll_linux "rcbot/dlls/rcbot_mm_i386.so" but the results stayed exactly the same.

Just as a test I entered rcbot addbot, per the readme, and received the following error:

[RCBOT>] Adding Bot...
[RCBOT>] Error: No Bot Profiles have been found that are free...
The bot command addbot does not exist!

I also tried rcbot config max_bots 8 and got a scrolling

[RCBOT>] Adding Bot...
[RCBOT>] Error: No Bot Profiles have been found that are free...

in the console.

I tried with metamod also. To be completely safe I tried it with both the i486.so and the i386.so but got the same results. I've posted the i486.so results for reference.

L 09/23/2003 - 00:48:19: [META] Metamod v1.16.2 2003/08/02
L 09/23/2003 - 00:48:19: [META] by Will Day <willday@metamod.org>
L 09/23/2003 - 00:48:19: [META] http://www.metamod.org/
L 09/23/2003 - 00:48:19: [META] compiled: Aug 2 2003, 16:22:35 Eastern (optimized)
L 09/23/2003 - 00:48:19: [META] Recognized game 'ns'; using dllfile 'ns_i386.so'
L 09/23/2003 - 00:48:19: [META] Game DLL for 'Natural Selection' loaded successfully
L 09/23/2003 - 00:48:19: [META] ini: Begin reading plugins list: addons/metamod/plugins.ini
L 09/23/2003 - 00:48:19: [META] ini: Read plugin config for: <rcbot_mm_i486.so>
L 09/23/2003 - 00:48:19: [META] ini: Finished reading plugins list: addons/metamod/plugins.ini; Found 1 plugins to load
L 09/23/2003 - 00:48:19: [META] dll: Loading plugins...
L 09/23/2003 - 00:48:19: [META] ERROR: dll: Failed query plugin '<rcbot_mm_i486.so>'; Couldn't find GiveFnptrsToDll(): ./ns/addons/metamod/dlls/metamod_i386.so: undefined symbol: GiveFnptrsToDll
L 09/23/2003 - 00:48:19: [META] ERROR: dll: Skipping plugin '<rcbot_mm_i486.so>'; couldn't query
L 09/23/2003 - 00:48:19: [META] ERROR: dll: Failed to load plugin 'rcbot_mm_i486.so'
L 09/23/2003 - 00:48:19: [META] dll: Finished loading 0 plugins

meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] <rcbot_mm_i486. badf load rcbot_mm_i486.so v - ini - -
1 plugins, 0 running

and running rcbot addbot or rcbot config max_bots 8 got no results or errors.

Any help with this would be appreciated.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies(1 - 15)
Cheeseh
post Sep 23 2003, 10:56 AM
Post #2


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



..The rcbot_mm file IS the file for metamod, or at least it should be,

The bot can ONLY be installed on the half-life folder ONLY.. NOT in the MOD folder.

Try again with the rcbot dll in Half-Life/rcbot/dlls and other bot files in Half-Life/rcbot

and change your liblist.gam file to point back to ../rcbot/dlls/rcbot_i486.so

There seems to be some confusion about the installation path of the bot, I dont know why ?

In the readme: "Extract the zip into the Half-life folder"
I don't say "Extract the zip into the MOD folder"
Sorry but I need to clear that one up first tongue.gif

And make sure "iii. Extract the linux DLL (.so files) files into rcbot/dlls directory."
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Sep 23 2003, 12:17 PM
Post #3


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



http://www.rcbot.net/forums/index.php?showtopic=21

The metamod linux DLL doesn't seem to work sad.gif But the non-metamod version should still work...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
KillerAngel
post Sep 23 2003, 05:20 PM
Post #4


Member
**

Group: Members
Posts: 12
Joined: 23-September 03
Member No.: 32



I thought the new standard for metamod plugins was to install them into the mod/addons folder? For example:

ns/addons/rcbot

-KA
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Sep 23 2003, 05:22 PM
Post #5


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



no, no no!

The reason Rcbot is installed in Half-life folder is to stop data redundancy, why have loads of copies of this folder for each mod you want to run it for?

It will work if you have the relative pathname ../rcbot/dlls/<dll file> so I see no reason to change it tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Lumpy
post Sep 23 2003, 06:03 PM
Post #6


Member
**

Group: Members
Posts: 10
Joined: 23-September 03
Member No.: 31



The install guide seems quite clear. The confusion however comes in when it doesn't work. I've upgraded to the 1.01 version to be safe.

I now have gamedll_linux "rcbot/dlls/rcbot_i486.so" entered back into the liblist.gam file in my NS folder.

I now have the rcbot folder under my hlds_l folder.

When attempting to run a NS server I still get:

LoadLibrary failed on ./ns/rcbot/dlls/rcbot_i386.so: ./ns/rcbot/dlls/rcbot_i386.so: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from ./ns/rcbot/dlls/rcbot_i386.so!
L 09/23/2003 - 13:56:00: FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./ns/rcbot/dlls/rcbot_i386.so!

FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./ns/rcbot/dlls/rcbot_i386.so!

The part that confuses me is that since the liblist.gam file is under the NS folder, it makes me think it would see the NS folder as the root folder. I also have no idea why it's looking for a rcbot_i386.so when the file is being specified as rcbot_i486.so in the liblist.gam.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
KillerAngel
post Sep 23 2003, 06:15 PM
Post #7


Member
**

Group: Members
Posts: 12
Joined: 23-September 03
Member No.: 32



I thought it was supposed to be:

gamedll_linux "../rcbot/dlls/rcbot_i486.so"

-KA
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Sep 23 2003, 06:24 PM
Post #8


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



LOL... cmon!!! Read here: http://www.rcbot.net/forums/index.php?showtopic=22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Lumpy
post Sep 23 2003, 06:39 PM
Post #9


Member
**

Group: Members
Posts: 10
Joined: 23-September 03
Member No.: 31



That's exactly how I have it installed yet am still receiving those errors.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Sep 23 2003, 06:54 PM
Post #10


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



The fact is there is nothing wrong with the .SO file, you must have uninstalled the bot into the wrong directory Or HL is looking for the .so file in the wrong directory.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sandman[SA]
post Sep 24 2003, 12:08 AM
Post #11


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



Lumpy, are you running steam in Linux or are you using a windows emulator to run steam? If your using an emulator, shouldn't you be using the DLL file instead of the SO file?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Lumpy
post Sep 24 2003, 01:11 AM
Post #12


Member
**

Group: Members
Posts: 10
Joined: 23-September 03
Member No.: 31



Bleh. Couldn't see past the nose in front of my face I guess you could say. The wonder of two periods and a forward slash. Sorry to have bothered you all.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
whitemagic
post Oct 3 2003, 09:04 PM
Post #13


Newbie
*

Group: Members
Posts: 6
Joined: 12-September 03
From: Olympus Mons Colony, Mars
Member No.: 9



After hitting my head and trying to get things working, i found a solution that worked. Leaving rcbot in my /opt/hlds_l directory, I added a symbolic link to it in the 'ns' folder:
CODE

  cd /opt/hlds_l/ns
  ln -s /opt/hlds_l/rcbot rcbot

then in the liblist.gam file I only have one gamedll_linux entry:
CODE

  gamedll_linux "addons/metamod/dlls/metamod_i386.so

and then in my script which I use to start ns, so it looks as follows:
CODE

#!/bin/sh

cd /opt/hlds_l

LIBPATH=$LIBPATH:/opt/hlds_l
export LIBPATH

./hlds_run -noipx -game ns +map ns_eclipse -maxplayers 20 -debug +localinfo mm_gamedll rcbot/dlls/rcbot_i386.so


Hope this proves of help to someone.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
billcat
post Oct 9 2003, 08:10 PM
Post #14


Member
**

Group: Members
Posts: 24
Joined: 6-October 03
Member No.: 65



I'm running into this same exact problem and I'm sure I've got the rcbot installed into the root hlds directory.

my ns/liblist.gam file contains only two dll lines:
gamedll_linux "../rcbot/dlls/rcbot_i486.so"
gamedll_linux "dlls/ns_i386.so"

Yet when I start the game I get the following error:
LoadLibrary failed on ./ns/../rcbot/dlls/rcbot_i386.so: ./ns/../rcbot/dlls/rcbot_i386.so: cannot open shared object

Why the program is looking for rcbot_i386.so when I've specified rcbot_i486.so is beyond me.

I'm sure the correct files exist in the correct dir because I can see them there as follows:
from root hlds folder:

ls ./ns/../rcbot/dlls/
rcbot.dll rcbot_i486.so rcbot_mm.dll rcbot_mm_i486.so

As a solution to this error I went into the ./ns/../rcbot/dlls/ directory and moved rcbot_i486.so to rcbot_i386.so.

I then see:
[RCBOT>] DLL Attaching To : ns/dlls/ns_i386.so
in the console log however I'm not able to use any of the rcbot commands, and it doesn't seem to really work at all.

Is this an incompatibility between rcbot and NS under linux?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Oct 9 2003, 08:17 PM
Post #15


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



Ahhhh!!! (scream) ohmy.gif

QUOTE

gamedll_linux "../rcbot/dlls/rcbot_i486.so"
gamedll_linux "dlls/ns_i386.so


do NOT put two gamedll lines in your liblist.gam READ the install again! Just put rcbot .so in that;'s the whole point in the bot dll, it hooks with the mod DLL.

Edit: BTW the linux metamod DLL should work now
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
billcat
post Oct 9 2003, 08:34 PM
Post #16


Member
**

Group: Members
Posts: 24
Joined: 6-October 03
Member No.: 65



ack,

Sorry to make you scream!

You're exactly right! I ran just that one line in my config and I now get:

[RCBOT>] DLL Attaching To : ns/dlls/ns_i386.so
[RCBOT>] No map specific config file found
loading waypoint file: rcbot/waypoints/ns/ns_veil.rcw
loading waypoint file: rcbot/waypoints/ns/ns_veil.rcv
[RCBOT>] Read Waypoint Visibility File Successfully
[RCBOT>] Adding Bot...

Great! thx very much! /me goes and reads some dox on how to get rcbot and which bot working at the same time. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 17th September 2025 - 07:36 PM