- Mesaj
- 97
- Çözümler
- 9
- Beğeni
- 35
- Puan
- 469
- Ticaret Puanı
- 0
Merhaba arkadaşlar filesimde lonca ajan sistemi ekli fakat ajanı secerken düzenleme mevcut değil hatası alıyorum
nasıl çözebilirim Cmd Yetkileri Verildi
herhangi bir syser vermiyor
game.py bu şekilde editlendi
nasıl çözebilirim Cmd Yetkileri Verildi
herhangi bir syser vermiyor
game.py bu şekilde editlendi
Kod:
# PRIVATE_SHOP_PRICE_LIST
def __PrivateShop_PriceList(self, itemVNum, itemPrice):
uiPrivateShopBuilder.SetPrivateShopItemPrice(itemVNum, itemPrice)
# END_OF_PRIVATE_SHOP_PRICE_LIST
def __Do_Check_War_Player(self, targetName, killCount, deadCount):
warPlayerCheckQuestionDialog = uiCommon.QuestionDialog3()
warPlayerCheckQuestionDialog.SetText1("%s isimli oyuncu ajan olabilir." % (targetName))
warPlayerCheckQuestionDialog.SetText2("Olme: %s Oldurme: %s" % (str(deadCount), str(killCount)))
warPlayerCheckQuestionDialog.SetText3("Savastan atilsin mi?")
warPlayerCheckQuestionDialog.SetAcceptText(localeInfo.UI_ACCEPT)
warPlayerCheckQuestionDialog.SetCancelText(localeInfo.UI_DENY)
warPlayerCheckQuestionDialog.SetAcceptEvent(lambda arg=True: self.__AnswerWarCheckRequest(arg))
warPlayerCheckQuestionDialog.SetCancelEvent(lambda arg=False: self.__AnswerWarCheckRequest(arg))
warPlayerCheckQuestionDialog.Open()
warPlayerCheckQuestionDialog.name = targetName
self.warPlayerCheckQuestionDialog = warPlayerCheckQuestionDialog
def __AnswerWarCheckRequest(self, answer):
if not self.warPlayerCheckQuestionDialog:
return
targetName = self.warPlayerCheckQuestionDialog.name
if answer:
net.SendChatPacket("/ajanikov %s" % (str(targetName)))
self.warPlayerCheckQuestionDialog.Close()
self.warPlayerCheckQuestionDialog = None
def __Horse_HideState(self):
self.affectShower.SetHorseState(0, 0, 0)
def __Horse_UpdateState(self, level, health, battery):
self.affectShower.SetHorseState(int(level), int(health), int(battery)