Best Studio 1
Best Studio
D 1
delimuratt
Aliyldrim 1
Aliyldrim
Mt2Hizmet 1
Mt2Hizmet
noisiv 1
noisiv
Manwe Work 1
Manwe Work
melankolıa18 1
melankolıa18
Agora Metin2 1
Agora Metin2
Cannn6161 1
Cannn6161
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Cevaplanmadı İkarus Offlineshop v2 Ultimate Build Hatası

  • Konuyu başlatan Konuyu başlatan rido1997
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 1
  • Görüntüleme Görüntüleme 146

rido1997

Level 3
TM Üye
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
Ticaret - 0%
0   0   0

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:PriceInfo 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:p2363:::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 :p 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:o pPlerror: ayeunknown type name 'TAuctionInfo'; did you mean 'TAdminInfo'?rI
t e2355m | i tTeAmu;ct
i o| nI ^n
fo ./packet.ha:u2467c:t3i:o 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 #
 
Biraz kurcaladım, şimdi aşağıdaki hatayı veriyor. Bir püf noktası falan mı var anlayamadım cidden.


compiling ikarus_shop.cpp
compiling ikarus_shop_manager.cpp
In file included from ikarus_shop_manager.cppIn file included from :2:
./../../common/tables.h:1456:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1456 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1495:12: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1495 | ikarus_shop.cpp:2:
./../../common/tables.h:1456:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1456 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
char who[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1495:12: error: ./../../common/tables.h:1496:15: error: use of undeclared identifier 'OFFLINESHOP_NOTIFICATION_FORMAT_LEN'
1496 | char format[OFFLINESHOP_NOTIFICATION_FORMAT_LEN];
| ^
./../../common/tables.h:1603:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1603 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1790:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1790 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1495 | char who[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1496:15: error: use of undeclared identifier 'OFFLINESHOP_NOTIFICATION_FORMAT_LEN'
1496 | char format[OFFLINESHOP_NOTIFICATION_FORMAT_LEN];
| ^
./../../common/tables.h:1603:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1603 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1790:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1790 | char name[OFIn file included from ikarus_shop_manager.cpp:3:
./packet.h:2350:20: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2350 | char seller_name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
FLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2367:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2367 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2485:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2485 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
In file included from ikarus_shop.cpp:3:
./packet.h:2350:20: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2350 | char seller_name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2367:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2367 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2485:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2485 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
compiling ikarus_shop_safebox.cpp
compiling MarkImage.cpp
8 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
ikarus_shop_manager.cpp:254:27: error: use of undeclared identifier 'ITEM_DS'; did you mean 'ITEM_USE'?
254 | return table->bType == ITEM_DS;
| ^~~~~~~
| ITEM_USE
./../../common/item_length.h:52:5: note: 'ITEM_USE' declared here
52 | ITEM_USE,
| ^
ikarus_shop_manager.cpp:262:111: error: use of undeclared identifier 'USE_PUT_INTO_BELT_SOCKET'; did you mean 'USE_PUT_INTO_RING_SOCKET'?
262 | return table->bType == ITEM_USE && (table->bSubType == USE_PUT_INTO_ACCESSORY_SOCKET || table->bSubType == USE_PUT_INTO_BELT_SOCKET);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| USE_PUT_INTO_RING_SOCKET
./../../common/item_length.h:230:2: note: 'USE_PUT_INTO_RING_SOCKET' declared here
230 | USE_PUT_INTO_RING_SOCKET,
| ^
ikarus_shop_manager.cpp:272:21: error: use of undeclared identifier 'ITEM_DS'; did you mean 'ITEM_USE'?
272 | if(table->bType == ITEM_DS)
| ^~~~~~~
| ITEM_USE
./../../common/item_length.h:52:5: note: 'ITEM_USE' declared here
52 | ITEM_USE,
| ^
In file included from ikarus_shop_manager.cpp:389:31: error: use of undeclared identifier 'OFFLINESHOP_MIN_OFFER_PERCENTAGE'
389 | const auto minOffer = item * OFFLINESHOP_MIN_OFFER_PERCENTAGE / 100;
| ^
ikarus_shop_safebox.cppikarus_shop_manager.cpp:502:23: error: use of undeclared identifier 'OFFLINESHOP_EXPIRING_SALE_HISTORY'
502 | if(sale.datetime + OFFLINESHOP_EXPIRING_SALE_HISTORY > currentTime)
| ^
:2:
./../../common/tables.h:1456:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1456 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1495:12: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1495 | char who[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1496:15: error: use of undeclared identifier 'OFFLINESHOP_NOTIFICATION_FORMAT_LEN'
1496 | char format[OFFLINESHOP_NOTIFICATION_FORMAT_LEN];
| ^
ikarus_shop_manager.cpp:751:70: error: use of undeclared identifier 'OFFSHOP_SEARCH_PREMIUM_TIME'
751 | ch->AddAffect(AFFECT_SEARCH_SHOP_PREMIUM, POINT_NONE, 0, AFF_NONE, OFFSHOP_SEARCH_PREMIUM_TIME, 0, false);
| ^
./../../common/tables.h:1603:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1603 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./../../common/tables.h:1790:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
1790 | char name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
In file included from ikarus_shop_safebox.cpp:3:
./packet.h:2350:20: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2350 | char seller_name[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2367:17: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2367 | char shopname[OFFLINE_SHOP_NAME_MAX_LEN];
| ^
./packet.h:2485:13: error: use of undeclared identifier 'OFFLINE_SHOP_NAME_MAX_LEN'
2485 | char name[OFFLINE_SHOP_NAME_MAX_Likarus_shop_manager.cpp:1776:25: error: use of undeclared identifier 'OFFLINESHOP_DURATION_MAX_MINUTES'
1776 | shop->ChangeDuration(OFFLINESHOP_DURATION_MAX_MINUTES);
| ^
ikarus_shop_manager.cpp:1800:77: error: use of undeclared identifier 'OFFLINESHOP_EXPIRING_SALE_HISTORY'
1800 | std::erase_if(vEN];
| ^
ector, [&currentTime](auto&& sale){ return sale.datetime + OFFLINESHOP_EXPIRING_SALE_HISTORY < currentTime; });
| ^
In file included from ikarus_shop_manager.cpp:1:
In file included from ./stdafx.h:11:
In file included from ./../../common/utils.h:4:
In file included from ../../../Extern/include/msl/utils.h:20:
In file included from /usr/include/c++/v1/string:574:
/usr/include/c++/v1/__algorithm/remove_if.h:32:12: error: no matching function for call to object of type '(lambda at ikarus_shop_manager.cpp:1800:25)'
32 | if (!__pred(*__i)) {
| ^~~~~~
/usr/include/c++/v1/vector:2923:18: note: in instantiation of function template specialization 'std::remove_if<std::__wrap_iter<ikashop::TSaleHistory *>, (lambda at ikarus_shop_manager.cpp:1800:25)>' requested here
2923 | __c.erase(std::remove_if(__c.begin(), __c.end(), __pred), __c.end());
| ^
ikarus_shop_manager.cpp:1800:8: note: in instantiation of function template specialization 'std::__1::erase_if<ikashop::TSaleHistory, std::allocator<ikashop::TSaleHistory>, (lambda at ikarus_shop_manager.cpp:1800:25)>' requested here
1800 | std::erase_if(vector, [&currentTime](auto&& sale){ return sale.datetime + OFFLINESHOP_EXPIRING_SALE_HISTORY < currentTime; });
| ^
ikarus_shop_manager.cpp:1800:25: note: candidate template ignored: substitution failure [with sale:auto = ikashop::TSaleHistory &]
1800 | std::erase_if(vector, [&currentTime](auto&& sale){ return sale.datetime + OFFLINESHOP_EXPIRING_SALE_HISTORY < currentTime; });
| ^
ikarus_shop_manager.cpp:1872:22: error: use of undeclared identifier 'OFFLINESHOP_RESTORE_DURATION_COST'
1872 | if(ch->GetGold() < OFFLINESHOP_RESTORE_DURATION_COST)
| ^
ikarus_shop_manager.cpp:1889:49: error: use of undeclared identifier 'OFFLINESHOP_RESTORE_DURATION_COST'
1889 | ch->PointChange(POINT_GOLD, -static_cast<int>(OFFLINESHOP_RESTORE_DURATION_COST));
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop_manager.o] Error 1
8 errors generated.
gmake[1]: *** [Makefile:191: .obj/ikarus_shop_safebox.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 #
 

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

Geri
Üst