Sebypunct
-
Posts
54 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Sebypunct
-
-
Acum 3 ore, charparodar a spus:
I updated just now with the last icons from metin2 on steam
thanks again good work
-
Acum 12 ore, charparodar a spus:
I canceled the host of that domain (I couldn't pay for it), I'll look for some free host just to host that database...
EDIT: Here it is: https://m2icondb.000webhostapp.com/
nicee thanks man , if you want , add new item's please
-
new link , domain expired :-s
-
Nice , thanks
-
Acum 4 ore, Mali61 a spus:
can you put here there "details" ?
-
same steps in ItemCSVReader.cpp
what same steps ?
-
Acum 35 minute, xP3NG3Rx a spus:
Yeah, because he forgot the other parts of the protoreader(arrays for subtype).
and...can you help me with there part ?
-
Acum 17 ore, Johnny69 a spus:
This item type is the new type from official servers used for battle boxes and recently for boss chest and fish event boxes. You can open boxes few times (set in item_proto).
1. You can use macro ENABLE_BATTLE_FIELD because was added with battle zone.
2. Number of openings is in item_proto -> LimitValue1 (Like official)
Let's start:
Server Source Part:
#db\src\ProtoReader.cpp //Search: "ITEM_BELT", //Add after: "ITEM_GACHA" #common\item_length.h //Search: ITEM_BELT, //Add after: ITEM_GACHA, #game\src\item_manager.cpp //Search: if (id == 0) //Add before: (be careful , before) if(item->GetType() == ITEM_GACHA) item->SetSocket(0, item->GetLimitValue(1)); #game\src\char_item.cpp //Search: (CHARACTER::UseItemEx) case ITEM_EXTRACT: ... break; //Add after: case ITEM_GACHA: { DWORD dwBoxVnum = item->GetVnum(); std::vector <DWORD> dwVnums; std::vector <DWORD> dwCounts; std::vector <LPITEM> item_gets(0); int count = 0; if (GiveItemFromSpecialItemGroup(dwBoxVnum, dwVnums, dwCounts, item_gets, count)) { if(item->GetSocket(0) > 1) item->SetSocket(0, item->GetSocket(0) - 1); else ITEM_MANAGER::instance().RemoveItem(item, "REMOVE (ITEM_GACHA)"); } } break;
Client Source Part:
#GameLib\ItemData.h //Search: ITEM_TYPE_BELT, //Add after: ITEM_TYPE_GACHA, #UserInterface\PythonItemModule.cpp //Search: PyModule_AddIntConstant(poModule, "ITEM_TYPE_BELT", CItemData::ITEM_TYPE_BELT); //Add after: PyModule_AddIntConstant(poModule, "ITEM_TYPE_GACHA", CItemData::ITEM_TYPE_GACHA);
Client root part:
#root\uitooltip.py #Search: elif item.ITEM_TYPE_FISH == itemType: if 0 != metinSlot: self.__AppendFishInfo(metinSlot[0]) #Add after: ### Gacha = Battle Shop Chest ### if item.ITEM_TYPE_GACHA == itemType: if 0 != metinSlot: if self.isShopItem: restUsableCount = int(item.GetLimit(1)[1]) else: restUsableCount = int(metinSlot[0]) self.AppendSpace(5) self.AppendTextLine(localeInfo.TOOLTIP_REST_USABLE_COUNT % (restUsableCount), grp.GenerateColor(0.5, 1.0, 0.3, 1.0))
Client locale part:
#locale_game.txt #Add: TOOLTIP_REST_USABLE_COUNT Left: %d
Server Item_proto example:
25111 fish 보상상자 ITEM_GACHA 0 1 NONE NONE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 1 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0 12 25112 fish 보상상자 ITEM_GACHA 0 1 NONE NONE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 2 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0 12 25113 fish 보상상자 ITEM_GACHA 0 1 NONE NONE NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 3 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0 12
can you help me ? because for me , not work.
-
need src part
-
same questions
-
-
-
Acum 47 minute, mateo7788 a spus:
import net, constInfo, ui, background, time, chat class Zmiana_Kanalu(ui.Window): def __init__(self): ui.Window.__init__(self) def __del__(self): ui.Window.__del__(self) def Open(self): self.vegas_change = ui.BoardWithTitleBar() self.vegas_change.AddFlag("movable") self.vegas_change.AddFlag("float") self.vegas_change.SetTitleName("Zmiana Kanału") self.vegas_change.SetCloseEvent(self.Close) x = 0 self.channel_list = [] for ch in xrange(4): #Nr of channels channel_button = ui.Button() channel_button.SetParent(self.vegas_change) channel_button.SetSize(100, 100) channel_button.SetPosition(30, 34 + (20 * x + x)) channel_button.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") channel_button.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") channel_button.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") channel_button.SetEvent(ui.__mem_func__(self.change_channel), ch) channel_button.SetText("Kanał " + str(ch+1)) channel_button.Show() self.channel_list.append(channel_button) x = x + 1 self.vegas_change.SetSize(150, 50 + (20 * x + x)) self.vegas_change.SetCenterPosition() self.vegas_change.Show() def protect_maps(self): protect_list = [ "season99/new_map_ox", "maps_dungeon/devils_zone", "maps_dungeon/dt_zone", "maps_vegas/wedding_zone", "maps_dungeon/spider_3", "maps_vegas/duel_zone", ] if str(background.GetCurrentMapName()) in protect_list: return TRUE return FALSE def change_channel(self, ch): if self.protect_maps(): chat.AppendChat(1, "[Zmiana Kanału] Nie możesz zmienić kanału na tej mapie!") return elif time.clock() >= constInfo.change_time: self.Close() net.SetServerInfo("Metin2 - Kanał %d" % int(ch+1)) # Nazwa pod minimapką po zmianie kanału chat.AppendChat(chat.CHAT_TYPE_INFO, "[Zmiana Kanału] Zmiana kanału zakończona pomyślnie!") net.SendChatPacket("/ch %d" % int(ch+1)) constInfo.change_time = time.clock() + 10 # Czas po którym można zmieniać kanał else: chat.AppendChat(chat.CHAT_TYPE_INFO, "[Zmiana Kanału] Możesz zmieniać kanał co 10 sekund!") def Close(self): self.vegas_change.Hide() def OnPressExitKey(self): self.Close() return True def OnPressEscapeKey(self): self.Close() return True
Man , i need this "large_button_01.sub" same my photo , no system.
-
Does anyone have this button ->>
It's from official metin2 change channel.
Thanks
-
-
-
-
https://paste2.org/hIpnkA15 - item.cpp
https://paste2.org/sN7f292U - char_item.cpp
-
Acum 6 minute, Anyone a spus:
Merge it with standard uitooltip.py
If it doesn't refresh time it's because your uitooltip.py is crappy about this function
It's like time and something like else. I'm with phone, I can't paste you the string
I can nou use a standard one because I added systems and will not work. This problem was discovered after many add-ons in the source.
-
Acum 13 minute, RonnieBreathe a spus:
Can you post the item_proto data?
Server and client if its possible.I checked the value of both , everything looks ok.
Acum 8 minute, Anyone a spus:Check your uitooltip.py
to check what ? more explicitly
-
When I put those items in that slot , the time remains the same ,it does not decrease. Can you help me ?
Sorry for my bad English.
here is a print: https://metin2.download/picture/3u20gUbZPeT8hQXQF9PQm4exztCCQco0/.gif
-
Hello
the item I put in the warehouse is disappearing help please
I use great offline shop
-
Put the resolv here please
Save Login Single Slot
in Features & Metin2 Systems
Posted
no work.