noisiv 1
noisiv
Manwe Work 1
Manwe Work
Vahsi Uzman 1
Vahsi Uzman
Cannn6161 1
Cannn6161
B 1
berione65
sen272 1
sen272
Mt2Hizmet 1
Mt2Hizmet
C 1
chengdu
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com
Kaynak ikonu

Gelişmiş Beceri Sistemi (Python&Lua) [xAsasinato] 1

indirmek için izniniz yok
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

Thx :)
 
dont use full bugged
 
Devamlı hata alıyorum yardım edecek olan var mı ?

0806 23:32:07466 :: Traceback (most recent call last):

0806 23:32:07489 :: File "game.py", line 2293, in BINARY_ServerCommand_Run

0806 23:32:07491 :: File "stringCommander.py", line 63, in Run

0806 23:32:07494 :: File "stringCommander.py", line 31, in __call__

0806 23:32:07499 :: File "stringCommander.py", line 20, in __call__

0806 23:32:07500 :: File "game.py", line 2789, in selectjob

0806 23:32:07502 :: File "system.py", line 130, in __pack_import

0806 23:32:07502 :: File "
0806 23:32:07503 :: <string>
0806 23:32:07507 :: ", line
0806 23:32:07510 :: 169
0806 23:32:07511 ::

0806 23:32:07513 ::
0806 23:32:07513 ::
0806 23:32:07514 ::

0806 23:32:07515 :: SyntaxError
0806 23:32:07515 :: :
0806 23:32:07519 :: invalid syntax
0806 23:32:07524 ::

0806 23:32:07525 :: Unknown Server Command SELECT_JOB QID#55 | SELECT_JOB
0806 23:32:07530 :: Traceback (most recent call last):

0806 23:32:07531 :: File "game.py", line 2293, in BINARY_ServerCommand_Run

0806 23:32:07534 :: File "stringCommander.py", line 63, in Run

0806 23:32:07534 :: File "stringCommander.py", line 31, in __call__

0806 23:32:07536 :: File "stringCommander.py", line 20, in __call__

0806 23:32:07536 :: File "game.py", line 2789, in selectjob

0806 23:32:07539 :: File "system.py", line 130, in __pack_import

0806 23:32:07542 :: File "
0806 23:32:07546 :: <string>
0806 23:32:07546 :: ", line
0806 23:32:07547 :: 169
0806 23:32:07548 ::

0806 23:32:07549 ::
0806 23:32:07549 ::
0806 23:32:07552 ::

0806 23:32:07557 :: SyntaxError
0806 23:32:07558 :: :
0806 23:32:07559 :: invalid syntax
0806 23:32:07560 ::

0806 23:32:07561 :: Unknown Server Command SELECT_JOB OPEN# | SELECT_JOB
0806 23:33:24891 :: granny_shared_vbs:
0806 23:33:24891 :: 0: 40
0806 23:33:24894 :: 1: 105
0806 23:33:24899 :: 2: 20
0806 23:33:24900 :: 3: 40
0806 23:33:24904 :: 4: 1
0806 23:33:24904 :: 5: 20
0806 23:33:24910 :: 6: 0
0806 23:33:24910 :: 7: 0
0806 23:33:24910 :: 8: 0

[CODE lang="python" title="uiselectjob.py"]import ui, event, constInfo, app, uiCommon, chat, net, playerSettingModule, player, bestproduction

JOB_NAME_DICT = {
0 : ['Bedensel Sanati','Zihinsel Sanati'],
1 : ['Yakın Dovus Sanati','Uzak Dovus Sanati'],
2 : ['Buyulu Silah Sanati','Karabuyu Sanati'],
3 : ['İyileştirme Sanati','Ejderha Gücü Sanati'],
4 : ['Icgudu Sanati','']
}

FACE_IMAGE_DICT = {
playerSettingModule.RACE_WARRIOR_M : "illumina/images/icons/faces/medium/icon_mwarrior.tga",
playerSettingModule.RACE_WARRIOR_W : "illumina/images/icons/faces/medium/icon_wwarrior.tga",
playerSettingModule.RACE_ASSASSIN_M : "illumina/images/icons/faces/medium/icon_mninja.tga",
playerSettingModule.RACE_ASSASSIN_W : "illumina/images/icons/faces/medium/icon_wninja.tga",
playerSettingModule.RACE_SURA_M : "illumina/images/icons/faces/medium/icon_msura.tga",
playerSettingModule.RACE_SURA_W : "illumina/images/icons/faces/medium/icon_wsura.tga",
playerSettingModule.RACE_SHAMAN_M : "illumina/images/icons/faces/medium/icon_mshaman.tga",
playerSettingModule.RACE_SHAMAN_W : "illumina/images/icons/faces/medium/icon_wshaman.tga",
playerSettingModule.RACE_WOLFMAN_M : "illumina/images/icons/faces/medium/icon_mlykaner.tga",
}

class JobSelectWindow(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.isLoaded = 0
self.selectedJob = 0
self.__LoadWindow()

def __LoadWindow(self):
if (self.isLoaded == 1):
return

self.isLoaded = 1
try:
PythonScriptLoader = ui.PythonScriptLoader()
PythonScriptLoader.LoadScriptFile(self, "UIScript/selectjobwindow.py")
except:
import exception
exception.Abort("SelectJob.LoadWindow.LoadObject")

try:
self.__BindObjects()
except:
import exception
exception.Abort("SelectJob.LoadWindow.BindObject")

self.__BindEvents()

def __BindObjects(self):
self.titlebar = self.GetChild("TitleBar")
self.leftButton = self.GetChild("left_button")
self.rightButton = self.GetChild("right_button")
self.leftChildButton = self.GetChild("left_child_button")
self.rightChildButton = self.GetChild("right_child_button")
self.selectButton = self.GetChild("SelectButton")
self.jobLeftName = self.GetChild("JobLeftName")
self.jobRightName = self.GetChild("JobRightName")
self.leftSkillSlot = self.GetChild("left_skill_slot")
self.rightSkillSlot = self.GetChild("right_skill_slot")
self.raceImage = self.GetChild("RaceImage")
self.infoText = self.GetChild("InfoText")

def __BindEvents(self):
self.isLoaded = 1
self.titlebar.SetCloseEvent(ui.__mem_func__(self.Close))

self.leftButton.SetEvent(lambda arg = 1 : self.RefreshButtons(arg))
self.rightButton.SetEvent(lambda arg = 2 : self.RefreshButtons(arg))
self.leftChildButton.SetEvent(lambda arg = 1 : self.RefreshButtons(arg))
self.rightChildButton.SetEvent(lambda arg = 2 : self.RefreshButtons(arg))
self.selectButton.SetEvent(ui.__mem_func__(self.SelectJob))
self.jobLeftName.SetText(JOB_NAME_DICT[self.GetRealRace()][0])
self.jobRightName.SetText(JOB_NAME_DICT[self.GetRealRace()][1])

self.leftButton.SetUpVisual("select_job/%s/left_normal.tga" % self.GetRealRace())
self.leftButton.SetOverVisual("select_job/%s/left_hover.tga" % self.GetRealRace())
self.leftButton.SetDownVisual("select_job/%s/left_down.tga" % self.GetRealRace())
self.rightButton.SetUpVisual("select_job/%s/right_normal.tga" % self.GetRealRace())
self.rightButton.SetOverVisual("select_job/%s/right_hover.tga" % self.GetRealRace())
self.rightButton.SetDownVisual("select_job/%s/right_down.tga" % self.GetRealRace())

race = net.GetMainActorRace()
self.raceImage.LoadImage(FACE_IMAGE_DICT[race])

self.infoText.SetText("Hosgeldiniz %s, burada yeteneklerini secebilirsin" % player.GetName())

if self.GetRealRace() == 4:
self.rightButton.Disable()
self.rightChildButton.Disable()

for i in xrange(6):
self.leftSkillSlot.SetSkillSlotNew(i, self.GetSkillIndex()+i, 3, 1)

if self.GetRealRace() != 4:
for j in xrange(6):
self.rightSkillSlot.SetSkillSlotNew(j, self.GetSkillIndex()+j+15, 3, 1)

def GetSkillIndex(self):
if self.GetRealRace() == 4:
return 170
else:
return self.GetRealRace() * 30 + 1

def GetRealRace(self):
race = net.GetMainActorRace()
if race >= 4:
return race-4
else:
return race

def RefreshButtons(self,arg):
if arg == 1:
self.leftButton.Down()
self.rightButton.SetUp()
self.leftChildButton.Down()
self.rightChildButton.SetUp()
self.selectedJob = 1
elif arg == 2:
self.leftButton.SetUp()
self.rightButton.Down()
self.leftChildButton.SetUp()
self.rightChildButton.Down()
self.selectedJob = 2

def SelectJob(self):
if self.selectedJob == 0:
self.wndPopupDialog = uiCommon.PopupDialog()
self.wndPopupDialog.SetText("Ilk once bir yetenek secin")
self.wndPopupDialog.Open()
else:
self.questionDialog = uiCommon.QuestionDialog()
self.questionDialog.SetText("Yetenegi secmek istedigine emin misin?: %s" % JOB_NAME_DICT[self.GetRealRace()][self.selectedJob-1])
self.questionDialog.SetAcceptEvent(ui.__mem_func__(self.__OnSelectJob))
self.questionDialog.SetCancelEvent(ui.__mem_func__(self.__OnCloseQuestionDialog))
self.questionDialog.Open()

def __OnSelectJob(self):
constInfo.SelectJob['QCMD'] = str(self.selectedJob)
event.QuestButtonClick(constInfo.SelectJob['QID'])
self.RealClose()
self.__OnCloseQuestionDialog()

def __OnCloseQuestionDialog(self):
if self.questionDialog:
self.questionDialog.Close()
self.questionDialog = None

def __del__(self):
ui.ScriptWindow.__del__(self)

def Open(self):
self.__LoadWindow()
self.SetCenterPosition()
self.SetTop()
self.Show()

def Close(self):
self.wndPopupDialog = uiCommon.PopupDialog()
self.wndPopupDialog.SetText("Bu pencereyi kapatamazsin.")
self.wndPopupDialog.Open()

def RealClose(self):
self.Hide()

def Destroy(self):
self.RealClose()
self.ClearDictionary()
Burada sadece () parantezlerden sonra 1 Enter yaptım..
Not : 168 diyordu böyle yaptım bu seferde 169 diyor...[/CODE]
 
Bütün herşey oldu butun kenarları köşeleri seçim ekranı bütün gui tamam fakat Skill seçtiğim zaman Skiller gelmiyor. Hiç bir Syserr yok sizce ne yapmalıyım ?

@Rainos @recepin94 @admin
 
teşekkrürler
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst