As too what you said about editing the bot files...
It seems like they are bot included in my code.

Which is prob why its failing to link.

Paul

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kirby
> Sent: Sun 09 October 2005 19:16
> To: [email protected]
> Subject: RE: [hlcoders] SDK With bots question
>
> I did a search for the #ifdef anf commented out the #ifdef and #endif
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Tony "omega" Sergi
> > Sent: Sun 09 October 2005 19:08
> > To: [email protected]
> > Subject: RE: [hlcoders] SDK With bots question
> >
> > Did you edit the bot files themselves too?
> >
> >
> > -----Original Message-----
> > From: Paul Kirby [mailto:[EMAIL PROTECTED]
> > Sent: October 9, 2005 1:47 PM
> > To: [email protected]
> > Subject: RE: [hlcoders] SDK With bots question
> >
> > You can remove all pairs due to it fails to compile and link.
> > Like too many arguments so I left in the #ifdef an #endif
> >
> > Not it compiles fine but now fails on linking the following:
> >
> > [] hl error LNK2019: unresolved external symbol "void __cdecl
> > Bot_RunAll(void)" (?Bot_RunAll@@YAXXZ) referenced in function
> > "void __cdecl
> > GameStartFrame(void)" (?GameStartFrame@@YAXXZ)
> > [] hl error LNK2019: unresolved external symbol "class
> > CBasePlayer * __cdecl
> > BotPutInServer(bool,int)" (?BotPutInServer@@YAPAVCBasePlayer@@[EMAIL 
> > PROTECTED])
> > referenced in function "void __cdecl Bot_f(void)" (?Bot_f@@YAXXZ)
> > [] hl fatal error LNK1120: 2 unresolved externals
> >
> > And if I add the #ifdef and #enddif back in the bots don't work :(
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of
> > > Tony "omega" Sergi
> > > Sent: Sun 09 October 2005 17:23
> > > To: [email protected]
> > > Subject: RE: [hlcoders] SDK With bots question
> > >
> > > Remove all the #ifdef DEBUG and #endif pairs.
> > >
> > > By default the "bots" included with the sdk only function in
> > > debug builds.
> > >
> > > -----Original Message-----
> > > From: Paul Kirby [mailto:[EMAIL PROTECTED]
> > > Sent: October 9, 2005 12:18 PM
> > > To: [email protected]
> > > Subject: [hlcoders] SDK With bots question
> > >
> > > Hello All
> > >
> > > I have just noticed that if you create a Mod (Modify Half-Life 2
> > > Multiplayer) there don't seem to be a bot_add command.
> > > Though you do seem to have the following line:
> > > ConCommand cc_Bot( "bot", Bot_f, "Add a bot.", FCVAR_CHEAT );
> > >
> > > But when you use "bot" within the game, you are then told
> > > "Unknown command:
> > > bot"
> > >
> > > Has anyone else had this problem.
> > >
> > > Yet when you create a Mod from scratch you then get them :P
> > >
> > > Any help is welcome.
> > >
> > > Thanks in advance
> > >
> > > Paul
> > >
> > >
> > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the
> > list archives,
> > > please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > >
> > >
> > >
> > >
> > > __________ NOD32 1.1246 (20051007) Information __________
> > >
> > > This message was checked by NOD32 antivirus system.
> > > http://www.eset.com
> > >
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> >
> >
> >
> > __________ NOD32 1.1246 (20051007) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >
> >
> > _______________________________________________
> > 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