Çözüldü Problem compiling the DB source

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

MIXTIX

Üye
Üye
Mesaj
33
Çözümler
1
Beğeni
12
Puan
671
Ticaret Puanı
0
Hi
I have a problem when compiling a DB source
I added an extra slot system (vegas)
But there is a problem when compiling the db source

Kod:
root@Fliege:/usr/src/Server/db/src # gmake -j4
compile Config.cpp
compile NetBase.cpp
compile Peer.cpp
compile PeerBase.cpp
compile Main.cpp
compile Lock.cpp
compile DBManager.cpp
compile Cache.cpp
compile LoginData.cpp
compile ClientManager.cpp
compile ClientManagerPlayer.cpp
compile ClientManagerLogin.cpp
compile ClientManagerBoot.cpp
ClientManagerPlayer.cpp:172:51: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
        CDBManager::instance().EscapeString(text, pkTab->newquickslot, s...
                                                         ^~~~~~~~~~~~
                                                         quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:172:79: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...pkTab->newquickslot, sizeof(pkTab->newquickslot));
                                        ^~~~~~~~~~~~
                                        quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:510:25: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
                thecore_memcpy(pkTab->newquickslot, row[col], sizeof(pkT...
                                      ^~~~~~~~~~~~
                                      quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:510:63: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...row[col], sizeof(pkTab->newquickslot));
                             ^~~~~~~~~~~~
                             quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:512:17: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
                memset(pkTab->newquickslot, 0, sizeof(pkTab->newquickslot));
                              ^~~~~~~~~~~~
                              quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:512:48: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
                memset(pkTab->newquickslot, 0, sizeof(pkTab->newquickslot));
                                                             ^~~~~~~~~~~~
                                                             quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:908:65: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...packet->player_table.newquickslot, sizeof(packet->player_table.newquicks...
                          ^~~~~~~~~~~~
                          quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:908:107: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...sizeof(packet->player_table.newquickslot));
                                 ^~~~~~~~~~~~
                                 quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
compile ClientManagerParty.cpp
8 errors generated.
gmake: *** [Makefile:66: .obj/ClientManagerPlayer.o] Error 1
gmake: *** Waiting for unfinished jobs....
root@Fliege:/usr/src/Server/db/src # gmake -j4
compile ClientManagerPlayer.cpp
compile ClientManagerGuild.cpp
compile GuildManager.cpp
compile HB.cpp
compile PrivManager.cpp
ClientManagerPlayer.cpp:172:51: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
        CDBManager::instance().EscapeString(text, pkTab->newquickslot, s...
                                                         ^~~~~~~~~~~~
                                                         quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:172:79: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...pkTab->newquickslot, sizeof(pkTab->newquickslot));
                                        ^~~~~~~~~~~~
                                        quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:510:25: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?compile MoneyLog.cpp

                thecore_memcpy(pkTab->newquickslot, row[col], sizeof(pkT...
                                      ^~~~~~~~~~~~
                                      quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:510:63: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...row[col], sizeof(pkTab->newquickslot));
                             ^~~~~~~~~~~~
                             quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:512:17: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
                memset(pkTab->newquickslot, 0, sizeof(pkTab->newquickslot));
                              ^~~~~~~~~~~~
                              quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:512:48: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
                memset(pkTab->newquickslot, 0, sizeof(pkTab->newquickslot));
                                                             ^~~~~~~~~~~~
                                                             quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:908:65: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...packet->player_table.newquickslot, sizeof(packet->player_table.newquicks...
                          ^~~~~~~~~~~~
                          quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
ClientManagerPlayer.cpp:908:107: error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
  ...sizeof(packet->player_table.newquickslot));
                                 ^~~~~~~~~~~~
                                 quickslot
./../../common/tables.h:470:14: note: 'quickslot' declared here
        TQuickslot  quickslot[QUICKSLOT_MAX_NUM];
                    ^
8 errors generated.
gmake: *** [Makefile:66: .obj/ClientManagerPlayer.o] Error 1
gmake: *** Waiting for unfinished jobs....
 
Çözüm
Kod:
error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
There is missing code in tables.h

If you have used define, make sure you have the following code.
C++:
#include "service.h"
Did you add all the codes correctly?
 
Kod:
error: no member named 'newquickslot' in
      'SPlayerTable'; did you mean 'quickslot'?
There is missing code in tables.h

If you have used define, make sure you have the following code.
C++:
#include "service.h"
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst