Re: [hlcoders] filesystem_passthru.h -- IBaseFileSystem missing UnzipFile

2007-10-21 Thread David Anderson

 - I have to use eifaveV02 because new eiface does not have Cmd_Argv()

Using the new SDK headers means porting your plugin to be compatible
with said API changes.  Of course, if you use eifaceV02.h against Orange
Box, your plugin will simply crash at best.

If FCVAR_PLUGIN no longer exists, I would not redefine it.  It was
probably removed for a reason (unless Valve says otherwise).

ConCommandBaseMgr was removed, see ConVar_Register.

I've personally ported 3 plugins by now -- it's an annoying process at
first and you have to be willing to correct SDK inconsistencies on your
own.  For some generic information, see here:

http://wiki.alliedmods.net/Porting_to_Orange_Box

It's got some Metamod:Source stuff mixed in but you can ignore that.

   ---David Anderson
   http://www.bailopan.net/

[EMAIL PROTECTED] wrote:

--
[ Picked text/plain from multipart/alternative ]
Thanks, I did that and now even more errors!

- I have to use eifaveV02 because new eiface does not have Cmd_Argv()
function, using eifaceV02.h requires the need to use their namespace
before instantiating any of these classes
- utlbuffer does not define IsX360() function (had to make my own in the
file using #ifdef _XBOX)
- Keyvalues: variable reserved memset call (reserved does not exists and
didn't exist before in the old file) -- removed line
- KeyValues.cpp does not handle wasConditional boolean (had to declare it
myself before hand)
- ICVar: RegisterConCommandBase is now RegisterConCommand

after that I get 1 unresolved external GetCvarIF()

after adding the new libraries to the project I'm getting several unresolved
now:

__pfSqrt
Cvar functions

now I'm getting characterset_t already defined messages everywhere...
arggh
had to put: #include tier1/characterset.h in convar.h

- now FCVAR_PLUGIN is not defined in convar.h, had to redefine it as it was
previously (118)

and finally :

ConCommandBaseMgr does not exist anywhere, require for
server_plugin_convar.h


Urgh, anyone else sorted these new headers out into a working SDK yet?

Sorry for the rant ;)



On 10/21/07, Keeper [EMAIL PROTECTED] wrote:

I go the same error.  I just commented out that line.

Keeper

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, October 20, 2007 7:03 PM
To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] filesystem_passthru.h -- IBaseFileSystem missing
UnzipFile

--
[ Picked text/plain from multipart/alternative ]
Hello, After updating the SDK with the files from ftp.valvesoftware.com to
update my plugin code, I have hit a dilemma, where two of the files don't
match

filesystem_passthru.h:

has a function

virtual boolUnzipFile( const char *pFileName, const char
*pPath,
const char *pDestination ){  return
m_pBaseFileSystemPassThru-UnzipFile( pFileName, pPath, pDestination ); }

yet the filesystem.h file does not have this function in the
IBaseFileSystem
class,

these two headers were from the valvesoftware ftp

Can anyone locate the correct headers for me ?

thanks!
--

___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



[hlcoders] filesystem_passthru.h -- IBaseFileSystem missing UnzipFile

2007-10-20 Thread [EMAIL PROTECTED]
--
[ Picked text/plain from multipart/alternative ]
Hello, After updating the SDK with the files from ftp.valvesoftware.com to
update my plugin code, I have hit a dilemma, where two of the files don't
match

filesystem_passthru.h:

has a function

virtual boolUnzipFile( const char *pFileName, const char *pPath,
const char *pDestination ){  return
m_pBaseFileSystemPassThru-UnzipFile( pFileName, pPath, pDestination ); }

yet the filesystem.h file does not have this function in the IBaseFileSystem
class,

these two headers were from the valvesoftware ftp

Can anyone locate the correct headers for me ?

thanks!
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



RE: [hlcoders] filesystem_passthru.h -- IBaseFileSystem missing UnzipFile

2007-10-20 Thread Keeper
I go the same error.  I just commented out that line.

Keeper

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, October 20, 2007 7:03 PM
To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] filesystem_passthru.h -- IBaseFileSystem missing
UnzipFile

--
[ Picked text/plain from multipart/alternative ]
Hello, After updating the SDK with the files from ftp.valvesoftware.com to
update my plugin code, I have hit a dilemma, where two of the files don't
match

filesystem_passthru.h:

has a function

virtual boolUnzipFile( const char *pFileName, const char *pPath,
const char *pDestination ){  return
m_pBaseFileSystemPassThru-UnzipFile( pFileName, pPath, pDestination ); }

yet the filesystem.h file does not have this function in the IBaseFileSystem
class,

these two headers were from the valvesoftware ftp

Can anyone locate the correct headers for me ?

thanks!
--

___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders