Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

metamod · Metamod Half-Life Utility Mod

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 384
  • Category: Game Programming
  • Founded: Mar 31, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 410 - 439 of 726   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#410 From: "Flasky" <flavien_delorme@...>
Date: Tue Aug 5, 2003 9:46 am
Subject: Re: Metamod crash with Steam on additionnal maps with bots
flavien_delorme
Send Email Send Email
 
I just checked with with the latest version of dedicated server
(7.30.03) and the latest version of Metamod (8.02.03 V1.16.2) it
still crashes =O(
Could anybody have a look at this issue ?

Flap


--- In metamod@yahoogroups.com, "Flasky" <flavien_delorme@y...> wrote:
> > This is very true, also some standard maps such as de_cbble.
> > The problem arises in the mm_LoadFileForMe in engine_api.cpp, a
> > little more specifically, CALL_ENGINE_API(), or in the
> CALL_ENGINE_API
> > () define in metamod.h the line: dllret=pfn_routine pfn_args;
> crashes
> > it while trying to load maps/de_cbble.nav.
> [...]
> > Just my observations into the matter while debugging.  Hopefully
> some
> > of this info can be of a little help to fix the problem :)
> >
> > Kenneth Morrill
>
> Thanks Kenneth, do you know somebody familiar with metamod that
> could release a new version ?.. This is really killing me not being
> able to add my favorite pluggins on my server...
> Is there another way to make pluggins work on CS ?
>
> Flap

#411 From: "vodung30" <vodung30@...>
Date: Thu Aug 7, 2003 6:30 am
Subject: some problem about installing Metamod?
vodung30
Send Email Send Email
 
Can some one please help me to install the Metamod, I do not know
what are they doing in the Installation for Metamod. I really
appreciate and thank

p.s. if u know how to install ping booster, help me out too please :)

#412 From: "vodung30" <vodung30@...>
Date: Fri Aug 8, 2003 12:40 am
Subject: How to operate Metamod?
vodung30
Send Email Send Email
 
Do I need my on Counter Strike server to use Metamod?

#413 From: mriachi@...
Date: Fri Aug 8, 2003 5:50 am
Subject: Re: some problem about installing Metamod?
vvacme
Send Email Send Email
 
> Can some one please help me to install the Metamod, I do not know
> what are they doing in the Installation for Metamod. I really
> appreciate and thank
>
> p.s. if u know how to install ping booster, help me out too please :)

How about the abb. RTFM?

#414 From: "zedboy11" <zedboy11@...>
Date: Fri Aug 8, 2003 10:58 am
Subject: Developing plugins in Metamod for Half-Life games
zedboy11
Send Email Send Email
 
Hi, all. I have been playing Half-Life for quite some time and I just
recently stumbled upon Metamod and how to run a Half-Life server with
it. I was amazed at all the things one can do (judging from the
plugins I have seen on other servers) and was always curious as to
how to make a simple Metamod plugin; I admire those guys who know how
to make them, because the detail that some plugins use make them seem
quite difficult to develop.

I do not have much of a programming background, the only exception is
about a month's worth of Python reading and basic knowledge of
variables and functions. I am wondering, however, if it is still
possible to learn how to make Metamod plugins with the minor grasp
that I have in C++.

I was thinking of a project to start off with that just prints out
text on the screen in white. Kind of like the text that shows up on
the screen when you first start Half-Life singleplayer, where it
shows the names of the developers and such.

I have searched for tutorials but from the results none seem to
tailor just to Metamod and making plugins for Metamod. For example, I
am not sure how to setup VC++ and Metamod to start making the project
that I mentioned above.

I appreciate all the reads and help and thank you in advanced. I'll
keep searching and reading for more information.

#415 From: Moby <moby2kbug@...>
Date: Sun Aug 10, 2003 11:13 am
Subject: Re: Developing plugins in Metamod for Half-Life games
willstmichve...
Send Email Send Email
 
zedboy11 wrote:

>Hi, all. I have been playing Half-Life for quite some time and I just
>recently stumbled upon Metamod and how to run a Half-Life server with
>it. I was amazed at all the things one can do (judging from the
>plugins I have seen on other servers) and was always curious as to
>how to make a simple Metamod plugin; I admire those guys who know how
>to make them, because the detail that some plugins use make them seem
>quite difficult to develop.
>
>I do not have much of a programming background, the only exception is
>about a month's worth of Python reading and basic knowledge of
>variables and functions. I am wondering, however, if it is still
>possible to learn how to make Metamod plugins with the minor grasp
>that I have in C++.
>
>I was thinking of a project to start off with that just prints out
>text on the screen in white. Kind of like the text that shows up on
>the screen when you first start Half-Life singleplayer, where it
>shows the names of the developers and such.
>
>I have searched for tutorials but from the results none seem to
>tailor just to Metamod and making plugins for Metamod. For example, I
>am not sure how to setup VC++ and Metamod to start making the project
>that I mentioned above.
>
>I appreciate all the reads and help and thank you in advanced. I'll
>keep searching and reading for more information.
>
>
>
>To unsubscribe, send an email to: metamod-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>
I was in the same situation as U are now. I've found a Project Starting
Kid called "MM_Base". U can download it via:
http://them.clanwho.com/downloads/MM_Base.zip
In this base U get a VS C++ Project and a lot of readme, how to setup Ur
code. Well, it does not provide an wide info scale for how to actualy
CODE the plugin then. But for this I would advise, visit the metamod.org
site and look at the available plugins and get the sources of them to
study, how to do so. I did it, and it worked well.

Regards
Moby

#416 From: "cy6twitch" <phpadmin@...>
Date: Mon Aug 11, 2003 5:48 pm
Subject: problem with PLID
cy6twitch
Send Email Send Email
 
Hello,

I am having a problem with a plugin I have. The plugin loads normally
and for the most part, it does everything that it is suppose to do. I
recently added a new menu function and anytime I call that menu
function, the plugin causes my server to crash. Even with the new
additions the plugin loads normally and it only crashes when I run
the menu function. I found the reason why it is crashing and it is
due to the fact that any function I call outside the meta_api.h that
involves PLID, will cause the plugin to crash the server.
Specifically this is where my plugin is crashing:

int msgShowMenu = 0;
if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
}


I know the "ShowMenu" message is registered already because I can
return the message value in the adminmod DLL, value 96. I can also
just hardcode the message value in my plugin and the menu displays
normally and the server doesnt crash. Hardcode as such:

int msgShowMenu = 96;
/*
if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
}
*/


I found that anything using PLID causes it to crash, even something
as simple as:
LOG_MESSAGE( PLID, "Test" );


I dont know how to fix the problem. I am using MS VC++ 6. I have the
def file defined, I have a resource file defined... is there anything
that I am missing in project definitions? How can I fix the problem?
Please note, there are no compile errors and the plugin does run if
values are hardcoded.

Thanks for your help in advance.

#417 From: "cy6twitch" <phpadmin@...>
Date: Fri Aug 15, 2003 7:01 am
Subject: Re: problem with PLID
cy6twitch
Send Email Send Email
 
I thought the problem was with PLID but it isnt. I can actually print
out value of PLID. I thought it was PLID because all the metamod
utility functions require PLID as a parameter. The crash is actually
caused by the function call of GET_USER_MSG_ID itself.

I also noticed that this guy (link below) might have a variation of
the problem that I am having. I compiled metamod.dll myself (it was
much much smaller and working) but it still did not fix my problem.
http://groups.yahoo.com/group/metamod/message/148


Now that I know it is the GET_USER_MSG_ID function... I also tested
it other metamod utility functions and they are also causing the
crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
server.

How can I fix this problem?









--- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> Hello,
>
> I am having a problem with a plugin I have. The plugin loads
normally
> and for the most part, it does everything that it is suppose to do.
I
> recently added a new menu function and anytime I call that menu
> function, the plugin causes my server to crash. Even with the new
> additions the plugin loads normally and it only crashes when I run
> the menu function. I found the reason why it is crashing and it is
> due to the fact that any function I call outside the meta_api.h
that
> involves PLID, will cause the plugin to crash the server.
> Specifically this is where my plugin is crashing:
>
> int msgShowMenu = 0;
> if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
>        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> }
>
>
> I know the "ShowMenu" message is registered already because I can
> return the message value in the adminmod DLL, value 96. I can also
> just hardcode the message value in my plugin and the menu displays
> normally and the server doesnt crash. Hardcode as such:
>
> int msgShowMenu = 96;
> /*
> if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
>        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> }
> */
>
>
> I found that anything using PLID causes it to crash, even something
> as simple as:
> LOG_MESSAGE( PLID, "Test" );
>
>
> I dont know how to fix the problem. I am using MS VC++ 6. I have
the
> def file defined, I have a resource file defined... is there
anything
> that I am missing in project definitions? How can I fix the
problem?
> Please note, there are no compile errors and the plugin does run if
> values are hardcoded.
>
> Thanks for your help in advance.

#418 From: "Matthew Tyler" <matt@...>
Date: Fri Aug 15, 2003 2:54 pm
Subject: Re: Re: problem with PLID
matt@...
Send Email Send Email
 
These may seem like stupid questions, but are you absolutely sure that you:

1. Have properly set up vers_plugin.h, with your plugin name and version,
etc.
2. Are using the latest version of metamod

- Matt
----- Original Message -----
From: "cy6twitch" <phpadmin@...>
To: <metamod@yahoogroups.com>
Sent: Friday, August 15, 2003 3:01 AM
Subject: [metamod] Re: problem with PLID


> I thought the problem was with PLID but it isnt. I can actually print
> out value of PLID. I thought it was PLID because all the metamod
> utility functions require PLID as a parameter. The crash is actually
> caused by the function call of GET_USER_MSG_ID itself.
>
> I also noticed that this guy (link below) might have a variation of
> the problem that I am having. I compiled metamod.dll myself (it was
> much much smaller and working) but it still did not fix my problem.
> http://groups.yahoo.com/group/metamod/message/148
>
>
> Now that I know it is the GET_USER_MSG_ID function... I also tested
> it other metamod utility functions and they are also causing the
> crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> server.
>
> How can I fix this problem?
>
>
>
>
>
>
>
>
>
> --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > Hello,
> >
> > I am having a problem with a plugin I have. The plugin loads
> normally
> > and for the most part, it does everything that it is suppose to do.
> I
> > recently added a new menu function and anytime I call that menu
> > function, the plugin causes my server to crash. Even with the new
> > additions the plugin loads normally and it only crashes when I run
> > the menu function. I found the reason why it is crashing and it is
> > due to the fact that any function I call outside the meta_api.h
> that
> > involves PLID, will cause the plugin to crash the server.
> > Specifically this is where my plugin is crashing:
> >
> > int msgShowMenu = 0;
> > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
> >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > }
> >
> >
> > I know the "ShowMenu" message is registered already because I can
> > return the message value in the adminmod DLL, value 96. I can also
> > just hardcode the message value in my plugin and the menu displays
> > normally and the server doesnt crash. Hardcode as such:
> >
> > int msgShowMenu = 96;
> > /*
> > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
> >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > }
> > */
> >
> >
> > I found that anything using PLID causes it to crash, even something
> > as simple as:
> > LOG_MESSAGE( PLID, "Test" );
> >
> >
> > I dont know how to fix the problem. I am using MS VC++ 6. I have
> the
> > def file defined, I have a resource file defined... is there
> anything
> > that I am missing in project definitions? How can I fix the
> problem?
> > Please note, there are no compile errors and the plugin does run if
> > values are hardcoded.
> >
> > Thanks for your help in advance.
>
>
>
> To unsubscribe, send an email to: metamod-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#419 From: "cy6twitch" <phpadmin@...>
Date: Fri Aug 15, 2003 4:30 pm
Subject: Re: problem with PLID
cy6twitch
Send Email Send Email
 
I am not using the vers_plugin.h but I am defining it else where. I
am using the latest version of metamod.

As I stated earlier, it isnt a problem with PLID or the plugin_info_t
struct because I can print the address of PLID in other source files.
The crash is coming from the actual metamod utility function,
GET_USER_MSG_ID.

I was playing around with it last night and I still havent been able
to get it to work. I also tried to just call the metamod function
manual without using the GET_USER_MSG_ID alias and it doesnt work.
For some reason it looks like the metamod function package isnt in my
project despite me clearly obtaining the pointer in the Meta_Query
function.

Any ideas?




--- In metamod@yahoogroups.com, "Matthew Tyler" <matt@d...> wrote:
> These may seem like stupid questions, but are you absolutely sure
that you:
>
> 1. Have properly set up vers_plugin.h, with your plugin name and
version,
> etc.
> 2. Are using the latest version of metamod
>
> - Matt
> ----- Original Message -----
> From: "cy6twitch" <phpadmin@d...>
> To: <metamod@yahoogroups.com>
> Sent: Friday, August 15, 2003 3:01 AM
> Subject: [metamod] Re: problem with PLID
>
>
> > I thought the problem was with PLID but it isnt. I can actually
print
> > out value of PLID. I thought it was PLID because all the metamod
> > utility functions require PLID as a parameter. The crash is
actually
> > caused by the function call of GET_USER_MSG_ID itself.
> >
> > I also noticed that this guy (link below) might have a variation
of
> > the problem that I am having. I compiled metamod.dll myself (it
was
> > much much smaller and working) but it still did not fix my
problem.
> > http://groups.yahoo.com/group/metamod/message/148
> >
> >
> > Now that I know it is the GET_USER_MSG_ID function... I also
tested
> > it other metamod utility functions and they are also causing the
> > crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> > server.
> >
> > How can I fix this problem?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > > Hello,
> > >
> > > I am having a problem with a plugin I have. The plugin loads
> > normally
> > > and for the most part, it does everything that it is suppose to
do.
> > I
> > > recently added a new menu function and anytime I call that menu
> > > function, the plugin causes my server to crash. Even with the
new
> > > additions the plugin loads normally and it only crashes when I
run
> > > the menu function. I found the reason why it is crashing and it
is
> > > due to the fact that any function I call outside the meta_api.h
> > that
> > > involves PLID, will cause the plugin to crash the server.
> > > Specifically this is where my plugin is crashing:
> > >
> > > int msgShowMenu = 0;
> > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
0 ) {
> > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > }
> > >
> > >
> > > I know the "ShowMenu" message is registered already because I
can
> > > return the message value in the adminmod DLL, value 96. I can
also
> > > just hardcode the message value in my plugin and the menu
displays
> > > normally and the server doesnt crash. Hardcode as such:
> > >
> > > int msgShowMenu = 96;
> > > /*
> > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
0 ) {
> > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > }
> > > */
> > >
> > >
> > > I found that anything using PLID causes it to crash, even
something
> > > as simple as:
> > > LOG_MESSAGE( PLID, "Test" );
> > >
> > >
> > > I dont know how to fix the problem. I am using MS VC++ 6. I have
> > the
> > > def file defined, I have a resource file defined... is there
> > anything
> > > that I am missing in project definitions? How can I fix the
> > problem?
> > > Please note, there are no compile errors and the plugin does
run if
> > > values are hardcoded.
> > >
> > > Thanks for your help in advance.
> >
> >
> >
> > To unsubscribe, send an email to: metamod-
unsubscribe@yahoogroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >

#420 From: "sffen42" <randy@...>
Date: Sun Aug 17, 2003 7:54 pm
Subject: Problem with MetaMod Upgrade
sffen42
Send Email Send Email
 
I'm running a Linux Counter-Strike server.  Everything was working
until I upgraded MetaMod, AdminMod, etc.  I'm receiving an error
message during the load of MetaMod that I'm hoping somebody will be
able to help me with.  The error is:

  ERROR: dll: Failed query plugin '<metamod_i386.so>'; Couldn't find
Meta_Query
(): /usr/halflife/hlds_l/cstrike/addons/metamod/dlls/metamod_i386.so:
undefined symbol: Meta_Query

  [META] ERROR: dll: Skipping plugin '<metamod_i386.so>'; couldn't
query

  ERROR: dll: Failed to load plugin 'metamod_i386.so'

Other plugins load up just fine.  When I go into console and execute
a meta list command, I get the following:

Currently loaded plugins:
       description      stat pend  file              vers      src
load  unlod
  [ 1] <metamod_i386.s  badf load  metamod_i386.so   v -       ini   -
      -
  [ 2] minimal stub     RUN   -    stub_mm_i386.so   v1.16.2   ini
ANY   Pause
  [ 3] Trace HLSDK API  RUN   -    trace_mm_i386.so  v1.16.2   ini
ANY   Pause
  [ 4] WD Misc Functio  RUN   -    wdmisc_mm_i386.s  v1.16.2   ini
ANY   Pause
  [ 5] AMX              RUN   -    amx_mm_i386.so    v0.9.5    ini
Start Start
  [ 6] FUN              RUN   -    fun_ms_i386.so    v0.9.4    ini
Start Start
  [ 7] Message Blocker  RUN   -    war3_ms_i386.so   v1.0      ini
ANY   Pause
  [ 8] HLGuard          RUN   -    hlguard_mm_i586.  v1.50     ini
Chlvl Chlvl
  [ 9] Adminmod         RUN   -    admin_MM_i386.so  v2.50.56  ini
Start Start
9 plugins, 8 running

Obviously the metamod isn't running.  Any ideas?  I've downloaded
just the so file and I've pulled down the full version and I've also
gone thru the updated AdminMod full install.  Thanks much for any
information.

Ciao
Randy
randy@...

#421 From: Will Day <willday@...>
Date: Sun Aug 17, 2003 9:21 pm
Subject: Re: Problem with MetaMod Upgrade
wdmetamod
Send Email Send Email
 
A short time ago, at a computer terminal far, far away, sffen42 wrote:
>I'm running a Linux Counter-Strike server.  Everything was working
>until I upgraded MetaMod, AdminMod, etc.  I'm receiving an error
>message during the load of MetaMod that I'm hoping somebody will be
>able to help me with.  The error is:
>
> ERROR: dll: Failed query plugin '<metamod_i386.so>'; Couldn't find
>Meta_Query
>
>Other plugins load up just fine.  When I go into console and execute
>a meta list command, I get the following:
>
>Currently loaded plugins:
>      description      stat pend  file              vers      src
>load  unlod
> [ 1] <metamod_i386.s  badf load  metamod_i386.so   v -       ini   -
>     -
>
>Obviously the metamod isn't running.

No, not so obviously.. :)  The "meta list" command is handled by Metamod;
thus, the fact that the "meta list" command worked and produced output
indicates that Metamod is, in fact, running.

The errors seem to indicate that you're asking Metamod to load Metamod as a
plugin - Metamod isn't a plugin for itself, so it generates the above
errors when it tries to load itself as a plugin.

I'd say, look in your plugins.ini file and make sure metamod_i386.so is
_not_ listed there.

--
Will Day                  Those who would give up essential Liberty, to
willday@...       purchase a little temporary Safety, deserve neither
UNIX System Programmer    Liberty nor Safety.
Atlanta, GA                 - Benjamin Franklin, Penn. Assembly, Nov. 11, 1755

#422 From: "sffen42" <randy@...>
Date: Mon Aug 18, 2003 12:03 am
Subject: Re: Problem with MetaMod Upgrade
sffen42
Send Email Send Email
 
Thanks!

--- In metamod@yahoogroups.com, Will Day <willday@m...> wrote:
> A short time ago, at a computer terminal far, far away, sffen42
wrote:
> >I'm running a Linux Counter-Strike server.  Everything was working
> >until I upgraded MetaMod, AdminMod, etc.  I'm receiving an error
> >message during the load of MetaMod that I'm hoping somebody will
be
> >able to help me with.  The error is:
> >
> > ERROR: dll: Failed query plugin '<metamod_i386.so>'; Couldn't
find
> >Meta_Query
> >
> >Other plugins load up just fine.  When I go into console and
execute
> >a meta list command, I get the following:
> >
> >Currently loaded plugins:
> >      description      stat pend  file              vers      src
> >load  unlod
> > [ 1] <metamod_i386.s  badf load  metamod_i386.so   v -
ini   -
> >     -
> >
> >Obviously the metamod isn't running.
>
> No, not so obviously.. :)  The "meta list" command is handled by
Metamod;
> thus, the fact that the "meta list" command worked and produced
output
> indicates that Metamod is, in fact, running.
>
> The errors seem to indicate that you're asking Metamod to load
Metamod as a
> plugin - Metamod isn't a plugin for itself, so it generates the
above
> errors when it tries to load itself as a plugin.
>
> I'd say, look in your plugins.ini file and make sure
metamod_i386.so is
> _not_ listed there.
>
> --
> Will Day                  Those who would give up essential
Liberty, to
> willday@m...       purchase a little temporary Safety, deserve
neither
> UNIX System Programmer    Liberty nor Safety.
> Atlanta, GA                 - Benjamin Franklin, Penn. Assembly,
Nov. 11, 1755

#423 From: "stealth_knight2010" <Stealth_Knight2010@...>
Date: Mon Aug 18, 2003 7:08 am
Subject: Master Sword
stealth_knig...
Send Email Send Email
 
Im trying to install ADMIN/Metamod for this rarely known RPG Mod for
HL. MasterSword, When I got everything setup and tryed to run it for
the first few times. HL.EXE would crash saying there was something
going on with "dll/MS.DLL"

< http://www.angelfire.com/ma4/stealth_knight/ms_dll.bmp >

so, I desided to re-add the line;

> gamedll "dlls\ms.dll"

to liblist.GAM so it had both

> gamedll "addons\metamod\dlls\metamod.dll"
> gamedll "dlls\ms.dll"

Well, that got the mod running, as well as ADMINMOD in the back
ground, but when ever a command was exec. Player could not be
found/recognized. For instance, admin_slap <WONID> was unable to
find. o.O;; as well as the name. and commands such as admin_fun,
blah! just look at the pic. once again "PLAYER NOT FOUND" also,
trying to using the command admin_CSAY, once again crashed the
mod/exe.

< http://www.angelfire.com/ma4/stealth_knight/cannot_find.bmp >
< http://www.angelfire.com/ma4/stealth_knight/mm_dll.bmp >

Can you please help me set-up ADMIN/Meta-MOD for MasterSword
correctly. Maybe a Step-by-Step.

"MasterSword ADMIN/Meta-MOD For Dummies" maybe?
Im not new to ADMIN Mod, I have it up and working for CS and (had)
for Worms, but I cant figure out MasterSword's. Downloaded the DLL
for META, but do I need the entire update for META or should that be
enough? Thanks for your time and energy. Very Thankful, I am for it.

#424 From: Will Day <willday@...>
Date: Mon Aug 18, 2003 2:04 pm
Subject: Re: Master Sword
wdmetamod
Send Email Send Email
 
A short time ago, at a computer terminal far, far away, stealth_knight2010
wrote:
>Im trying to install ADMIN/Metamod for this rarely known RPG Mod for
>HL. MasterSword, When I got everything setup and tryed to run it for
>the first few times. HL.EXE would crash saying there was something
>going on with "dll/MS.DLL"

Note that although Metamod v1.16.1 included support for Master-Sword, it
will not be included in future versions, at the request of the Mod's
authors.

>< http://www.angelfire.com/ma4/stealth_knight/ms_dll.bmp >
>
>so, I desided to re-add the line;
>
>> gamedll "dlls\ms.dll"
>
>to liblist.GAM so it had both
>
>> gamedll "addons\metamod\dlls\metamod.dll"
>> gamedll "dlls\ms.dll"
>
>Well, that got the mod running, as well as ADMINMOD in the back
>ground, but when ever a command was exec. Player could not be
>found/recognized. For instance, admin_slap <WONID> was unable to
>find. o.O;; as well as the name. and commands such as admin_fun,
>blah! just look at the pic. once again "PLAYER NOT FOUND" also,
>trying to using the command admin_CSAY, once again crashed the
>mod/exe.

You can't really have two gamedll lines in the liblist.gam.

--
Will Day                  Those who would give up essential Liberty, to
willday@...       purchase a little temporary Safety, deserve neither
UNIX System Programmer    Liberty nor Safety.
Atlanta, GA                 - Benjamin Franklin, Penn. Assembly, Nov. 11, 1755

#425 From: mriachi@...
Date: Mon Aug 18, 2003 2:52 pm
Subject: Re: Master Sword
vvacme
Send Email Send Email
 
> Note that although Metamod v1.16.1 included support for Master-Sword, it
> will not be included in future versions, at the request of the Mod's
> authors.

Why would mod-authors bother themselves wether an external plugin supports
their mod or not?
I don't see the trouble, i only see benefits.

#426 From: Will Day <willday@...>
Date: Mon Aug 18, 2003 2:57 pm
Subject: Re: Master Sword
wdmetamod
Send Email Send Email
 
A short time ago, at a computer terminal far, far away, mriachi@... wrote:
>> Note that although Metamod v1.16.1 included support for Master-Sword, it
>> will not be included in future versions, at the request of the Mod's
>> authors.
>
>Why would mod-authors bother themselves wether an external plugin supports
>their mod or not?

Dunno.  The stated concerns were to control/limit cheating.

>I don't see the trouble, i only see benefits.

I can't really say I understand it myself.

--
Will Day                  Those who would give up essential Liberty, to
willday@...       purchase a little temporary Safety, deserve neither
UNIX System Programmer    Liberty nor Safety.
Atlanta, GA                 - Benjamin Franklin, Penn. Assembly, Nov. 11, 1755

#427 From: "Flasky" <flavien_delorme@...>
Date: Mon Aug 18, 2003 3:38 pm
Subject: Metamod+CS1.6 crash on most Maps with Bots
flavien_delorme
Send Email Send Email
 
Adding bots on CS1.6 dedicated server + metamod crashes on most of
the maps. Only 6 maps are working.

I've post several thread on this problem... am I the only one using
bots + metamod ??!

#428 From: mriachi@...
Date: Tue Aug 19, 2003 2:56 pm
Subject: Re: Re: Master Sword
vvacme
Send Email Send Email
 
> A short time ago, at a computer terminal far, far away, mriachi@...
> wrote:
>>> Note that although Metamod v1.16.1 included support for Master-Sword,
>>> it
>>> will not be included in future versions, at the request of the Mod's
>>> authors.
>>
>>Why would mod-authors bother themselves wether an external plugin
>> supports
>>their mod or not?
>
> Dunno.  The stated concerns were to control/limit cheating.

I can only understand if they would have implemented tricks to prevent
exploits within clients from being used, maybe they want to share that
info with you.

Otherwise i do not see how a person could cheat with a client through a
server-side controlled plugin, unless the person is admin of the server
and wrote a cheatplugin that works with metamod.
But in that case it is as simple as configuring your server to allow
auto-aim being turned on.

I think the authors confuse server-side vs client-side hacks.

>>I don't see the trouble, i only see benefits.
>
> I can't really say I understand it myself.

#429 From: mriachi@...
Date: Tue Aug 19, 2003 2:59 pm
Subject: Re: Metamod+CS1.6 crash on most Maps with Bots
vvacme
Send Email Send Email
 
> Adding bots on CS1.6 dedicated server + metamod crashes on most of
> the maps. Only 6 maps are working.
>
> I've post several thread on this problem... am I the only one using
> bots + metamod ??!

Do you use the internal botengine of CS or did you added an external
bot-plugin?
I've seen more posts on the steampowered boards about bots not running
clear on all maps, but i cannot recal if any were also related to metamod.

#430 From: Moby <moby2kbug@...>
Date: Thu Aug 21, 2003 10:22 am
Subject: Re: Re: Master Sword
willstmichve...
Send Email Send Email
 
mriachi@... wrote:
A short time ago, at a computer terminal far, far away, mriachi@...
wrote:
Note that although Metamod v1.16.1 included support for Master-Sword,
it
will not be included in future versions, at the request of the Mod's
authors.
Why would mod-authors bother themselves wether an external plugin
supports
their mod or not?
Dunno. The stated concerns were to control/limit cheating.

I can only understand if they would have implemented tricks to prevent
exploits within clients from being used, maybe they want to share that
info with you.
Otherwise i do not see how a person could cheat with a client through a
server-side controlled plugin, unless the person is admin of the server
and wrote a cheatplugin that works with metamod.
But in that case it is as simple as configuring your server to allow
auto-aim being turned on.
I think the authors confuse server-side vs client-side hacks.
I don't see the trouble, i only see benefits.
I can't really say I understand it myself.
I agree with Ur opinion, but maybe they fear some modifications to their Base System beeing accessable through MetaMod.
U can take Natural Selection and Voogru's Mods as an good example. He altered quite alot with his little additions on the NS behaviour itself. I don't want to say to the bad, but it was an altering, which had not been designed by the original mod designers.

Somehow it's sad to see this from the guys at Master-Sword, then it means nothing else as "They dont trust others to do the right things!". I doubt NS would be the same fun, as it is now, without the help of those little addins programmed from a vast number of programmers.

Regards
    Moby

#431 From: "cy6twitch" <phpadmin@...>
Date: Tue Aug 26, 2003 6:30 pm
Subject: Re: problem with PLID
cy6twitch
Send Email Send Email
 
I still havent fixed the problem, Is there anyone that can help? The
plugins on the server, but when the plugin calls a metamod utility
functions the plugin causes the server crash. Why?

Thanks....



--- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> I thought the problem was with PLID but it isnt. I can actually
print
> out value of PLID. I thought it was PLID because all the metamod
> utility functions require PLID as a parameter. The crash is
actually
> caused by the function call of GET_USER_MSG_ID itself.
>
> I also noticed that this guy (link below) might have a variation of
> the problem that I am having. I compiled metamod.dll myself (it was
> much much smaller and working) but it still did not fix my problem.
> http://groups.yahoo.com/group/metamod/message/148
>
>
> Now that I know it is the GET_USER_MSG_ID function... I also tested
> it other metamod utility functions and they are also causing the
> crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> server.
>
> How can I fix this problem?
>
>
>
>
>
>
>
>
>
> --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > Hello,
> >
> > I am having a problem with a plugin I have. The plugin loads
> normally
> > and for the most part, it does everything that it is suppose to
do.
> I
> > recently added a new menu function and anytime I call that menu
> > function, the plugin causes my server to crash. Even with the new
> > additions the plugin loads normally and it only crashes when I
run
> > the menu function. I found the reason why it is crashing and it
is
> > due to the fact that any function I call outside the meta_api.h
> that
> > involves PLID, will cause the plugin to crash the server.
> > Specifically this is where my plugin is crashing:
> >
> > int msgShowMenu = 0;
> > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
> >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > }
> >
> >
> > I know the "ShowMenu" message is registered already because I can
> > return the message value in the adminmod DLL, value 96. I can
also
> > just hardcode the message value in my plugin and the menu
displays
> > normally and the server doesnt crash. Hardcode as such:
> >
> > int msgShowMenu = 96;
> > /*
> > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
> >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > }
> > */
> >
> >
> > I found that anything using PLID causes it to crash, even
something
> > as simple as:
> > LOG_MESSAGE( PLID, "Test" );
> >
> >
> > I dont know how to fix the problem. I am using MS VC++ 6. I have
> the
> > def file defined, I have a resource file defined... is there
> anything
> > that I am missing in project definitions? How can I fix the
> problem?
> > Please note, there are no compile errors and the plugin does run
if
> > values are hardcoded.
> >
> > Thanks for your help in advance.

#432 From: "Matthew Tyler" <matt@...>
Date: Tue Aug 26, 2003 7:09 pm
Subject: Re: Re: problem with PLID
matt@...
Send Email Send Email
 
Unless you've altered the core of MM in some way, I can almost guarantee you
that the problem is caused by improper definitions of the plugin data values
(VLOGTAG etc.) and/or improper exporting of that data to MM. This is handled
by vers_plugin.h and meta_api.cpp, by default. I would double-check this,
and avoid changing this core code unless you absolutely know what you're
doing. You say you define the plugin data elsewhere - not a good idea IMHO.

- Matt

----- Original Message -----
From: "cy6twitch" <phpadmin@...>
To: <metamod@yahoogroups.com>
Sent: Tuesday, August 26, 2003 2:30 PM
Subject: [metamod] Re: problem with PLID


> I still havent fixed the problem, Is there anyone that can help? The
> plugins on the server, but when the plugin calls a metamod utility
> functions the plugin causes the server crash. Why?
>
> Thanks....
>
>
>
> --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > I thought the problem was with PLID but it isnt. I can actually
> print
> > out value of PLID. I thought it was PLID because all the metamod
> > utility functions require PLID as a parameter. The crash is
> actually
> > caused by the function call of GET_USER_MSG_ID itself.
> >
> > I also noticed that this guy (link below) might have a variation of
> > the problem that I am having. I compiled metamod.dll myself (it was
> > much much smaller and working) but it still did not fix my problem.
> > http://groups.yahoo.com/group/metamod/message/148
> >
> >
> > Now that I know it is the GET_USER_MSG_ID function... I also tested
> > it other metamod utility functions and they are also causing the
> > crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> > server.
> >
> > How can I fix this problem?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > > Hello,
> > >
> > > I am having a problem with a plugin I have. The plugin loads
> > normally
> > > and for the most part, it does everything that it is suppose to
> do.
> > I
> > > recently added a new menu function and anytime I call that menu
> > > function, the plugin causes my server to crash. Even with the new
> > > additions the plugin loads normally and it only crashes when I
> run
> > > the menu function. I found the reason why it is crashing and it
> is
> > > due to the fact that any function I call outside the meta_api.h
> > that
> > > involves PLID, will cause the plugin to crash the server.
> > > Specifically this is where my plugin is crashing:
> > >
> > > int msgShowMenu = 0;
> > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
> > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > }
> > >
> > >
> > > I know the "ShowMenu" message is registered already because I can
> > > return the message value in the adminmod DLL, value 96. I can
> also
> > > just hardcode the message value in my plugin and the menu
> displays
> > > normally and the server doesnt crash. Hardcode as such:
> > >
> > > int msgShowMenu = 96;
> > > /*
> > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) == 0 ) {
> > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > }
> > > */
> > >
> > >
> > > I found that anything using PLID causes it to crash, even
> something
> > > as simple as:
> > > LOG_MESSAGE( PLID, "Test" );
> > >
> > >
> > > I dont know how to fix the problem. I am using MS VC++ 6. I have
> > the
> > > def file defined, I have a resource file defined... is there
> > anything
> > > that I am missing in project definitions? How can I fix the
> > problem?
> > > Please note, there are no compile errors and the plugin does run
> if
> > > values are hardcoded.
> > >
> > > Thanks for your help in advance.
>
>
>
>
> To unsubscribe, send an email to: metamod-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#433 From: "cy6twitch" <phpadmin@...>
Date: Tue Aug 26, 2003 10:43 pm
Subject: Re: problem with PLID
cy6twitch
Send Email Send Email
 
I have basically declared the plugin_info struct just as it is done
in stats_me (identical) using VLOGTAG and etc; after all there are
only so many ways you can do define the plugin_info struct.

I will double check the code again but I am positve that all the
attributes of the plugin_info struct are defined using the proper
plugin data fields. I will post code when I get home seeing as how I
am having massive problems with this.

Thanks for your help.



--- In metamod@yahoogroups.com, "Matthew Tyler" <matt@d...> wrote:
> Unless you've altered the core of MM in some way, I can almost
guarantee you
> that the problem is caused by improper definitions of the plugin
data values
> (VLOGTAG etc.) and/or improper exporting of that data to MM. This
is handled
> by vers_plugin.h and meta_api.cpp, by default. I would double-check
this,
> and avoid changing this core code unless you absolutely know what
you're
> doing. You say you define the plugin data elsewhere - not a good
idea IMHO.
>
> - Matt
>
> ----- Original Message -----
> From: "cy6twitch" <phpadmin@d...>
> To: <metamod@yahoogroups.com>
> Sent: Tuesday, August 26, 2003 2:30 PM
> Subject: [metamod] Re: problem with PLID
>
>
> > I still havent fixed the problem, Is there anyone that can help?
The
> > plugins on the server, but when the plugin calls a metamod utility
> > functions the plugin causes the server crash. Why?
> >
> > Thanks....
> >
> >
> >
> > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > > I thought the problem was with PLID but it isnt. I can actually
> > print
> > > out value of PLID. I thought it was PLID because all the metamod
> > > utility functions require PLID as a parameter. The crash is
> > actually
> > > caused by the function call of GET_USER_MSG_ID itself.
> > >
> > > I also noticed that this guy (link below) might have a
variation of
> > > the problem that I am having. I compiled metamod.dll myself (it
was
> > > much much smaller and working) but it still did not fix my
problem.
> > > http://groups.yahoo.com/group/metamod/message/148
> > >
> > >
> > > Now that I know it is the GET_USER_MSG_ID function... I also
tested
> > > it other metamod utility functions and they are also causing the
> > > crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> > > server.
> > >
> > > How can I fix this problem?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...>
wrote:
> > > > Hello,
> > > >
> > > > I am having a problem with a plugin I have. The plugin loads
> > > normally
> > > > and for the most part, it does everything that it is suppose
to
> > do.
> > > I
> > > > recently added a new menu function and anytime I call that
menu
> > > > function, the plugin causes my server to crash. Even with the
new
> > > > additions the plugin loads normally and it only crashes when I
> > run
> > > > the menu function. I found the reason why it is crashing and
it
> > is
> > > > due to the fact that any function I call outside the
meta_api.h
> > > that
> > > > involves PLID, will cause the plugin to crash the server.
> > > > Specifically this is where my plugin is crashing:
> > > >
> > > > int msgShowMenu = 0;
> > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
0 ) {
> > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > }
> > > >
> > > >
> > > > I know the "ShowMenu" message is registered already because I
can
> > > > return the message value in the adminmod DLL, value 96. I can
> > also
> > > > just hardcode the message value in my plugin and the menu
> > displays
> > > > normally and the server doesnt crash. Hardcode as such:
> > > >
> > > > int msgShowMenu = 96;
> > > > /*
> > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
0 ) {
> > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > }
> > > > */
> > > >
> > > >
> > > > I found that anything using PLID causes it to crash, even
> > something
> > > > as simple as:
> > > > LOG_MESSAGE( PLID, "Test" );
> > > >
> > > >
> > > > I dont know how to fix the problem. I am using MS VC++ 6. I
have
> > > the
> > > > def file defined, I have a resource file defined... is there
> > > anything
> > > > that I am missing in project definitions? How can I fix the
> > > problem?
> > > > Please note, there are no compile errors and the plugin does
run
> > if
> > > > values are hardcoded.
> > > >
> > > > Thanks for your help in advance.
> >
> >
> >
> >
> > To unsubscribe, send an email to: metamod-
unsubscribe@yahoogroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >

#434 From: "cy6twitch" <phpadmin@...>
Date: Wed Aug 27, 2003 1:04 am
Subject: Re: problem with PLID
cy6twitch
Send Email Send Email
 
my myplugin.h (only copying and pasting effected parts)

#include <enginecallback.h>
#include <sdk_util.h>
#include <api_info.h>

#include <time.h>
#include <string.h>

//for plugin_info
#define VDATE  "08/03/2003"
#define VVERSION "3.0.0.0"
#define RC_VERS_DWORD 3,0,0,0
#define VNAME  "MYPLUGIN"
#define VAUTHOR  "TWITCH"
#define VURL  "www.checkyour6.net"
#define VLOGTAG  "MYPLUGIN"

// Various strings for the Windows DLL Resources in res_plugin.rc
#define RC_COMMENTS "MYPLUGIN"
#define RC_DESC  "MYPLUGIN - Metamod Plugin DLL"
#define RC_FILENAME "myplugin_mm.dll"
#define RC_INTERNAL "MYPLUGIN"
#define RC_COPYRIGHT "Copyright© 2003"


my meta_api.cpp (only copying and pasting effected parts)

#include <extdll.h>
#include <meta_api.h>
#include <dllapi.h>
#include <engine_api.h>

#include "myplugin.h"


//plugin info
plugin_info_t Plugin_info = {
	 META_INTERFACE_VERSION, // ifvers
	 VNAME, 			 // name
	 VVERSION, 		 // version
	 VDATE, 			 // date
	 VAUTHOR, 		 // author
	 VURL, 			 // url
	 VLOGTAG, 		 // logtag
	 PT_ANYPAUSE, 	 // loadable
	 PT_ANYPAUSE 	 // unloadable
};

C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo,
mutil_funcs_t *pMetaUtilFuncs)
{
	 //valid MetaUtilFuncs
	 gpMetaUtilFuncs = pMetaUtilFuncs;

	 // Give metamod our plugin_info struct.
	 *pPlugInfo = &Plugin_info;

	 return(TRUE);
}



Do you see anything odd? Everything looks defined to me, but I could
be missing something... you know how the story goes... need another
part of eyes.






--- In metamod@yahoogroups.com, "Matthew Tyler" <matt@d...> wrote:
> Unless you've altered the core of MM in some way, I can almost
guarantee you
> that the problem is caused by improper definitions of the plugin
data values
> (VLOGTAG etc.) and/or improper exporting of that data to MM. This
is handled
> by vers_plugin.h and meta_api.cpp, by default. I would double-check
this,
> and avoid changing this core code unless you absolutely know what
you're
> doing. You say you define the plugin data elsewhere - not a good
idea IMHO.
>
> - Matt
>
> ----- Original Message -----
> From: "cy6twitch" <phpadmin@d...>
> To: <metamod@yahoogroups.com>
> Sent: Tuesday, August 26, 2003 2:30 PM
> Subject: [metamod] Re: problem with PLID
>
>
> > I still havent fixed the problem, Is there anyone that can help?
The
> > plugins on the server, but when the plugin calls a metamod utility
> > functions the plugin causes the server crash. Why?
> >
> > Thanks....
> >
> >
> >
> > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > > I thought the problem was with PLID but it isnt. I can actually
> > print
> > > out value of PLID. I thought it was PLID because all the metamod
> > > utility functions require PLID as a parameter. The crash is
> > actually
> > > caused by the function call of GET_USER_MSG_ID itself.
> > >
> > > I also noticed that this guy (link below) might have a
variation of
> > > the problem that I am having. I compiled metamod.dll myself (it
was
> > > much much smaller and working) but it still did not fix my
problem.
> > > http://groups.yahoo.com/group/metamod/message/148
> > >
> > >
> > > Now that I know it is the GET_USER_MSG_ID function... I also
tested
> > > it other metamod utility functions and they are also causing the
> > > crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> > > server.
> > >
> > > How can I fix this problem?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...>
wrote:
> > > > Hello,
> > > >
> > > > I am having a problem with a plugin I have. The plugin loads
> > > normally
> > > > and for the most part, it does everything that it is suppose
to
> > do.
> > > I
> > > > recently added a new menu function and anytime I call that
menu
> > > > function, the plugin causes my server to crash. Even with the
new
> > > > additions the plugin loads normally and it only crashes when I
> > run
> > > > the menu function. I found the reason why it is crashing and
it
> > is
> > > > due to the fact that any function I call outside the
meta_api.h
> > > that
> > > > involves PLID, will cause the plugin to crash the server.
> > > > Specifically this is where my plugin is crashing:
> > > >
> > > > int msgShowMenu = 0;
> > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
0 ) {
> > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > }
> > > >
> > > >
> > > > I know the "ShowMenu" message is registered already because I
can
> > > > return the message value in the adminmod DLL, value 96. I can
> > also
> > > > just hardcode the message value in my plugin and the menu
> > displays
> > > > normally and the server doesnt crash. Hardcode as such:
> > > >
> > > > int msgShowMenu = 96;
> > > > /*
> > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
0 ) {
> > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > }
> > > > */
> > > >
> > > >
> > > > I found that anything using PLID causes it to crash, even
> > something
> > > > as simple as:
> > > > LOG_MESSAGE( PLID, "Test" );
> > > >
> > > >
> > > > I dont know how to fix the problem. I am using MS VC++ 6. I
have
> > > the
> > > > def file defined, I have a resource file defined... is there
> > > anything
> > > > that I am missing in project definitions? How can I fix the
> > > problem?
> > > > Please note, there are no compile errors and the plugin does
run
> > if
> > > > values are hardcoded.
> > > >
> > > > Thanks for your help in advance.
> >
> >
> >
> >
> > To unsubscribe, send an email to: metamod-
unsubscribe@yahoogroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >

#435 From: "Matthew Tyler" <matt@...>
Date: Wed Aug 27, 2003 5:25 am
Subject: Re: Re: problem with PLID
matt@...
Send Email Send Email
 
Seems to be in order.... This is definitely a weird one, and it doesn't seem
like it's something that you could have done, unless as I said before you've
been messing around with the "core" metamod files.

The next best thing I can recommend is to clean out your build DIRs,
re-download the MM source and the source SDK, re-create the VC++ project
files and rebuild everything. If that doesn't work (and I've fixed plenty of
bizzare errors this way), try going back towards the default MM file
structure, i.e. put all your stuff (and only your stuff) in myplugin.cpp/h
and leave the other files intact. If THAT doesn't work, try using another
development machine.

- Matt

----- Original Message -----
From: "cy6twitch" <phpadmin@...>
To: <metamod@yahoogroups.com>
Sent: Tuesday, August 26, 2003 9:04 PM
Subject: [metamod] Re: problem with PLID


> my myplugin.h (only copying and pasting effected parts)
>
> #include <enginecallback.h>
> #include <sdk_util.h>
> #include <api_info.h>
>
> #include <time.h>
> #include <string.h>
>
> //for plugin_info
> #define VDATE "08/03/2003"
> #define VVERSION "3.0.0.0"
> #define RC_VERS_DWORD 3,0,0,0
> #define VNAME "MYPLUGIN"
> #define VAUTHOR "TWITCH"
> #define VURL "www.checkyour6.net"
> #define VLOGTAG "MYPLUGIN"
>
> // Various strings for the Windows DLL Resources in res_plugin.rc
> #define RC_COMMENTS "MYPLUGIN"
> #define RC_DESC "MYPLUGIN - Metamod Plugin DLL"
> #define RC_FILENAME "myplugin_mm.dll"
> #define RC_INTERNAL "MYPLUGIN"
> #define RC_COPYRIGHT "Copyright© 2003"
>
>
> my meta_api.cpp (only copying and pasting effected parts)
>
> #include <extdll.h>
> #include <meta_api.h>
> #include <dllapi.h>
> #include <engine_api.h>
>
> #include "myplugin.h"
>
>
> //plugin info
> plugin_info_t Plugin_info = {
> META_INTERFACE_VERSION, // ifvers
> VNAME, // name
> VVERSION, // version
> VDATE, // date
> VAUTHOR, // author
> VURL, // url
> VLOGTAG, // logtag
> PT_ANYPAUSE, // loadable
> PT_ANYPAUSE // unloadable
> };
>
> C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo,
> mutil_funcs_t *pMetaUtilFuncs)
> {
> //valid MetaUtilFuncs
> gpMetaUtilFuncs = pMetaUtilFuncs;
>
> // Give metamod our plugin_info struct.
> *pPlugInfo = &Plugin_info;
>
> return(TRUE);
> }
>
>
>
> Do you see anything odd? Everything looks defined to me, but I could
> be missing something... you know how the story goes... need another
> part of eyes.
>
>
>
>
>
>
> --- In metamod@yahoogroups.com, "Matthew Tyler" <matt@d...> wrote:
> > Unless you've altered the core of MM in some way, I can almost
> guarantee you
> > that the problem is caused by improper definitions of the plugin
> data values
> > (VLOGTAG etc.) and/or improper exporting of that data to MM. This
> is handled
> > by vers_plugin.h and meta_api.cpp, by default. I would double-check
> this,
> > and avoid changing this core code unless you absolutely know what
> you're
> > doing. You say you define the plugin data elsewhere - not a good
> idea IMHO.
> >
> > - Matt
> >
> > ----- Original Message -----
> > From: "cy6twitch" <phpadmin@d...>
> > To: <metamod@yahoogroups.com>
> > Sent: Tuesday, August 26, 2003 2:30 PM
> > Subject: [metamod] Re: problem with PLID
> >
> >
> > > I still havent fixed the problem, Is there anyone that can help?
> The
> > > plugins on the server, but when the plugin calls a metamod utility
> > > functions the plugin causes the server crash. Why?
> > >
> > > Thanks....
> > >
> > >
> > >
> > > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...> wrote:
> > > > I thought the problem was with PLID but it isnt. I can actually
> > > print
> > > > out value of PLID. I thought it was PLID because all the metamod
> > > > utility functions require PLID as a parameter. The crash is
> > > actually
> > > > caused by the function call of GET_USER_MSG_ID itself.
> > > >
> > > > I also noticed that this guy (link below) might have a
> variation of
> > > > the problem that I am having. I compiled metamod.dll myself (it
> was
> > > > much much smaller and working) but it still did not fix my
> problem.
> > > > http://groups.yahoo.com/group/metamod/message/148
> > > >
> > > >
> > > > Now that I know it is the GET_USER_MSG_ID function... I also
> tested
> > > > it other metamod utility functions and they are also causing the
> > > > crash. Functions like LOG_ERROR(PLID, "Test" ); also crashes the
> > > > server.
> > > >
> > > > How can I fix this problem?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...>
> wrote:
> > > > > Hello,
> > > > >
> > > > > I am having a problem with a plugin I have. The plugin loads
> > > > normally
> > > > > and for the most part, it does everything that it is suppose
> to
> > > do.
> > > > I
> > > > > recently added a new menu function and anytime I call that
> menu
> > > > > function, the plugin causes my server to crash. Even with the
> new
> > > > > additions the plugin loads normally and it only crashes when I
> > > run
> > > > > the menu function. I found the reason why it is crashing and
> it
> > > is
> > > > > due to the fact that any function I call outside the
> meta_api.h
> > > > that
> > > > > involves PLID, will cause the plugin to crash the server.
> > > > > Specifically this is where my plugin is crashing:
> > > > >
> > > > > int msgShowMenu = 0;
> > > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
> 0 ) {
> > > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > > }
> > > > >
> > > > >
> > > > > I know the "ShowMenu" message is registered already because I
> can
> > > > > return the message value in the adminmod DLL, value 96. I can
> > > also
> > > > > just hardcode the message value in my plugin and the menu
> > > displays
> > > > > normally and the server doesnt crash. Hardcode as such:
> > > > >
> > > > > int msgShowMenu = 96;
> > > > > /*
> > > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0)) ==
> 0 ) {
> > > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > > }
> > > > > */
> > > > >
> > > > >
> > > > > I found that anything using PLID causes it to crash, even
> > > something
> > > > > as simple as:
> > > > > LOG_MESSAGE( PLID, "Test" );
> > > > >
> > > > >
> > > > > I dont know how to fix the problem. I am using MS VC++ 6. I
> have
> > > > the
> > > > > def file defined, I have a resource file defined... is there
> > > > anything
> > > > > that I am missing in project definitions? How can I fix the
> > > > problem?
> > > > > Please note, there are no compile errors and the plugin does
> run
> > > if
> > > > > values are hardcoded.
> > > > >
> > > > > Thanks for your help in advance.
> > >
> > >
> > >
> > >
> > > To unsubscribe, send an email to: metamod-
> unsubscribe@yahoogroups.com
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
>
>
>
> To unsubscribe, send an email to: metamod-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#436 From: "Nathan Letwory" <fanaath@...>
Date: Wed Aug 27, 2003 10:01 am
Subject: Re: Metamod+CS1.6 crash on most Maps with Bots
fanaath
Send Email Send Email
 
--- In metamod@yahoogroups.com, mriachi@x wrote:
> > Adding bots on CS1.6 dedicated server + metamod crashes on most of
> > the maps. Only 6 maps are working.
> >
> > I've post several thread on this problem... am I the only one
using
> > bots + metamod ??!
>
> Do you use the internal botengine of CS or did you added an external
> bot-plugin?
> I've seen more posts on the steampowered boards about bots not
running
> clear on all maps, but i cannot recal if any were also related to
metamod.

I use also bots on a dedicated CS1.6 (linux) server. The bots used are
CSBots, thus from the internal bot engine.

When running the server in -debug mode, it complains that
/path/to/hlds_l/./cstrike//ModuleS_i386.so can't be found -->

./hlds_run: line 49: 10577 Segmentation fault      (core dumped)
$HL_CMD
Error while mapping shared library sections:
/opt/cs/cs16/hlds_l/./cstrike//ModuleS_i386.so: No such file or
directory.
Error while reading shared library symbols:
/opt/cs/cs16/hlds_l/./cstrike//ModuleS_i386.so: No such file or
directory.
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xbffff27c

------------------------------------

excerpt from debug.log:

Core was generated by './hlds_amd -game cstrike -port 27015 +map
de_cbble +maxplayers 16 -nomaster -debug -autoupdate.
Program terminated with signal 11, Segmentation fault.
#0    0x43781f42 in _fini () from
./cstrike/addons/metamod/dlls/metamod_i386.so
#0    0x43781f42 in _fini () from
./cstrike/addons/metamod/dlls/metamod_i386.so
End of crash report

-------------------------------------

Upon investigation of metamod source code, I found _fini to do nothing
(it is void _fini(void){})

Hopefully this information is of some help.

/Nathan Letwory

#437 From: Max Riacci <mriachi@...>
Date: Wed Aug 27, 2003 2:02 pm
Subject: Re: Re: Metamod+CS1.6 crash on most Maps with Bots
vvacme
Send Email Send Email
 
Nathan Letwory wrote:

When running the server in -debug mode, it complains that
/path/to/hlds_l/./cstrike//ModuleS_i386.so can't be found -->

Are you sure that a double forward slash is acceptable in linux?:
/cstrike//ModuleS_i386.so

Why does it do so?One forward slash too many somewhere?

#438 From: Nathan Letwory <fanaath@...>
Date: Fri Aug 29, 2003 12:03 pm
Subject: Re: Re: Metamod+CS1.6 crash on most Maps with Bots
fanaath
Send Email Send Email
 
--- Max Riacci <mriachi@...> wrote:
>
>
> Nathan Letwory wrote:
>
> When running the server in -debug mode, it complains
> that
> /path/to/hlds_l/./cstrike//ModuleS_i386.so can't be
> found -->
>
> Are you sure that a double forward slash is
> acceptable in linux?:
> /cstrike//ModuleS_i386.so
>
> Why does it do so?One forward slash too many
> somewhere?

I have no clue as to why it does so. The server is
started as told in the documentation, and the debug
shows the double slash.

Double slash shouldn't make a big difference, at least
a few test I just did with the double slashes gave no
problems. Yes, it looks a little awkward, but it
should work.

/Nathan Letwory

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#439 From: "cy6twitch" <phpadmin@...>
Date: Sat Aug 30, 2003 11:17 pm
Subject: Re: problem with PLID
cy6twitch
Send Email Send Email
 
Ya... I havent touched the metamod source or the sdk as I definitely
know you arent suppose to touch them.

I have clean the build dirs, I have redownloaded the metamod and
entire hl sdk source files again. I have recreated the project files
a great number of times. I have used about 4 development machines
just at my place alone with different hardware configs (AMD, P4 and
etc).

Still nothing seems to effect it.

I have noticed a couple of interesting things while I am running my
plugin (some of which I have stated before).

1) Everything seems to work as expected until I use a metamod utility
function like GET_USER_MSG_ID(). Hardcoding the id that would have
been returned from GET_USER_MSG_ID yeilds no crashes and completely
normal/expect operation; the plugin then works great.
2) When I remove any plugin from the metamod.ini file by commenting
it out, switch the map, then remove the comment to activate it again,
the "meta list" command reports an odd list. Anything before that
plugin, the plugin name is blank. There use to be reports of this in
the past so I havent thought anything of it.
3) Something I have noticed just recently. I added a new function 3
days ago which involved pfnStartFrame() in which I use the gpGlobal-
>time to get the current time. It works find on the first map and
returns an expect value, but when I change the level (every level
after that), for some reason the gpGlobal->time no longer contains a
value. It is as if gpGlobal is now a null pointer.


I dont know if that helps any but I am truly baffled as I do have a
crap load of programming experience outside the metamod/hlsdk and
quite a bit inside. For some reason the plugin just isnt doing what I
am telling it to do and even after using other plugins like the stub
and etc as a basis of comparison and a start point of my plugin. It
is as if that any type of functionality dependent on the metamod end
isnt reporting what it should be, example using the metamod util
functions or the gpGlobals.

If anyone has any idea I would truly be in your debit.

Thanks in advance...







--- In metamod@yahoogroups.com, "Matthew Tyler" <matt@d...> wrote:
> Seems to be in order.... This is definitely a weird one, and it
doesn't seem
> like it's something that you could have done, unless as I said
before you've
> been messing around with the "core" metamod files.
>
> The next best thing I can recommend is to clean out your build DIRs,
> re-download the MM source and the source SDK, re-create the VC++
project
> files and rebuild everything. If that doesn't work (and I've fixed
plenty of
> bizzare errors this way), try going back towards the default MM file
> structure, i.e. put all your stuff (and only your stuff) in
myplugin.cpp/h
> and leave the other files intact. If THAT doesn't work, try using
another
> development machine.
>
> - Matt
>
> ----- Original Message -----
> From: "cy6twitch" <phpadmin@d...>
> To: <metamod@yahoogroups.com>
> Sent: Tuesday, August 26, 2003 9:04 PM
> Subject: [metamod] Re: problem with PLID
>
>
> > my myplugin.h (only copying and pasting effected parts)
> >
> > #include <enginecallback.h>
> > #include <sdk_util.h>
> > #include <api_info.h>
> >
> > #include <time.h>
> > #include <string.h>
> >
> > //for plugin_info
> > #define VDATE "08/03/2003"
> > #define VVERSION "3.0.0.0"
> > #define RC_VERS_DWORD 3,0,0,0
> > #define VNAME "MYPLUGIN"
> > #define VAUTHOR "TWITCH"
> > #define VURL "www.checkyour6.net"
> > #define VLOGTAG "MYPLUGIN"
> >
> > // Various strings for the Windows DLL Resources in res_plugin.rc
> > #define RC_COMMENTS "MYPLUGIN"
> > #define RC_DESC "MYPLUGIN - Metamod Plugin DLL"
> > #define RC_FILENAME "myplugin_mm.dll"
> > #define RC_INTERNAL "MYPLUGIN"
> > #define RC_COPYRIGHT "Copyright© 2003"
> >
> >
> > my meta_api.cpp (only copying and pasting effected parts)
> >
> > #include <extdll.h>
> > #include <meta_api.h>
> > #include <dllapi.h>
> > #include <engine_api.h>
> >
> > #include "myplugin.h"
> >
> >
> > //plugin info
> > plugin_info_t Plugin_info = {
> > META_INTERFACE_VERSION, // ifvers
> > VNAME, // name
> > VVERSION, // version
> > VDATE, // date
> > VAUTHOR, // author
> > VURL, // url
> > VLOGTAG, // logtag
> > PT_ANYPAUSE, // loadable
> > PT_ANYPAUSE // unloadable
> > };
> >
> > C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t
**pPlugInfo,
> > mutil_funcs_t *pMetaUtilFuncs)
> > {
> > //valid MetaUtilFuncs
> > gpMetaUtilFuncs = pMetaUtilFuncs;
> >
> > // Give metamod our plugin_info struct.
> > *pPlugInfo = &Plugin_info;
> >
> > return(TRUE);
> > }
> >
> >
> >
> > Do you see anything odd? Everything looks defined to me, but I
could
> > be missing something... you know how the story goes... need
another
> > part of eyes.
> >
> >
> >
> >
> >
> >
> > --- In metamod@yahoogroups.com, "Matthew Tyler" <matt@d...> wrote:
> > > Unless you've altered the core of MM in some way, I can almost
> > guarantee you
> > > that the problem is caused by improper definitions of the plugin
> > data values
> > > (VLOGTAG etc.) and/or improper exporting of that data to MM.
This
> > is handled
> > > by vers_plugin.h and meta_api.cpp, by default. I would double-
check
> > this,
> > > and avoid changing this core code unless you absolutely know
what
> > you're
> > > doing. You say you define the plugin data elsewhere - not a good
> > idea IMHO.
> > >
> > > - Matt
> > >
> > > ----- Original Message -----
> > > From: "cy6twitch" <phpadmin@d...>
> > > To: <metamod@yahoogroups.com>
> > > Sent: Tuesday, August 26, 2003 2:30 PM
> > > Subject: [metamod] Re: problem with PLID
> > >
> > >
> > > > I still havent fixed the problem, Is there anyone that can
help?
> > The
> > > > plugins on the server, but when the plugin calls a metamod
utility
> > > > functions the plugin causes the server crash. Why?
> > > >
> > > > Thanks....
> > > >
> > > >
> > > >
> > > > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...>
wrote:
> > > > > I thought the problem was with PLID but it isnt. I can
actually
> > > > print
> > > > > out value of PLID. I thought it was PLID because all the
metamod
> > > > > utility functions require PLID as a parameter. The crash is
> > > > actually
> > > > > caused by the function call of GET_USER_MSG_ID itself.
> > > > >
> > > > > I also noticed that this guy (link below) might have a
> > variation of
> > > > > the problem that I am having. I compiled metamod.dll myself
(it
> > was
> > > > > much much smaller and working) but it still did not fix my
> > problem.
> > > > > http://groups.yahoo.com/group/metamod/message/148
> > > > >
> > > > >
> > > > > Now that I know it is the GET_USER_MSG_ID function... I also
> > tested
> > > > > it other metamod utility functions and they are also
causing the
> > > > > crash. Functions like LOG_ERROR(PLID, "Test" ); also
crashes the
> > > > > server.
> > > > >
> > > > > How can I fix this problem?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --- In metamod@yahoogroups.com, "cy6twitch" <phpadmin@d...>
> > wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I am having a problem with a plugin I have. The plugin
loads
> > > > > normally
> > > > > > and for the most part, it does everything that it is
suppose
> > to
> > > > do.
> > > > > I
> > > > > > recently added a new menu function and anytime I call that
> > menu
> > > > > > function, the plugin causes my server to crash. Even with
the
> > new
> > > > > > additions the plugin loads normally and it only crashes
when I
> > > > run
> > > > > > the menu function. I found the reason why it is crashing
and
> > it
> > > > is
> > > > > > due to the fact that any function I call outside the
> > meta_api.h
> > > > > that
> > > > > > involves PLID, will cause the plugin to crash the server.
> > > > > > Specifically this is where my plugin is crashing:
> > > > > >
> > > > > > int msgShowMenu = 0;
> > > > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0))
==
> > 0 ) {
> > > > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > > > }
> > > > > >
> > > > > >
> > > > > > I know the "ShowMenu" message is registered already
because I
> > can
> > > > > > return the message value in the adminmod DLL, value 96. I
can
> > > > also
> > > > > > just hardcode the message value in my plugin and the menu
> > > > displays
> > > > > > normally and the server doesnt crash. Hardcode as such:
> > > > > >
> > > > > > int msgShowMenu = 96;
> > > > > > /*
> > > > > > if ( (msgShowMenu = GET_USER_MSG_ID(PLID, "ShowMenu", 0))
==
> > 0 ) {
> > > > > >        msgShowMenu = REG_USER_MSG( "ShowMenu", -1 );
> > > > > > }
> > > > > > */
> > > > > >
> > > > > >
> > > > > > I found that anything using PLID causes it to crash, even
> > > > something
> > > > > > as simple as:
> > > > > > LOG_MESSAGE( PLID, "Test" );
> > > > > >
> > > > > >
> > > > > > I dont know how to fix the problem. I am using MS VC++ 6.
I
> > have
> > > > > the
> > > > > > def file defined, I have a resource file defined... is
there
> > > > > anything
> > > > > > that I am missing in project definitions? How can I fix
the
> > > > > problem?
> > > > > > Please note, there are no compile errors and the plugin
does
> > run
> > > > if
> > > > > > values are hardcoded.
> > > > > >
> > > > > > Thanks for your help in advance.
> > > >
> > > >
> > > >
> > > >
> > > > To unsubscribe, send an email to: metamod-
> > unsubscribe@yahoogroups.com
> > > >
> > > >
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> >
> >
> >
> > To unsubscribe, send an email to: metamod-
unsubscribe@yahoogroups.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >

Messages 410 - 439 of 726   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help