Originally Posted by
kung foo man
Wrong: std\mysql::mysql_init();
Correct: mysql_init();
Don't use the std/ folder from years ago.
Code:
******* script runtime error *******
type int is not a vector: (file 'std/mysql.gsc', line 77)
mysql = closer(100);
*
called from:
(file 'std/mysql.gsc', line 30)
mysql = mysql_init();
*
called from:
(file 'mod/dispatcher.gsc', line 86)
std\mysql::make_global_mysql(host, user, pass, db, port);
*
called from:
(file 'mod/gametype.gsc', line 163)
thread mod\dispatcher::onStartGameType(); // 123123231
*
called from:
(file 'maps/mp/gametypes/basetdm.gsc', line 65)
mod\gametype::Callback_StartGameType(); // 123123231
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 15)
[[level.callbackStartGameType]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
CodeCallback_StartGameType()
*
************************************
********************
:@ :@
and i changed std files from your github
Code:
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: May 1 2006
******* script compile error *******
unknown function: (file 'std/mysql_debugging.gsc', line 197)
a = memory_int_get(resultIntA);
*
************************************
********************
ERROR: script compile error
(see console for details)
********************
----- Server Shutdown -----
==== ShutdownGame ====