Raised This Month: $32 Target: $400
 8% 

22/08/2012 CSS Update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PMA.Predator
Member
Join Date: Jan 2012
Old 08-23-2012 , 15:22   22/08/2012 CSS Update
Reply With Quote #1

Hey! Nice to see valve have updated CSS again >.> right whilst I'm trying to sort out CS:GO :/

I've made the changes to my copy of the SDK from the changes listed here: http://hg.alliedmods.net/hl2sdks/hl2sdk-css/summary

However I keep running into this error:

Code:
error C2259: 'CBaseEntity::NetworkVar_m_Collision' : cannot instantiate abstract class
1>        due to following members:
1>        'const Vector &ICollideable::OBBMinsPreScaled(void) const' : is abstract
1>        see declaration of 'ICollideable::OBBMinsPreScaled'
1>        'const Vector &ICollideable::OBBMaxsPreScaled(void) const' : is abstract
1>        see declaration of 'ICollideable::OBBMaxsPreScaled'
I tried removing those lines but that causes my GameServerDLL to fail when loading (If those two are even linked? :s)

Any idea what's up?

Thanks
- Edd
PMA.Predator is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 08-25-2012 , 15:56   Re: 22/08/2012 CSS Update
Reply With Quote #2

Im gonna guess here (since my c++ knowledge isnt great) Are you declaring a class that inherits from ICollideable?
Dr!fter is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 08-26-2012 , 15:26   Re: 22/08/2012 CSS Update
Reply With Quote #3

You have unimplemented pure virtual functions there. You will need to find their implementation or fix the inheritance.
__________________
FaTony is offline
PMA.Predator
Member
Join Date: Jan 2012
Old 09-13-2012 , 16:39   Re: 22/08/2012 CSS Update
Reply With Quote #4

Hey,

Thanks for the replies, I've only just got around to fixing the bug, after some searching I found it was the following class which was inheriting it:

// \game\shared\collisionproperty.h
class CCollisionProperty : public ICollideable

I fixed this by adding:
virtual const Vector& OBBMinsPreScaled() const;
virtual const Vector& OBBMaxsPreScaled() const;
to lines 75 & 76. I did check in the one here: http://hg.alliedmods.net/hl2sdks/hl2sdk-css/ but the files were not updated, Not sure if it's me checking the wrong directory or just got missed

Also I had to change the following to get my plugin to load:
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL008"

Is there any way of knowing when they update these things? I was just randomly putting in 1-7 to try get it working >.<


Final question, does anyone have the latest Clantag offset values? Need to update my info file again >.>

Thanks!
- Edd
PMA.Predator is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 09-14-2012 , 08:20   Re: 22/08/2012 CSS Update
Reply With Quote #5

Quote:
Originally Posted by PMA.Predator View Post
Hey,
// \game\shared\collisionproperty.h
class CCollisionProperty : public ICollideable

I fixed this by adding:
virtual const Vector& OBBMinsPreScaled() const;
virtual const Vector& OBBMaxsPreScaled() const;
to lines 75 & 76. I did check in the one here: http://hg.alliedmods.net/hl2sdks/hl2sdk-css/ but the files were not updated, Not sure if it's me checking the wrong directory or just got missed

- Edd
I had to make the same changes as well.
Keeper is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-14-2012 , 12:25   Re: 22/08/2012 CSS Update
Reply With Quote #6

Quote:
Originally Posted by PMA.Predator View Post
Hey,

Thanks for the replies, I've only just got around to fixing the bug, after some searching I found it was the following class which was inheriting it:

// \game\shared\collisionproperty.h
class CCollisionProperty : public ICollideable

I fixed this by adding:
virtual const Vector& OBBMinsPreScaled() const;
virtual const Vector& OBBMaxsPreScaled() const;
to lines 75 & 76. I did check in the one here: http://hg.alliedmods.net/hl2sdks/hl2sdk-css/ but the files were not updated, Not sure if it's me checking the wrong directory or just got missed

Also I had to change the following to get my plugin to load:
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL008"

Is there any way of knowing when they update these things? I was just randomly putting in 1-7 to try get it working >.<


Final question, does anyone have the latest Clantag offset values? Need to update my info file again >.>

Thanks!
- Edd
win 5620
lin 5640

Also paste your code for the getting the iface.
Dr!fter is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-14-2012 , 14:37   Re: 22/08/2012 CSS Update
Reply With Quote #7

Quote:
Originally Posted by PMA.Predator View Post
Hey,

Thanks for the replies, I've only just got around to fixing the bug, after some searching I found it was the following class which was inheriting it:

// \game\shared\collisionproperty.h
class CCollisionProperty : public ICollideable

I fixed this by adding:
virtual const Vector& OBBMinsPreScaled() const;
virtual const Vector& OBBMaxsPreScaled() const;
to lines 75 & 76. I did check in the one here: http://hg.alliedmods.net/hl2sdks/hl2sdk-css/ but the files were not updated, Not sure if it's me checking the wrong directory or just got missed

Also I had to change the following to get my plugin to load:
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL008"

Is there any way of knowing when they update these things? I was just randomly putting in 1-7 to try get it working >.<


Final question, does anyone have the latest Clantag offset values? Need to update my info file again >.>

Thanks!
- Edd
Quote:
Originally Posted by Keeper View Post
I had to make the same changes as well.
With a couple of minor exceptions, we only keep the public headers up to date. Anything else has a tendency to change too frequently on active games and isn't necessarily safe to use. CCollisionProperty may be an exception to that.
psychonic is offline
PMA.Predator
Member
Join Date: Jan 2012
Old 09-14-2012 , 19:58   Re: 22/08/2012 CSS Update
Reply With Quote #8

Thanks for the offsets Dr!fter

Here's the code I use to get the interface:
pGameDLL = (IServerGameDLL*)gameServerFactory(INTERFACEV ERSION_SERVERGAMEDLL, NULL);
With this as my define:
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL008"

I can understand only keeping the main parts up to date, I image they do change a hell of a lot! Thanks for keeping it up to date though, makes plugin development so much simpler!

Thanks,
Edd
PMA.Predator is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-15-2012 , 11:40   Re: 22/08/2012 CSS Update
Reply With Quote #9

Quote:
Originally Posted by PMA.Predator View Post
Thanks for the offsets Dr!fter

Here's the code I use to get the interface:
pGameDLL = (IServerGameDLL*)gameServerFactory(INTERFACEV ERSION_SERVERGAMEDLL, NULL);
With this as my define:
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL008"

I can understand only keeping the main parts up to date, I image they do change a hell of a lot! Thanks for keeping it up to date though, makes plugin development so much simpler!

Thanks,
Edd
Oh I forgot it was a VSP. I probably cant help then . Since I never did anything with VSP's
Dr!fter is offline
PMA.Predator
Member
Join Date: Jan 2012
Old 09-19-2012 , 03:35   Re: 22/08/2012 CSS Update
Reply With Quote #10

Fair enough
PMA.Predator is offline
Reply



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


All times are GMT -4. The time now is 00:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode