.:: 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 > SDK Programming discussions > Half-Life 2 SDK
Half-Life 2 SDK For developments focused around the Half-Life 2 engine Half-Life 2

Reply
 
Thread Tools
Contact with Alfred (Valve)
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Contact with Alfred (Valve) - 16-12-2004

Well, i sent Valve a mail about the crashing on HL2DM. I also asked him a question about the proper update functions and such, so when i get an answer, i will share it with you.

Quote:
Can you send me some sample code (i.e your plugin) that reproduces this problem.

- Alfred
----Original Message----
From: S. Hendriks [
mailto:youwishyougetmyprivateadress@.nl]
Sent: Thursday, December 09, 2004 12:30 PM
To: Alfred Reynolds
Cc: Jess Cliffe

Subject: REGARDING: Bot/Fakeclient creation
> Hello Alfred,
>
> Regarding to my previous mail, the EXACT SAME CODE works for CS:
> SOURCE! I do a CreateFakeClient command and i can see it already in
> the specators list... So i think its an error in the HL2DM code
> itself?
>
> =================================================
> Stefan Hendriks
> FunDynamic
>
http://www.fundynamic.nl
> =================================================
my reply to that mail:
Quote:
Sure,

I have included the entire source, but for your convenience i have included the magic line that crashes on HL2DM, but runs fine on CSS:
---
// Runs fine
edict_t * pClientEdict = NULL;
// Runs fine
rblog("BOT: Creating Bot\n");
// *CRASH* (but fine in HL2DM)
pClientEdict=engine->CreateFakeClient"BOT");
---
These lines can be found (though without these comments) in serverplugin_bot.cpp , at CON_COMMAND(bot_create, ...)

For the moment i just test the plugin on CSS so i can run the CreateFakeClient function. However, i am having trouble running the proper update function. As for one, i am not sure how to update fake clients properly. I *think* i have to use ProcessMovement from the IGameMovement interface and RunPlayerCOmmand(???) for user command processing? Its just a wild guess , i already took to long and too much time into this so i get behind with my study Perhaps you can hint me on this?

Thanks in advance,

=================================================
Stefan Hendriks
FunDynamic
http://www.fundynamic.nl =================================================


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Contact with Alfred (Valve)
Old
  (#2)
Jerry
Member
 
Jerry's Avatar
 
Status: Offline
Posts: 10
Join Date: Dec 2004
Location: Woerden, The Netherlands
Default Re: Contact with Alfred (Valve) - 16-12-2004

Well, it's good that you got a response .
Now to wait and see if he can give some tips .

btw:
// *CRASH* (but fine in HL2DM)
has to be:
// *CRASH* (but fine in CSS)

But he will know what you mean


Imagination is more important than knowledge. Knowledge is limited - Albert Einstein

Last edited by Jerry; 16-12-2004 at 10:05..
  
Reply With Quote
Re: Contact with Alfred (Valve)
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Contact with Alfred (Valve) - 16-12-2004

yeah, i just sent another mail to be sure hehe


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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