Yardım Dracary's Nesne Market Syserr Sorunu

  • Konuyu açan Konuyu açan cptridvann
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 10
  • Gösterim Gösterim 89
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

cptridvann

Üye
Üye
Mesaj
51
Çözümler
2
Beğeni
11
Puan
424
Ticaret Puanı
0
Merhaba arkadaşlar, ilgili sistemi ekledim fakat nesne market altın paraya tıklayınca açılmıyor ve aşağıdaki syserr geliyor, çözmek için ne yapabilirim bilgisi olan var mı?


1114 22:08:16879 :: TypeError
1114 22:08:16879 :: :
1114 22:08:16879 :: SetPosition() takes exactly 3 arguments (4 given)
1114 22:08:16879 ::

1114 22:08:17590 :: Traceback (most recent call last):

1114 22:08:17590 :: File "ui.py", line 99, in __call__

1114 22:08:17590 :: File "ui.py", line 81, in __call__

1114 22:08:17590 :: File "uiTaskBar.py", line 478, in __RampageGauge_Click

1114 22:08:17590 :: File "interfaceModule.py", line 2321, in OpenItemShopWindow

1114 22:08:17591 :: File "interfaceModule.py", line 2319, in MakeItemShopWindow

1114 22:08:17591 :: File "uiItemShop.py", line 155, in __init__

1114 22:08:17591 :: File "uiItemShop.py", line 369, in LoadWindow

1114 22:08:17591 :: File "uiItemShop.py", line 421, in LoadShopCategory
 
Hocam tam olarak hangi true'yi acaba? LoadShopCategory içindeki ve birkaç yerdeki true'leri sildim
categoryItem.SetPosition(0,len(categoryListBox.GetItems())*57)
bu satırda 57'den sonra true vardı onu sildim ama şimdi böyle bir syserr veriyor yani aynı


1114 22:21:15513 :: BGM/enter_the_east.mp3
1114 22:21:16750 :: Traceback (most recent call last):

1114 22:21:16750 :: File "ui.py", line 99, in __call__

1114 22:21:16750 :: File "ui.py", line 81, in __call__

1114 22:21:16750 :: File "uiTaskBar.py", line 478, in __RampageGauge_Click

1114 22:21:16750 :: File "interfaceModule.py", line 2321, in OpenItemShopWindow

1114 22:21:16750 :: File "interfaceModule.py", line 2319, in MakeItemShopWindow

1114 22:21:16750 :: File "uiitemshop.py", line 155, in __init__

1114 22:21:16750 :: File "uiitemshop.py", line 369, in LoadWindow

1114 22:21:16750 :: File "uiitemshop.py", line 423, in LoadShopCategory

1114 22:21:16750 :: TypeError
1114 22:21:16750 :: :
1114 22:21:16750 :: SAFE_SetStringEvent() takes at most 4 arguments (5 given)
1114 22:21:16750 ::


Eğer ihtiyaç duyarsanız diy uiitemshop.py yüklüyorum yardımcı olursanız çok mutlu olurum
 
Son düzenleme:
Arkadaşlar bayağı çözdüm bir şeyleri kaldırdım falan ama şimdi de aşağıdaki şekilde hata geliyor, bu dosyanın sorunsuz versiyonu varsa upload edebilecek var mı

1114 22:32:16398 :: BGM/enter_the_east.mp3
1114 22:32:19046 :: Traceback (most recent call last):

1114 22:32:19046 :: File "ui.py", line 99, in __call__

1114 22:32:19046 :: File "ui.py", line 81, in __call__

1114 22:32:19046 :: File "uiTaskBar.py", line 478, in __RampageGauge_Click

1114 22:32:19046 :: File "interfaceModule.py", line 2321, in OpenItemShopWindow

1114 22:32:19046 :: File "interfaceModule.py", line 2319, in MakeItemShopWindow

1114 22:32:19046 :: File "uiitemshop.py", line 155, in __init__

1114 22:32:19046 :: File "uiitemshop.py", line 369, in LoadWindow

1114 22:32:19046 :: File "uiitemshop.py", line 428, in LoadShopCategory

1114 22:32:19046 :: File "uiitemshop.py", line 1980, in SetBasePos

1114 22:32:19046 :: File "uiitemshop.py", line 1976, in Render

1114 22:32:19046 :: File "uiitemshop.py", line 1566, in OnRender

1114 22:32:19046 :: AttributeError
1114 22:32:19046 :: :
1114 22:32:19046 :: 'module' object has no attribute 'calculateRect'
1114 22:32:19046 ::
 
ui.py:
Genişlet Daralt Kopyala
def calculateRect(curValue, maxValue):
    try:
        return -1.0 + float(curValue) / float(maxValue)
    except:
        return 0.0

bunu ekle ui.py
 
Çok teşekkürler arkadaşlar açıldı ama hiçbir item gözükmüyor yükleniyorda kalıyor sql dosyasını falan da okutmuştum bunu nasıl çözeceğim acaba

1763149189832.webp
 
split_argument i alttakiyle değiştirin

utils.cpp:
Genişlet Daralt Kopyala
void split_argument(const char* argument, std::vector<std::string>& vecArgs)
{
    std::string arg = argument;
    boost::split(vecArgs, arg, boost::is_any_of(" "), boost::token_compress_on);
}

utils.h:
Genişlet Daralt Kopyala
extern void split_argument(const char *argument, std::vector<std::string> & vecArgs);
 
split_argument i alttakiyle değiştirin

utils.cpp:
Genişlet Daralt Kopyala
void split_argument(const char* argument, std::vector<std::string>& vecArgs)
{
    std::string arg = argument;
    boost::split(vecArgs, arg, boost::is_any_of(" "), boost::token_compress_on);
}

utils.h:
Genişlet Daralt Kopyala
extern void split_argument(const char *argument, std::vector<std::string> & vecArgs);
Çok teşekkürler hocam fakat aynı şekilde dönmeye devam ediyor ve yüklenmiyor, aşağıdaki syserr'ler var yüklenmemesi bununla alakalı mı acaba

1114 22:50:16769 :: BGM/enter_the_east.mp3
1114 22:50:19164 :: Traceback (most recent call last):

1114 22:50:19164 :: File "ui.py", line 1346, in OnMouseOverIn

1114 22:50:19164 :: TypeError
1114 22:50:19164 :: :
1114 22:50:19164 :: OverInCategory() takes exactly 3 arguments (1 given)
1114 22:50:19164 ::

1114 22:50:19956 :: Traceback (most recent call last):

1114 22:50:19956 :: File "ui.py", line 1355, in OnMouseOverOut

1114 22:50:19956 :: TypeError
1114 22:50:19956 :: :
1114 22:50:19956 :: OverOutCategory() takes exactly 3 arguments (1 given)
1114 22:50:19956 ::

1114 22:50:20748 :: Traceback (most recent call last):

1114 22:50:20748 :: File "ui.py", line 1346, in OnMouseOverIn

1114 22:50:20748 :: TypeError
1114 22:50:20748 :: :
1114 22:50:20748 :: OverInCategory() takes exactly 3 arguments (1 given)
1114 22:50:20748 ::

1114 22:50:21458 :: Traceback (most recent call last):

1114 22:50:21458 :: File "ui.py", line 1355, in OnMouseOverOut

1114 22:50:21458 :: TypeError
1114 22:50:21458 :: :
1114 22:50:21458 :: OverOutCategory() takes exactly 3 arguments (1 given)
1114 22:50:21458 ::

1114 22:50:21954 :: Traceback (most recent call last):

1114 22:50:21954 :: File "ui.py", line 1346, in OnMouseOverIn

1114 22:50:21954 :: TypeError
1114 22:50:21954 :: :
1114 22:50:21954 :: OverInCategory() takes exactly 3 arguments (1 given)
1114 22:50:21954 ::

1114 22:50:22036 :: Traceback (most recent call last):

1114 22:50:22036 :: File "ui.py", line 1355, in OnMouseOverOut

1114 22:50:22036 :: TypeError
1114 22:50:22036 :: :
1114 22:50:22036 :: OverOutCategory() takes exactly 3 arguments (1 given)
1114 22:50:22036 ::

1114 22:50:28751 :: Traceback (most recent call last):

1114 22:50:28751 :: File "ui.py", line 1346, in OnMouseOverIn

1114 22:50:28751 :: TypeError
1114 22:50:28751 :: :
1114 22:50:28751 :: OverInCategory() takes exactly 3 arguments (1 given)
1114 22:50:28751 ::

1114 22:50:29262 :: Traceback (most recent call last):

1114 22:50:29262 :: File "ui.py", line 1355, in OnMouseOverOut

1114 22:50:29262 :: TypeError
1114 22:50:29262 :: :
1114 22:50:29262 :: OverOutCategory() takes exactly 3 arguments (1 given)
1114 22:50:29262 ::
 
Geri
Üst