Thanks for your reply, I am currently using Metamod:source to try and
spawn a bot on my server. I have looked at the HL2 source code to see
how the bots are spawned in a mod:

bool StubPlugin::LevelInit(const char *pMapName, const char
*pMapEntities, const char *pOldLevel, const char *pLandmarkName, bool
loadGame, bool background)
{
        META_LOG(g_PLAPI, "LevelInit() called: pMapName=%s", pMapName);
        edict_t *pMyEdict;
        pMyEdict = m_engine->CreateFakeClient("BOBO");
        RETURN_META_VALUE(MRES_IGNORED, true);
}

what the above code implies is that I have succesfulyl hooked to the
event "LevelInit" but my server crashes on the "CreateFakeClient" call.
Any idea why it would crash there?  can't seemt o find a proper way to
spawn a bot through metmod. But I believe it should be simple right?

Thanks in advance,
Kareem

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ashley Cowey
Sent: December 13, 2007 9:36 AM
To: [email protected]
Subject: Re: [hlcoders] Plugins for server

--
[ Picked text/plain from multipart/alternative ] As LDuke said, "based
on CS:S" this is possible although I would assume you will have to take
a look at Source:MM (Metamod for Source). If you wish to create a plugin
that inherently changes or modifies the game server without actually
making the client have to change their side then it is your best bet. I
will take a more in depth look for you shortly.

Ashley.

On Dec 14, 2007 12:57 AM, Kareem Saleh <[EMAIL PROTECTED]> wrote:

> yes, spray decal on to a wall :)
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ashley
> Cowey
> Sent: December 13, 2007 6:09 AM
> To: [email protected]
> Subject: Re: [hlcoders] Plugins for server
>
> --
>  [ Picked text/plain from multipart/alternative ] Just to clarify, do
> you mean spray a decal onto a wall? Or "spray" as in attempt to
> control recoil whilst firing?
>
> Ashley.
>
> On Dec 13, 2007 9:13 AM, Kareem Saleh <[EMAIL PROTECTED]> wrote:
>
> > Thank you for your response. Yes, I'm jsut looking to create a
> > simple bot ont eh server that can spray and I just wasnt sure if
> > bots have the capabililty of spraying. I didnt want to start the
> > project if there was that limitation. But I will give it more
> > research and hopefully will have a plugin prototype by the end of
this week.
> >
> > Thank you again!
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of LDuke
> > Sent: December 12, 2007 4:19 PM
> > To: [email protected]
> > Subject: Re: [hlcoders] Plugins for server
> >
> > --
> > [ Picked text/plain from multipart/alternative ] Depends on what
> > "control a bot with spray capabilities" means.
> >
> > Do you mean make a bot put a spray on the wall like a player? This
> > is probably do-able.
> >
> > Do you mean take control of the bot as if you were playing yourself
> > and also be able to put a spray on the wall? If so, that is much
> > more complex, and if it's even possible, would require a lot of
"hacking."
> >
> > I'm basing these answers on CSS since no other Valve source games
> > that
>
> > I know of have working bots.
> >
> >
> >
> >
> > On Dec 12, 2007 9:29 AM, Kareem Saleh <[EMAIL PROTECTED]> wrote:
> >
> > > This is a multi-part message in MIME format.
> > > --
> > > [ Picked text/plain from multipart/alternative ] Hi,
> > >
> > > I am new to the list and am curious about the topic of plugins. I
> > > have
> >
> > > setup a linux server successfully and was wondering if it is
> > > possible to create a plugin that would allow me to control a bot
> > > with spray capabilities. I want it to be server side only and not
> > > a Mod that the client has to install. Is this possible?
> > >
> > > Thank you,
> > > Kareem
> > > --
> > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the list
> > > archives,
> >
> > > please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > >
> > >
> > --
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list
> > archives,
>
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list
> > archives,
>
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,

> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,

> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to