-
Posts
276 -
Joined
-
Last visited
-
Days Won
7 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Shang
-
https://metin2dev.org/board/index.php?/topic/781-cadd-armour-effects-with-python/
-
Look at your shit code bro. If the slotnumber isn't in the list and the slot have to be usable? If you delete this: and slotNumber in self.listUnusableSlot: you'll see working anyway.
-
Why are you appending the slots in a list if you don't use the list?
-
Man, when server loads the txt it converts string to numbers (like mysql) ANTIFLAG_GIVE is an antiflag number.
-
M2 Download Center Download Here ( Internal ) Hi devs, today i'm going to release a simple TextLink. It works like a button but without a button, only with text. Let's see. It has Close event. The python code: Shitty spoiler deletes the tabs. Be carefull about tabs. Or go to pastebin: [Hidden Content]
-
From uiToolTip.py.
-
lua function item.get_attribute_type
Shang replied to ImBacK's topic in Community Support - Questions & Answers
item.set_attribute_type already exists with name item.set_value. Syntax: item.set_value(num(0,6), type, value) item.get_attr here you have @PACI's function: Syntax: item.get_attr(num(0,6))[1] - gets the bonus type item.get_attr(num(0,6))[2] - gets the bonus value -
official [Old][Archive] - [Official] Unpacked Updates Metin2.de
Shang replied to Shogun's topic in Guides & HowTo
You're free to post the link. If you post only for recieve likes.... -
Create Items (with any bonuses i want)
Shang replied to likeabeast's topic in Community Support - Questions & Answers
Damn this script is only a query ._. -
Itemshop 0 minute costume, pets
Shang replied to Kaba's topic in Community Support - Questions & Answers
You have to set in socket0 the global timestamp plus the time of costume duration. Example 1h of costume: lua: get_time()+3600 py: app.GetGlobalTimeStamp()+3600 -
Little problem with python - guildstorage
Shang replied to avertuss's topic in Community Support - Questions & Answers
To ban sashes in guildstorage put the vnums of sashed inside this table in quest: local blackListItem = {50821,50822,50823,50824,50825,50826,51002} And replace def OverInItem with this: def OverInItem(self, index): items = constInfo.GUILDSTORAGE["slots"]["TAB"+str(self.tab)] attrs = [(items[index][8],items[index][9]),(items[index][10],items[index][11]),(items[index][12],items[index][13]),(items[index][14],items[index][15]),(items[index][16],items[index][17]),(items[index][18],items[index][19]),(items[index][20],items[index][21])] attrs += [(0,0)]*8 self.toolTip.ClearToolTip() self.toolTip.AddRefineItemData(items[index][0], [items[index][2],items[index][3],items[index][4],items[index][5],items[index][6],items[index][7]], attrs) Tell if works. -
Little problem with python - guildstorage
Shang replied to avertuss's topic in Community Support - Questions & Answers
Shoulder sash system has more bonuses. You have to add these bonuses values to quest and to recieve ingame. -
[PYTHON] Tooltip MouseIn at ImageBox
Shang replied to kodepiko's topic in Community Support - Questions & Answers
Pastebin not available. Can you share your ui.py? -
[PYTHON] Tooltip MouseIn at ImageBox
Shang replied to kodepiko's topic in Community Support - Questions & Answers
self.itemImage.OnMouseOverIn(self.ShowTip)self.itemImage.OnMouseOverOut(self.HideTip) -
Illumina taskbar cursor error
Shang replied to Zeke's topic in Community Support - Questions & Answers
Because the height of the taskbar img. It is transparent img but not ingame. -
For Python experts..
Shang replied to ScreamMyName's topic in Community Support - Questions & Answers
self.txttooltip = uiToolTip.ToolTip() self.txttooltip.AutoAppendTextLine(text) self.txttooltip.HideToolTip() self.image.SAFE_SetEvent("MOUSE_OVER_IN", self.txttooltip.ShowToolTip) self.image.SAFE_SetEvent("MOUSE_OVER_OUT", self.txttooltip.HideToolTip) -
It isn't a problem. Just find RecvGuildSafeboxPacket: subHeader in client source and comment the line, it's a TraceError (a debug method).
-
Python rotation funkcio help
Shang replied to Ultor's topic in Community Support - Questions & Answers
Try this: self.isActiveRotation = False self.button.SetMouseClickEvent(self.ActiveRotation) self.button.SetMouseButtonUpEvent(self.DeactiveRotation) def ActiveRotation(self): self.isActiveRotation = True def DeactiveRotation(self): self.isActiveRotation = False def OnUpdate(self): if self.isActiveRotation: self.Rotation -= 1 chr.SetRotation(self.Rotation) -
Source GAME+CLIENT+DB
Shang replied to fsoldierpt's topic in Community Support - Questions & Answers
He want to download not to buy... -
Tooltip when mouse over button
Shang replied to Daav's topic in Community Support - Questions & Answers
self.button.SetToolTipText('text') or 'tooltip_text' : 'text' -
Question about Timebomb
Shang replied to AlCapone's topic in Community Support - Questions & Answers
I don't know sorry -
Question about Timebomb
Shang replied to AlCapone's topic in Community Support - Questions & Answers
It is unix timestamp format. You can convert it here: [Hidden Content] -
item.set_socket and pc.give_item2
Shang replied to ScreamMyName's topic in Community Support - Questions & Answers
Use pc.give_item2_select(vnum, count) instead of pc.give_item2. -
Refine it from 85001.
-
[BUG]New Sash Model by GF
Shang replied to BackPlayer's topic in Community Support - Questions & Answers
Readapt the sash for each character.