Register for your free account! | Forgot your password?

You last visited: Today at 19:37

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



an die phyton freaks

Discussion on an die phyton freaks within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
an die phyton freaks

moinsen

Ich quäle mich nun seit einiger zeit mit der inventorwindow.py denn ich will da neue buttons hinzufügen.

Da ich nicht so der client hero bin, habe ich leider auch bei einfachen dingen, wie eben sowas meine schwierigkeiten...

Ich habe nun die .py file erweitert, mit folgendem code:
PHP Code:
##Button Board
        
{
            
"name" "buttonboard",
            
"type" "board",
            
"style" : ("attach",),

            
"x" 73 70,
            
"y" 5# + 250,

            
"width" 60,
            
"height" 188+35+35+35+35,
            
"childern" :
            (
                
#1
                
{
                    
"name" "do_warp",
                    
"type" "button",
                    
"x" 8,
                    
"y" 9
                    
"tooltip_text" "do_warp",
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"default_image" "locale/de/ui/buttons/warp1.tga",
                    
"over_image" "locale/de/ui/buttons/warp2.tga",
                    
"down_image" "locale/de/ui/buttons/warp3.tga",
                },
                
#2
                
{
                    
"name" "show_yang",
                    
"type" "buttons",
                    
"x" ,
                    
"y" 9+35,
                    
"tooltip_next" "show_yang",
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" :0,
                    
"default_image" "locale/de/ui/buttons/yang1.tga",
                    
"over_image" "locale/de/ui/buttons/yang2.tga",
                    
"down_image" "locale/de/ui/buttons/yang3.tga",
                },
                
#3
                
{
                    
"name" "show_switch",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "do_switch",
                    
"default_image" "locale/de/ui/buttons/switch1.tga",
                    
"over_image" "locale/de/ui/buttons/switch2.tga",
                    
"down_image" "locale/de/ui/buttons/switch3.tga",
                },
                
#4
                
{
                    
"name" "do_screen",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "do_screen",
                    
"default_image" "locale/de/ui/buttons/screen1.tga",
                    
"over_image" "locale/de/ui/buttons/screen2.tga",
                    
"down_image" "locale/de/ui/buttons/screen3.tga",
                },
                
#5
                
{
                    
"name" "do_eqchange",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "do_eqchange",
                    
"default_image" "locale/de/ui/buttons/eqchange1.tga",
                    
"over_image" "locale/de/ui/buttons/eqchange2.tga",
                    
"down_image" "locale/de/ui/buttons/eqchange3.tga",
                },
                
#6
                
{
                    
"name" "do_antiexp",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35+35+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "do_eqchange",
                    
"default_image" "locale/de/ui/buttons/antiexp1.tga",
                    
"over_image" "locale/de/ui/buttons/antiexp2.tga",
                    
"down_image" "locale/de/ui/buttons/antiexp3.tga",
                },
                
#7
                
{
                    
"name" "open_pshop",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35+35+35+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "open_shop",
                    
"default_image" "locale/de/ui/buttons/pshop1.tga",
                    
"over_image" "locale/de/ui/buttons/pshop2.tga",
                    
"down_image" "locale/de/ui/buttons/pshoph3.tga",
                },
                
#7
                
{
                    
"name" "show_console",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35+35+35+35+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "console",
                    
"default_image" "locale/de/ui/buttons/console1.tga",
                    
"over_image" "locale/de/ui/buttons/console2.tga",
                    
"down_image" "locale/de/ui/buttons/cosnsole3.tga",
                },
                
#8
                
{
                    
"name" "do_remove",
                    
"type" "button",
                    
"x" ,
                    
"y" 9+35+35+35+35+35+35+35+35+35,
                    
"tooltip_x" : -50-10,
                    
"tooltip_y" 0,
                    
"tooltip_next" "do_remove",
                    
"default_image" "locale/de/ui/buttons/remove1.tga",
                    
"over_image" "locale/de/ui/buttons/remove2.tga",
                    
"down_image" "locale/de/ui/buttons/remove3.tga",
                    },
                ),
            }, 
jedoch schmiert mir der client nach der char auswahl ab und ich weiss einfach nicht woran es liegt. Es ist bestimmt irgend ein kleiner kack fehler.
Jedenfalls habe ich momentan einfach keine nerven mehr dafür und suche um rat.

Was muss ich ändern, damit der client mir das frisst?
Danke für eure hilfe schonmal

mfg
Lauling is offline  
Old 11/05/2017, 00:29   #2
Administrator
 
andii's Avatar
 
elite*gold: 28390
The Black Market: 155/0/0
Join Date: Aug 2013
Posts: 9,908
Received Thanks: 2,652
Code:
#1
                {
                    "name" : "do_warp",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9 <--------- hier fehlt ein Komma
                    "tooltip_text" : "do_warp",
                    "tooltip_x" : -50-10,
                    "tooltip_y" : 0,
                    "default_image" : "locale/de/ui/buttons/warp1.tga",
                    "over_image" : "locale/de/ui/buttons/warp2.tga",
                    "down_image" : "locale/de/ui/buttons/warp3.tga",
                },
bei "y" : 9 fehlt das Komma
andii is offline  
Thanks
1 User
Old 11/05/2017, 00:37   #3
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
Quote:
Originally Posted by αи∂ιι View Post
Code:
#1
                {
                    "name" : "do_warp",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9 <--------- hier fehlt ein Komma
                    "tooltip_text" : "do_warp",
                    "tooltip_x" : -50-10,
                    "tooltip_y" : 0,
                    "default_image" : "locale/de/ui/buttons/warp1.tga",
                    "over_image" : "locale/de/ui/buttons/warp2.tga",
                    "down_image" : "locale/de/ui/buttons/warp3.tga",
                },
bei "y" : 9 fehlt das Komma
danke für die schnelle antwort.
ärgerlich sowas...
nun funktioniert das einlogen zwar wunderbar, jedoch sehe ich nichts von dem was ich eingefügt habe. Das müsste am inventar haften. ich sehe aber nichts dergleichen, hast du vielleicht ne idee woran das liegt?
Lauling is offline  
Old 11/05/2017, 01:39   #4
 
elite*gold: 0
Join Date: Oct 2017
Posts: 70
Received Thanks: 24
Quote:
Originally Posted by Lauling View Post
danke für die schnelle antwort.
ärgerlich sowas...
nun funktioniert das einlogen zwar wunderbar, jedoch sehe ich nichts von dem was ich eingefügt habe. Das müsste am inventar haften. ich sehe aber nichts dergleichen, hast du vielleicht ne idee woran das liegt?
There is 2 inventorywindow.py , which one did you change?

There is 1 in locale , ui folder.
And there is in uiscript.
נσνα is offline  
Old 11/05/2017, 09:52   #5
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
in the ui folder

i think the problem ist the beltsystem it is on the same place
Lauling is offline  
Old 11/05/2017, 19:36   #6
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
Quote:
Originally Posted by DasSchwarzeT View Post
ES HEIßT PYTHON
könntest du mir bei meinem phyton problem helfen? Bin auch bereit es dann richtig zu schreiben
Lauling is offline  
Old 11/07/2017, 19:04   #7
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
du musst die inventorywindow.py in locale\de\ui ändern und nicht in uiscript
edit: habe überlesen das hat wohl schon jemand vor mir gesagt am besten du postest mal deine gesamt inventorywindow.py, und versuchst mal in uiinventorywindow.py mit GetChild den Button zu holen späterstens dann merkst du ob er den Button geladen hat
gerald500 is offline  
Old 11/07/2017, 23:49   #8
 
elite*gold: 0
Join Date: Sep 2017
Posts: 117
Received Thanks: 18
Schreib mich an schicke mir deine .py oder lade sie hoch.
Kryptonit.' is offline  
Reply


Similar Threads Similar Threads
FOR ALL RNB FREAKS / FÜR ALLE RNB FREAKS
06/17/2010 - Music - 1 Replies
Here is a song wich is underground i think ;) i hear it in this RNB 2010 best of mix can some1 say pls how the Title is ? from 0:05-1:00 Hey leute kann mir wer von euch sagen wie das erste Lied heist von 0:05 bis 1:00 YouTube - ? Best Of RnB EVER ? 2010
problem with entering phyton dungeon (360x)
09/21/2008 - Dekaron Private Server - 4 Replies
ok, im lv 107 Ak, and i went there at lv 93 and became 107. and i went to draco to get pots and when i came back and try to get in to C, this pop-up comes up, and don't let me go in..
Which Part of draco to phyton
07/17/2008 - Dekaron - 1 Replies
Can some tell me, which part of draco i can enter phyton? by running not teleporting using carlyle.
need hack for phyton castle
03/30/2008 - Dekaron - 5 Replies
HI i hawe downloadet all vac hacks and tehy all dont work in phayton and in 2moons phyton is now emptry please can somebody attach for 2moons vac hack with vac for phyton. I found vac that woprks in dekaron but i cant do it. Im too big noob. Please share this with me:)
für die dragonball freaks oder auch nich
10/03/2005 - Off Topic - 10 Replies
hier ist ein game was ich heute auf der suche nach ner dragonball seite gefunden hab. es nennt sich leming ball z hier is ein vid: Leming ball Z movie hier das game : Leming ball z das game!



All times are GMT +1. The time now is 19:38.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.