.:: 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 ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Re: LoadLibrary failure for Linux
Old
  (#11)
Ghoul
Moderator
 
Status: Offline
Posts: 56
Join Date: Jul 2004
Location: Michigan
Default Re: LoadLibrary failure for Linux - 21-01-2005

Yeah, it works like a charm, thanks to PM.

I have no clue where to look though. The metamod site doesn't give any details on why a file might be considered bad.
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#12)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: LoadLibrary failure for Linux - 21-01-2005

Given the implementation of my plugin "template", and provided you don't have any Windows-specific code in your bot, the 3 functions you need to check are Meta_Query, Meta_Attach and Meta_Detach. Perhaps there's something wrong with the C_DLLEXPORT definition (lack of #ifdef __linux or something)



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#13)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: LoadLibrary failure for Linux - 21-01-2005

there is a "stub_plugin" in the metamod source code, you may take a look at it. It's basically a minimal version of plugin which doesn't have anything but just make it load in Metamod.
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#14)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: LoadLibrary failure for Linux - 21-01-2005

I wouldn't advise that. The "stub plugin" is bloated and outdated.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#15)
Ghoul
Moderator
 
Status: Offline
Posts: 56
Join Date: Jul 2004
Location: Michigan
Default Re: LoadLibrary failure for Linux - 23-01-2005

Problem solved.
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#16)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: LoadLibrary failure for Linux - 23-01-2005

may I ask what was the problem ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#17)
Ghoul
Moderator
 
Status: Offline
Posts: 56
Join Date: Jul 2004
Location: Michigan
Default Re: LoadLibrary failure for Linux - 26-01-2005

Metamod wasn't looking in the right directory

Oh, and you can update the forum display to show Grave Bot supports Linux.
  
Reply With Quote
Re: LoadLibrary failure for Linux
Old
  (#18)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: LoadLibrary failure for Linux - 26-01-2005

okie dokie, and congrats



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
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