.:: 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
Re: Custom Metamod for Realbot not working for Linux
Old
  (#11)
Dethpod
Member
 
Status: Offline
Posts: 32
Join Date: Dec 2003
Default Re: Custom Metamod for Realbot not working for Linux - 01-01-2004

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

Last edited by Dethpod; 01-01-2004 at 19:47..
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#12)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Custom Metamod for Realbot not working for Linux - 01-01-2004

cool! it would be great to have a working 'for everyone' version of the linux .so file of metamod.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#13)
sauza
Member
 
sauza's Avatar
 
Status: Offline
Posts: 20
Join Date: Dec 2003
Location: Seattle
Default Re: Custom Metamod for Realbot not working for Linux - 01-01-2004

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.



Rangers Lead The Way!
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#14)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Custom Metamod for Realbot not working for Linux - 01-01-2004

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


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#15)
sauza
Member
 
sauza's Avatar
 
Status: Offline
Posts: 20
Join Date: Dec 2003
Location: Seattle
Default Re: Custom Metamod for Realbot not working for Linux - 02-01-2004

Dethpod, how's the recompile coming? Any luck?



Rangers Lead The Way!
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#16)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: Custom Metamod for Realbot not working for Linux - 02-01-2004

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

Last edited by Onno Kreuzinger; 02-01-2004 at 19:45..
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#17)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Custom Metamod for Realbot not working for Linux - 02-01-2004

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.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#18)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: Custom Metamod for Realbot not working for Linux - 02-01-2004

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

Last edited by Onno Kreuzinger; 02-01-2004 at 21:18..
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#19)
Dethpod
Member
 
Status: Offline
Posts: 32
Join Date: Dec 2003
Default Re: Custom Metamod for Realbot not working for Linux - 02-01-2004

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
  
Reply With Quote
Re: Custom Metamod for Realbot not working for Linux
Old
  (#20)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: Custom Metamod for Realbot not working for Linux - 02-01-2004

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

Last edited by Onno Kreuzinger; 02-01-2004 at 21:40..
  
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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com