|
|
|
|
|
|
|
|
|
|
Member
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
|
Bug in RACC Template 2 -
30-08-2004
first look here
Defined in dlls\h_export.cpp :
Code:
int DLLEXPORT Server_GetBlendingInterface
(int version, struct sv_blending_interface_s **ppinterface, struct engine_studio_api_s *pstudio,
float (*rotationmatrix)[3][4], float (*bonetransform)[MAXSTUDIOBONES][3][4])
{
// this function synchronizes the studio model animation blending interface (i.e, what parts
// of the body move, which bones, which hitboxes and how) between the server and the game DLL.
// some MODs can be using a different hitbox scheme than the standard one.
static SERVER_GETBLENDINGINTERFACE other_Server_GetBlendingInterface = NULL;
static bool missing = FALSE;
// if the blending interface has been formerly reported as missing, give up
if (missing)
return (FALSE);
// do we NOT know if the blending interface is provided ? if so, look for its address
if (other_Server_GetBlendingInterface == NULL)
other_Server_GetBlendingInterface = (SERVER_GETBLENDINGINTERFACE) GetProcAddress (h_Library, "Server_GetBlendingInterface");
// have we NOT found it ?
if (!other_Server_GetBlendingInterface) {
missing = TRUE; // then mark it as missing, no use to look for it again in the future
return (FALSE); // and give up
}
// else call the function that provides the blending interface on request
return ((other_Server_GetBlendingInterface) (version, ppinterface, pstudio, rotationmatrix, bonetransform));
}
***ERROR*** : This function is not exported under MSVC. DLLEXPORT macro is wrong and there is no declarator telling that this function should be exported. If this function will be exported by some miracle or .def file, it will crash whole Half-life for sure, because of wrong __stdcall calling convention. Calling convention for this function is __cdecl, which is default
.
|
|
|
|
|
Roi de France
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
|
Re: Bug in RACC Template 2 -
30-08-2004
Yep, this is one of the various bugs that were in the template 2. Hopefully the template 3 will come soon now. It has been ported to metamod hence this bug has disappeared in the process
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|
|
|
|
|
Waypointer/Moderator
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
|
Re: Bug in RACC Template 2 -
31-08-2004
Heyyo,
Is template #3 your current work, or just a small update of template #2 to entertain us while we await your next big release?
|
|
|
|
|
Roi de France
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
|
Re: Bug in RACC Template 2 -
01-09-2004
Heyyo,
option #1
To explain better I'll say that this template will feature bots that work, realize the team's objectives and all, but don't shoot at enemies. Still no combat code. It took much time to get to this little result because I wrote the code in such a way that it is now very portable among different game engines. My idea is also to propose this concept as a candidate for a portable slab for the United Bot. I'll have no trouble at all, I suppose, to have it to work in HLČ.
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|
|
|
|
|
Waypointer/Moderator
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
|
Re: Bug in RACC Template 2 -
01-09-2004
Heyyo,
cool! I'll give it a go anywho, n' try meanmod, or your ol' botaim plugins to see if that might make em' shoot... if not? *sighs* I guess I'll have to do all the killing... lmao.
[EDIT]
Hmm, I just realized it's a template... oh well, I'll try compiling it myself... lol, hopefully I can at least do that. I'm trying to learn a little C++ myself... It's a lot harder than pearl programming language to learn, that's for sure.
Last edited by MarD; 01-09-2004 at 18:53..
|
|
|
|
|
Roi de France
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
|
Re: Bug in RACC Template 2 -
02-09-2004
...won't make them shoot At all
No combat code ! They'll just gaze at you in despair and incomprehension while you'll be slaughtering them
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|
|
|
|
|
Waypointer/Moderator
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
|
Re: Bug in RACC Template 2 -
03-09-2004
Heyyo,
LMAO! I think I'll find a way to live with that. Or, if I somehow fluke out, I could try to implement the aiming code of template #2, or someother one... I'm probably thinking beyond my abilities right now.... cause I tried to compile the HPBbot complete source with metamod n' the HL SDK v2.3 rar file that you have in the filebase, n' it keeps saying that it can't find the necessary files.... the ones I loaded into the project. lol... I'm trying to use DEV C++, cause it's free, and I'm broke.
If I can't figure this out, is there any chance you can have a pre-compiled .dll file like the complete HPBbot editing rar?
[EDIT]
OOH! just thought of a good question! what program are you using to compile the dlls? and is it free?
Last edited by MarD; 03-09-2004 at 19:11..
|
|
|
|
|
Roi de France
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
|
Re: Bug in RACC Template 2 -
07-09-2004
well, it's Microsoft Visual C++... and unfortunately it's not
what is Dev C++ ? Which compiler is that ? Borland ?
I don't know the real names, only the brand names
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|
|
|
|
|
Waypointer/Moderator
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
|
Re: Bug in RACC Template 2 -
08-09-2004
Heyyo,
It's by bloodshed, check it out: http://www.bloodshed.net/devcpp.html
It seems good, but I can't compile it yet... I have yet to figure out how it works... I better start RTFM I guess.
|
|
|
|
|
Summoner
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
|
Re: Bug in RACC Template 2 -
09-09-2004
the GCC version included with Dev-C++ seems to have problem with compiling bot code.
update to GCC 3.2.3 (Note it's 3.2.3, not newer version of GCC/MingW !) first before using Dev-C++
|
|
|
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
HTML code is Off
|
|
|
Powered by vBulletin® Version 3.8.2 Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
|
|