DracaryS Renewal Game Option System

Python:
0510 11:14:21689 ::   File "uiGameOptionNew.py", line 47, in __init__

0510 11:14:21689 ::   File "uiGameOptionNew.py", line 127, in __LoadWindow

0510 11:14:21689 ::   File "uiGameOptionNew.py", line 208, in CreateOptionWindow

0510 11:14:21689 ::   File "uiGameOptionNew.py", line 722, in __init__

0510 11:14:21689 ::   File "uiGameOptionNew.py", line 753, in CreateScrollBar

0510 11:14:21689 ::   File "uiGameOptionNew.py", line 712, in SetSize

0510 11:14:21689 :: AttributeError
0510 11:14:21689 :: :
0510 11:14:21689 :: 'ExpandedImageBox' object has no attribute 'GetBottom'
0510 11:14:21689 ::

Lütfen yardım edin

220. satırda True kaldırın
Kod:
child.SetPosition(_x,_y)

böyle olacak

exPos = None olmazsa 0 dene

ui içinde gördüğüm bazı eksiklikler belki başkalarının işine yarar
ui.py:
1-SetPosition
bu şekilde değiştirilir.

    def SetPosition(self, x, y, flag = False):
        if flag == True:
            self.exPos = (x,y)
        wndMgr.SetWindowPosition(self.hWnd, x, y)

2-eksik kod calculaterect eklenir.Herhangi boş bir yere

def calculateRect(curValue, maxValue):
    try:
        return -1.0 + float(curValue) / float(maxValue)
    except:
        return 0.0

ui.py aç en alta ekle
Python:
def calculateRect(curValue, maxValue):
    try:
        return -1.0 + float(curValue) / float(maxValue)
    except:
        return 0.0
 
Python:
0510 11:53:22859 :: AttributeError
0510 11:53:22859 :: :
0510 11:53:22859 :: 'int' object has no attribute 'GetLocalPosition'
0510 11:53:22859 ::
Lütfen yardım edin
 
ScrollBar bende yok


Syserr:
0621 18:41:24137 :: [GameOption]LoadCatetoryOptions optionIndex: 0 categoryIndex: 0
 
Son düzenleme:
Daha yeni ekleme şansım oldu, bir düzeltme de benden gelsin.

Her şeyi tamamen ekledikten sonra şu syserr hatasını almaya devam ediyorsunuz:
Kod:
[GameOption]LoadCatetoryOptions optionIndex: 0 categoryIndex: 0

Bunun nedeni şu satırlardır:
Python:
self.countryFlagButtonList.append(GetObject("country_flag_on"))
self.countryFlagButtonList[0].SAFE_SetEvent(self.__OnClickCountryFlag)
self.countryFlagButtonList.append(GetObject("country_flag_off"))
self.countryFlagButtonList[1].SAFE_SetEvent(self.__OnClickCountryFlag)
self.RefreshCountryFlag()

Bu kodların devamı hiç bir yerde mevcut olmadığı için Load anında null döndürüyor. Bunları silin veya yorum satırına çevirin.
Ancak scrollbar bende de yok nedense.
 
Kod:
0222 22:01:16941 :: Traceback (most recent call last):

0222 22:01:16941 ::   File "ui.py", line 1608, in CallEvent

0222 22:01:16941 ::   File "ui.py", line 88, in __call__

0222 22:01:16941 ::   File "ui.py", line 79, in __call__

0222 22:01:16941 ::   File "uiGameOptionNew.py", line 169, in SetOptionType

0222 22:01:16941 ::   File "uiGameOptionNew.py", line 190, in SetCategoryType

0222 22:01:16941 ::   File "uiGameOptionNew.py", line 395, in UpdateScrollBar

0222 22:01:16941 :: TypeError
0222 22:01:16941 :: :
0222 22:01:16941 :: 'NoneType' object has no attribute '__getitem__'
0222 22:01:16941 ::

bu syserri alıyorum çözümü nedir acaba
 
Ben eksik fonksiyonları Zenaris'ten alarak çalıştırabildim. Scrollbar da çalışıyor, clip masking de. Teşekkürler.

1708647100685.png
 
Hatırladığın yerler varmı hani bu hatalara sebep olacak yerler scrollbar vs. çalışıyor sadece bu syserrlere neden olan şeyi düzeltmek istiyorum
Hiç scrollbar hatası almadım o yüzden malesef. Ama tahminim sizde Clip Masking sistemi ekli değil diye olabilir.
 
Hiç scrollbar hatası almadım o yüzden malesef
0223 02:45:35318 :: File "ui.py", line 1601, in CallEvent

0223 02:45:35318 :: File "ui.py", line 88, in __call__

0223 02:45:35318 :: File "ui.py", line 79, in __call__

0223 02:45:35318 :: File "uiGameOptionNew.py", line 168, in SetOptionType

0223 02:45:35318 :: File "uiGameOptionNew.py", line 189, in SetCategoryType

0223 02:45:35318 :: File "uiGameOptionNew.py", line 463, in UpdateScrollBar

0223 02:45:35318 :: AttributeError
0223 02:45:35318 :: :
0223 02:45:35318 :: 'ImageBox' object has no attribute 'SetRenderingRect'
0223 02:45:35318 ::

syserr bu yönde düzeltmiştim fakat düzelmemiş sanırsam
 
0223 02:45:35318 :: File "ui.py", line 1601, in CallEvent

0223 02:45:35318 :: File "ui.py", line 88, in __call__

0223 02:45:35318 :: File "ui.py", line 79, in __call__

0223 02:45:35318 :: File "uiGameOptionNew.py", line 168, in SetOptionType

0223 02:45:35318 :: File "uiGameOptionNew.py", line 189, in SetCategoryType

0223 02:45:35318 :: File "uiGameOptionNew.py", line 463, in UpdateScrollBar

0223 02:45:35318 :: AttributeError
0223 02:45:35318 :: :
0223 02:45:35318 :: 'ImageBox' object has no attribute 'SetRenderingRect'
0223 02:45:35318 ::

syserr bu yönde düzeltmiştim fakat düzelmemiş sanırsam
Setrenderingrect fonksiyonu 3 farklı classta olmalı yanlış hatırlamıyorsam, muhtemelen tek bir classa eklediniz. Siz en iyisi sistemin ekli olduğu bir filesten bakın. Ben Zenaris'ten söktüm.
 
Hello and a nice good day

I have installed the System New Game Option from DracaryS in the Martysama5.7 files

The problem is when I use the type "button" in the game_option_0_0 files in the Uiscript it looks like this in the game See GIF


Linkleri görebilmek için giriş yap veya kayıt ol.


If anyone can help I thank you in advance


Merhaba ve iyi günler

Martysama5.7 dosyalarında DracaryS'den Sistem Yeni Oyun Seçeneğini yükledim

Sorun şu ki, Uiscript'teki game_option_0_0 dosyalarında "button" türünü kullandığımda oyunda şöyle görünüyor GIF'e bakın


Linkleri görebilmek için giriş yap veya kayıt ol.


Yardım edebilecek biri varsa şimdiden teşekkür ederim.
 
Son düzenleme:
Hello and a nice good day

I have installed the System New Game Option from DracaryS in the Martysama5.7 files

The problem is when I use the type "button" in the game_option_0_0 files in the Uiscript it looks like this in the game See GIF


Linkleri görebilmek için giriş yap veya kayıt ol.


If anyone can help I thank you in advance


Merhaba ve iyi günler

Martysama5.7 dosyalarında DracaryS'den Sistem Yeni Oyun Seçeneğini yükledim

Sorun şu ki, Uiscript'teki game_option_0_0 dosyalarında "button" türünü kullandığımda oyunda şöyle görünüyor GIF'e bakın


Linkleri görebilmek için giriş yap veya kayıt ol.


Yardım edebilecek biri varsa şimdiden teşekkür ederim.
Syserr yokmu
 
Hello and a nice good day

I have installed the System New Game Option from DracaryS in the Martysama5.7 files

The problem is when I use the type "button" in the game_option_0_0 files in the Uiscript it looks like this in the game See GIF


Linkleri görebilmek için giriş yap veya kayıt ol.


If anyone can help I thank you in advance


Merhaba ve iyi günler

Martysama5.7 dosyalarında DracaryS'den Sistem Yeni Oyun Seçeneğini yükledim

Sorun şu ki, Uiscript'teki game_option_0_0 dosyalarında "button" türünü kullandığımda oyunda şöyle görünüyor GIF'e bakın


Linkleri görebilmek için giriş yap veya kayıt ol.


Yardım edebilecek biri varsa şimdiden teşekkür ederim.
Install official clip masking system and its experimental additions by Mali. A quick search on google would lead you to that topic.
 
Hello and a nice good day

I have installed the System New Game Option from DracaryS in the Martysama5.7 files

The problem is when I use the type "button" in the game_option_0_0 files in the Uiscript it looks like this in the game See GIF


Linkleri görebilmek için giriş yap veya kayıt ol.


If anyone can help I thank you in advance


Merhaba ve iyi günler

Martysama5.7 dosyalarında DracaryS'den Sistem Yeni Oyun Seçeneğini yükledim

Sorun şu ki, Uiscript'teki game_option_0_0 dosyalarında "button" türünü kullandığımda oyunda şöyle görünüyor GIF'e bakın


Linkleri görebilmek için giriş yap veya kayıt ol.


Yardım edebilecek biri varsa şimdiden teşekkür ederim.
SetRenderdingRect ui.py
 
Geri
Üst