Jump to content

antrax16

Inactive Member
  • Posts

    66
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by antrax16

  1. Not work for me this function i am eroor to compile . What is problem .
  2. Hi Guys . I need the function of cmd_gm.cpp for ban and unban, I tried with the functions of the source on vanilla but give error at compile . Can you help me someone ? Thanks .
  3. cd /usr/src/Server/libthecore/src gmake clean gmake -j20 First problem is solved but i am this eroor now . /usr/bin/ld: skipping incompatible ../../../Extern/lib/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient Makefile:47: recipe for target '../db_r40146' failed gmake: *** [../db_r40146] Error 1
  4. Hey . Im try to compile db on mainline , but i am this eroor . compile Config.cpp compile NetBase.cpp compile Peer.cpp compile PeerBase.cpp compile Main.cpp compile Lock.cpp compile DBManager.cpp compile Cache.cpp compile LoginData.cpp compile ClientManager.cpp compile ClientManagerPlayer.cpp compile ClientManagerLogin.cpp compile ClientManagerBoot.cpp compile ClientManagerParty.cpp compile ClientManagerGuild.cpp compile GuildManager.cpp compile HB.cpp compile PrivManager.cpp compile MoneyLog.cpp compile ItemAwardManager.cpp compile ClientManagerEventFlag.cpp compile Marriage.cpp compile Monarch.cpp compile BlockCountry.cpp compile ItemIDRangeManager.cpp compile ClientManagerHorseName.cpp compile version.cpp compile AuctionManager.cpp compile ProtoReader.cpp compile CsvReader.cpp linking ... /usr/bin/ld: skipping incompatible ../../libthecore/lib/libthecore.a when searching for -lthecore /usr/bin/ld: cannot find -lthecore Makefile:47: recipe for target '../db_r40146' failed gmake: *** [../db_r40146] Error 1 My make file with DB. MAKE = gmake CC = g++ 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 = 40146 $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) TARGET = $(BINDIR)/db_r$(P4_VERSION) CFLAGS = -g -Wall -O2 -w -pipe -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE ifeq ($(GCC_VERSION), 4) CFLAGS += -mtune=i686 else CFLAGS += -mcpu=i686 endif # boost INCDIR += -I../../../Extern/include LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib #MySQL INCDIR += -I../../../Extern/include/mysql LIBDIR += -L../../../Extern/lib LIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -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) $(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
  5. Syron 40k bugs in this source is solved ?
  6. What bugs are present in this source ?
  7. This is original source of vanilla ? What version is it?
  8. I'm eroor of download page . www.metin3gse.ro/indeex.php (port 443) . What is problem .
  9. The only thing changed is the source of the effect on trade. I downloaded archive and forum on erhiva was included only in mainline_released source . You download the original source and try again.
  10. Hi . Today i tried to compile mainline_released source . But i am this eroor . 1- [Hidden Content] 2- [Hidden Content] 3- [Hidden Content] 4- [Hidden Content] My makefile ! [Hidden Content]
  11. Who can give me a version torrent with VDI, mega.co.nz has block at 70 % ....
  12. I use this dif . This difference file is created by The Interactive Disassembler game_r34083_32_internal_ip 00069EEB: F0 E9 00069EF0: 77 72 00069EF3: F4 03 00069EF4: 4E 4F 00069EF7: 76 77 00069EF9: 8D E9 00069EFA: B4 83 00069EFB: 26 AB 00069EFC: 00 3B 00069EFE: 00 90 00069EFF: 00 90 00145E41: F6 F5 00145E46: 82 84 00145E4C: F7 F8 00145E51: 86 84 00145E52: 00 BC 00145E53: FE FD 00145E56: 2D 3D 00145E57: F9 FF 00145E5B: 83 0F 00145E5C: F8 84 00145E5D: 02 B1 00145E5E: 89 FD 00145E5F: F6 FF 00145E60: 0F FF 00145E61: 87 3D 00145E62: AC 03 00145E63: FD 4F 00145E64: FF 00 00145E65: FF 00 00145E67: EB 0B 00145E68: FD EC 00145E69: FF 2D 00145E6A: FF 00 00424A76: 00 0F 00424A77: 00 86 00424A78: 00 DA 00424A79: 00 11 00424A7A: 00 D2 00424A7B: 00 FF 00424A7C: 00 E9 00424A7D: 00 91 00424A7E: 00 11 00424A7F: 00 D2 00424A80: 00 FF 00424A81: 00 3D 00424A82: 00 F1 00424A83: 00 4E 00424A86: 00 0F 00424A87: 00 84 00424A88: 00 88 00424A89: 00 54 00424A8A: 00 C4 00424A8B: 00 FF 00424A8C: 00 3D 00424A8D: 00 F2 00424A8E: 00 4E 00424A91: 00 0F 00424A92: 00 84 00424A93: 00 7D 00424A94: 00 54 00424A95: 00 C4 00424A96: 00 FF 00424A97: 00 3D 00424A98: 00 F3 00424A99: 00 4E 00424A9C: 00 0F 00424A9D: 00 84 00424A9E: 00 72 00424A9F: 00 54 00424AA0: 00 C4 00424AA1: 00 FF 00424AA2: 00 3D 00424AA3: 00 F4 00424AA4: 00 4E 00424AA7: 00 0F 00424AA8: 00 84 00424AA9: 00 67 00424AAA: 00 54 00424AAB: 00 C4 00424AAC: 00 FF 00424AAD: 00 3D 00424AAE: 00 F7 00424AAF: 00 4E 00424AB2: 00 0F 00424AB3: 00 84 00424AB4: 00 5C 00424AB5: 00 54 00424AB6: 00 C4 00424AB7: 00 FF 00424AB8: 00 3D 00424AB9: 00 FA 00424ABA: 00 4E 00424ABD: 00 0F 00424ABE: 00 84 00424ABF: 00 51 00424AC0: 00 54 00424AC1: 00 C4 00424AC2: 00 FF 00424AC3: 00 3D 00424AC4: 00 01 00424AC5: 00 4F 00424AC8: 00 0F 00424AC9: 00 84 00424ACA: 00 46 00424ACB: 00 54 00424ACC: 00 C4 00424ACD: 00 FF 00424ACE: 00 8D 00424ACF: 00 B4 00424AD0: 00 24 00424AD5: 00 E9 00424AD6: 00 26 00424AD7: 00 54 00424AD8: 00 C4 00424AD9: 00 FF This dif activate DMG on mounts 20110 to 20227 . Now i need a dif for this mounts 20228 to 20235 i can atack but not DMG this mount . Thanks .
  13. Hy . Today i try to add on my server moa , dragon and leopard but i have a problem . They can attack from these mounts but somehow they do not give dmg how to fix ? Im use game 34k , 8kb version .
  14. Hi guys . I try to add 4 inventory on game 40k . I added all the source of the game i compile source of game , but now i am a problem i dont now to compile client .... Can you help me .
  15. Hi guys . Ai try to add this system [Hidden Content] But i have a big problem . In my client i am this eroor . 1102 14:32:41975 :: File "networkModule.py", line 239, in SetGamePhase 1102 14:32:41975 :: File "game.py", line 137, in __init__ 1102 14:32:41976 :: File "game.py", line 2222, in __ServerCommand_Build 1102 14:32:41976 :: AttributeError 1102 14:32:41976 :: : 1102 14:32:41976 :: 'GameWindow' object has no attribute 'ZetsuGiftSystem__init__' 1102 14:32:41976 :: This is ServerCommand_Build photo in main game.py . [Hidden Content] . What is problem ? I can solve this problem ?
  16. I am this eroor . 1102 14:32:41975 :: File "networkModule.py", line 239, in SetGamePhase 1102 14:32:41975 :: File "game.py", line 137, in __init__ 1102 14:32:41976 :: File "game.py", line 2222, in __ServerCommand_Build 1102 14:32:41976 :: AttributeError 1102 14:32:41976 :: : 1102 14:32:41976 :: 'GameWindow' object has no attribute 'ZetsuGiftSystem__init__' 1102 14:32:41976 ::
  17. Yes,, This is sytem .. ---------------------------------------------------------------------------------------------------- Download this : [Hidden Content] Password is : MrAlaska32 Decrypt root! Put canal.py in root folder ! Open with notepad++ uisystem.py and searh "cancel_button" Below is .. [Hidden Content] Same us "LoadSystemMenu_ForPortal" It should look like this: Search "ClickHelpButton" and low add . [Hidden Content] It should look like this: Decript locale! In ui open systemdialog.py Change "width" si "height" with image ! Search "cancel_button" and low add . [Hidden Content] It should look like this: This sytem is created with Alaska32 .
  18. Hi guys . We have implemented a system that can change ch log out without me but.. i have a problem .. I can't close the window when i press the button x. . ... This is canal.py import ui import net import app import chat import math import wndMgr import serverInfo import background import ServerStateChecker class ChannelChanger(ui.ScriptWindow): def __init__(self): ui.ScriptWindow.__init__(self) self.__Schimbare_Canal() self.__Incarcare_Resurse() self.__Fill_Up_ChannelList() def __del__(self): ui.ScriptWindow.__del__(self) def Destroy(self): self.Hide() return TRUE def __Schimbare_Canal(self): ServerStateChecker.Create(self) self.SetSize(150, 175) self.SetPosition( (wndMgr.GetScreenWidth() / 2) - int(math.floor(self.GetWidth() / 2.)), (wndMgr.GetScreenHeight() / 2) - int(math.floor(self.GetHeight() / 2.)) ) self.AddFlag("movable") self.AddFlag("float") self.Show() def __Incarcare_Resurse(self): self.Board = ui.Board() self.Board.SetParent(self) self.Board.SetSize(self.GetWidth(), self.GetHeight()) self.Board.SetPosition(0, 0) self.Board.AddFlag("movable") self.Board.AddFlag("float") self.Board.Show() self.TitleBar = ui.TitleBar() self.TitleBar.SetParent(self.Board) self.TitleBar.SetPosition(7, 7) self.TitleBar.MakeTitleBar(self.GetWidth() - 2 * 7, 'bloodyblue') self.TitleBar.SetCloseEvent(ui.__mem_func__(self.Close)) self.TitleBar.Close() self.RefreshButton = ui.Button() self.RefreshButton.SetParent(self.TitleBar) self.RefreshButton.SetPosition(3, 3) self.RefreshButton.SetUpVisual("d:/ymir work/ui/game/guild/refresh_button_01.sub") self.RefreshButton.SetOverVisual("d:/ymir work/ui/game/guild/refresh_button_02.sub") self.RefreshButton.SetDownVisual("d:/ymir work/ui/game/guild/refresh_button_03.sub") self.RefreshButton.SetToolTipText("Refresh", 0, - 23) self.RefreshButton.SetEvent(lambda : self.__Fill_Up_ChannelList()) self.RefreshButton.Show() self.TitleText = ui.TextLine() self.TitleText.SetParent(self.TitleBar) self.TitleText.SetPosition(0, 4) self.TitleText.SetText("CH - Selectie") self.TitleText.SetWindowHorizontalAlignCenter() self.TitleText.SetHorizontalAlignCenter() self.TitleText.Show() self.ServerName = ui.TextLine() self.ServerName.SetParent(self.TitleBar) self.ServerName.SetPosition(0, self.TitleBar.GetHeight()) self.ServerName.SetText(str(net.GetServerInfo()).split(",")[0]) self.ServerName.SetWindowHorizontalAlignCenter() self.ServerName.SetHorizontalAlignCenter() self.ServerName.Show() self.ChannelListBase = ui.SlotBar() self.ChannelListBase.SetParent(self.Board) self.ChannelListBase.SetSize(self.Board.GetWidth() - 2 * 16, 5 * 18 - 4) self.ChannelListBase.SetPosition(16 , 7 + self.TitleBar.GetHeight() + 6 + 10) self.ChannelListBase.Show() self.ChannelList = ui.ListBox() self.ChannelList.SetParent(self.ChannelListBase) self.ChannelList.SetSize(self.ChannelListBase.GetWidth()- 20, self.ChannelListBase.GetHeight()) self.ChannelList.SetPosition(0, 0) self.ChannelList.SetEvent(ui.__mem_func__(self.__OnSelectChannel)) self.ChannelList.Show() self.ChangeButton = ui.Button() self.ChangeButton.SetParent(self.Board) self.ChangeButton.SetPosition(self.Board.GetWidth() / 2 - 44, self.Board.GetHeight() - 35) self.ChangeButton.SetUpVisual('d:/ymir work/ui/public/Large_button_01.sub') self.ChangeButton.SetOverVisual('d:/ymir work/ui/public/Large_button_02.sub') self.ChangeButton.SetDownVisual('d:/ymir work/ui/public/Large_button_03.sub') self.ChangeButton.SetEvent(lambda : self.__OnClickConnectButton()) self.ChangeButton.SetText("Du-te") self.ChangeButton.Show() self.DisableChangeButton() self.ChannelListScrollBar = ui.ScrollBar() self.ChannelListScrollBar.SetParent(self.ChannelListBase) self.ChannelListScrollBar.SetPosition(18, 3) self.ChannelListScrollBar.SetScrollBarSize(83) self.ChannelListScrollBar.SetWindowHorizontalAlignRight() self.ChannelListScrollBar.SetScrollEvent(ui.__mem_func__(self.__OnScrollChannelList)) self.ChannelListScrollBar.Show() def DisableChangeButton(self): self.ChangeButton.Disable() self.ChangeButton.Down() self.ChangeButton.ButtonText.SetFontColor(0.4, 0.4, 0.4) def EnableChangeButton(self): self.ChangeButton.Enable() self.ChangeButton.SetUp() self.ChangeButton.ButtonText.SetFontColor(1, 1, 1) def __GetRegionID(self): return 0 def __GetServerID(self): regionID = self.__GetRegionID() for i in serverInfo.REGION_DICT[regionID].keys(): if serverInfo.REGION_DICT[regionID][i]["name"] == net.GetServerInfo().split(",")[0]: serverID = int(i) break return serverID def __Fill_Up_ChannelList(self): self.__RequestServerStateList() self.__RefreshServerStateList() #self.ChannelList.SelectItem(0) def __RequestServerStateList(self): regionID = self.__GetRegionID() serverID = self.__GetServerID() try: channelDict = serverInfo.REGION_DICT[regionID][serverID]["channel"] except: return for id, channelDataDict in channelDict.items(): key=channelDataDict["key"] ip=channelDataDict["ip"] udp_port=channelDataDict["udp_port"] ServerStateChecker.Request(key, ip, udp_port) def __RefreshServerStateList(self): regionID = self.__GetRegionID() serverID = self.__GetServerID() bakChannelID = self.ChannelList.GetSelectedItem() self.ChannelList.ClearItem() try: channelDict = serverInfo.REGION_DICT[regionID][serverID]["channel"] except: return for channelID, channelDataDict in channelDict.items(): channelName = channelDataDict["name"] channelState = channelDataDict["state"] self.ChannelList.InsertItem(channelID, "%s %s" % (channelName, channelState)) self.ChannelList.SelectItem(bakChannelID-1) def NotifyChannelState(self, addrKey, state): try: stateName = serverInfo.STATE_DICT[state] except: stateName = serverInfo.STATE_NONE regionID = int(addrKey / 1000) serverID = int(addrKey / 10) % 100 channelID = addrKey % 10 try: serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["state"] = stateName self.__RefreshChannelStateList() except: pass def __IsSpecialMap(self): dis_maps = [ "season1/metin2_map_oxevent", "season2/metin2_map_guild_inside01", "season2/metin2_map_empirewar01", "season2/metin2_map_empirewar02", "season2/metin2_map_empirewar03", "metin2_map_dragon_timeattack_01", "metin2_map_dragon_timeattack_02", "metin2_map_dragon_timeattack_03", "metin2_map_skipia_dungeon_boss", "metin2_map_skipia_dungeon_boss2", "metin2_map_devilsCatacomb", "metin2_map_deviltower1", "metin2_map_t1", "metin2_map_t2", "metin2_map_t3", "metin2_map_t4", "metin2_map_t5", "metin2_map_wedding_01", "metin2_map_duel" ] if str(background.GetCurrentMapName()) in dis_maps: return TRUE return FALSE def __OnSelectChannel(self): if self.ChangeButton.IsDown(): self.EnableChangeButton() def __OnScrollChannelList(self): viewItemCount = self.ChannelList.GetViewItemCount() itemCount = self.ChannelList.GetItemCount() pos = self.ChannelListScrollBar.GetPos() * (itemCount - viewItemCount) self.ChannelList.SetBasePos(int(pos)) def __OnClickConnectButton(self): regionID = self.__GetRegionID() serverID = self.__GetServerID() channelID = self.ChannelList.GetSelectedItem() if not channelID: chat.AppendChat(1, "Succes!") return try: serverName = serverInfo.REGION_DICT[regionID][serverID]["name"] channelName = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["name"] addrKey = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["key"] ip = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["ip"] tcp_port = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["tcp_port"] state = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["state"] account_ip = serverInfo.REGION_AUTH_SERVER_DICT[regionID][serverID]["ip"] account_port = serverInfo.REGION_AUTH_SERVER_DICT[regionID][serverID]["port"] markKey = regionID * 1000 + serverID * 10 markAddrValue=serverInfo.MARKADDR_DICT[markKey] net.SetMarkServer(markAddrValue["ip"], markAddrValue["tcp_port"]) app.SetGuildMarkPath(markAddrValue["mark"]) app.SetGuildSymbolPath(markAddrValue["symbol_path"]) except: chat.AppendChat(1, "A aparut o eroare în timpul conexiunii!") return if state == serverInfo.STATE_NONE: chat.AppendChat(1, "Ne pare rau pentru canalul selectat nu este disponibil!") return elif state == serverInfo.STATE_DICT[3]: chat.AppendChat(1, "Ne pare rau pentru canalul selectat este plin!") return elif net.GetServerInfo().strip().split(", ")[1] == self.ChannelList.textDict[self.ChannelList.selectedLine].strip().split(" ")[0]: chat.AppendChat(1, "Sunteti deja pe canalul selectat!") return elif self.__IsSpecialMap(): chat.AppendChat(1, "Ne pare rau, în acest domeniu nu se poate schimba canalul fara deconectare!") return self.Close() net.SetServerInfo("%s, %s" % (serverName, channelName)) self.DirectConnect(ip, tcp_port, account_ip, account_port) def DirectConnect(self, ChannelIP, ChannelPort, AuthServerIP, AuthServerPort): net.SetLoginInfo(decode_string(net.ACCOUNT_ID), decode_string(net.ACCOUNT_PW)) net.ConnectToAccountServer(ChannelIP, ChannelPort, AuthServerIP, AuthServerPort) net.DirectEnter(0) net.SendSelectCharacterPacket(0) net.SendEnterGamePacket() def Show(self): ui.ScriptWindow.Show(self) def Close(self): ServerStateChecker.Destroy(self) self.Hide() return TRUE def OnPressEscapeKey(self): self.Close() return TRUE def OnUpdate(self): ServerStateChecker.Update() iom = ChannelChanger() iom.Show() chat.AppendChat(1, "#System#{Operatiunea a avut succes!}") Link with pastebin [Hidden Content]..
  19. Belt System not work . Don't go attached items in those slots be potions they have items.
  20. /ban Command not work . Appears in chat when I give / ban name. Do you own mask emotion
×
×
  • 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.