-
Posts
726 -
Joined
-
Last visited
-
Days Won
44 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Ken
-
[HELP] Need autopatcher tutorial ..
Ken replied to mhmdhjere's topic in Community Support - Questions & Answers
Already there many video public on internet. You just need to some function for autopatcher but which are you want to platform? Best Regards Ellie -
[C++]Sharing libraries, LUA functions
Ken replied to Metin2 Dev's topic in Community Support - Questions & Answers
Hi Ellie, i'm using this OS and these files-> [Hidden Content] I don't sure that file. Because library files creates .cpp and .h(offset address from game).. Best Regards Ellie -
Érror invoice files. "Itens"
Ken replied to kimameixede's topic in Community Support - Questions & Answers
If there is critical error in your syserr, paste here. Maybe i will help you. Best Regards Ellie -
quest block_warpscroll begin state start begin when click with item.vnum >= 22000 and item.vnum <= 22050 begin if(item.get_sub_type() >= 3) then local index = {1,21,41} for i = 1,table.getn(index),1 do if(pc.get_map_index() >= index[i]) then syschat("You can't use to this warp scroll on this map..") return end end end end end end Best Regards Ellie
-
Mainline equal to novaline. You don't having any problem with both Best Regards Ellie
-
db-game segmentation fault (core dumped)
Ken replied to Night's topic in Community Support - Questions & Answers
If just db appear segmantation fault error in putty, problem that hotbackup, you can re-write that line. Best Regards Ellie -
[C++]Sharing libraries, LUA functions
Ken replied to Metin2 Dev's topic in Community Support - Questions & Answers
You are make with original source files? Best Regards Ellie -
Érror invoice files. "Itens"
Ken replied to kimameixede's topic in Community Support - Questions & Answers
Check your item_proto and refine_proto maybe there something wrong. Best Regards Ellie -
how turn off client version the client
Ken replied to TAUMP's topic in Community Support - Questions & Answers
Your client version is correct? -
Have you tried to rebuild solution option? Best Regards Ellie
-
40k Client New Login Interface (string.pyc) Error
Ken replied to Frenii's topic in Community Support - Questions & Answers
Run - <type 'exceptions.ImportError'>:Bad magic number in C:Users26o82o12DesktopServer 40kPatchserver ClientCrypton 2 Reloadedlibstring.pyc Are you sure you are using python27 version? If you aren't sure that file, here [Hidden Content] Best Regards Ellie -
All truth maybe there something in that game. You need to ask this question to his. Best Regards Ellie
-
And py files?
-
40k Client New Login Interface (string.pyc) Error
Ken replied to Frenii's topic in Community Support - Questions & Answers
Is there log.txt or errorlog.txt in your metin2 folder? Because syserr nothing at the moment. Best Regards Ellie -
If you are change something in include folder, and your dll is not same with them files. System appear a error on pc. Best Regards Ellie
-
Then check your dll files, it's able to different. Best Regards Ellie
-
40k Client New Login Interface (string.pyc) Error
Ken replied to Frenii's topic in Community Support - Questions & Answers
Your problem isn't string.pyc and you can put this interface and if you still having problems, paste your syserr here. Maybe i will help you Best Regards Ellie -
Have you ever tried to change compile mode? and try with debugging mode again. Best Regards Ellie
-
You need to change locale.py to localeInfo.py and which call this file, replace it. import locale : import localeInfo locale.xxx : localeInfo.xxx Best Regards Ellie
-
I use the Vanilla core Then check your binary again. Best Regards Ellie
-
Create intrologo.py and add these things ; import app import net import ui import snd import wndMgr import uiScriptLocale import localeInfo # 대부분의 실제 구현은 PythonApplicationLogo.cpp에 있다. app.SetGuildMarkPath("test") class LogoWindow(ui.ScriptWindow): # 보여 줄 동영상 목록 (배열 순서대로 보여줌) videoList = [] def __init__(self, stream): print "NEW LOGO WINDOW ----------------------------------------------------------------------------" ui.ScriptWindow.__init__(self) net.SetPhaseWindow(net.PHASE_WINDOW_LOGO, self) self.stream = stream self.playingVideo = 0 self.bNeedUpdate = TRUE self.nextLogoIndex = 0 if (localeInfo.IsEUROPE() or localeInfo.IsARABIC()) and (not localeInfo.IsCHEONMA() and not localeInfo.IsWE_KOREA()): self.videoList = ["gf.mpg", "ymir.mpg"] else: self.videoList = ["ymir.mpg"] def __del__(self): ui.ScriptWindow.__del__(self) net.SetPhaseWindow(net.PHASE_WINDOW_LOGO, 0) print "---------------------------------------------------------------------------- DELETE LOGO WINDOW" def Open(self): self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight()) self.SetWindowName("SelectLogoWindow") self.Show() self.LoadNextVideo() app.ShowCursor() print "OPEN LOGO WINDOW ----------------------------------------------------------------------------" def Close(self): print "---------------------------------------------------------------CLOSE LOGO WINDOW" app.OnLogoClose() self.KillFocus() self.Hide() app.HideCursor() # 영상 재생이 불가능한 환경이거나, 파일이 존재하지 않는 경우 introLogin으로 skip. def OnUpdate(self): if self.bNeedUpdate: if self.playingVideo == 0: if self.nextLogoIndex < len(self.videoList): self.CloseVideo() self.LoadNextVideo() else: self.bNeedUpdate = FALSE self.stream.SetLoginPhase() else: self.playingVideo = app.OnLogoUpdate() def OnRender(self): if self.playingVideo: app.OnLogoRender() def LoadNextVideo(self): if self.nextLogoIndex < len(self.videoList): self.playingVideo = app.OnLogoOpen(self.videoList[self.nextLogoIndex]) self.nextLogoIndex = self.nextLogoIndex + 1 def CloseVideo(self): app.OnLogoClose() Open networkmodule.py and search CreatePopupDialog function after add these under that ; def SetLogoPhase(self): net.Disconnect() import introLogo self.SetPhaseWindow(introLogo.LogoWindow(self)) Prototype ; You need to some file ; bdvid32.dll : for 32 bit systems.(x86) bdvid64.dll : for 64 bit systems.(x64) Best Regards Ellie
-
You did some mistake in game source file. Check it again and second picture shouldn't be. Best Regards Ellie
-
C+ Form Add this function in input_login.cpp static void _send_coins(LPCHARACTER ch) { if (ch) { SQLMsg * pMsg = DBManager::instance().DirectQuery("select coins from account%s WHERE id = %u", get_table_postfix(), ch->GetAID()); if (pMsg->Get()->uiNumRows > 0) { MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); ch->ChatPacket(CHAT_TYPE_COMMAND, "BINARY_Update_Coins %s", row[0]); delete pMsg; } } } And search ; _send_bonus_info(ch); Add this under that _send_coins(ch); Part of Python ; Add this command under "mall" "mall" : self.__InGameShop_Show, "BINARY_Update_Coins" : self.Binary_Update_Coins like this Add this function in game.py def Binary_Update_Coins(self,coins): self.wndMds.SetText(str(coins)) €dit : why is not work these commands? Open char_change_empire.cpp file and find this DWORD CHARACTER::GetAID() const { char szQuery[1024+1]; DWORD dwAID = 0; snprintf(szQuery, sizeof(szQuery), "SELECT id FROM player_index%s WHERE pid1=%u OR pid2=%u OR pid3=%u OR pid4=%u AND empire=%u", get_table_postfix(), GetPlayerID(), GetPlayerID(), GetPlayerID(), GetPlayerID(), GetEmpire()); SQLMsg* pMsg = DBManager::instance().DirectQuery(szQuery); if (pMsg != NULL) { if (pMsg->Get()->uiNumRows == 0) { M2_DELETE(pMsg); return 0; } MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); str_to_number(dwAID, row[0]); M2_DELETE(pMsg); return dwAID; } else { return 0; } } change via this DWORD CHARACTER::GetAID() const { const TAccountTable pAccountTable = GetDesc()->GetAccountTable(); if (pAccountTable.id) return pAccountTable.id; } Meanwhile add this on top. #include "desc.h" Best Regards Zerelth ~ Ellie
-
I think so two solution result same but i choose my way Thanks for comment. Best Regards Ellie