Jump to content

EF SP SDK


  • You cannot reply to this topic

1 reply to this topic

#1 RicJh

RicJh

    New Member

  • Members
  • Pip
  • 1 posts

Posted 14 April 2010 - 04:01 PM

Hi, I recently started messing with the ef sp sdk and noticed many errors in the build process with visual 2008 express. I managed to fix many of the errors but im stuck on one \sp_mod_code\game\g_savegame.cpp(163) : error C2198: 'int (__cdecl *)(unsigned long,void *,int,void **)' : too few arguments for call, any ideas.

#2 Martin Thompson

Martin Thompson

    Member

  • Members
  • 125 posts

Posted 14 April 2010 - 06:15 PM

Yup, Download this:

http://eliteforce2.f...F_SP_Code;98267

Vincent Lammeren took the liberty to fix all those errors, that code compiles on visual 2008.
BTW, that error means (i think not sure) that you call a function with to few arguments, for example you have a function

void myfunction(int x, int y, bool test);

and you call it somewhere in your code

myfunction(12, 200);

Then you have to few arguments in your call. But since the SP code also includes some more complicated stuff, it could be something enterily different...

Just get that source code, its bugfree :)



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users