|
You last visited: Today at 19:28
Advertisement
[Release]New inventory metin2.
Discussion on [Release]New inventory metin2. within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
03/05/2014, 19:20
|
#1
|
elite*gold: 0
Join Date: Mar 2012
Posts: 32
Received Thanks: 34
|
[Release]New inventory metin2.
Search ui.py
def SetCloseEvent(self, event):
self.btnClose.SetEvent(event)
Add:
class TitleBar2(Window):
BLOCK_WIDTH = 32
BLOCK_HEIGHT = 23
def __init__(self):
Window.__init__(self)
self.AddFlag("attach")
def __del__(self):
Window.__del__(self)
def MakeTitleBar(self, width, color):
## ÇöŔç Color´Â »çżëÇĎ°í ŔÖÁö ľĘŔ˝
width = max(64, width)
imgLeft = ImageBox()
imgCenter = ExpandedImageBox()
imgRight = ImageBox()
imgLeft.AddFlag("not_pick")
imgCenter.AddFlag("not_pick")
imgRight.AddFlag("not_pick")
imgLeft.SetParent(self)
imgCenter.SetParent(self)
imgRight.SetParent(self)
if locale.IsARABIC():
imgLeft.LoadImage("locale/ae/ui/pattern/titlebar_left.tga")
imgCenter.LoadImage("locale/ae/ui/pattern/titlebar_center.tga")
imgRight.LoadImage("locale/ae/ui/pattern/titlebar_right.tga")
else:
imgLeft.LoadImage("locale/yang.tga")
imgCenter.LoadImage("locale/yang.tga")
imgRight.LoadImage("locale/yang.tga")
imgLeft.Show()
imgCenter.Show()
imgRight.Show()
btnClose = Button()
btnClose.SetParent(self)
btnClose.SetUpVisual("locale/1close.tga")
btnClose.SetOverVisual("locale/2close.tga")
btnClose.SetDownVisual("locale/1close.tga")
btnClose.SetToolTipText(locale.UI_CLOSE, 0, -23)
btnClose.Show()
self.imgLeft = imgLeft
self.imgCenter = imgCenter
self.imgRight = imgRight
self.btnClose = btnClose
self.SetWidth(width)
search: elif Type == "titlebar":
add
elif Type == "titlebar2":
parent.Children[Index] = TitleBar2()
parent.Children[Index].SetParent(parent)
self.LoadElementTitleBar(parent.Children[Index], ElementValue, parent)
Search: def LoadElementTitleBar(self, window, value, parentWindow):
Add
def LoadElementTitleBar2(self, window, value, parentWindow):
if FALSE == self.CheckKeyList(value["name"], value, self.TITLE_BAR_KEY_LIST):
return FALSE
window.MakeTitleBar(int(value["width"]), value.get("color", "red"))
self.LoadDefaultData(window, value, parentWindow)
return TRUE
|
|
|
03/05/2014, 19:22
|
#2
|
elite*gold: 0
Join Date: Jun 2013
Posts: 46
Received Thanks: 92
|
Quote:
Originally Posted by diamantul96
|
Very nice man
|
|
|
03/05/2014, 19:27
|
#3
|
elite*gold: 170
Join Date: Dec 2012
Posts: 9,372
Received Thanks: 2,726
|
Really Nice Good Work.
|
|
|
03/05/2014, 19:27
|
#4
|
elite*gold: 0
Join Date: Jan 2012
Posts: 7,868
Received Thanks: 7,712
|
Ich finds auch sehr geil. Dazu noch ein perfektes Design und es ist bombe.
Gefällt mir sehr gut
|
|
|
03/05/2014, 19:31
|
#5
|
elite*gold: 0
Join Date: Jul 2010
Posts: 8
Received Thanks: 3
|
password isn´t working =(
|
|
|
03/05/2014, 19:32
|
#6
|
elite*gold: 0
Join Date: Mar 2012
Posts: 32
Received Thanks: 34
|
Quote:
Originally Posted by Kackfrosch15
password isn´t working =(
|
Sorry I did not write well.
ByAlaska32Work
|
|
|
03/05/2014, 19:33
|
#7
|
elite*gold: 0
Join Date: Jul 2010
Posts: 8
Received Thanks: 3
|
Thanks
|
|
|
03/05/2014, 19:35
|
#8
|
elite*gold: 0
Join Date: Jan 2012
Posts: 7,868
Received Thanks: 7,712
|
Quote:
Originally Posted by Kackfrosch15
password isn´t working =(
|
Also bei mir klappts einwandfrei.
Das decrypt drecksteil bei mega hat nicht geklappt.
Aber beim entpacken der winrar hats dannach geklappt.
|
|
|
03/05/2014, 20:05
|
#9
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,629
Received Thanks: 1,636
|
Look´s really great +_+
Nice Work!
|
|
|
03/05/2014, 20:06
|
#10
|
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,938
|
I think it's ugly. Sorry :/ Maybe with a new design it looks better
|
|
|
03/05/2014, 20:08
|
#11
|
elite*gold: 14
Join Date: May 2013
Posts: 4,288
Received Thanks: 1,479
|
Very nice man!
|
|
|
03/05/2014, 20:11
|
#12
|
elite*gold: 0
Join Date: Aug 2012
Posts: 7
Received Thanks: 0
|
script
########### Alaska32Work #############
alaska32
|
|
|
03/05/2014, 20:19
|
#13
|
elite*gold: 0
Join Date: Dec 2012
Posts: 819
Received Thanks: 220
|
Leider schließt sich der Client nach dem Laden bei mir.
Syserr:
Code:
0305 20:17:11265 :: LZObject: not a valid data
0305 20:17:11265 :: Failed to decompress : d:/ymir work/effect/etc/recuperation/light00.dds
0305 20:17:11461 :: LZObject: not a valid data
0305 20:17:11461 :: Failed to decompress : d:/ymir work/effect/hit/percent_damage1.mse
0305 20:17:11462 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage1.mse) Error
0305 20:17:11462 :: CInstanceBase::RegisterEffect(eEftType=264, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mse, isCache=1) - Error
0305 20:17:11462 :: LZObject: not a valid data
0305 20:17:11462 :: Failed to decompress : d:/ymir work/effect/hit/percent_damage2.mse
0305 20:17:11462 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage2.mse) Error
0305 20:17:11462 :: CInstanceBase::RegisterEffect(eEftType=265, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage2.mse, isCache=1) - Error
0305 20:17:11463 :: LZObject: not a valid data
0305 20:17:11463 :: Failed to decompress : d:/ymir work/effect/hit/percent_damage3.mse
0305 20:17:11463 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage3.mse) Error
0305 20:17:11463 :: CInstanceBase::RegisterEffect(eEftType=266, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage3.mse, isCache=1) - Error
0305 20:17:20721 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0305 20:17:35320 :: LZObject: not a valid data
0305 20:17:35320 :: Failed to decompress : d:/ymir work/ui/game/taskbar/mall_button_01.tga
0305 20:17:35321 :: LZObject: not a valid data
0305 20:17:35321 :: Failed to decompress : d:/ymir work/ui/game/taskbar/mall_button_02.tga
0305 20:17:35322 :: LZObject: not a valid data
0305 20:17:35322 :: Failed to decompress : d:/ymir work/ui/game/taskbar/mall_button_03.tga
0305 20:17:35333 ::
uiInventory.py(line:147) __LoadWindow
ui.py(line:2675) GetChild
InventoryWindow.LoadWindow.BindObject - exceptions.KeyError:TitleBar
0305 20:17:35333 :: ============================================================================================================
0305 20:17:35333 :: Abort!!!!
|
|
|
03/05/2014, 20:27
|
#14
|
elite*gold: 0
Join Date: Sep 2011
Posts: 188
Received Thanks: 98
|
In my mind it looks really really good. It is a cool idea with this inventory.
I hope it works. Thx for sharing.
Kind Regarts
nOa/KDT
|
|
|
03/05/2014, 20:38
|
#15
|
elite*gold: 0
Join Date: Jul 2013
Posts: 77
Received Thanks: 30
|
Thanks4Share But I Don't use it (Sorry for Bad English )
|
|
|
Similar Threads
|
[Release] Web Inventory Viewer
09/12/2013 - Metin2 PServer Guides & Strategies - 32 Replies
Hi e*pvp.
I want to give You my php script.
With it you can browse inventory in your webpage.
Version 1:
|
All times are GMT +2. The time now is 19:28.
|
|