You should make sure that you have installed VS 2005 SP1 as well as this hotfix:
http://support.microsoft.com/?kbid=930198 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, October 08, 2007 5:52 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] TF2 Plugin Headstart? VEngineCvar004? Hello, i now have many errors by compiling my plugin... I hope anybody can help me! ../HL2SDK-TF2/tier1/convar.cpp In file included from ../HL2SDK-TF2/public/tier1/iconvar.h:21, from ../HL2SDK-TF2/public/tier1/convar.h:20, from ../HL2SDK-TF2/tier1/convar.cpp:13: ../HL2SDK-TF2/public/tier1/strtools.h:244: Fehler: wrong number of template arguments (1, should be 2) ../HL2SDK-TF2/public/tier1/strtools.h:24: Fehler: provided for `template<class T, class I> struct CUtlMemory' ../HL2SDK-TF2/public/tier1/strtools.h:244: Fehler: template argument 2 is invalid ../HL2SDK-TF2/public/tier1/strtools.h:247: Fehler: wrong number of template arguments (1, should be 2) ../HL2SDK-TF2/public/tier1/strtools.h:24: Fehler: provided for `template<class T, class I> struct CUtlMemory' ../HL2SDK-TF2/public/tier1/strtools.h:247: Fehler: template argument 2 is invalid In file included from ../HL2SDK-TF2/tier1/convar.cpp:15: ../HL2SDK-TF2/public/tier1/characterset.h:22: Fehler: in Konflikt stehende Deklaration »typedef struct characterset_s characterset_t« ../HL2SDK-TF2/public/tier1/convar.h:41: Fehler: »struct characterset_t« hat eine vorherige Deklaration als »struct characterset_ts« In file included from ../HL2SDK-TF2/tier1/convar.cpp:16: ../HL2SDK-TF2/public/tier1/utlbuffer.h: In member function `void CUtlBuffer::ActivateByteSwappingIfBigEndian()': ../HL2SDK-TF2/public/tier1/utlbuffer.h:153: Fehler: `IsX360' undeclared (first use this function) ../HL2SDK-TF2/public/tier1/utlbuffer.h:153: Fehler: (Each undeclared identifier is reported only once for each function it appears in.) ../HL2SDK-TF2/public/tier1/utlbuffer.h: In member function `void CUtlBuffer::GetTypeBin(T&) [with T = float]': ../HL2SDK-TF2/public/tier1/utlbuffer.h:629: Fehler: `IsX360' undeclared (first use this function) In file included from ../HL2SDK-TF2/tier1/convar.cpp:17: ../HL2SDK-TF2/public/tier1/tier1.h: In member function `virtual InitReturnVal_t CTier1AppSystem<IInterface, ConVarFlag>::Init()': ../HL2SDK-TF2/public/tier1/tier1.h:95: Fehler: »ConCommandBaseMgr« wurde nicht deklariert ../HL2SDK-TF2/public/tier1/tier1.h: In member function `virtual void CTier1AppSystem<IInterface, ConVarFlag>::Shutdown()': ../HL2SDK-TF2/public/tier1/tier1.h:104: Fehler: 'class ICvar' has no member named 'UnlinkVariables' ../HL2SDK-TF2/public/tier1/tier1.h: In member function `virtual bool CTier1AppSystem<IInterface, ConVarFlag>::RegisterConCommandBase(ConCommandBase*)': ../HL2SDK-TF2/public/tier1/tier1.h:113: Fehler: 'class ConCommandBase' has no member named 'SetNext' ../HL2SDK-TF2/public/tier1/tier1.h:116: Fehler: 'class ICvar' has no member named 'RegisterConCommandBase' ../HL2SDK-TF2/tier1/convar.cpp:18:40: tier1/convar_serverbounded.h: Datei oder Verzeichnis nicht gefunden ../HL2SDK-TF2/tier1/convar.cpp: At global scope: ../HL2SDK-TF2/tier1/convar.cpp:384: Fehler: prototype for `characterset_t* CCommand::DefaultBreakSet()' does not match any in class `CCommand' ../HL2SDK-TF2/public/tier1/convar.h:201: Fehler: candidate is: static characterset_t* CCommand::DefaultBreakSet() ../HL2SDK-TF2/tier1/convar.cpp:384: Fehler: `characterset_t* CCommand::DefaultBreakSet()' and `static characterset_t* CCommand::DefaultBreakSet()' cannot be overloaded ../HL2SDK-TF2/tier1/convar.cpp:389: Fehler: prototype for `bool CCommand::Tokenize(const char*, characterset_t*)' does not match any in class `CCommand' ../HL2SDK-TF2/public/tier1/convar.h:186: Fehler: candidate is: bool CCommand::Tokenize(const char*, characterset_t*) ../HL2SDK-TF2/tier1/convar.cpp: In function `void ConVar_PrintDescription(const ConCommandBase*)': ../HL2SDK-TF2/tier1/convar.cpp:1165: Fehler: expected primary-expression vor "const" ../HL2SDK-TF2/tier1/convar.cpp:1165: Fehler: expected `;' vor "const" ../HL2SDK-TF2/tier1/convar.cpp:1173: Fehler: `pBounded' undeclared (first use this function) make: *** [obj/plugin/tier1/convar.o] Fehler 1 I have replaced ALL files that we have on the FTP. With friendly reguards Ratman2000 ----- Original Message ----- From: "Mike Durand" <[EMAIL PROTECTED]> To: <hlcoders@list.valvesoftware.com> Sent: Wednesday, October 03, 2007 3:06 AM Subject: RE: [hlcoders] TF2 Plugin Headstart? VEngineCvar004? > Hi All- > > I decided that posting the contents of the files on the Wiki was lunacy. > So I made a new user on our FTP site that you can use to get a zip of > the headers: > > ftp.valvesoftware.com > user: sourcemod > password sourcemod > > The only file available is PluginHeaders.zip, which contains hopefully > all of the headers you will need to get a head start on updating your > plugins. If I've left any important ones please let me know. > > -Mike > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ray > Sent: Tuesday, October 02, 2007 3:10 PM > To: hlcoders@list.valvesoftware.com > Subject: Re: [hlcoders] TF2 Plugin Headstart? VEngineCvar004? > > any word on this? > > > > At 03:55 PM 9/28/2007, you wrote: > >This is a multi-part message in MIME format. > >-- > >[ Picked text/plain from multipart/alternative ] > >Yes, I'll make all of the updated headers needed for building server > >plugins available when I get back to the office on Tuesday. > > > >-Mike > > > > > >----- Original Message ----- > >From: [EMAIL PROTECTED] > ><[EMAIL PROTECTED]> > >To: hlcoders@list.valvesoftware.com <hlcoders@list.valvesoftware.com> > >Sent: Fri Sep 28 10:18:35 2007 > >Subject: Re: [hlcoders] TF2 Plugin Headstart? VEngineCvar004? > > > >-- > >[ Picked text/plain from multipart/alternative ] > >Just a gentle reminder-- any chance, Valve, that we can get the > definition > >for the VEngineCvar004? > > > >Again congrats on TF2-- I've been playing way too much of it when I > should > >be coding. > >-Mattie > > > >On 9/18/07, Mattie Casper <[EMAIL PROTECTED]> wrote: > > > > > > Just to compare notes: I had the same findings this afternoon for > (a) and > > > (b), though I didn't check out the differences in IServerGameDLL005. > As for > > > (b), that vstdlib to vstdlib_s relocation is problematic to manage > for > > > existing plugins. It's all a bit of a mess with so many things > relocated. > > > From what I can ascertain, any substantial plugin would probably > have to > > > wait for the SDK release or maybe a secondary/temporary/bridge > library to > > > cover for the missing pieces. I hope a clarification on the > > > deprecation/relocation will come with the SDK update. > > > > > > In an effort to even get a barebones VSP loaded into the TF2 server, > I cut > > > a dependency on the GetCVarIF() usage in convar.cpp (one of those > > > relocated/removed exports). After that's done, an empty plugin can > load and > > > get the majority of callbacks/interfaces from the server. > Unfortunately, > > > though, since the VEngineCvar004 interface is used by TF2, the > plugin can't > > > register console commands or variables. I wanted to request that > interface > > > because with it, it should be possible to make a a simplistic > (possibly > > > CRT-dependent) plugin as a proof-of-concept on TF2. As it stands, > all I was > > > able to prototype this afternoon was a poor cousin of a real plugin. > > > > > > Surely there are many more landmines hidden. If others uncover them, > > > please share. A lot of us are really excited about TF2 and would > > like to get > > > integrated. > > > > > > Again, Valve reps, if you get a breather, please provide the > > > VEngineCvar004 interface definition to tide us over until the SDK > > update. It > > > might not be anywhere near the whole story, but I think it could be > worth > > > the time to copy-and-paste it. > > > > > > Thanks, > > > -Mattie > > > > > > On 9/18/07, David Anderson <[EMAIL PROTECTED] > wrote: > > > > > > > > There seems to be more changes than just that; here's my cursory > > > > analysis from a whole ten minutes of looking: > > > > > > > > a) IServerGameDLL005 is not the same as IServerGameDLL005 from > the > > > > original engine (the last four functions or so are new). I didn't > check > > > > > > > > the other game-provided interfaces. > > > > > > > > b) vstdlib.dll no longer exports a whole slew of functions. It > looks > > > > like the intention was, a long time ago, to deprecate it and move > > > > exports to vstdlib_s.dll. However the current SDK defines the > imports > > > > against vstdlib.dll, so we'll need a new import library [?] or > some sort > > > > of clarification. > > > > > > > > c) It looks like mods are getting compiled with GCC4/MSVC8 now, > which > > > > is great news, but a forewarning to people who grab binary > signatures: > > > > MSVC8 has a tendency to optimize internal function calls down to a > > > > non-standard calling convention. > > > > > > > > Valve said they'd provide the changes "once the fires are put out" > or > > > > something, so those are just musings while we wait semi-patiently. > > > > > > > > --- > > > > David Anderson > > > > http://www.bailopan.net/ > > > > AlliedModders > > > > > > > > Mattie Casper wrote: > > > > > -- > > > > > [ Picked text/plain from multipart/alternative ] > > > > > Just doing some quick research and it almost looks like we could > make > > > > some > > > > > semblance of a working server plugin for TF2 if we had access to > the > > > > > definition of VEngineCvar004. > > > > > > > > > > Can we get a copy of this, even if it's not official/beta, just > for > > > > > prototyping purposes? Something along the lines of what was > posted > > > > last year > > > > > for > > > ISERVERPLUGINCALLBACKS002<http://developer.valvesoftware.com/wiki/Queryi > ng_ConVars_from_Server_Plugins> > > > >would > > > > > be great, but even something less formal would help immensely. > > > > > > > > > > Thanks in advance, and congratulations on getting the TF2 beta > out the > > > > door. > > > > > Just about everyone I've talked to has agreed that it's > impressive. > > > > > > > > > > If someone else has had better luck figuring out VEngineCvar004, > > > > please > > > > > don't hesitate to share. ;) > > > > > -Mattie > > > > > -- > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > >-- > >No virus found in this incoming message. > >Checked by AVG Free Edition. > >Version: 7.5.488 / Virus Database: 269.13.33/1034 - Release Date: > >9/27/2007 5:00 PM > > > > _______________________________________________ > 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