*Problemă/Întrebare:
Tipologie server(PvM / PvP):
*Resursă folosită: *Link exclusiv J4M* sursa/special-storage-zenu-t81425.html
*ServerFiles utilizat:
*Syserr:
char.h:407: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:408: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:409: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:410: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:411: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:412: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
In file included from OXEvent.cpp:9:
char.h:407: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:408: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:409: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:410: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:411: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
char.h:412: error: 'SPECIAL_INVENTORY_MAX_NUM' was not declared in this scope
special storage
- Ionuţ M.
-

- Mesaje: 2680
- Membru din: 28 Noi 2015, 22:02
- Aprecieri: 170
- Mulţumiri: 12723
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Mai verifica odata in common, ai omis length.h
in length.h am bagat si asta este cam tot
// Search in
enum EWindows
{
// This
BELT_INVENTORY,
// ADD AFTER
#ifdef ENABLE_SPECIAL_STORAGE
UPGRADE_INVENTORY,
BOOK_INVENTORY,
STONE_INVENTORY,
#endif
// Search in
enum EWindows
{
// This
BELT_INVENTORY,
// ADD AFTER
#ifdef ENABLE_SPECIAL_STORAGE
UPGRADE_INVENTORY,
BOOK_INVENTORY,
STONE_INVENTORY,
#endif
- Ionuţ M.
-

- Mesaje: 2680
- Membru din: 28 Noi 2015, 22:02
- Aprecieri: 170
- Mulţumiri: 12723
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Cod: Selectaţi tot
//add:
#include "service.h"
//1. Search:
BELT_INVENTORY_SLOT_COUNT = BELT_INVENTORY_SLOT_WIDTH * BELT_INVENTORY_SLOT_HEIGHT,
//1. Add after:
#ifdef ENABLE_SPECIAL_STORAGE
SPECIAL_INVENTORY_MAX_NUM = 90,
#endif
//2. Search:
DRAGON_SOUL_INVENTORY,
//2. Add after:
#ifdef ENABLE_SPECIAL_STORAGE
UPGRADE_INVENTORY,
BOOK_INVENTORY,
STONE_INVENTORY,
#endif
//3. Search:
case DRAGON_SOUL_INVENTORY:
return cell < (DRAGON_SOUL_INVENTORY_MAX_NUM);
//2. Add after:
#ifdef ENABLE_SPECIAL_STORAGE
case UPGRADE_INVENTORY:
case BOOK_INVENTORY:
case STONE_INVENTORY:
return cell < (SPECIAL_INVENTORY_MAX_NUM);
#endif
si acu astat 
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:368: error: a function-definition is not allowed here before '{' token
exchange.cpp:801: error: expected `}' at end of input
gmake: *** [OBJDIR/exchange.o] Error 1
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:368: error: a function-definition is not allowed here before '{' token
exchange.cpp:801: error: expected `}' at end of input
gmake: *** [OBJDIR/exchange.o] Error 1
- Ionuţ M.
-

- Mesaje: 2680
- Membru din: 28 Noi 2015, 22:02
- Aprecieri: 170
- Mulţumiri: 12723
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
nu merge
exchange.cpp:296: error: no 'bool CExchange::CheckSpecialStorageSpace(BYTE)' member function declared in class 'CExchange'
exchange.cpp: In member function 'bool CExchange::CheckSpecialStorageSpace(BYTE)':
exchange.cpp:311: warning: comparison is always false due to limited range of data type
exchange.cpp:328: warning: comparison is always false due to limited range of data type
exchange.cpp:349: warning: comparison is always false due to limited range of data type
gmake: *** [OBJDIR/exchange.o] Error 1
gmake: *** Waiting for unfinished jobs....
exchange.cpp:296: error: no 'bool CExchange::CheckSpecialStorageSpace(BYTE)' member function declared in class 'CExchange'
exchange.cpp: In member function 'bool CExchange::CheckSpecialStorageSpace(BYTE)':
exchange.cpp:311: warning: comparison is always false due to limited range of data type
exchange.cpp:328: warning: comparison is always false due to limited range of data type
exchange.cpp:349: warning: comparison is always false due to limited range of data type
gmake: *** [OBJDIR/exchange.o] Error 1
gmake: *** Waiting for unfinished jobs....
- Ionuţ M.
-

- Mesaje: 2680
- Membru din: 28 Noi 2015, 22:02
- Aprecieri: 170
- Mulţumiri: 12723
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Uita te aici cum sunt puse, nu am timp sa te ajut acum ca trebuie sa plec.yonr1 scrie: ↑18 Mar 2022, 19:22 nu merge
exchange.cpp:296: error: no 'bool CExchange::CheckSpecialStorageSpace(BYTE)' member function declared in class 'CExchange'
exchange.cpp: In member function 'bool CExchange::CheckSpecialStorageSpace(BYTE)':
exchange.cpp:311: warning: comparison is always false due to limited range of data type
exchange.cpp:328: warning: comparison is always false due to limited range of data type
exchange.cpp:349: warning: comparison is always false due to limited range of data type
gmake: *** [OBJDIR/exchange.o] Error 1
gmake: *** Waiting for unfinished jobs....
exchange.cpp
exchange.h
Daca tot nu reusesti, ma uit cand ajung sau ia svf asta si compara sau scoate l direct
svf-pentru-resurse/serverfiles-complet-surs-t83151.html
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Google [Bot] și 65 vizitatori
