Jump to content

Zed

Inactive Member
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Zed last won the day on April 25 2015

Zed had the most liked content!

About Zed

Informations

  • Gender
    Male

Recent Profile Visitors

733 profile views

Zed's Achievements

Apprentice

Apprentice (3/16)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

4

Reputation

  1. Yes incomplete but I want to finish
  2. 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
  3. 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' root@host:/usr/src/mainline/Srcs/Server2/game/src # root@host:/usr/src/mainline/Srcs/Server2/game/src #
  4. Yes inf is Cython Module But TKMT2; Game Revision : 2089 Client Revision : 2089 How does it do?
  5. I already tried but gave no result if I do with this makefile: how could resolve this error without deleting anything? im doing this because understand that it is possible to edit several things with new added features, such as adding new bonus vs mobs... I Dont Know Sorry :/
  6. MAKE = gmake CC = g++48 CXX = g++48 INCDIR = LIBDIR = BINDIR = .. OBJDIR = .obj GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1) BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1) P4_VERSION = 54180 $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) TARGET = $(BINDIR)/db_r$(P4_VERSION) CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_ CFLAGS += -mtune=i686 -mcpu=i686 # boost INCDIR += -I../../boost LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib ifeq ($(BSD_VERSION), 7) INCDIR += -I../../libmysql/7.x-5.1.35 LIBDIR += -L../../libmysql/7.x-5.1.35 else INCDIR += -I../../libmysql/5.x-5.1.35 LIBDIR += -L../../libmysql/5.x-5.1.35 endif LIBS = -lthecore -lsql -lpoly -lgame -lm -lz LIBDIR += -L/usr/local/lib/mysql LIBS += -lmysqlclient -lz SRCS = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp AuctionManager.cpp ProtoReader.cpp CsvReader.cpp OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o) default: $(TARGET) $(TEST_TARGET) @strip $(TEST_TARGET) $(TARGET): $(OBJS) @echo linking ... @$(CC) $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET) @touch version.cpp $(OBJDIR)/%.o: %.cpp @echo compile $< @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ $(OBJDIR)/version.o: version.cpp @$(CC) $(CFLAGS) -D__USER__="$(USER)" -D__HOSTNAME__="$(HOSTNAME)" -D__PWD__="$(PWD)" -D__P4_VERSION__="$(P4_VERSION)" -c $< -o $@ @echo compile $< $(OBJDIR): @mkdir $(OBJDIR) clean: @rm -f $(OBJS) $(BINDIR)/db_r* dep: @touch Depend makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null sinclude Depend Try This.
  7. Look Server & Client Flag Packets. packet.h , affectflag.h , instancebase.h , gamelib , gametype,h ( userinterface with gamelib )
  8. You Look input_db item_attr table ; 1,) Write Your Bonus With Query Function. 2,) Add New Function INPUTDB::GetAttrValues 3,) Add New Function Char_item Give , Put , Swap İtem Table ; example ; if (GetAttrValues()) return false;
  9. Please Clean Objdir files. And Paste Build Log
  10. inf is not value I Coding www.tkmt2.net systems. That Systems Need inf.pyc inf.pyd and inf.dll Corruppted Most Servers. ++
×
×
  • Create New...

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.