Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/14/17 in all areas

  1. M2 Download Center Download Here ( Internal ) I go to release a simple system , to see the coins in the inventory. [Hidden Content] REMEMBER: localeInfo is from binary r28k locale is from binary r36k First, go to uiinventory.py and now search: self.wndMoneySlot = self.GetChild("Money_Slot") And down put: self.wndMds = self.GetChild("Mds") self.wndMdsSlot = self.GetChild("Mds_Slot") Now, search def Destroy(self): self.ClearDictionary() .... .... self.wndMoney = 0 self.wndMoneySlot = 0 And down put: self.wndMds = 0 self.wndMdsSlot = 0 Now, Search: def RefreshStatus(self): And change to: def RefreshStatus(self): money = player.GetElk() self.wndMoney.SetText(localeInfo.NumberToMoneyString(money)) import constInfo self.wndMds.SetText(str(constInfo.mds) + " Md's") And down Put: def OnUpdate(self): import constInfo self.wndMds.SetText(str(constInfo.mds) + " Md's") The uiinventory is finished, save and close, now go to locale/xx/ui/inventorywindow.py. Search: ## Print { "name":"Money_Slot", "type":"button", "x":-68, "y":28, "horizontal_align":"center", "vertical_align":"bottom", "default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub", "over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub", "down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub", "children" : ( { "name":"Money_Icon", "type":"image", "x":-21, "y":2, "image":"d:/ymir work/ui/game/windows/money_icon.sub", }, { "name" : "Money", "type" : "text", "x" : 5, "y" : 3, "horizontal_align" : "right", "text_horizontal_align" : "right", "text" : "123456789", }, ), }, And Down Put: { "name":"Mds_Slot", "type":"button", "x":-68, "y":48, "horizontal_align":"center", "vertical_align":"bottom", "default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub", "over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub", "down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub", "children" : ( { "name":"Mds_Icon", "type":"image", "x":-21, "y":2, "image":"d:/ymir work/ui/game/windows/money_icon.sub", }, { "name" : "Mds", "type" : "text", "x" : 5, "y" : 3, "horizontal_align" : "right", "text_horizontal_align" : "right", "text" : "123456789 Md's", }, ), }, Remember change the "x" and "y". Now, go to game.py in root. Search: def __ServerCommand_Build(self): serverCommandList={ And down put: #Carga Mds Start "Mds" : self.__Mds, #Carga Mds End and now, go to the end and put: def __Mds(self, coins): import constInfo constInfo.mds = int(coins) Save and close. Now go to constinfo.py and put mds = 0 And Here the quest: quest mds begin state start begin when login begin loop_timer("carga_mds", 10) end when carga_mds.timer begin local coins = mysql_query("SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")[1][1] cmdchat("Mds "..coins) end end end This is my release in this forum. Sorry my bad english.. I'm Spanish.
    1 point
  2. Hello guys, as you know, on the official servers was added a new system (last year i think) called Inventory Expansion System. Does anyone of you know how to obtain this system? Official server's "pack" folder may have this system, but there are much files... too much files...So... can you help me?
    1 point
  3. where is the textures from SHAMAN_LEG0_ and SHAMAN_H ? its not inside my pack PC\ymir work\pc\shaman my client different from yours syserr; 0214 19:42:08586 :: CResourceManager::GetResourcePointer: File not exist SHAMAN_H 0214 19:42:08586 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE shaman_h
    1 point
  4. Dont trust t4ump he is a thief and sold unfinish stuff
    1 point
  5. I don't watch tv ;p I don't play Metin2. Yes, I live in a cave xd
    1 point
×
×
  • 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.