- Katılım
- 7 Kas 2008
- Konular
- 31
- Mesajlar
- 169
- Çözüm
- 4
- Online süresi
- 22d 1h
- Reaksiyon Skoru
- 102
- Altın Konu
- 0
- Başarım Puanı
- 129
- Yaş
- 29
- MmoLira
- 3,068
- DevLira
- 6
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, MartySama 5.8 p23'e offline shop eklemeye çalışıyorum ve her şeyi doğru ekledim fakat aşağıdaki hata geliyor, sorun ne acaba? packet.h dosyasında gerekli dosyalar var makefile'de ikarus'ların yerini falan da değiştirdim durum aynı. Yardımcı olacaklara şimdiden çok teşekkürler.
gmake[1]: Entering directory '/usr/home/source/Server/game/src'
compiling FSM.cpp
compiling MarkConvert.cpp
compiling ikarus_shop.cpp
compiling ikarus_shop_manager.cpp
In file included from ikarus_shop.cpp:3In file included from :
ikarus_shop_manager.cpp:3:
./packet.h:2320:3: error: unknown type name 'TPriceInfo'
2320 | TPriceInfo p./packet.hricestart;
| ^:
./packet.h:23202321:3: error: unknown type name 'TPriceInfo'
2321 | T
riceInfo pricend3;
| ^
:./packet.h:2332:3 : error: unknown type name 'TPriceInfo'
2332 | TPriceInfo price;
| ^
./packet.herror: unknown type name 'TPriceInfo'
2320 | TP:2336:41: error: expected class name
2336 | struct TShopItemView : public ikashop::TShopItem
| ^
riceInfo pricestart;
| ^
./packet.h:2349:20: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2349 | char seller_name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h./packet.h:2355:3: error: :2321unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?:3
: 2355 | error: TAunknown type name 'TPriceInfo'uc
t i2321o | n I nTfPor iacuecItnifoon ;pr
i c| en ^~~~~~~~~~~~d
;
| | TAdminInfo
^
./../../common/tables.h:./packet.h1228::233216::3 : note: error: 'TAdminInfo' declared here
unknown type name 'TPriceInfo' 1228
| t2332y | p e dTePfr iscterIuncfto TpArdimcien;In
f o|
^
| ^./packet.h
:2336In file included from :ikarus_shop_manager.cpp41::3 :
./packet.herror: :2356:expected class name3:
2336 | error: stunknown type name 'TPriceInfo'ru
c t2356 | T S hToPprIitceemIVnifeow b:e sptu;bl
i c| i ^k
ash./packet.ho
2363:::36T:S hoperror: Iteexpected class namem
2363| | ^s
tru./packet.hc:t2349 :T20O:f fererror: Lisuse of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'tE
l e2349m | e n tc h:a rp usbellilce rT_Onfafmeer[IOnFfFoL IN
E _| SH ^O
P_N./packet.hA:M2365E:_3M:A X_LEN];
| ^
./packet.h:2355:3: error: unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?
2355 | TAuctionInfo auction;
| ^~~~~~~~~~~~
| TAdminInfo
./../../common/tables.h:1228:16: note: 'TAdminInfo' declared here
1228 | typedef struct TAdminInfo
| ^
In file included from ikarus_shop.cpp:3:
./packet.h:2356:3: error: unknown type name 'TPriceInfo'
2356 | TPriceInfo best;
| ^
./packet.h:2363:36: error: compiling ikarus_shop_safebox.cpp
error: compiling MarkImage.cpp
expected class nameunknown type name 'TShopItem'
2363 | 2365 s | t r ucTSt TIn file included from Oikarus_shop_safebox.cppf:f3e:
rL./packet.hi:s2320t:E3l:e hopItem item;
| ^
menerror: t :unknown type name 'TPriceInfo' p
u b2320l | i c TTPOrfifceerIInnfo pricestfaor t;
| | ^
^
./packet.h:./packet.h2365::23213::3 : error: error: unknown type name 'TShopItem'unknown type name 'TPriceInfo'
2365 | 2321 | T SThPorpiIcteeImn fiot epmr;ic
e n| d; ^
| ./packet.h: ^2366
:17:./packet.h :2332:error: 3: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
error: 2366 | unknown type name 'TPriceInfo'
c h2332a | r sThPorpincaemIen[fOoF FpLrIiNcEe_SHOP_NAME_MAX_LEN];
| ^
;./packet.h:
2410 :| 3: ^
error: ./packet.h:2336unknown type name 'TShopInfo':41
: 2410 | error: TSexpected class nameho
p I2336n | f./packet.h:2366:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2366 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
os tsrhuocpt{ }T;Sh
o p| It ^e
mVi./packet.he:w2415 ::3
ublerror: ic unknown type name 'TShopInfo'ik
a s./packet.h:2410:3: error: unknown type name 'TShopInfo'
2410 | TShopInfo shop{};
| ^
2415h | o p :T:SThSohpoIpnIftoe msh
o p./packet.h:2415:3: error: unknown type name 'TShopInfo'
2415 | TShopInfo shop{};
| ^
| {} ^;
./packet.h| :2349 ^:
20:./packet.h:2431:3: ./packet.h:2431:3: error: unknown type name 'TPriceInfo'
2431 | TPriceInfo price;
| ^
error: unknown type name 'TPriceInfo'
./packet.h:2446error: :3:use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
error: 2349 | unknown type name 'TValutesInfo' c
h a2446r | s eTlVlaelru_tneasmIen[fOoF FvLaIlNuEt_eS;HO
P _| 2431 | TPriceInfo price;
| ^
NA ^M
E_./packet.hM./packet.hA:X2457_:L3E:N ];error:
| unknown type name 'TShopPlayerItem' ^
2457 | ./packet.h : 2355T:S3h
pPlerror: ayeunknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?rI
t e2355m | i tTeAmu;ct
i o| nI ^n
fo ./packet.ha:u2467c:t3i
n;error:
| unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'? ^~~~~~~~~~~~
2467 | | TAdminInfoT
Auc./../../common/tables.ht:i1228o:n16I:n fo note: au'TAdminInfo' declared herect
i o1228n | ;ty
p e| de ^~~~~~~~~~~~f
s t| ru TAdminInfoc
t T./../../common/tables.hA:d1228m:i16n:I nfonote:
'TAdminInfo' declared here |
^1228
| tIn file included from yikarus_shop_safebox.cppp:e3d:
ef./packet.h ::2356:3: error: unknown type name 'TPriceInfo'
2356 | TPriceInfo best;
| ^
2446:3struct TAdminInfo
| ^
./packet.h:2363:36: error: expected class name
2363 | struct TOfferListElement : public TOfferInfo
| ^
./packet.h:2365:3: error: unknown type name 'TShopItem'
2365 | TShopItem item;
| ^
In file included from ikarus_shop.cpp:3:
./packet.h:2484:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2484 | char name[OFFLINE_SHOP_NAME_MAX_./packet.h:2366:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2366 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
LEN];
| ^
./packet.h:2410:3: error: unknown type name 'TShopInfo'
2410 | TShopInfo shop{};
| ^
./packet.h:2571:3: error: unknown type name 'TPriceInfo'
2571 | : error: unknown type name 'TValutesInfo'
2446 | TValutesInfo valute;
| ^
TPriceInfo price;
| ^
./packet.h:2457:3: error: unknown type name 'TShopPlayerItem'
2457 | TShopPlayerItem item;
| ^
./packet.h:2583:3: error: unknown type name 'TPriceInfo'
2583 | TPriceInfo pric./packet.h:2467:3: error: unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?
2467 | TAuctionInfo auction;
| ^~~~~~~~~~~~
| TAdminInfo
./../../common/tables.h:1228:16: note: 'TAdminInfo' declared here
1228 | typedef struct TAdminInfo
| ^
e;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
./packet.h:2415:3: error: unknown type name 'TShopInfo'
2415 | TShopInfo shop{};
| ^
./packet.h:2431:3: error: unknown type name 'TPriceInfo'
2431 | TPriceInfo price;
| ^
./packet.h:2446:3: error: unknown type name 'TValutesInfo'
2446 | TValutesInfo valute;
| ^
./packet.h:2457:3: error: unknown type name 'TShopPlayerItem'
2457 | TShopPlayerItem item;
| ^
./packet.h:2467:3: In file included from ikarus_shop_manager.cpp:3:
./packet.h:2484:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2484 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
error: unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?
2467 | T./packet.h:2571:3: error: unknown type name 'TPriceInfo'
2571 | TPriceInfo price;
| ^
AuctionInfo auction./packet.h:2583:3: error: unknown type name 'TPriceInfo'
2583 | TPriceInfo price;
| ^
;
| ^~~~~~~~~~~~
| fatal error: too many errors emitted, stopping now [-ferror-limit=]
TAdminInfo
./../../common/tables.h:1228:16: note: 'TAdminInfo' declared here
1228 | typedef struct TAdminInfo
| ^
In file included from ikarus_shop_safebox.cpp:3:
./packet.h:2484:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2484 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2571:3: error: unknown type name 'TPriceInfo'
2571 | TPriceInfo price;
| ^
./packet.h:2583:3: error: unknown type name 'TPriceInfo'
2583 | TPriceInfo price;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[1]: *** [Makefile:194: .obj/ikarus_shop_safebox.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
20 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop.o] Error 1
20 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop_manager.o] Error 1
gmake[1]: Leaving directory '/usr/home/source/Server/game/src'
gmake: *** [Makefile:133: all] Error 2
root@jaguarz:/usr/home/source/Server #
root@jaguarz:/usr/home/source/Server #
gmake[1]: Entering directory '/usr/home/source/Server/game/src'
compiling FSM.cpp
compiling MarkConvert.cpp
compiling ikarus_shop.cpp
compiling ikarus_shop_manager.cpp
In file included from ikarus_shop.cpp:3In file included from :
ikarus_shop_manager.cpp:3:
./packet.h:2320:3: error: unknown type name 'TPriceInfo'
2320 | TPriceInfo p./packet.hricestart;
| ^:
./packet.h:23202321:3: error: unknown type name 'TPriceInfo'
2321 | T
riceInfo pricend3;| ^
:./packet.h:2332:3 : error: unknown type name 'TPriceInfo'
2332 | TPriceInfo price;
| ^
./packet.herror: unknown type name 'TPriceInfo'
2320 | TP:2336:41: error: expected class name
2336 | struct TShopItemView : public ikashop::TShopItem
| ^
riceInfo pricestart;
| ^
./packet.h:2349:20: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2349 | char seller_name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h./packet.h:2355:3: error: :2321unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?:3
: 2355 | error: TAunknown type name 'TPriceInfo'uc
t i2321o | n I nTfPor iacuecItnifoon ;pr
i c| en ^~~~~~~~~~~~d
;
| | TAdminInfo
^
./../../common/tables.h:./packet.h1228::233216::3 : note: error: 'TAdminInfo' declared here
unknown type name 'TPriceInfo' 1228
| t2332y | p e dTePfr iscterIuncfto TpArdimcien;In
f o|
^
| ^./packet.h
:2336In file included from :ikarus_shop_manager.cpp41::3 :
./packet.herror: :2356:expected class name3:
2336 | error: stunknown type name 'TPriceInfo'ru
c t2356 | T S hToPprIitceemIVnifeow b:e sptu;bl
i c| i ^k
ash./packet.ho
2363:::36T:S hoperror: Iteexpected class namem2363| | ^s
tru./packet.hc:t2349 :T20O:f fererror: Lisuse of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'tE
l e2349m | e n tc h:a rp usbellilce rT_Onfafmeer[IOnFfFoL IN
E _| SH ^O
P_N./packet.hA:M2365E:_3M:A X_LEN];
| ^
./packet.h:2355:3: error: unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?
2355 | TAuctionInfo auction;
| ^~~~~~~~~~~~
| TAdminInfo
./../../common/tables.h:1228:16: note: 'TAdminInfo' declared here
1228 | typedef struct TAdminInfo
| ^
In file included from ikarus_shop.cpp:3:
./packet.h:2356:3: error: unknown type name 'TPriceInfo'
2356 | TPriceInfo best;
| ^
./packet.h:2363:36: error: compiling ikarus_shop_safebox.cpp
error: compiling MarkImage.cpp
expected class nameunknown type name 'TShopItem'
2363 | 2365 s | t r ucTSt TIn file included from Oikarus_shop_safebox.cppf:f3e:
rL./packet.hi:s2320t:E3l:e hopItem item;
| ^
menerror: t :unknown type name 'TPriceInfo' p
u b2320l | i c TTPOrfifceerIInnfo pricestfaor t;
| | ^
^
./packet.h:./packet.h2365::23213::3 : error: error: unknown type name 'TShopItem'unknown type name 'TPriceInfo'
2365 | 2321 | T SThPorpiIcteeImn fiot epmr;ic
e n| d; ^
| ./packet.h: ^2366
:17:./packet.h :2332:error: 3: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
error: 2366 | unknown type name 'TPriceInfo'
c h2332a | r sThPorpincaemIen[fOoF FpLrIiNcEe_SHOP_NAME_MAX_LEN];
| ^
;./packet.h:
2410 :| 3: ^
error: ./packet.h:2336unknown type name 'TShopInfo':41
: 2410 | error: TSexpected class nameho
p I2336n | f./packet.h:2366:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2366 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
os tsrhuocpt{ }T;Sh
o p| It ^e
mVi./packet.he:w2415 ::3
ublerror: ic unknown type name 'TShopInfo'ika s./packet.h:2410:3: error: unknown type name 'TShopInfo'
2410 | TShopInfo shop{};
| ^
2415h | o p :T:SThSohpoIpnIftoe msh
o p./packet.h:2415:3: error: unknown type name 'TShopInfo'
2415 | TShopInfo shop{};
| ^
| {} ^;
./packet.h| :2349 ^:
20:./packet.h:2431:3: ./packet.h:2431:3: error: unknown type name 'TPriceInfo'
2431 | TPriceInfo price;
| ^
error: unknown type name 'TPriceInfo'
./packet.h:2446error: :3:use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
error: 2349 | unknown type name 'TValutesInfo' c
h a2446r | s eTlVlaelru_tneasmIen[fOoF FvLaIlNuEt_eS;HO
P _| 2431 | TPriceInfo price;
| ^
NA ^M
E_./packet.hM./packet.hA:X2457_:L3E:N ];error:
| unknown type name 'TShopPlayerItem' ^
2457 | ./packet.h : 2355T:S3h
pPlerror: ayeunknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?rIt e2355m | i tTeAmu;ct
i o| nI ^n
fo ./packet.ha:u2467c:t3i
n;error:| unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'? ^~~~~~~~~~~~
2467 | | TAdminInfoT
Auc./../../common/tables.ht:i1228o:n16I:n fo note: au'TAdminInfo' declared herect
i o1228n | ;ty
p e| de ^~~~~~~~~~~~f
s t| ru TAdminInfoc
t T./../../common/tables.hA:d1228m:i16n:I nfonote:
'TAdminInfo' declared here |
^1228
| tIn file included from yikarus_shop_safebox.cppp:e3d:
ef./packet.h ::2356:3: error: unknown type name 'TPriceInfo'
2356 | TPriceInfo best;
| ^
2446:3struct TAdminInfo
| ^
./packet.h:2363:36: error: expected class name
2363 | struct TOfferListElement : public TOfferInfo
| ^
./packet.h:2365:3: error: unknown type name 'TShopItem'
2365 | TShopItem item;
| ^
In file included from ikarus_shop.cpp:3:
./packet.h:2484:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2484 | char name[OFFLINE_SHOP_NAME_MAX_./packet.h:2366:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2366 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
LEN];
| ^
./packet.h:2410:3: error: unknown type name 'TShopInfo'
2410 | TShopInfo shop{};
| ^
./packet.h:2571:3: error: unknown type name 'TPriceInfo'
2571 | : error: unknown type name 'TValutesInfo'
2446 | TValutesInfo valute;
| ^
TPriceInfo price;
| ^
./packet.h:2457:3: error: unknown type name 'TShopPlayerItem'
2457 | TShopPlayerItem item;
| ^
./packet.h:2583:3: error: unknown type name 'TPriceInfo'
2583 | TPriceInfo pric./packet.h:2467:3: error: unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?
2467 | TAuctionInfo auction;
| ^~~~~~~~~~~~
| TAdminInfo
./../../common/tables.h:1228:16: note: 'TAdminInfo' declared here
1228 | typedef struct TAdminInfo
| ^
e;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
./packet.h:2415:3: error: unknown type name 'TShopInfo'
2415 | TShopInfo shop{};
| ^
./packet.h:2431:3: error: unknown type name 'TPriceInfo'
2431 | TPriceInfo price;
| ^
./packet.h:2446:3: error: unknown type name 'TValutesInfo'
2446 | TValutesInfo valute;
| ^
./packet.h:2457:3: error: unknown type name 'TShopPlayerItem'
2457 | TShopPlayerItem item;
| ^
./packet.h:2467:3: In file included from ikarus_shop_manager.cpp:3:
./packet.h:2484:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2484 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
error: unknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?
2467 | T./packet.h:2571:3: error: unknown type name 'TPriceInfo'
2571 | TPriceInfo price;
| ^
AuctionInfo auction./packet.h:2583:3: error: unknown type name 'TPriceInfo'
2583 | TPriceInfo price;
| ^
;
| ^~~~~~~~~~~~
| fatal error: too many errors emitted, stopping now [-ferror-limit=]
TAdminInfo
./../../common/tables.h:1228:16: note: 'TAdminInfo' declared here
1228 | typedef struct TAdminInfo
| ^
In file included from ikarus_shop_safebox.cpp:3:
./packet.h:2484:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2484 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2571:3: error: unknown type name 'TPriceInfo'
2571 | TPriceInfo price;
| ^
./packet.h:2583:3: error: unknown type name 'TPriceInfo'
2583 | TPriceInfo price;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[1]: *** [Makefile:194: .obj/ikarus_shop_safebox.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
20 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop.o] Error 1
20 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop_manager.o] Error 1
gmake[1]: Leaving directory '/usr/home/source/Server/game/src'
gmake: *** [Makefile:133: all] Error 2
root@jaguarz:/usr/home/source/Server #
root@jaguarz:/usr/home/source/Server #
