Jump to content

Berdinard

Inactive Member
  • Posts

    66
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Berdinard

  1. Use this MakeFile PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1) 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 = 40250 CC = g++ INCDIR = LIBDIR = BINDIR = .. OBJDIR = .obj $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) # Standard Setting LIBS = -pthread -lm -lmd # Removed -fno-rtti CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_ ifeq ($(GCC_VERSION), 4) CFLAGS += -mtune=i686 -fstack-protector-all else CFLAGS += -mcpu=i686 endif # boost INCDIR += -I../../../Extern/include/boost # DevIL INCDIR += -I../../libdevil LIBDIR += -L../../libdevil LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg # MySQL #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 += -lmysqlclient -L/usr/local/lib/mysql -lz # Miscellaneous external libraries INCDIR += -I../../../Extern/include LIBDIR += -L../../../Extern/lib LIBS += -lcryptopp -lgtest # openssl #INCDIR += -I/usr/include #LIBS += -lssl #LIBS += /usr/lib/libssl.a # Project Library INCDIR += -I../../liblua/include INCDIR += -I/usr/local/include INCDIR += -L/usr/local/lib/mysql INCDIR += -I../../libserverkey LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey LIBDIR += -L/usr/local/lib LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey USE_STACKTRACE = 0 ifeq ($(USE_STACKTRACE), 1) LIBS += /usr/local/lib/libexecinfo.a endif TARGET = $(BINDIR)/db_r$(P4_VERSION)_$(PLATFORM) 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) $(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__P4_VERSION__="$(SVN_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
  2. Hy dev's ! I have a problem with skill's effect from lycan.. With Red Wolf Soul: doesn't appear With Indigo wolf soul: [Hidden Content] Can give someone the part off effects or a hint?
  3. Try to put weapon_claw under all categories of weapon.
  4. When i go to house i make a tutorial for. Txt in server for you.
  5. No.. Is mainline_relesed. I copied everything related to wolfman from dev_wolf_branch..
  6. Hello Metin2Dev ! I have a problem with wolfman skills . When login is set pc.set_skill_group(1) .. My question is.. why can not raise skills? Where is the problem?
  7. Doesnt work Thanks for reply. EDIT: SOLVED # [Hidden Content]
  8. Hey metin2dev ! I have again a problem with 5th caracther.. The caracther show with skill warrior. How can I make it look's additional skills? I know the problem is in client binary, but ... I added skill wolfman in PythonSkill.cpp and PythonSkill.h. Does anyone know how I can fix?
  9. The problem is in game core. You have to do a diff. In char_item.cpp is problem.
  10. Add python22.lib to lib_stuff and add /SAFESAH:NO to additional options
  11. That was not my question Finally, we solved In Packet.h in client source this: PLAYER_PER_ACCOUNT4 = 4, to this PLAYER_PER_ACCOUNT4 = 5, in root: İntroselect.py - SLOT_COUNT = 5 in server Game and DB and Common add : pid5 Game: #char_change_empire.cpp "SELECT id, pid1, pid2, pid3, pid4 FROM player_index%s WHERE pid1=%u OR pid2=%u OR pid3=%u OR pid4=%u AND empire=%u", replace "SELECT id, pid1, pid2, pid3, pid4, pid5 FROM player_index%s WHERE pid1=%u OR pid2=%u OR pid3=%u OR pid4=%u OR pid5=%u AND empire=%u", #locale_services.cpp if (PLAYER_PER_ACCOUNT != 4) replace if (PLAYER_PER_ACCOUNT != 5) COMMON #length.h PLAYER_PER_ACCOUNT = 4 replace PLAYER_PER_ACCOUNT = 5 DB: #Clientmanager.cpp "SELECT pid1, pid2, pid3, pid4 FROM player_index%s WHERE id=%u", GetTablePostfix(), p->dwAccountID); replace "SELECT pid1, pid2, pid3, pid4, pid5 FROM player_index%s WHERE id=%u", GetTablePostfix(), p->dwAccountID); and "(b.pid1=%u OR b.pid2=%u OR b.pid3=%u OR b.pid4=%u)", replace "(b.pid1=%u OR b.pid2=%u OR b.pid3=%u OR b.pid4=%u OR b.pid5=%u)", #ClientManagerLogin.cpp snprintf(szQuery, sizeof(szQuery), "SELECT pid1, pid2, pid3, pid4, empire FROM player_index%s WHERE id=%u", GetTablePostfix(), r.id); replace snprintf(szQuery, sizeof(szQuery), "SELECT pid1, pid2, pid3, pid4, pid5, empire FROM player_index%s WHERE id=%u", GetTablePostfix(), r.id); and snprintf(szQuery, sizeof(szQuery), "SELECT pid1, pid2, pid3, pid4, empire FROM player_index%s WHERE id=%u", GetTablePostfix(), account_id); replace snprintf(szQuery, sizeof(szQuery), "SELECT pid1, pid2, pid3, pid4, pid5, empire FROM player_index%s WHERE id=%u", GetTablePostfix(), account_id); and snprintf(szQuery, sizeof(szQuery), "SELECT pid1, pid2, pid3, pid4, empire FROM player_index%s WHERE id=%u", GetTablePostfix(), replace snprintf(szQuery, sizeof(szQuery), "SELECT pid1, pid2, pid3, pid4, pid5, empire FROM player_index%s WHERE id=%u", GetTablePostfix(), Navicat > Player_index add : pid5
  12. Add /SAFESEH:NO to adittional Options
  13. Hey metin2dev ! I have a problem with 5th slot. [Hidden Content] I press ENTER and open the character creation interface. [Hidden Content] The problem is that I can not create a character on 5th slot. [Hidden Content] Is there any solution? Thanks in advance.
  14. Hello metin2dev. I have a problem with left hand at wolfman. The weapon dont appear. Img: Do you know what could have?
  15. I changed packet point and packet_points_change in game and launcher with long long. And stuck at loading bar. Syserr client: 1202 10:11:15670 :: Phase Select does not handle this header (header: 124, last: 17, 124) What we did wrong?
  16. Put in place MAIN_RACE_MAX_NUM = 8 in MAIN_RACE_MAX_NUM = 9 in your launcher.
  17. For solve this error Error 10 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(cryptlib.obj) UserInterface Error 11 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(cryptlib.obj) UserInterface Error 12 error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(integer.obj) UserInterface Error 13 error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(integer.obj) UserInterface Put this files in lib_stuff folder. [Hidden Content]
×
×
  • 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.