Results 1 to 10 of 14

Thread: Compiling mysql on CENTOS

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,731
    Thanks
    17
    Thanked 1,082 Times in 683 Posts
    Confirmed starting without those 2 lines, but the fix suggested doesnt work.

    It works fine without the gsc_utils_init though, so there's definitely a problem in there.

    This works though:
    PHP Code:

    #define MAX_WEAPON_IGNORE_SIZE 20
    #define MAX_WEAPON_NAME_SIZE 32
    char defaultweapon_mp[MAX_WEAPON_NAME_SIZE];
    char ignoredWeapons[MAX_WEAPON_IGNORE_SIZE][MAX_WEAPON_NAME_SIZE];
    int ignoredWeaponCount 0;

    void gsc_utils_init() {
            
    strcpy(defaultweapon_mp, (char*)"defaultweapon_mp");
            
    defaultweapon_mp[strlen(defaultweapon_mp)] = '\0';
    }

    void gsc_utils_free() {
            
    //free(defaultweapon_mp);

    Not sure if this fucks up anything anywhere else, please advise.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. The Following 3 Users Say Thank You to IzNoGoD For This Useful Post:

    Ni3ls (21st March 2016),Paho (28th March 2016),voron00 (21st March 2016)

Posting Permissions

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