Jump to content

Ken

Inactive Member
  • Posts

    726
  • Joined

  • Last visited

  • Days Won

    44
  • Feedback

    0%

Everything posted by Ken

  1. 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
  2. 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
  3. If there is critical error in your syserr, paste here. Maybe i will help you. Best Regards Ellie
  4. 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
  5. Mainline equal to novaline. You don't having any problem with both Best Regards Ellie
  6. If just db appear segmantation fault error in putty, problem that hotbackup, you can re-write that line. Best Regards Ellie
  7. You are make with original source files? Best Regards Ellie
  8. Check your item_proto and refine_proto maybe there something wrong. Best Regards Ellie
  9. Have you tried to rebuild solution option? Best Regards Ellie
  10. 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
  11. All truth maybe there something in that game. You need to ask this question to his. Best Regards Ellie
  12. Is there log.txt or errorlog.txt in your metin2 folder? Because syserr nothing at the moment. Best Regards Ellie
  13. 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
  14. Then check your dll files, it's able to different. Best Regards Ellie
  15. 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
  16. Have you ever tried to change compile mode? and try with debugging mode again. Best Regards Ellie
  17. 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
  18. I use the Vanilla core Then check your binary again. Best Regards Ellie
  19. 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
  20. You did some mistake in game source file. Check it again and second picture shouldn't be. Best Regards Ellie
  21. 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
  22. I think so two solution result same but i choose my way Thanks for comment. Best Regards Ellie
×
×
  • 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.