![]() |
Re: How to do correct movement
that are primarily compile errors, no linking errors
|
Re: How to do correct movement
There is a visual C++ .NET workspace, I guess you're still using VC 6 :) ?
edit: yeah I think there is just something missing to compile it properly. |
Re: How to do correct movement
Yeah I just got a message from my brother having the same problem, so I'm starting from a blank SDK just incase I cahnged something in the main files. Hopefully I'll have a working solution shortly.
|
Re: How to do correct movement
1 Attachment(s)
doh, something so annoying is solved by something so easy;
just add GAME_DLL to your preprocessor defines, and (fingers crossed) it should be problem sorted. |
Re: How to do correct movement
that wasnt the reason I guess ... still lots of errors
|
Re: How to do correct movement
It works for your SCBot source, but not with my bot, I get even more errors than I used to. (1761 errors to be exact!) (also seems a bit of a hack since it isn't the game dll we're building)
|
Re: How to do correct movement
that last zip file steve uploaded doesnt even work here ...
|
Re: How to do correct movement
It does work for me o_O . Just this second I just created a new Source SDK (under the name test2) and extracted the above file /|\ into the utils/SCbot dir and it compiled first time.
You will probably need to do a re-build though. The problem was in the file public/networkvar.h, on line 421 they have a preprocessor if statement which only creates the CNetworkHandleBase class if you have defined CLIENT_DLL or GAME_DLL. I didn't define either (i had modified the file in earlier attempts) but defining GAME_DLL works perfectly. |
Re: How to do correct movement
Quote:
And the only reason it's a 'hack' is because valve forces us to define one to get the Networkvar.h to compile properly. The first time I had commented the #if statement on line 421 of Networkvar.h, so I didn't need to define either DLL type. I can see your point though that I'm missleading the engine a little tiny bit. |
Re: How to do correct movement
works now, reisnatlleds the sdk again ... dunno what was the reason
|
All times are GMT +2. The time now is 02:34. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.