.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 1 SDK (http://forums.bots-united.com/forumdisplay.php?f=33)
-   -   GETENTITYAPI & GETNEWDLLFUNCTIONS problem.. (http://forums.bots-united.com/showthread.php?t=1447)

sPlOrYgOn 20-04-2004 09:58

GETENTITYAPI & GETNEWDLLFUNCTIONS problem..
 
i keep getting
Quote:

dll.cpp:16: error: syntax error before `;' token
dll.cpp:17: error: syntax error before `;' token
and what is on those lines are
Quote:

extern GETENTITYAPI other_GetEntityAPI;
extern GETNEWDLLFUNCTIONS other_GetNewDLLFunctions;
the only reason i can think of why this error is occuring is that GETENTITYAPI and GETNEWDLLFUNCTIONS are not defined..
any help would be appreciated!

Pierre-Marie Baty 20-04-2004 11:11

Re: GETENTITYAPI & GETNEWDLLFUNCTIONS problem..
 
Is it in a publicly available source code that we can look up somewhere, or is this code yours ?

If it's yours, look up for the #define of these two...

botman 20-04-2004 14:59

Re: GETENTITYAPI & GETNEWDLLFUNCTIONS problem..
 
I created GETENTITYAPI and GETNEWDLLFUNCTIONS in the bot.h file of my HPB bot source code.

You're not including the bot.h file.

botman

sPlOrYgOn 20-04-2004 16:03

Re: GETENTITYAPI & GETNEWDLLFUNCTIONS problem..
 
Thanks botman I was looking everywhere for them :D
i should probably learn how to use the search function in vim :D


All times are GMT +2. The time now is 10:52.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.