.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Help request (http://forums.bots-united.com/forumdisplay.php?f=37)
-   -   Custom Metamod for Realbot not working for Linux (http://forums.bots-united.com/showthread.php?t=110)

Dethpod 01-01-2004 05:09

Custom Metamod for Realbot not working for Linux
 
Stephan,

Here's what I get when I load the metamod you compiled for linux:

Console initialized.
Protocol version 46
Exe version 3.1.1.1
Exe build: 13:15:27 Dec 22 2003 (2615)
WON Auth Server
Server logging data to file logs/L1231086.log
L 12/31/2003 - 20:04:07: Log file started (file "logs/L1231086.log") (game "cstrike") (version "46/3.1.1.1/2615")
L 12/31/2003 - 20:04:07: Log file closed
Server logging data to file logs/L1231087.log
L 12/31/2003 - 20:04:07: Log file started (file "logs/L1231087.log") (game "cstrike") (version "46/3.1.1.1/2615")
Server IP address 172.21.11.232:27016
LoadLibrary failed on ./cstrike/addons/metamod/dlls/metamod_i386.so: ./cstrike/addons/metamod/dlls/metamod_i386.so: undefined symbol: _ZSt15set_new_handlerPFvvE
Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/metamod_i386.so!
L 12/31/2003 - 20:04:07: FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/meta
mod_i386.so!

FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/metamod_i386.so!


---- ALL TEXT INCLUDING AND BELOW THIS LINE ADDED BY halfd AFTER A SERVER CRASH
---- THE REST OF THIS FILE IS RAW hlds CONSOLE OUTPUT
No core file was found for this crash.
---- END OF halfd COMMENTS


Any ideas?
-Dethpod

sauza 01-01-2004 09:43

Re: Custom Metamod for Realbot not working for Linux
 
yep. This build of MetaMod isn't working. My server hangs with it too.

stefanhendriks 01-01-2004 12:38

Re: Custom Metamod for Realbot not working for Linux
 
DId you try the new metamod SO file which is available at my site?

that is:
realbot_mm_i686.so AND metamod_i386.so

both available at the top of the downloads site.

sauza 01-01-2004 17:27

Re: Custom Metamod for Realbot not working for Linux
 
Quote:

DId you try the new metamod SO file which is available at my site?
Yes sir. I can't get my server to start when using the custom metamod file. When I switch back to the original metamod_i386.so, my server starts immediately, but of course the realbot_mm_i686.so doesn't load properly.

eAnic 01-01-2004 18:50

Re: Custom Metamod for Realbot not working for Linux
 
I have the same problem with my CS 1.5 Linux Server.

I previously had MM 1.16.2 on my server and replaced it with the MM 1.17 on your download page. Could you please fix this, Stefan?

stefanhendriks 01-01-2004 18:54

Re: Custom Metamod for Realbot not working for Linux
 
there seems to be some linux compilations issues, i am discussing this with PMB, officially we have to wait for the official steam working metamod (1.18).

In short: We fixed something that is yet to be fixed by the original metamod guys. We compiled it using our own binaries and it runs at our server, but that does not mean it runs on yours. If it does not, i think we have a problem. Perhaps we can share the source code with your for metamod so you can compile it yourself?

Dethpod 01-01-2004 19:06

Re: Custom Metamod for Realbot not working for Linux
 
Stefan,

I would be glad to help. I have compilers on all my linux servers so no problem. Can you email me the source code or is there an ftp site? CVS? I'm glad I can help.

Dethpod

stefanhendriks 01-01-2004 19:11

Re: Custom Metamod for Realbot not working for Linux
 
The metamod source we use should be available soon, in the meantime i would check if you can compile the metamod 1.17 version first. If that does, you only need 2 files. If not, you probably need our entire source package.

Make a BACKUP of your makefile too!

Dethpod 01-01-2004 19:20

Re: Custom Metamod for Realbot not working for Linux
 
Stefan,

"in the meantime i would check if you can compile the metamod 1.17 version first. If that does, you only need 2 files."

Do you mean, go to metamod.org and compile that source?

Let me know what you want me to do.

Please advise,

-Dethpod

stefanhendriks 01-01-2004 19:20

Re: Custom Metamod for Realbot not working for Linux
 
download link:
http://realbot.bots-united.com/files/metasource.zip

remember: this file does NOT come with our own made Makefile. It should be best if you could compile this package with the original metamod makefile (which we could not).

Dethpod 01-01-2004 19:23

Re: Custom Metamod for Realbot not working for Linux
 
OK. I guess I need the SDK source. crap. I don't have it on my box. I can do it a bit later today. It's like snowing like crazy outside and we don't get snow that often in Portland, OR. Plus my 4 year old is going crazy to get me to leave my keyboard and go build a snowman with her. Father duty calls.

I'll compile the new binary later today. Or can someone else do it sooner?

-Dethpod

stefanhendriks 01-01-2004 19:43

Re: Custom Metamod for Realbot not working for Linux
 
cool! it would be great to have a working 'for everyone' version of the linux .so file of metamod. :D

sauza 01-01-2004 20:26

Re: Custom Metamod for Realbot not working for Linux
 
I'm not very well versed in linux. The linux server I'm running is off of a hosted computer. I could try to compile some source code if someone would hold my hand and tell me what commands I need to use.

stefanhendriks 01-01-2004 20:28

Re: Custom Metamod for Realbot not working for Linux
 
then don't try it, i am not an experienced linux user either. Only with some help with PMB i dare to touch linux and makefiles, but when i have to try on my own there is one magical word that keeps me safe:

Backup

sauza 02-01-2004 17:10

Re: Custom Metamod for Realbot not working for Linux
 
Dethpod, how's the recompile coming? Any luck?

Onno Kreuzinger 02-01-2004 19:37

Re: Custom Metamod for Realbot not working for Linux
 
Hi Folks, besides a bing THANK YOU for Stefan for RB at all,

i must admit, it also fails for me, and i also suffer from not having an apropiate compile enviroment, and failing binary modules downloadable.
i have tried to get it all: metamod source + stefan's modified code copied into, hlsdk2.3 modified from metamod.org (as well as the original) and of course several binary .so's for metamod "found" on the net were tried before ...

my compilers are gcc-2.95.3 (and 2.96-113 + gcc 3.2), at the end the least count of errors where reported with gcc-2-95.3 (the only gcc i really tried ) and the combined src code bases for metamod and the (partitial) hlsdk2.3 from metamod.org (no original hlsdk2 src'es).
and the error smells like C++ syntax warnings from the gcc, but they seem fatal, so did not disable the strict makefile settings from the makefile (i.e. stop at warning, dont continue). and here it comes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[user@server metamod-1.17]# make
make -C metamod
make[1]: Entering directory `/video/disk-03/halflife/metamod-1.17/metamod'
gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"debugging\" -fPIC -I. -I../metamod -I/root/src/hl/hlsdk-2
.3/multiplayer/engine -I/root/src/hl/hlsdk-2.3/multiplayer/common -I/root/src/hl/hlsdk-2.3/multiplayer/pm_shar
ed -I/root/src/hl/hlsdk-2.3/multiplayer/dlls -I/root/src/hl/hlsdk-2.3/multiplayer -o debug.linux/api_info.o -c
api_info.cpp
In file included from api_info.h:40,
from api_info.cpp:39:
types_meta.h:74: parse error before `do'
types_meta.h:77: ANSI C++ forbids declaration `meta_errno' with no type
types_meta.h:77: conflicting types for `int meta_errno'
types_meta.h:71: previous declaration as `enum META_ERRNO meta_errno'
types_meta.h:77: `errval' was not declared in this scope
types_meta.h:77: parse error before `return'
In file included from api_info.cpp:39:
api_info.h:51: parse error before `}'
api_info.h:51: ANSI C++ forbids declaration `api_info_t' with no type
api_info.h:56: syntax error before `;'
[repeated]
.....
[repeated]
api_info.h:280: syntax error before `;'
api_info.cpp:94: excess elements in aggregate initializer
api_info.cpp:101: excess elements in aggregate initializer
api_info.cpp:264: excess elements in aggregate initializer
make[1]: *** [debug.linux/api_info.o] Error 1
make[1]: Leaving directory `/video/disk-03/halflife/metamod-1.17/metamod'
make: *** [metamod] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

i hope this might help, or encourage others to help.....

Regards MeMeD

p.s.
happy new year to all of you :)

p.p.s.
i can compile and i'm realy HOT for the new RealBot, so don't hesitate to tell what i could do :)

stefanhendriks 02-01-2004 19:55

Re: Custom Metamod for Realbot not working for Linux
 
i have updated my downloads page:

- it includes now the latest needed header files of the SDK so you can compile the metasource

What you need to compile the metasource:

- the original metamod 1.17
- the original sdk 2.3

THEN:

- patch your metamod source files with the ones at the realbot site
- patch your SDK with the 'update' package on the realbot site

try to compile.

Onno Kreuzinger 02-01-2004 21:10

Re: Custom Metamod for Realbot not working for Linux
 
Hi, thanks for the quick reply !

i tried, and now it compiles (using gcc3.2).
but realbot still does not load in metamod:

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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
meta info RealBot
name: (nil)
desc: <realbot_mm_i486.so>
status: badfile
action: unload
filename: ../realbot/dll/realbot_mm_i486.so
file: realbot_mm_i486.so
pathname: /var/games/hdls_l/realbot/dll/realbot_mm_i486.so
index: 1
source: ini file
loadable: -
unloadable: -
version: (nil)
date: (nil)
author: (nil)
url: (nil)
logtag: (nil)
last loaded: Thu Jan 1 01:00:00 1970
No DLLAPI functions.
No DLLAPI-Post functions.
No NEWAPI functions.
No NEWAPI-Post functions.
No Engine functions.
No Engine-Post functions.
Registered commands:
0 commands
Registered cvars: float value string value
0 cvars
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
meta version
Metamod v1.17 2003/11/15
by Will Day <willday@metamod.org>
http://www.metamod.org/
compiled: Jan 2 2004, 20:51:45 Eastern (debugging)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


which looks very strange, so i perhaps made a mistake somewhere, any clues ?

/edit
i have made one thing differnt from your guide, i used the 2.3 sdk from metamod.org/files/sdk, which claimed to fix gcc issues, which it did, i.e. using the original steam sdk (a windows exe) the compile fails with include and def. errors.
edit/

Cheers MeMeD

Dethpod 02-01-2004 21:26

Re: Custom Metamod for Realbot not working for Linux
 
Hey Guys,

I compiled the custom metamod per your headers & source code but I get the same error when I try to load it in CS.

Maybe Memed will have better luck,
-Dethpod

Onno Kreuzinger 02-01-2004 21:33

Re: Custom Metamod for Realbot not working for Linux
 
Quote:

Originally Posted by Dethpod
Hey Guys,

I compiled the custom metamod per your headers & source code but I get the same error when I try to load it in CS.

Maybe Memed will have better luck,
-Dethpod

i hope, for now im only faster in bug reporting :)

but perhaps you could could try to follow this thread, so someone can verify my results, since this is the first time i compile cs stuff.

perhaps there are still some differences in the src code trees, since the metamod supplied by stefan did throw the error:
undefined symbol: _ZSt15set_new_handlerPFvvE
Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/metamod_i386.so!

for me too, while my metmod (and the one from adminmod) had the not loading error, other reported too.
(just an idea)


Regards MeMeD

Dethpod 02-01-2004 21:38

Re: Custom Metamod for Realbot not working for Linux
 
Sure, No problem Memed.

I'll definitly keep an eye on this thread.
-Dethpodf

SpeedX 02-01-2004 23:29

Re: Custom Metamod for Realbot not working for Linux
 
Quote:

Originally Posted by Dethpod
Stephan,

Here's what I get when I load the metamod you compiled for linux:

Console initialized.
Protocol version 46
Exe version 3.1.1.1
Exe build: 13:15:27 Dec 22 2003 (2615)
WON Auth Server
Server logging data to file logs/L1231086.log
L 12/31/2003 - 20:04:07: Log file started (file "logs/L1231086.log") (game "cstrike") (version "46/3.1.1.1/2615")
L 12/31/2003 - 20:04:07: Log file closed
Server logging data to file logs/L1231087.log
L 12/31/2003 - 20:04:07: Log file started (file "logs/L1231087.log") (game "cstrike") (version "46/3.1.1.1/2615")
Server IP address 172.21.11.232:27016
LoadLibrary failed on ./cstrike/addons/metamod/dlls/metamod_i386.so: ./cstrike/addons/metamod/dlls/metamod_i386.so: undefined symbol: _ZSt15set_new_handlerPFvvE
Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/metamod_i386.so!
L 12/31/2003 - 20:04:07: FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/meta
mod_i386.so!

FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/metamod_i386.so!


---- ALL TEXT INCLUDING AND BELOW THIS LINE ADDED BY halfd AFTER A SERVER CRASH
---- THE REST OF THIS FILE IS RAW hlds CONSOLE OUTPUT
No core file was found for this crash.
---- END OF halfd COMMENTS


Any ideas?
-Dethpod

I had EXACTLY this problem (not using the WIP Version on linux cos its buggy) all I done, was went into my cstrike/dlls folder
and used this command: mv realbot_i486.so realbot_i386.so, it worked after that, I dont know where the hell the command realbot_i386.so came from because I definatly have i486 in my liblist.gam yet that i486.so file must be trying to access i386.so? stefan?

Anywayz once renamed I used the command +gameinfo mm_gamedll dlls/realbot_i386.so and it worked fine, now waiting for the WIP Version to be finally done for Linux!

Onno Kreuzinger 03-01-2004 15:23

Re: Custom Metamod for Realbot not working for Linux
 
Hi,

well this did not work for me, i tried a lot now, but it looks like stefan's metamod.so is not loading in the cs server at all (shure you compiled it for seam cs linux?) and the realbot_mm_i486.so wont load in metamod 1.17 available anywhere (including self compiled after stefans cook book).

the error reported by metamod 1.17 is "badfile", which indicates that the .so file is not in a plugin format metamod recognises, at least this is what i understood from the metamod changelog, searching for "badf".

but as allways, anyone any clue, i will try it :)

Regards MeMeD

lk@lk-data.dk 03-01-2004 21:58

Re: Custom Metamod for Realbot not working for Linux
 
Quote:

Originally Posted by stefanhendriks
DId you try the new metamod SO file which is available at my site?

that is:
realbot_mm_i686.so AND metamod_i386.so

both available at the top of the downloads site.

Where can i DL "realbot_mm_i686.so" ???:(

I can't find the DL link on the Download page.

eAnic 03-01-2004 22:04

Re: Custom Metamod for Realbot not working for Linux
 
the linux realbot version is currently not available because stefan fixes it

Dethpod 04-01-2004 09:03

Re: Custom Metamod for Realbot not working for Linux
 
Stefan,

Is this the metamod you were waiting for with the Valve patches?

http://forums.bots-united.com/showth...=1556#post1556

-Dethpod

sauza 06-01-2004 03:25

Re: Custom Metamod for Realbot not working for Linux
 
Quote:

Originally Posted by [LWS]BigUnixAdmin
Hi @ll,


I have compiled metamod yesterday. But i think that is not the problem ...
My metamod you can get here:
http://wwwmath.upb.de/~dreyerja/php/...e=mm_linux.zip
It's working for me (c).

This version of MetaMod works, but my old WIP (don't remember which one) of RealBot still won't load...but damn! This MetaMod version works.

This post is from the http://forums.bots-united.com/showthread.php?t=227 post in the general section.

Thanks BigUnixAdmin! ;)


All times are GMT +2. The time now is 00:58.

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