freezing1 Posted June 15, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 53 Reputation: 4 Joined: 10/02/16 Last Seen: 2 hours ago Share Posted June 15, 2018 Hello, today the functor has updated Gepard 2.0 pro 3.0. But he himself went on vacation, I was without support and I'm wrong. Could anyone help? Error:https://pastebin.com/diU1TJLX loginlog.hhttps://pastebin.com/tJpW7FuC login.chttps://pastebin.com/Z8b9vaCH Quote Link to comment Share on other sites More sharing options...
0 Tyrfing Posted June 15, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 86 Reputation: 21 Joined: 10/02/13 Last Seen: October 23, 2024 Share Posted June 15, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 freezing1 Posted June 15, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 53 Reputation: 4 Joined: 10/02/16 Last Seen: 2 hours ago Author Share Posted June 15, 2018 (edited) 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"); Edited June 15, 2018 by zecabaleiro Quote Link to comment Share on other sites More sharing options...
0 maken06 Posted June 15, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 234 Reputation: 115 Joined: 02/24/15 Last Seen: March 20, 2024 Share Posted June 15, 2018 You must wait for Functor, only he can solve it 1 Quote Link to comment Share on other sites More sharing options...
0 freezing1 Posted June 15, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 53 Reputation: 4 Joined: 10/02/16 Last Seen: 2 hours ago Author Share Posted June 15, 2018 (edited) 1 minute ago, maken06 said: You must wait for Functor, only he can solve it vocation.. =/ but thank you Edited June 15, 2018 by zecabaleiro Quote Link to comment Share on other sites More sharing options...
0 Tyrfing Posted June 15, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 86 Reputation: 21 Joined: 10/02/13 Last Seen: October 23, 2024 Share Posted June 15, 2018 Please post your code. Quote Link to comment Share on other sites More sharing options...
0 freezing1 Posted June 16, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 53 Reputation: 4 Joined: 10/02/16 Last Seen: 2 hours ago Author Share Posted June 16, 2018 2 hours ago, Tyrfing said: Please post your code. PM private pls. Quote Link to comment Share on other sites More sharing options...
0 Tyrfing Posted June 19, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 86 Reputation: 21 Joined: 10/02/13 Last Seen: October 23, 2024 Share Posted June 19, 2018 Greetings, Sorry for the late reply. I saw you updated your answer. Unfortunately, I tried suggesting what I thought could fix it, based on my knowledge of C and on my intuition. I'm not an expert on Gepard Shield, so you'll have to wait for Functor. Tyrfing Quote Link to comment Share on other sites More sharing options...
0 Litro Endemic Posted June 20, 2018 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 283 Reputation: 79 Joined: 06/13/13 Last Seen: June 7, 2023 Share Posted June 20, 2018 its bunch of undeclared variable from what i seen. just declare it somewhere or wait functor Quote Link to comment Share on other sites More sharing options...
0 Vy Low Posted June 21, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 305 Reputation: 49 Joined: 03/30/13 Last Seen: 3 hours ago Share Posted June 21, 2018 (edited) functor will be back on june 23. just wait for him Edited June 21, 2018 by Vy Low Quote Link to comment Share on other sites More sharing options...
Question
freezing1
Hello, today the functor has updated Gepard 2.0 pro 3.0.
But he himself went on vacation, I was without support and I'm wrong. Could anyone help?
Error:
https://pastebin.com/diU1TJLX
loginlog.h
https://pastebin.com/tJpW7FuC
login.c
https://pastebin.com/Z8b9vaCH
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.