kralhakan2009 1
kralhakan2009
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Vahsi Uzman 1
Vahsi Uzman
Cannn6161 1
Cannn6161
B 1
berione65
sen272 1
sen272
Mt2Hizmet 1
Mt2Hizmet
C 1
chengdu
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Special Storage System

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

Merhaba Arkadaşlar,

Yabancı bir forumda henüz yeni paylaşılan dediğine göre hatasız çalışan ekstra envanter yani kısacası K envanter gibi ama biraz değişik ama anlarsınız.

GÖRSEL,




İNDİR:
VİRÜSTOTAL:

KANIT,

@Zurix

72a2702cae.png





Ekleyebilirsin

Sorunsuz build ettim.
Fakat sandik acarsan, itemler üst üste gelmiyor.

Hata alıyorum yardımcı olabilecek varmı ?
@BEST Production

C++:
char_item.cpp:7623:42: error: 'BOOK_INVENTORY' was not declared in this scope
      item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7625:42: error: 'STONE_INVENTORY' was not declared in this scope
      item->AddToCharacter(this, TItemPos(STONE_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7730:42: error: 'UPGRADE_INVENTORY' was not declared in this scope
     item->AddToCharacter(owner, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7732:42: error: 'BOOK_INVENTORY' was not declared in this scope
     item->AddToCharacter(owner, TItemPos(BOOK_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7734:42: error: 'STONE_INVENTORY' was not declared in this scope
     item->AddToCharacter(owner, TItemPos(STONE_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp: In member function 'int CHARACTER::CountSpecifyItem(DWORD) const':
char_item.cpp:8275:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                      ^
char_item.cpp:8286:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                      ^
char_item.cpp:8297:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                      ^
char_item.cpp: In member function 'void CHARACTER::RemoveSpecifyItem(DWORD, DWORD)':
char_item.cpp:8357:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (UINT i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp:8386:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (UINT i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp:8415:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (UINT i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp: In member function 'void CHARACTER::AutoGiveItem(LPITEM, bool)':
char_item.cpp:8556:40: error: 'UPGRADE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(UPGRADE_INVENTORY, cell));
                                        ^
char_item.cpp:8558:40: error: 'BOOK_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, cell));
                                        ^
char_item.cpp:8560:40: error: 'STONE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(STONE_INVENTORY, cell));
                                        ^
char_item.cpp: In member function 'CItem* CHARACTER::AutoGiveItem(DWORD, BYTE, int, bool)':
char_item.cpp:8607:24: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
    for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                        ^
char_item.cpp:8642:24: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
    for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                        ^
char_item.cpp:8718:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
   for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp:8808:40: error: 'UPGRADE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
                                        ^
char_item.cpp:8812:40: error: 'BOOK_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, iEmptyCell));
                                        ^
char_item.cpp:8816:40: error: 'STONE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(STONE_INVENTORY, iEmptyCell));
                                        ^
char_item.cpp:8855:25: error: qualified-id in declaration before '(' token
bool CHARACTER::GiveItem(LPCHARACTER victim, TItemPos Cell)
                         ^
char_item.cpp:9961:1: error: expected '}' at end of input
}
^
In file included from char_state.cpp:5:0:
char.h:398:21: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  LPITEM   pSSUItems[SPECIAL_INVENTORY_MAX_NUM];
                     ^
char.h:399:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  WORD   wSSUItemGrid[SPECIAL_INVENTORY_MAX_NUM];
                      ^
char.h:400:21: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  LPITEM   pSSBItems[SPECIAL_INVENTORY_MAX_NUM];
                     ^
char.h:401:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  WORD   wSSBItemGrid[SPECIAL_INVENTORY_MAX_NUM];
                      ^
char.h:402:21: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  LPITEM   pSSSItems[SPECIAL_INVENTORY_MAX_NUM];
                     ^
char.h:403:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  WORD   wSSSItemGrid[SPECIAL_INVENTORY_MAX_NUM];

Char.h >
Char_item.cpp >
 
Hata alıyorum yardımcı olabilecek varmı ?
@BEST Production

C++:
char_item.cpp:7623:42: error: 'BOOK_INVENTORY' was not declared in this scope
      item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7625:42: error: 'STONE_INVENTORY' was not declared in this scope
      item->AddToCharacter(this, TItemPos(STONE_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7730:42: error: 'UPGRADE_INVENTORY' was not declared in this scope
     item->AddToCharacter(owner, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7732:42: error: 'BOOK_INVENTORY' was not declared in this scope
     item->AddToCharacter(owner, TItemPos(BOOK_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp:7734:42: error: 'STONE_INVENTORY' was not declared in this scope
     item->AddToCharacter(owner, TItemPos(STONE_INVENTORY, iEmptyCell));
                                          ^
char_item.cpp: In member function 'int CHARACTER::CountSpecifyItem(DWORD) const':
char_item.cpp:8275:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                      ^
char_item.cpp:8286:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                      ^
char_item.cpp:8297:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                      ^
char_item.cpp: In member function 'void CHARACTER::RemoveSpecifyItem(DWORD, DWORD)':
char_item.cpp:8357:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (UINT i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp:8386:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (UINT i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp:8415:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  for (UINT i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp: In member function 'void CHARACTER::AutoGiveItem(LPITEM, bool)':
char_item.cpp:8556:40: error: 'UPGRADE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(UPGRADE_INVENTORY, cell));
                                        ^
char_item.cpp:8558:40: error: 'BOOK_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, cell));
                                        ^
char_item.cpp:8560:40: error: 'STONE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(STONE_INVENTORY, cell));
                                        ^
char_item.cpp: In member function 'CItem* CHARACTER::AutoGiveItem(DWORD, BYTE, int, bool)':
char_item.cpp:8607:24: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
    for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                        ^
char_item.cpp:8642:24: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
    for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                        ^
char_item.cpp:8718:23: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
   for (int i = 0; i < SPECIAL_INVENTORY_MAX_NUM; ++i)
                       ^
char_item.cpp:8808:40: error: 'UPGRADE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(UPGRADE_INVENTORY, iEmptyCell));
                                        ^
char_item.cpp:8812:40: error: 'BOOK_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(BOOK_INVENTORY, iEmptyCell));
                                        ^
char_item.cpp:8816:40: error: 'STONE_INVENTORY' was not declared in this scope
    item->AddToCharacter(this, TItemPos(STONE_INVENTORY, iEmptyCell));
                                        ^
char_item.cpp:8855:25: error: qualified-id in declaration before '(' token
bool CHARACTER::GiveItem(LPCHARACTER victim, TItemPos Cell)
                         ^
char_item.cpp:9961:1: error: expected '}' at end of input
}
^
In file included from char_state.cpp:5:0:
char.h:398:21: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  LPITEM   pSSUItems[SPECIAL_INVENTORY_MAX_NUM];
                     ^
char.h:399:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  WORD   wSSUItemGrid[SPECIAL_INVENTORY_MAX_NUM];
                      ^
char.h:400:21: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  LPITEM   pSSBItems[SPECIAL_INVENTORY_MAX_NUM];
                     ^
char.h:401:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  WORD   wSSBItemGrid[SPECIAL_INVENTORY_MAX_NUM];
                      ^
char.h:402:21: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  LPITEM   pSSSItems[SPECIAL_INVENTORY_MAX_NUM];
                     ^
char.h:403:22: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
  WORD   wSSSItemGrid[SPECIAL_INVENTORY_MAX_NUM];

Char.h >
Char_item.cpp >


common - length.h
arat
bool IsValidItemPosition() const

case SAFEBOX: komutun üstüne aşağıdakileri ekle

C++:
        case UPGRADE_INVENTORY:
        case BOOK_INVENTORY:
        case STONE_INVENTORY:
            return cell < (SPECIAL_INVENTORY_MAX_NUM);

Örnek:

Eğer yoksa şu aşağıda vereceğim fonskyionun içinede ekle
yine length.h içinde
enum EWindows arat


BELT_INVENTORY,

üstüne aşağıdakileri ekle

C++:
    UPGRADE_INVENTORY,
    BOOK_INVENTORY,
    STONE_INVENTORY,

Örnek :
 
Son düzenleme:
common - length.h
arat
bool IsValidItemPosition() const

case SAFEBOX: komutun üstüne aşağıdakileri ekle

C++:
        case UPGRADE_INVENTORY:
        case BOOK_INVENTORY:
        case STONE_INVENTORY:
            return cell < (SPECIAL_INVENTORY_MAX_NUM);

Örnek:

Eğer yoksa şu aşağıda vereceğim fonskyionun içinede ekle
yine length.h içinde
enum EWindows arat


BELT_INVENTORY,

üstüne aşağıdakileri ekle

C++:
    UPGRADE_INVENTORY,
    BOOK_INVENTORY,
    STONE_INVENTORY,

Örnek :

sagol yakup abi
bunu soylemeyı unutmsn baska bir filesten baktım buda varmıs

BELT_INVENTORY_SLOT_COUNT = BELT_INVENTORY_SLOT_WIDTH * BELT_INVENTORY_SLOT_HEIGHT,
ALTINA EKLENCECEK
#ifdef ENABLE_SPECIAL_STORAGE
SPECIAL_INVENTORY_MAX_NUM = 90,
#endif
 
sagol yakup abi
bunu soylemeyı unutmsn baska bir filesten baktım buda varmıs

BELT_INVENTORY_SLOT_COUNT = BELT_INVENTORY_SLOT_WIDTH * BELT_INVENTORY_SLOT_HEIGHT,
ALTINA EKLENCECEK
#ifdef ENABLE_SPECIAL_STORAGE
SPECIAL_INVENTORY_MAX_NUM = 90,
#endif

common kısmı eksik yapmışsın sorunun çözüme kavuştuysa hayırlı olsun.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst