PDA

View Full Version : ERROR: function called with too many parameters



RobsoN
11th December 2016, 23:08
Hi I've tried to run my old Deathrun mod, and I got this error:



-----------------------------------
----- Server Shutdown -----
Resolving cod2master.activision.com
cod2master.activision.com resolved to 185.34.104.231:20710
Sending heartbeat to cod2master.activision.com
==== ShutdownGame ====
---------------------------
********************
ERROR: function called with too many parameters
********************
Hitch warning: 788 msec frame time


-CoD2 1.3 + kungfooman's libcod
-developer 2
-logfile 1

IzNoGoD
12th December 2016, 04:01
This is not a developer 2 error.

maxdamage99
12th December 2016, 10:39
I dont know, maybe:


thread function_name(1,2,3,4); //4 argument - excess
function_name(arg1,arg2,arg3)
{
/* ... */
/* code */
/* ... */
}

kung foo man
12th December 2016, 12:59
Maybe still using closer wrappers in .gsc?

RobsoN
12th December 2016, 16:27
Oh.. thanks you, I've completely forgotten about that. I've been just wondering why this error didn't debug(no error details).