-
Posts
49 -
Joined
-
Last visited
-
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by CantSt0p
-
-
-
in ui.py... search for class ExpandedImageBox(ImageBox) and add definition for SetDiffuseColor.
-
atlasinfo?
-
Yoy @ Rakancito reupload last image. You are showing us your server IP
-
I think title says it all. Why this? Why not?
Spoiler## -- 1 -- ## Search in class CostumeWindow(ui.ScriptWindow): def Close(self): self.Hide() Add after: def GetBasePosition(self): x, y = self.wndInventory.GetGlobalPosition() return x - 147, y def AdjustPositionAndSize(self): bx, by = self.GetBasePosition() self.SetPosition(bx, by) self.SetSize(self.GetWidth(), self.GetHeight()) ## -- 2 -- ## Search in class InventoryWindow(ui.ScriptWindow): ## Probably you dont have "AdjustPositionAndSizeAE", so basically paste is right after "self.wndBelt.AdjustPositionAndSize()" ## def OnMoveWindow(self, x, y): if self.wndBelt: if localeInfo.IsARABIC(): self.wndBelt.AdjustPositionAndSizeAE() else: self.wndBelt.AdjustPositionAndSize() Add after: if self.wndCostume: self.wndCostume.AdjustPositionAndSize()
- 5
- 2
-
On 10/21/2023 at 3:01 PM, SussyFlore96 said:
Guys, one small question. It seems that it's working only for B1 map (chunjo town), but not for other maps as well.
Also it's being switched off and on wheter I'm using night more or not.
Strange things
Is it possible that my other maps use other lamp objects rather than 'ob-b1-013-lamp02.gr2'?
Yes it is. In c1 and a1 map, there is used "obj-0010.gr2" with "fire_obj-0010.mse" -
You can use clean:
or decide to buy one:
ofc there are other svfiles on the market, but you must do a reaseach to choose the exact ones, you want to go with on your project.
-
- 1
- 2
- 2
-
I assume you are missing uitooltip.py part - check that file again. Do you have any syserrs?
-
They are called as group (the "g" at the begging of each line)
Official metin2_map_a1 from r40k: boss.txt
g 916 1023 100 100 0 0 1000s 100 1 317 g 121 922 100 100 0 0 1100s 100 1 318 g 284 137 100 100 0 0 1200s 100 1 317 g 98 98 100 100 0 0 1300s 100 1 318 g 895 903 100 100 0 0 1200s 100 1 139 g 360 892 100 100 0 0 1200s 100 1 140 g 315 322 100 100 0 0 1200s 100 1 141 g 286 1100 100 100 0 0 1200s 100 1 142 m 418 684 100 100 0 0 600s 100 1 151 m 606 940 100 100 0 0 601s 100 1 151 m 880 651 100 100 0 0 602s 100 1 151 m 457 976 100 100 0 0 603s 100 1 152 m 924 843 100 100 0 0 604s 100 1 152 m 921 222 100 100 0 0 605s 100 1 152 m 463 888 100 100 0 0 606s 100 1 153 m 630 1028 100 100 0 0 607s 100 1 153 m 224 531 100 100 0 0 608s 100 1 153 m 660 99 100 100 0 0 609s 100 1 154 m 892 925 100 100 0 0 610s 100 1 154 m 350 1005 100 100 0 0 611s 100 1 154 m 181 542 100 100 0 0 612s 100 1 155 m 877 172 100 100 0 0 613s 100 1 155 m 478 1100 100 100 0 0 614s 100 1 155 m 626 40 10 10 0 0 3600s 100 1 191
In group.txt you can find this:
Group L32_¿õ½Å(BOSS)-ÀúÁÖ¹ÞÀº_ºÒ°õ(S_KNIGHT) { Leader Bera 193 Vnum 141 1 "Verfl. Braunb?r" 142 2 "Verfl. Braunb?r" 142 }
So you need to find line in boss.txt ending with 141 - which is vnum of the group and edit as you wish.
g 315 322 100 100 0 0 1200s 100 1 141
Recommend to read this:
- 1
-
Photoshop:
Take w/e icon from metin2
Edit
Add alpha channel to get rid of the background
save as .tgaClient:
add to icon folder
add item to item_list.txt, item_names.txt and itemdesc.txt (locale)db - server:
add it to navicat as a new item with related values
create updated item_proto
you can also use this: https://m2icondb.com/ - and dont forget to buy slice of pizza for Karbust- 1
-
Search in questlib.lua for "special.questscroll_reward"
-
-
Check for this:
def OverInItem(self, overSlotPos): overSlotPosGlobal = self.__InventoryLocalSlotPosToGlobalSlotPos(overSlotPos) self.wndItem.SetUsableItem(False) if app.ENABLE_PICKUP_ITEM_EFFECT: self.DelHighlightSlot(overSlotPosGlobal)
Change the local to global slot position if you are using 4 inventory.
-
-
-
I know, that this topic isn't active since 2017.
However for Safebox in uisafebox.py:
SpoilerSearch for: setItemID(i, getItemID(slotIndex), itemCount) in def RefreshOwnerSlot(self):
# SIGN_FOR_PLUS_ITEM if app.SIGN_FOR_PLUS_ITEMS: if item.GetItemName()[-1:] == "+": self.wndItem.AppendPlusOnSlot(i, 12, -1) else: self.wndItem.AppendPlusOnSlot(i, 0, 0) # END_SIGN_FOR_PLUS_ITEMS
For Exchange in uiexchange.py:
SpoilerSearch for: self.OwnerSlot.SetItemSlot(i, itemIndex, itemCount) in def RefreshSafebox(self):
add:if app.SIGN_FOR_PLUS_ITEMS: if item.GetItemName()[-1:] == "+": self.OwnerSlot.AppendPlusOnSlot(i, 12, -1) else: self.OwnerSlot.AppendPlusOnSlot(i, 0, 0) # END_SIGN_FOR_PLUS_ITEMS
Search for: self.OwnerSlot.SetItemSlot(i, itemIndex, itemCount) in def RefreshTargetSlot(self):
add:
# SIGN_FOR_PLUS_ITEM if app.SIGN_FOR_PLUS_ITEMS: if item.GetItemName()[-1:] == "+": self.TargetSlot.AppendPlusOnSlot(i, 12, -1) else: self.TargetSlot.AppendPlusOnSlot(i, 0, 0) # END_SIGN_FOR_PLUS_ITEMS
-
Yes, you can.
Spoilersearch in battle.cpp for:
case WEAPON_CLAW:
use define of just change the code like this:
#ifdef ENABLE_CLAW_AS_DAGGER_RESIST iDam = iDam * SumBreakBonus(pkAttacker, pkVictim, POINT_ATTBONUS_DAGGER, POINT_RESIST_DAGGER) / 100 #else iDam = iDam * SumBreakBonus(pkAttacker, pkVictim, POINT_ATTBONUS_CLAW, POINT_RESIST_CLAW) / 100 #endif
-
On 6/26/2023 at 1:25 AM, mellow2ghost said:
And where in the source?
It's not in the source. Unpack Client/root, search for "uitooltip.py"
- 1
-
in char.app
take a look for:if (GetLevel() < 91) PointChange(POINT_STAT, 1); and if(iLv <= 90) PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
-
-
First of all, those two documents you found out in Client22.rar are not meant to be in "pack" folder.
You need to open the whole Client22 project in Visual Studio, edit mentioned files and build the solution. -
Does anyone experienced, that on second open window is necessary to "re-apply" effects, to get them working?
Gone through code several times and except this, everything is working just fine.- 1
-
Hey,
IDK if you resolved the error, but.. I had the same error and it was caused that I missed a part of code.
uiprivateshopbuilder.py
Spoilerdef Destroy(self): self.ClearDictionary() self.nameLine = None self.itemSlot = None self.btnOk = None self.btnClose = None self.titleBar = None self.priceInputBoard = None if app.WJ_ENABLE_TRADABLE_ICON: self.interface = None self.wndInventory = None self.lockedItems = {i:(-1,-1) for i in range(shop.SHOP_SLOT_COUNT)}
How to start Metin2 server for beginner
in Community Support - Questions & Answers
Posted
https://metin2.dev/forum/110-basic-tutorials-beginners/
In fact, there is literally a whole section for it.