Yardım Server Taraflı Efsun Botu LOG Hatası

Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

kadirkado123

Üye
Üye
Mesaj
76
Çözümler
5
Beğeni
8
Puan
89
Ticaret Puanı
0

Günlerdir eklemeye uğraştığım ve sürekli hatalarla karşılaştığım Server Taraflı Efsun Botundan bir hata daha.
Discord ekleyip yardım edeceklere şükran duyarım.

log.png
 
ben sistem eklerken genelde böyle hatalarda def app. dan sonra eklenen sistemin src tarafalı tanımının eksik oldugundan kaynaklandıgını fark ediyodum PythonApplicationModule.py dosyasını kontrol et tanımlı değilse tanımla
 
Son düzenleme:
game.py:
    if app.ENABLE_SWITCHBOT:
        def RefreshSwitchbotWindow(self):
            self.interface.RefreshSwitchbotWindow()
            
        def RefreshSwitchbotItem(self, slot):
            self.interface.RefreshSwitchbotItem(slot)

Game.py sadece bunu ekle demiş ve ekledim en sona
ben sistem eklerken genelde böyle hatalarda def app. dan sonra eklenen sistemin src tarafalı tanımının eksik oldugundan kaynaklandıgını fark ediyodum PythonPlayerModule.py dosyasını kontrol et tanımlı değilse tanımla
 
game.py:
    if app.ENABLE_SWITCHBOT:
        def RefreshSwitchbotWindow(self):
            self.interface.RefreshSwitchbotWindow()
           
        def RefreshSwitchbotItem(self, slot):
            self.interface.RefreshSwitchbotItem(slot)

Game.py sadece bunu ekle demiş ve ekledim en sona
yanlış yönlendirdiğim için özür dilerim mesajı tekrar düzenlemiştim tekrar okuyunuz.
 
PythonApplicationModule.cpp:
#ifdef ENABLE_SWITCHBOT
    PyModule_AddIntConstant(poModule, "ENABLE_SWITCHBOT", 1);
#else
    PyModule_AddIntConstant(poModule, "ENABLE_SWITCHBOT", 0);
#endif

Sadece bunu eklettirdi.
evet bunu ekliyosun clienti derleyip tekrar içine atıyosun sorun gidiyodu
 
PythonApplicationModule.cpp:
#ifdef ENABLE_SWITCHBOT
    PyModule_AddIntConstant(poModule, "ENABLE_SWITCHBOT", 1);
#else
    PyModule_AddIntConstant(poModule, "ENABLE_SWITCHBOT", 0);
#endif

Sadece bunu eklettirdi.
locale_inc.h da definesi var mı belki onu eklemeyi unutmuşsundur
 
locale_inc.h da definesi var mı belki onu eklemeyi unutmuşsundur

locale_inc.h:
#define LOCALE_SERVICE_SINGAPORE            // ½Ì°¡Æú
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define __ENABLE_SHAMAN_ATTACK_FIX__
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM
#define ENABLE_DISCORD_RPC
#define fix_header254
#define WJ_SPLIT_INVENTORY_SYSTEM
#define ENABLE_SWITCHBOT

Client Src'de çok zorlanmıştım. Onu derledim 2 gün uğraşarak :)
 
O problemi çözdüm şimdi de syserr hatası geldi.

syserr:
0217 22:57:03413 ::
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:12) <module>
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.SyntaxError'>:invalid syntax (uiInventory.py, line 1392)

0217 22:57:03413 :: ============================================================================================================
0217 22:57:03413 :: Abort!!!!
 
uiInvntory.pyde 1392.satırda yazım hatası yapmışsın tab vs dikkat et

UiInventory'e
"
elif app.ENABLE_SWITCHBOT and player.SLOT_TYPE_SWITCHBOT == attachedSlotType:
attachedCount = mouseModule.mouseController.GetAttachedItemCount()
net.SendItemMovePacket(player.SWITCHBOT, attachedSlotPos, player.INVENTORY, selectedSlotPos, attachedCount)"

Bunu koymamı istiyor ben " attachedSlotType:" yapıyor olmuyor. " or \ " koyuyorum olmuyor.

MouseModule.py

" Type == player.SLOT_TYPE_SWITCHBOT:
self.AttachedType == SLOT_TYPE_SWITCHBOT: " Koymamı söyledi böyle olunca direk hata alıyorum. Bende bunların sonuna " or\ " koydum. Düzeldi Cliente giriyor. Id ve Pw yazıyorum. Bağladım diyor ve oyundan atıp alttaki Syserr'i veriyor.

UiInventory:
            if player.SLOT_TYPE_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_STONE_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_BOX_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_EFSUN_INVENTORY == attachedSlotType or\
                player.SLOT_TYPE_CICEK_INVENTORY == attachedSlotType:
                itemCount = player.GetItemCount(attachedSlotPos)
                attachedCount = mouseModule.mouseController.GetAttachedItemCount()
                self.__SendMoveItemPacket(attachedSlotPos, selectedSlotPos, attachedCount)
                itemCount = player.GetItemCount(attachedSlotPos)
                attachedCount = mouseModule.mouseController.GetAttachedItemCount()
                self.__SendMoveItemPacket(attachedSlotPos, selectedSlotPos, attachedCount)
            elif app.ENABLE_SWITCHBOT and player.SLOT_TYPE_SWITCHBOT == attachedSlotType or\
                attachedCount = mouseModule.mouseController.GetAttachedItemCount()
                net.SendItemMovePacket(player.SWITCHBOT, attachedSlotPos, player.INVENTORY, selectedSlotPos, attachedCount)
 
Müsaitsen Discord'dan yardım edebilir misin kral?
Mt2 ile uğraşmayı kısa bi süre önce bıraktım konu içinde arkadaşlar yardımcı olacaktır. ayrıca dosya satırlarını aynı şekilde burdaki kod editörüyle gönderirsen daha fazla yardımcı olabiliriz.
 
Geri
Üst