Jump to content
×
×
  • Create New...
  • 0

Auction System ...


Zed

Question

services.h ;

 

#define __AUCTION__

 

Errors ;

compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
In file included from char.cpp:4:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile char_battle.cpp
In file included from char.cpp:25:
shop_manager.h:40:7: warning: no newline at end of file
In file included from char.cpp:62:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:7217: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7286:2: warning: no newline at end of file
compile char_change_empire.cpp
compile char_horse.cpp
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
compile char_item.cpp
In file included from char_horse.cpp:14:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile char_manager.cpp
compile char_quickslot.cpp
In file included from char_item.cpp:44:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: warning: no newline at end of file
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
char_resist.cpp:327:2: warning: no newline at end of file
compile PetSystem.cpp
compile cmd.cpp
char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
char.cpp:1328: warning: format '%d' expects type 'int', but argument 5 has type          'long long int'
char.cpp:1328: warning: format '%d' expects type 'int', but argument 5 has type          'long long int'
In file included from PetSystem.cpp:8:
PetSystem.h:163:31: warning: no newline at end of file
In file included from PetSystem.cpp:9:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile cmd_emotion.cpp
In file included from char_state.cpp:25:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
PetSystem.cpp:637:2: warning: no newline at end of file
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)         ':
char.cpp:3091: warning: comparison between signed and unsigned integer expressio         ns
compile cmd_general.cpp
compile cmd_gm.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHe         lper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned inte         ger expressions
In file included from cmd_general.cpp:36:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile cmd_oxevent.cpp
compile config.cpp
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYT         E, int) const':
char_item.cpp:640: warning: comparison is always false due to limited range of d         ata type
char_item.cpp:666: warning: comparison is always false due to limited range of d         ata type
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2392: warning: format '%d' expects type 'int', but argument 6 has          type 'long int'
char_item.cpp:2396: warning: format '%d' expects type 'int', but argument 6 has          type 'long int'
char_item.cpp:2408: warning: format '%d' expects type 'int', but argument 5 has          type 'long int'
char_item.cpp:2412: warning: format '%d' expects type 'int', but argument 5 has          type 'long int'
char_item.cpp:2439: warning: format '%d' expects type 'int', but argument 6 has          type 'long int'
char_item.cpp:2447: warning: format '%d' expects type 'int', but argument 5 has          type 'long int'
char_item.cpp:5110: warning: comparison between signed and unsigned integer expr         essions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5182: warning: unused variable 'wDestCell'
char_item.cpp:5183: warning: unused variable 'bDestInven'
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*,          const char*, bool, DWORD)':
PetSystem.cpp:552: warning: unused variable 'petVID'
compile constants.cpp
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6187: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(C         Item*)':
char_item.cpp:6251: warning: comparison between signed and unsigned integer expr         essions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromIte         m(CItem*)':
char_item.cpp:6263: warning: comparison between signed and unsigned integer expr         essions
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TIt         emPos&, const TItemPos&)':
char_item.cpp:7449: warning: unused variable 'itemType'
char_item.cpp:7450: warning: unused variable 'itemSubType'
compile crc32.cpp
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
compile cube.cpp
compile db.cpp
constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90
compile desc.cpp
compile desc_client.cpp
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYT         E, int) const':
char_item.cpp:679: warning: control reaches end of non-void function
compile desc_manager.cpp
compile desc_p2p.cpp
compile dev_log.cpp
In file included from desc_manager.cpp:15:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
compile dungeon.cpp
compile empire_text_convert.cpp
compile entity.cpp
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:441: warning: NULL used in arithmetic
config.cpp:465: warning: NULL used in arithmetic
config.cpp:489: warning: NULL used in arithmetic
config.cpp:511: warning: unused variable 'line'
compile entity_view.cpp
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716: warning: unused variable 'npcVNUM'
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:783: warning: comparison between signed and unsigned integer expression         s
compile event.cpp
compile event_queue.cpp
compile exchange.cpp
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4029: warning: NULL used in arithmetic
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD         , bool)':
desc_client.cpp:299: warning: comparison between signed and unsigned integer exp         ressions
compile file_loader.cpp
compile fishing.cpp
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE,          BYTE, BYTE)':
char_item.cpp:6298: warning: 'pBuff' may be used uninitialized in this function
compile gm.cpp
compile guild.cpp
compile guild_manager.cpp
compile guild_war.cpp
compile horse_rider.cpp
compile horsename_manager.cpp
compile input.cpp
compile input_auth.cpp
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function
compile input_db.cpp
cmd_gm.cpp: In function 'void do_drop_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4573: warning: 'endPos' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4451: warning: 'cell' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4071: warning: 'n' may be used uninitialized in this function
compile input_login.cpp
compile input_main.cpp
compile input_p2p.cpp
compile input_teen.cpp
In file included from input_db.cpp:13:
shop_manager.h:40:7: warning: no newline at end of file
input_db.cpp:2735:2: warning: no newline at end of file
compile input_udp.cpp
In file included from input_main.cpp:16:
shop_manager.h:40:7: warning: no newline at end of file
compile ip_ban.cpp
compile item.cpp
input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, con         st char*, char*)':
input_auth.cpp:444: warning: unused variable 'last'
compile item_addon.cpp
compile item_attribute.cpp
compile item_manager.cpp
In file included from item.cpp:22:
belt_inventory_helper.h:108:42: warning: no newline at end of file
In file included from item.cpp:23:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
item.cpp:2084:2: warning: no newline at end of file
compile item_manager_idrange.cpp
In file included from item_manager.cpp:21:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile locale.cpp
compile locale_service.cpp
compile log.cpp
input_db.cpp: In member function 'void CInputDB::PlayerLoad(DESC*, const char*)'         :
input_db.cpp:421: warning: format '%d' expects type 'int', but argument 5 has ty         pe 'long long int'
input_db.cpp:421: warning: format '%d' expects type 'int', but argument 5 has ty         pe 'long long int'
input_db.cpp: In member function 'void CInputDB::Boot(const char*)':
input_db.cpp:800: error: no matching function for call to 'AuctionManager::Boot(         const char*&)'
auction_manager.h:191: note: candidates are: void AuctionManager::Boot(const cha         r*&, WORD)
compile login_data.cpp
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*         , size_t)':
input_main.cpp:764: warning: unused variable 'len_global'
input_main.cpp:770: warning: unused variable 'len_global'
input_main.cpp:774: warning: unused variable 'len_global'
input_main.cpp:778: warning: unused variable 'len_global'
input_main.cpp:782: warning: unused variable 'len_global'
input_main.cpp:790: warning: unused variable 'len_global'
input_main.cpp:794: warning: unused variable 'len_global'
input_main.cpp:798: warning: unused variable 'len_global'
input_main.cpp:802: warning: unused variable 'len_global'
input_main.cpp:808: warning: unused variable 'len_global'
In file included from item.cpp:22:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHe         lper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned inte         ger expressions
item.h: In constructor 'CItem::CItem(DWORD)':
item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after
item.h:283: warning:   'LPEVENT CItem::m_pkExpireEvent'
item.cpp:25: warning:   when initialized here
item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':
item.cpp:1725: warning: unused variable 'vnum'
item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
item.cpp:1758: warning: comparison between signed and unsigned integer expressio         ns
item.cpp: In member function 'bool CItem::MoveToAuction()':
item.cpp:1977: error: 'm_bCell' was not declared in this scope
item.cpp: In member function 'void CItem::CopyToRawData(TPlayerItem*)':
item.cpp:1991: error: 'm_bCell' was not declared in this scope
item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
item.cpp:2014: warning: comparison between signed and unsigned integer expressio         ns
item.cpp:2016: warning: comparison between signed and unsigned integer expressio         ns
item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
item.cpp:2038: warning: comparison between signed and unsigned integer expressio         ns
item.cpp: In member function 'int CItem::GetDuration()':
item.cpp:2069: warning: array subscript has type 'char'
compile lzo_manager.cpp
item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)'         :
item_manager.cpp:604: warning: comparison between signed and unsigned integer ex         pressions
gmake: *** [OBJDIR/item.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/input_db.o] Error 1
locale_service.cpp: In function 'void __CheckPlayerSlot(const std::string&)':
locale_service.cpp:1035: warning: format '%d' expects type 'int', but argument 2          has type 'long long int'
[email protected]:/usr/src/mainline/Srcs/Server2/game/src #
ro[email protected]:/usr/src/mainline/Srcs/Server2/game/src #

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

New Error ;

item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':
item.cpp:1725: warning: unused variable 'vnum'
item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
item.cpp:1758: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'bool CItem::MoveToAuction(TItemPos, CItem*)':
item.cpp:1979: error: no matching function for call to 'CHARACTER::SetItem(WORD&, BYTE&)'
char.h:1059: note: candidates are: void CHARACTER::SetItem(TItemPos, CItem*)
item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
item.cpp:2016: warning: comparison between signed and unsigned integer expressions
item.cpp:2018: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
item.cpp:2040: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GetDuration()':
item.cpp:2071: warning: array subscript has type 'char'
compile mob_manager.cpp

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 0

      Need help with a small function

    2. 0

      How to Delay quest

    3. 0

      After choosing a character, it throws it at the login screen.

    4. 0

      Bonus Board Official like

    5. 0

      [ERROR] unfinished string , ranking quest .

    6. 0

      experience 0

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.