Jump to content
  • 0

Gepard 3.0


freezing1

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

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 by zecabaleiro
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  234
  • Reputation:   113
  • Joined:  02/24/15
  • Last Seen:  

You must wait for Functor, only he can solve it

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

1 minute ago, maken06 said:

You must wait for Functor, only he can solve it

vocation.. =/
but thank you ❤️

Edited by zecabaleiro
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

Please post your code.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   4
  • Joined:  10/02/16
  • Last Seen:  

2 hours ago, Tyrfing said:

Please post your code.

PM private pls.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

its bunch of undeclared variable from what i seen. just declare it somewhere or wait functor

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  298
  • Reputation:   47
  • Joined:  03/30/13
  • Last Seen:  

functor will be back on june 23. just wait for him

Edited by Vy Low
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...