Results 1 to 10 of 28

Thread: Kicking bots

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #24
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Alright so keep in mind that libcod is new for me so I don't understand it much at all.

    That being said... I have a really noob problem.

    I'm getting this when compiling;
    Code:
    ##### COMPILE cod2_1_0 GSC_PLAYER.CPP #####
    gsc_player.cpp: In function "void PlayerCmd_renamebot(int)":
    gsc_player.cpp:59:35: error: "Script_GetString" was not declared in this scope
    gsc_player.cpp:60:19: error: "MAX_STRING_CHARS" was not declared in this scope
    gsc_player.cpp:61:21: error: "userinfo" was not declared in this scope
    gsc_player.cpp:61:47: error: "getuserinfo" was not declared in this scope
    gsc_player.cpp:68:46: error: "Info_SetValueForKey" was not declared in this scope
    gsc_player.cpp:69:29: error: "setuserinfo" was not declared in this scope
    gsc_player.cpp:71:5: error: "client_t" was not declared in this scope
    gsc_player.cpp:71:15: error: "cl" was not declared in this scope
    gsc_player.cpp:71:32: error "getclient" was not declared in this scope
    So i'm guessing those functions don't exist?

    Edit: aha... looking through the q3 source code I see some of these methods... might be able to work this out
    Edit2: Yeah.. nah. Do I really have to move over all these methods from the q3 source? Some of them require more methods (Example: "getuserinfo" requires "Q_strncpyz" which requires "strncpy" etc) which is making this a mess for me to understand/work out.

    Is it possible for you to supply a precompiled version?
    Last edited by filthy_freak_; 24th May 2014 at 19:27.

Posting Permissions

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