Jump to content

freezing1

Members
  • Posts

    53
  • Joined

  • Last visited

Posts posted by freezing1

  1. 6 minutes ago, Tokei said:

    Hmm, I'm not sure I understand what you mean. What do you want to copy to the other actions?

    There were modifications in X, some is 2, others are 3 and some are 0. So I don't have the same work again.. I would like to know if there is a "ctrl + v" to paste to the rest.
    I want to copy the correction from image 1 to the rest.

    Corrected form:
    1r1Jj5v.png

    Uncorrected:
    6xn5o5G.png

  2. 36 minutes ago, Tyrfing said:

    Greetings,

    Try changing the lines 1772, 1916, 1269 that call login_log() to call login_gepard_log() instead.

    If this doesn't work, then undo these modifications and duplicate each of these lines. After that, update the second line of each so that they call login_gepard_log() instead of login_log(). Then, remove the first argument of the calls to login_log() on the line above.

    Tyrfing

    Many thanks in reply!

    On all lines it worked out login_gepard_log. With the exception of line 1916

    Here is the error: login.c: In function 'do_init':
    login.c: 1916: warning: passing argument 3 of 'login_log' makes integer from pointer without a cast
    loginlog.h: 12: note: expected 'int' but argument is of type 'char *'
    login.c: 1916: warning: passing argument 4 of 'login_log' makes pointer from integer without a cast
    loginlog.h: 12: note: expected 'const char *' but argument is of type 'int'
    login.c: 1916: error: too many arguments to function 'login_log'
    make [1]: *** [obj_sql / login.o] Error 1
    make [1]: Leaving directory `/ home / emulator / src / login '
    make: *** [login_sql] Error 2
    make: *** No rule to make target `server '. Stop.

    When I switch to login_gepard_log it gives this error:

    account.h: 162: warning: 'struct socket_data' declared inside parameter list
    account.h: 162: warning: its scope is only this definition or declaration, which is probably not what you want
    account.h: 163: warning: 'struct socket_data' declared inside parameter list
    account_sql.c: 147: warning: 'struct socket_data' declared inside parameter list
    account_sql.c: 147: error: conflicting types for 'account_gepard_check_license_version'
    account.h: 163: note: previous declaration of 'account_gepard_check_license_version' was here
    account_sql.c: In function 'account_gepard_check_license_version':
    account_sql.c: 151: error: 'is_gepard_active' undeclared (first use in this function)
    account_sql.c: 151: error: (Each undeclared identifier is reported only once
    account_sql.c: 151: error: for each function it appears in.)
    account_sql.c: 165: warning: implicit declaration of function 'gepard_send_info'
    account_sql.c: 165: error: 'GEPARD_INFO_MESSAGE' undeclared (first use in this function)
    account_sql.c: 183: error: 'min_allowed_license_version' undeclared (first use in this function)
    account_sql.c: 187: error: dereferencing pointer to incomplete type
    account_sql.c: 192: error: 'GEPARD_INFO_OLD_LICENSE_VERSION' undeclared (first use in this function)
    account_sql.c: In function 'account_gepard_update_last_unique_id':
    account_sql.c: 200: error: 'is_gepard_active' undeclared (first use in this function)
    account_sql.c: 202: warning: 'return' with a value, in return
    account_sql.c: At top level:
    account_sql.c: 217: warning: 'struct socket_data' declared inside parameter list
    account_sql.c: 217: error: conflicting types for 'account_gepard_check_unique_id'
    account.h: 162: note: previous declaration of 'account_gepard_check_unique_id' was here
    account_sql.c: In function 'account_gepard_check_unique_id':
    account_sql.c: 219: error: dereferencing pointer to incomplete type
    account_sql.c: 224: error: 'GEPARD_INFO_MESSAGE' undeclared (first use in this function)
    account_sql.c: 232: error: 'GEPARD_REASON_LENGTH' undeclared (first use in this function)
    account_sql.c: 233: error: 'GEPARD_TIME_STR_LENGTH' undeclared (first use in this function)
    account_sql.c: 240: warning: implicit declaration of function 'sscanf'
    account_sql.c: 240: warning: incompatible implicit declaration of built-in function 'sscanf'
    account_sql.c: 261: error: dereferencing pointer to incomplete type
    account_sql.c: 263: error: 'GEPARD_INFO_BANNED' undeclared (first use in this function)
    account_sql.c: In function 'account_db_sql_init':
    account_sql.c: 386: error: 'is_gepard_active' undeclared (first use in this function)
    make [1]: *** [obj_sql / account_sql.o] Error 1
    make [1]: Leaving directory `/ home / emulator / src / login '
    make: *** [login_sql] Error 2
    make: *** No rule to make target `server '. Stop.


    Account.h:
    https://pastebin.com/NWewzKqi

    Account_sql.c:
    https://pastebin.com/5vSzMZRE

    Line 1916:
    login_gepard_log(0, 0, "login server", 100, "login server started");

×
×
  • Create New...