Results 1 to 10 of 13

Thread: libcod dont working

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Wrong: std\mysql::mysql_init();
    Correct: mysql_init();

    Don't use the std/ folder from years ago.
    timescale 0.01

  2. #2
    Private feritkkan's Avatar
    Join Date
    Jun 2016
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by kung foo man View Post
    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 ====
    /[kick them all/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •