last man standing prob :(

last man standing prob :(

Postby wyl3 » Sat Oct 27, 2007 2:42 pm

Hiya

I followed the last man standing tut
http://developer.valvesoftware.com/w...nding_Gametype

and half way through this tut (done a quick compile all was well ) you have to do this one

http://developer.valvesoftware.com/w...etting_the_map

the prob im having is a compile error
c:\src\dlls\mapfilter.h(35) : error C2976: 'CUtlSortVector' : too few template arguments

this is the 1st error, 32 in total but it's the same line you go back to when you click the errors :(
private:
// our list of entities to keep
CUtlSortVector< const char* > *keepList;

which is the bottom of the mapfilter.h file

im not sure if i have to add the keeplist to the CUtlSortVector.h file i have tried to but then get serious amount of errors.

just dont know how to add keeplist to CUtlSortVector

You can see the mapfilter.h file in the tut and i have put the CUtlSortVextor file here http://pastebin.com/f322bda40

any help or advice much appreciated
wyl3
New Blood
 
Posts: 2
Joined: Mon Sep 03, 2007 11:43 am

Re: last man standing prob :(

Postby Bob » Sun Oct 28, 2007 2:36 pm

I really dont know that can be said about that tutorial. its definitely a relic. I would suggest that you hit the dev wiki or something because those folks seem to have found some issues with it. I have no clue what is causing that one error, but if you could post the other errors i may be able to read it better. And even higher possibility if you can post code.
Bob
Site Admin
 
Posts: 252
Joined: Mon Nov 20, 2006 12:24 am
Location: San Jose California


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron