HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
dogru eklememişin , syserr txt at buraya çözelim
Buyrun hocam son kodda hata veriyor. uiexchange dosyamıda gönderdim kontrol ederseniz sevinirim giriş yapılıyor dedikten sonra pat kapatıyor.
syseer
Kod:
0508 23:56:05630 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:137) __pack_import
system.py(line:117) _process_result
introSelect.py(line:29) ?
system.py(line:137) __pack_import
system.py(line:117) _process_result
interfaceModule.py(line:24) ?
system.py(line:137) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 294)
0508 23:56:05630 :: ============================================================================================================
0508 23:56:05630 :: Abort!!!!
Kod:
import player
import exchange
import net
import locale
import chat
import item
import time
import constInfo
import os
import event
import snd
import ui
import mouseModule
import uiPickMoney
import wndMgr
###################################################################################################
## Exchange
class ExchangeDialog(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.TitleName = 0
self.tooltipItem = 0
self.xStart = 0
self.yStart = 0
self.itemlerlist = []
def __del__(self):
ui.ScriptWindow.__del__(self)
def LoadDialog(self):
PythonScriptLoader = ui.PythonScriptLoader()
PythonScriptLoader.LoadScriptFile(self, "UIScript/exchangedialog.py")
## Owner
self.OwnerSlot = self.GetChild("Owner_Slot")
self.OwnerSlot.SetSelectEmptySlotEvent(ui.__mem_func__(self.SelectOwnerEmptySlot))
self.OwnerSlot.SetSelectItemSlotEvent(ui.__mem_func__(self.SelectOwnerItemSlot))
self.OwnerSlot.SetOverInItemEvent(ui.__mem_func__(self.OverInOwnerItem))
self.OwnerSlot.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem))
self.OwnerMoney = self.GetChild("Owner_Money_Value")
self.OwnerAcceptLight = self.GetChild("Owner_Accept_Light")
self.OwnerAcceptLight.Disable()
self.OwnerMoneyButton = self.GetChild("Owner_Money")
self.OwnerMoneyButton.SetEvent(ui.__mem_func__(self.OpenPickMoneyDialog))
## Target
self.TargetSlot = self.GetChild("Target_Slot")
self.TargetSlot.SetOverInItemEvent(ui.__mem_func__(self.OverInTargetItem))
self.TargetSlot.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem))
self.TargetMoney = self.GetChild("Target_Money_Value")
self.TargetAcceptLight = self.GetChild("Target_Accept_Light")
self.TargetAcceptLight.Disable()
## PickMoneyDialog
dlgPickMoney = uiPickMoney.PickMoneyDialog()
dlgPickMoney.LoadDialog()
dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickMoney))
dlgPickMoney.SetTitleName(locale.EXCHANGE_MONEY)
dlgPickMoney.SetMax(9)
dlgPickMoney.Hide()
self.dlgPickMoney = dlgPickMoney
## Button
self.AcceptButton = self.GetChild("Owner_Accept_Button")
self.AcceptButton.SetToggleDownEvent(ui.__mem_func__(self.AcceptExchange))
bx, by = self.GetBasePosition2()
self.TitleName = self.GetChild("TitleName")
self.ThinBoard = ui.ThinBoard()
self.ThinBoard.SetSize(440-25-10-10-10, 104)
#self.ThinBoard.SetPosition(21, 201+98)
self.ListBox=ui.ListBox_Scroll()
self.ListBox.SetSize(440-25-10-10-10, 104)
#self.ListBox.SetPosition(21, 201+98)
self.GetChild("TitleBar").SetCloseEvent(net.SendExchangeExitPacket)
def Destroy(self):
print "---------------------------------------------------------------------------- DESTROY EXCHANGE"
self.ClearDictionary()
self.dlgPickMoney.Destroy()
self.dlgPickMoney = 0
self.OwnerSlot = 0
self.OwnerMoney = 0
self.OwnerAcceptLight = 0
self.OwnerMoneyButton = 0
self.TargetSlot = 0
self.TargetMoney = 0
self.TargetAcceptLight = 0
self.TitleName = 0
self.AcceptButton = 0
self.tooltipItem = 0
def OpenDialog(self):
self.TitleName.SetText(locale.EXCHANGE_TITLE % (exchange.GetNameFromTarget()))
self.AcceptButton.Enable()
self.AcceptButton.SetUp()
self.Show()
import constInfo
constInfo.tic_acik_bro = 1
constInfo.TICARET_LOG = []
self.itemlerlist = []
self.ListBox.ClearItem()
self.ThinBoard.Show()
self.ListBox.Show()
self.ListBox.InsertItem(0, str(exchange.GetNameFromTarget()) + " |cFF0080FF|H|hadlı oyuncuyla ticaret başladı.")
(self.xStart, self.yStart, z) = player.GetMainCharacterPosition()
def CloseDialog(self):
wndMgr.OnceIgnoreMouseLeftButtonUpEvent()
if 0 != self.tooltipItem:
self.tooltipItem.HideToolTip()
self.dlgPickMoney.Close()
self.Hide()
self.ListBox.Hide()
self.ThinBoard.Hide()
def SetItemToolTip(self, tooltipItem):
self.tooltipItem = tooltipItem
def OpenPickMoneyDialog(self):
if exchange.GetElkFromSelf() > 0:
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.EXCHANGE_CANT_EDIT_MONEY)
return
self.dlgPickMoney.Open(player.GetElk())
def OnPickMoney(self, money):
net.SendWhisperPacket(exchange.GetNameFromTarget(), "#ticaret_add_money#"+str(money)+"#")
constInfo.TICARET_LOG.insert(0, "#money_#"+str(money)+"#"+str(player.GetName())+"#")
self.RefreshLogWithExchange()
net.SendExchangeElkAddPacket(money)
def AcceptExchange(self):
net.SendExchangeAcceptPacket()
self.AcceptButton.Disable()
def SelectOwnerEmptySlot(self, SlotIndex):
if FALSE == mouseModule.mouseController.isAttached():
return
if mouseModule.mouseController.IsAttachedMoney():
net.SendExchangeElkAddPacket(mouseModule.mouseController.GetAttachedMoneyAmount())
else:
if player.SLOT_TYPE_INVENTORY == mouseModule.mouseController.GetAttachedType():
SrcSlotNumber = mouseModule.mouseController.GetAttachedSlotNumber()
DstSlotNumber = SlotIndex
itemID = player.GetItemIndex(attachedInvenType, SrcSlotNumber)
item.SelectItem(itemID)
ad = item.GetItemName()
adet = player.GetItemCount(SrcSlotNumber)
saat = time.strftime("[%d.%m.%y, %H:%M:%S]")
if item.IsAntiFlag(item.ANTIFLAG_GIVE):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.EXCHANGE_CANNOT_GIVE)
mouseModule.mouseController.DeattachObject()
return
if not SrcSlotNumber in self.itemlerlist:
net.SendWhisperPacket(exchange.GetNameFromTarget(), "#ticaret_add#"+str(player.GetName())+"#"+str(ad)+"#"+str(adet)+"#"+str(saat)+"#")
constInfo.TICARET_LOG.insert(0, "#"+str(player.GetName())+"#"+str(ad)+"#"+str(adet)+"#"+str(saat)+"#")
self.RefreshLogWithExchange()
self.itemlerlist.append(SrcSlotNumber)
net.SendExchangeItemAddPacket(attachedInvenType, SrcSlotNumber, DstSlotNumber)
mouseModule.mouseController.DeattachObject()
def RefreshLogWithExchange(self):
self.ListBox.ClearItem()
for i in xrange(0, len(constInfo.TICARET_LOG)):
if constInfo.TICARET_LOG[i].split("#")[1] == player.GetName():
self.ListBox.InsertItem(i, "|cFFFF0000|H|hSen : |cFFFFFF00|H|h" + str(constInfo.TICARET_LOG[i].split("#")[2]) + "(" + str(constInfo.TICARET_LOG[i].split("#")[3]) + "adet) koydun. |c000000|H|h" + str(constInfo.TICARET_LOG[i].split("#")[4]))
else:
if constInfo.TICARET_LOG[i].split("#")[1] == "money_" and constInfo.TICARET_LOG[i].split("#")[3] == player.GetName():
self.ListBox.InsertItem(i, "|cFFFF0000|H|hSen : |c000000|H|hYang miktarini |cFFFFFF00|H|h" + localeInfo.NumberToMoneyString(str(constInfo.TICARET_LOG[i].split("#")[2])) + " olarak degistirdin.")
else:
if constInfo.TICARET_LOG[i].split("#")[1] == "money_" and constInfo.TICARET_LOG[i].split("#")[3] != player.GetName():
self.ListBox.InsertItem(i, "|cFF32CD32|H|h" + str(exchange.GetNameFromTarget()) + " : |c000000|H|hYang miktarini |cFFFFFF00|H|h" + localeInfo.NumberToMoneyString(str(constInfo.TICARET_LOG[i].split("#")[2])) + " olarak degistirdi.")
else:
self.ListBox.InsertItem(i, "|cFF32CD32|H|h"+str(constInfo.TICARET_LOG[i].split("#")[1])+" : |cFFFFFF00|H|h" + str(constInfo.TICARET_LOG[i].split("#")[2]) + "(" + str(constInfo.TICARET_LOG[i].split("#")[3]) + "adet) koydu. |c000000|H|h" + str(constInfo.TICARET_LOG[i].split("#")[4]))
def SelectOwnerItemSlot(self, SlotIndex):
if player.ITEM_MONEY == mouseModule.mouseController.GetAttachedItemIndex():
money = mouseModule.mouseController.GetAttachedItemCount()
net.SendExchangeElkAddPacket(money)
def RefreshOwnerSlot(self):
for i in xrange(exchange.EXCHANGE_ITEM_MAX_NUM):
itemIndex = exchange.GetItemVnumFromSelf(i)
itemCount = exchange.GetItemCountFromSelf(i)
if 1 == itemCount:
itemCount = 0
self.OwnerSlot.SetItemSlot(i, itemIndex, itemCount)
self.OwnerSlot.RefreshSlot()
def RefreshTargetSlot(self):
for i in xrange(exchange.EXCHANGE_ITEM_MAX_NUM):
itemIndex = exchange.GetItemVnumFromTarget(i)
itemCount = exchange.GetItemCountFromTarget(i)
if 1 == itemCount:
itemCount = 0
self.TargetSlot.SetItemSlot(i, itemIndex, itemCount)
self.TargetSlot.RefreshSlot()
def Refresh(self):
self.RefreshOwnerSlot()
self.RefreshTargetSlot()
self.OwnerMoney.SetText(locale.NumberToMoneyString(str(exchange.GetElkFromSelf())))
self.TargetMoney.SetText(locale.NumberToMoneyString(str(exchange.GetElkFromTarget())))
if TRUE == exchange.GetAcceptFromSelf():
self.OwnerAcceptLight.Down()
else:
self.AcceptButton.Enable()
self.AcceptButton.SetUp()
self.OwnerAcceptLight.SetUp()
if TRUE == exchange.GetAcceptFromTarget():
net.SendWhisperPacket(exchange.GetNameFromTarget(), "#ticaret_tamamlandi#")
if os.path.exists(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg"):
ac = open(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg", "r")
oku = ac.read()
open(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg", "w").write("#"+str(exchange.GetNameFromTarget())+"#"+str(time.strftime("%d/%m/%Y,%H:%M:%S"))+"#\n"+oku)
else:
open(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg", "w").write("#"+str(exchange.GetNameFromTarget())+"#"+str(time.strftime("%d/%m/%Y,%H:%M:%S"))+"#\n")
self.TargetAcceptLight.Down()
else:
self.TargetAcceptLight.SetUp()
def OverInOwnerItem(self, slotIndex):
if 0 != self.tooltipItem:
self.tooltipItem.SetExchangeOwnerItem(slotIndex)
def OverInTargetItem(self, slotIndex):
if 0 != self.tooltipItem:
self.tooltipItem.SetExchangeTargetItem(slotIndex)
def OverOutItem(self):
if 0 != self.tooltipItem:
self.tooltipItem.HideToolTip()
def OnTop(self):
self.tooltipItem.SetTop()
def OnUpdate(self):
self.AdjustPositionAndSize()
if constInfo.TICARET_OK == 1:
self.RefreshLogWithExchange()
constInfo.TICARET_OK = 0
USE_EXCHANGE_LIMIT_RANGE = 1000
(x, y, z) = player.GetMainCharacterPosition()
if abs(x - self.xStart) > USE_EXCHANGE_LIMIT_RANGE or abs(y - self.yStart) > USE_EXCHANGE_LIMIT_RANGE:
(self.xStart, self.yStart, z) = player.GetMainCharacterPosition()
net.SendExchangeExitPacket()
def IsOpeningInventory(self):
return self.IsShow()
def GetBasePosition2(self):
x, y = self.GetGlobalPosition()
return x - 25+39-6, y + 370+25-180
def AdjustPositionAndSize(self):
bx, by = self.GetBasePosition2()
if self.IsOpeningInventory():
self.ListBox.SetPosition(bx+5, by)
self.ThinBoard.SetPosition(bx, by)
else:
self.ThinBoard.SetPosition(bx + 200, by);
self.ListBox.SetPosition(bx + 200+5, by);
def OnMoveWindow(self, x, y):
self.AdjustPositionAndSize()
Buyrun hocam son kodda hata veriyor. uiexchange dosyamıda gönderdim kontrol ederseniz sevinirim giriş yapılıyor dedikten sonra pat kapatıyor.
syseer
Kod:0508 23:56:05630 :: networkModule.py(line:194) SetSelectCharacterPhase system.py(line:137) __pack_import system.py(line:117) _process_result introSelect.py(line:29) ? system.py(line:137) __pack_import system.py(line:117) _process_result interfaceModule.py(line:24) ? system.py(line:137) __pack_import networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 294) 0508 23:56:05630 :: ============================================================================================================ 0508 23:56:05630 :: Abort!!!!
Kod:import player import exchange import net import locale import chat import item import time import constInfo import os import event import snd import ui import mouseModule import uiPickMoney import wndMgr ################################################################################################### ## Exchange class ExchangeDialog(ui.ScriptWindow): def __init__(self): ui.ScriptWindow.__init__(self) self.TitleName = 0 self.tooltipItem = 0 self.xStart = 0 self.yStart = 0 self.itemlerlist = [] def __del__(self): ui.ScriptWindow.__del__(self) def LoadDialog(self): PythonScriptLoader = ui.PythonScriptLoader() PythonScriptLoader.LoadScriptFile(self, "UIScript/exchangedialog.py") ## Owner self.OwnerSlot = self.GetChild("Owner_Slot") self.OwnerSlot.SetSelectEmptySlotEvent(ui.__mem_func__(self.SelectOwnerEmptySlot)) self.OwnerSlot.SetSelectItemSlotEvent(ui.__mem_func__(self.SelectOwnerItemSlot)) self.OwnerSlot.SetOverInItemEvent(ui.__mem_func__(self.OverInOwnerItem)) self.OwnerSlot.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem)) self.OwnerMoney = self.GetChild("Owner_Money_Value") self.OwnerAcceptLight = self.GetChild("Owner_Accept_Light") self.OwnerAcceptLight.Disable() self.OwnerMoneyButton = self.GetChild("Owner_Money") self.OwnerMoneyButton.SetEvent(ui.__mem_func__(self.OpenPickMoneyDialog)) ## Target self.TargetSlot = self.GetChild("Target_Slot") self.TargetSlot.SetOverInItemEvent(ui.__mem_func__(self.OverInTargetItem)) self.TargetSlot.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem)) self.TargetMoney = self.GetChild("Target_Money_Value") self.TargetAcceptLight = self.GetChild("Target_Accept_Light") self.TargetAcceptLight.Disable() ## PickMoneyDialog dlgPickMoney = uiPickMoney.PickMoneyDialog() dlgPickMoney.LoadDialog() dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickMoney)) dlgPickMoney.SetTitleName(locale.EXCHANGE_MONEY) dlgPickMoney.SetMax(9) dlgPickMoney.Hide() self.dlgPickMoney = dlgPickMoney ## Button self.AcceptButton = self.GetChild("Owner_Accept_Button") self.AcceptButton.SetToggleDownEvent(ui.__mem_func__(self.AcceptExchange)) bx, by = self.GetBasePosition2() self.TitleName = self.GetChild("TitleName") self.ThinBoard = ui.ThinBoard() self.ThinBoard.SetSize(440-25-10-10-10, 104) #self.ThinBoard.SetPosition(21, 201+98) self.ListBox=ui.ListBox_Scroll() self.ListBox.SetSize(440-25-10-10-10, 104) #self.ListBox.SetPosition(21, 201+98) self.GetChild("TitleBar").SetCloseEvent(net.SendExchangeExitPacket) def Destroy(self): print "---------------------------------------------------------------------------- DESTROY EXCHANGE" self.ClearDictionary() self.dlgPickMoney.Destroy() self.dlgPickMoney = 0 self.OwnerSlot = 0 self.OwnerMoney = 0 self.OwnerAcceptLight = 0 self.OwnerMoneyButton = 0 self.TargetSlot = 0 self.TargetMoney = 0 self.TargetAcceptLight = 0 self.TitleName = 0 self.AcceptButton = 0 self.tooltipItem = 0 def OpenDialog(self): self.TitleName.SetText(locale.EXCHANGE_TITLE % (exchange.GetNameFromTarget())) self.AcceptButton.Enable() self.AcceptButton.SetUp() self.Show() import constInfo constInfo.tic_acik_bro = 1 constInfo.TICARET_LOG = [] self.itemlerlist = [] self.ListBox.ClearItem() self.ThinBoard.Show() self.ListBox.Show() self.ListBox.InsertItem(0, str(exchange.GetNameFromTarget()) + " |cFF0080FF|H|hadlı oyuncuyla ticaret başladı.") (self.xStart, self.yStart, z) = player.GetMainCharacterPosition() def CloseDialog(self): wndMgr.OnceIgnoreMouseLeftButtonUpEvent() if 0 != self.tooltipItem: self.tooltipItem.HideToolTip() self.dlgPickMoney.Close() self.Hide() self.ListBox.Hide() self.ThinBoard.Hide() def SetItemToolTip(self, tooltipItem): self.tooltipItem = tooltipItem def OpenPickMoneyDialog(self): if exchange.GetElkFromSelf() > 0: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.EXCHANGE_CANT_EDIT_MONEY) return self.dlgPickMoney.Open(player.GetElk()) def OnPickMoney(self, money): net.SendWhisperPacket(exchange.GetNameFromTarget(), "#ticaret_add_money#"+str(money)+"#") constInfo.TICARET_LOG.insert(0, "#money_#"+str(money)+"#"+str(player.GetName())+"#") self.RefreshLogWithExchange() net.SendExchangeElkAddPacket(money) def AcceptExchange(self): net.SendExchangeAcceptPacket() self.AcceptButton.Disable() def SelectOwnerEmptySlot(self, SlotIndex): if FALSE == mouseModule.mouseController.isAttached(): return if mouseModule.mouseController.IsAttachedMoney(): net.SendExchangeElkAddPacket(mouseModule.mouseController.GetAttachedMoneyAmount()) else: if player.SLOT_TYPE_INVENTORY == mouseModule.mouseController.GetAttachedType(): SrcSlotNumber = mouseModule.mouseController.GetAttachedSlotNumber() DstSlotNumber = SlotIndex itemID = player.GetItemIndex(attachedInvenType, SrcSlotNumber) item.SelectItem(itemID) ad = item.GetItemName() adet = player.GetItemCount(SrcSlotNumber) saat = time.strftime("[%d.%m.%y, %H:%M:%S]") if item.IsAntiFlag(item.ANTIFLAG_GIVE): chat.AppendChat(chat.CHAT_TYPE_INFO, locale.EXCHANGE_CANNOT_GIVE) mouseModule.mouseController.DeattachObject() return if not SrcSlotNumber in self.itemlerlist: net.SendWhisperPacket(exchange.GetNameFromTarget(), "#ticaret_add#"+str(player.GetName())+"#"+str(ad)+"#"+str(adet)+"#"+str(saat)+"#") constInfo.TICARET_LOG.insert(0, "#"+str(player.GetName())+"#"+str(ad)+"#"+str(adet)+"#"+str(saat)+"#") self.RefreshLogWithExchange() self.itemlerlist.append(SrcSlotNumber) net.SendExchangeItemAddPacket(attachedInvenType, SrcSlotNumber, DstSlotNumber) mouseModule.mouseController.DeattachObject() def RefreshLogWithExchange(self): self.ListBox.ClearItem() for i in xrange(0, len(constInfo.TICARET_LOG)): if constInfo.TICARET_LOG[i].split("#")[1] == player.GetName(): self.ListBox.InsertItem(i, "|cFFFF0000|H|hSen : |cFFFFFF00|H|h" + str(constInfo.TICARET_LOG[i].split("#")[2]) + "(" + str(constInfo.TICARET_LOG[i].split("#")[3]) + "adet) koydun. |c000000|H|h" + str(constInfo.TICARET_LOG[i].split("#")[4])) else: if constInfo.TICARET_LOG[i].split("#")[1] == "money_" and constInfo.TICARET_LOG[i].split("#")[3] == player.GetName(): self.ListBox.InsertItem(i, "|cFFFF0000|H|hSen : |c000000|H|hYang miktarini |cFFFFFF00|H|h" + localeInfo.NumberToMoneyString(str(constInfo.TICARET_LOG[i].split("#")[2])) + " olarak degistirdin.") else: if constInfo.TICARET_LOG[i].split("#")[1] == "money_" and constInfo.TICARET_LOG[i].split("#")[3] != player.GetName(): self.ListBox.InsertItem(i, "|cFF32CD32|H|h" + str(exchange.GetNameFromTarget()) + " : |c000000|H|hYang miktarini |cFFFFFF00|H|h" + localeInfo.NumberToMoneyString(str(constInfo.TICARET_LOG[i].split("#")[2])) + " olarak degistirdi.") else: self.ListBox.InsertItem(i, "|cFF32CD32|H|h"+str(constInfo.TICARET_LOG[i].split("#")[1])+" : |cFFFFFF00|H|h" + str(constInfo.TICARET_LOG[i].split("#")[2]) + "(" + str(constInfo.TICARET_LOG[i].split("#")[3]) + "adet) koydu. |c000000|H|h" + str(constInfo.TICARET_LOG[i].split("#")[4])) def SelectOwnerItemSlot(self, SlotIndex): if player.ITEM_MONEY == mouseModule.mouseController.GetAttachedItemIndex(): money = mouseModule.mouseController.GetAttachedItemCount() net.SendExchangeElkAddPacket(money) def RefreshOwnerSlot(self): for i in xrange(exchange.EXCHANGE_ITEM_MAX_NUM): itemIndex = exchange.GetItemVnumFromSelf(i) itemCount = exchange.GetItemCountFromSelf(i) if 1 == itemCount: itemCount = 0 self.OwnerSlot.SetItemSlot(i, itemIndex, itemCount) self.OwnerSlot.RefreshSlot() def RefreshTargetSlot(self): for i in xrange(exchange.EXCHANGE_ITEM_MAX_NUM): itemIndex = exchange.GetItemVnumFromTarget(i) itemCount = exchange.GetItemCountFromTarget(i) if 1 == itemCount: itemCount = 0 self.TargetSlot.SetItemSlot(i, itemIndex, itemCount) self.TargetSlot.RefreshSlot() def Refresh(self): self.RefreshOwnerSlot() self.RefreshTargetSlot() self.OwnerMoney.SetText(locale.NumberToMoneyString(str(exchange.GetElkFromSelf()))) self.TargetMoney.SetText(locale.NumberToMoneyString(str(exchange.GetElkFromTarget()))) if TRUE == exchange.GetAcceptFromSelf(): self.OwnerAcceptLight.Down() else: self.AcceptButton.Enable() self.AcceptButton.SetUp() self.OwnerAcceptLight.SetUp() if TRUE == exchange.GetAcceptFromTarget(): net.SendWhisperPacket(exchange.GetNameFromTarget(), "#ticaret_tamamlandi#") if os.path.exists(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg"): ac = open(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg", "r") oku = ac.read() open(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg", "w").write("#"+str(exchange.GetNameFromTarget())+"#"+str(time.strftime("%d/%m/%Y,%H:%M:%S"))+"#\n"+oku) else: open(str(constInfo.CLIENT_YOL)+"ticaret_"+str(player.GetName())+".cfg", "w").write("#"+str(exchange.GetNameFromTarget())+"#"+str(time.strftime("%d/%m/%Y,%H:%M:%S"))+"#\n") self.TargetAcceptLight.Down() else: self.TargetAcceptLight.SetUp() def OverInOwnerItem(self, slotIndex): if 0 != self.tooltipItem: self.tooltipItem.SetExchangeOwnerItem(slotIndex) def OverInTargetItem(self, slotIndex): if 0 != self.tooltipItem: self.tooltipItem.SetExchangeTargetItem(slotIndex) def OverOutItem(self): if 0 != self.tooltipItem: self.tooltipItem.HideToolTip() def OnTop(self): self.tooltipItem.SetTop() def OnUpdate(self): self.AdjustPositionAndSize() if constInfo.TICARET_OK == 1: self.RefreshLogWithExchange() constInfo.TICARET_OK = 0 USE_EXCHANGE_LIMIT_RANGE = 1000 (x, y, z) = player.GetMainCharacterPosition() if abs(x - self.xStart) > USE_EXCHANGE_LIMIT_RANGE or abs(y - self.yStart) > USE_EXCHANGE_LIMIT_RANGE: (self.xStart, self.yStart, z) = player.GetMainCharacterPosition() net.SendExchangeExitPacket() def IsOpeningInventory(self): return self.IsShow() def GetBasePosition2(self): x, y = self.GetGlobalPosition() return x - 25+39-6, y + 370+25-180 def AdjustPositionAndSize(self): bx, by = self.GetBasePosition2() if self.IsOpeningInventory(): self.ListBox.SetPosition(bx+5, by) self.ThinBoard.SetPosition(bx, by) else: self.ThinBoard.SetPosition(bx + 200, by); self.ListBox.SetPosition(bx + 200+5, by); def OnMoveWindow(self, x, y): self.AdjustPositionAndSize()
pyyi normal olarak salla 294.cü satırda tab sıkıntısı var
pyyi normal olarak salla 294.cü satırda tab sıkıntısı var
Peki,tab'ı ayarladım hayla aynı hata
Peki,tab'ı ayarladım hayla aynı hata
hocam böyle olmuyor
skypeden veya facebooktan ekleyin yardımcı olayım skype : asiply
face :
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Merhabalar Turkmmo Ailesi Uzun Zamandır Yoktum turkmmoya güel güzel şeyler paylaşılmış neden bunu
türk halkına türk formuna paylaşmayalımherneyse Lafı kısa keselim
.
Sıkıntı , yapamama gibi durumlarda konuya yorum yazın veya skype : " asiply " ekleyin yardımcı olalım.
Anlatım aşağıda bulunan linklerde mevcut ;
Kardeşim ben sistemi ekledim eyvallah ama bi sorunum var.
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
ticarete item koyamıyorum birde tablo biraz aşağıda onu nasıl halledebilirim birsürü syser verdi.
Kod:
0607 08:04:28852 :: File "game.py", line 1121, in StartExchange
0607 08:04:28852 :: File "interfaceModule.py", line 629, in StartExchange
0607 08:04:28852 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:28852 :: IOError
0607 08:04:28852 :: :
0607 08:04:28852 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:28852 ::
0607 08:04:28853 :: Traceback (most recent call last):
0607 08:04:28853 :: File "game.py", line 1127, in RefreshExchange
0607 08:04:28853 :: File "interfaceModule.py", line 635, in RefreshExchange
0607 08:04:28853 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:28853 :: IOError
0607 08:04:28853 :: :
0607 08:04:28853 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:28853 ::
0607 08:04:28934 :: Traceback (most recent call last):
0607 08:04:28934 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:28934 :: IOError
0607 08:04:28934 :: :
0607 08:04:28934 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:28934 ::
0607 08:04:28934 :: Traceback (most recent call last):
0607 08:04:28934 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:28935 :: IOError
0607 08:04:28935 :: :
0607 08:04:28935 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:28935 ::
0607 08:04:50087 :: Traceback (most recent call last):
0607 08:04:50087 :: File "game.py", line 1121, in StartExchange
0607 08:04:50087 :: File "interfaceModule.py", line 629, in StartExchange
0607 08:04:50088 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:50088 :: IOError
0607 08:04:50088 :: :
0607 08:04:50088 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:50088 ::
0607 08:04:50169 :: Traceback (most recent call last):
0607 08:04:50169 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:50169 :: IOError
0607 08:04:50169 :: :
0607 08:04:50169 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:50169 ::
0607 08:04:55614 :: Traceback (most recent call last):
0607 08:04:55614 :: File "game.py", line 1121, in StartExchange
0607 08:04:55614 :: File "interfaceModule.py", line 629, in StartExchange
0607 08:04:55615 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:55615 :: IOError
0607 08:04:55615 :: :
0607 08:04:55615 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:55615 ::
0607 08:04:55615 :: Traceback (most recent call last):
0607 08:04:55615 :: File "game.py", line 1127, in RefreshExchange
0607 08:04:55616 :: File "interfaceModule.py", line 635, in RefreshExchange
0607 08:04:55616 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:55616 :: IOError
0607 08:04:55616 :: :
0607 08:04:55616 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:55616 ::
0607 08:04:55697 :: Traceback (most recent call last):
0607 08:04:55697 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:55697 :: IOError
0607 08:04:55697 :: :
0607 08:04:55697 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:55697 ::
0607 08:04:55697 :: Traceback (most recent call last):
0607 08:04:55697 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:55697 :: IOError
0607 08:04:55697 :: :
0607 08:04:55697 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:55697 ::
0607 08:04:02247 :: Traceback (most recent call last):
0607 08:04:02247 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:02247 :: IOError
0607 08:04:02247 :: :
0607 08:04:02247 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:04:02247 ::
0607 08:05:06174 :: Traceback (most recent call last):
0607 08:05:06174 :: File "game.py", line 1121, in StartExchange
0607 08:05:06174 :: File "interfaceModule.py", line 629, in StartExchange
0607 08:05:06175 :: File "uiExchange.py", line 295, in Refresh
0607 08:05:06175 :: IOError
0607 08:05:06175 :: :
0607 08:05:06175 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:05:06175 ::
0607 08:05:06175 :: Traceback (most recent call last):
0607 08:05:06175 :: File "game.py", line 1127, in RefreshExchange
0607 08:05:06176 :: File "interfaceModule.py", line 635, in RefreshExchange
0607 08:05:06176 :: File "uiExchange.py", line 295, in Refresh
0607 08:05:06176 :: IOError
0607 08:05:06176 :: :
0607 08:05:06176 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:05:06176 ::
0607 08:05:06257 :: Traceback (most recent call last):
0607 08:05:06257 :: File "game.py", line 981, in OnRecvWhisper
0607 08:05:06257 :: IOError
0607 08:05:06257 :: :
0607 08:05:06257 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:05:06257 ::
0607 08:05:06257 :: Traceback (most recent call last):
0607 08:05:06257 :: File "game.py", line 981, in OnRecvWhisper
0607 08:05:06257 :: IOError
0607 08:05:06257 :: :
0607 08:05:06257 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_CapTainBLack.cfg'
0607 08:05:06257 ::
nge
0607 08:04:58320 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:58320 :: IOError
0607 08:04:58320 :: :
0607 08:04:58320 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:58320 ::
0607 08:04:58402 :: Traceback (most recent call last):
0607 08:04:58402 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:58402 :: IOError
0607 08:04:58402 :: :
0607 08:04:58402 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:58402 ::
0607 08:04:00051 :: Traceback (most recent call last):
0607 08:04:00051 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:00051 :: File "ui.py", line 87, in __call__
0607 08:04:00051 :: File "ui.py", line 78, in __call__
0607 08:04:00052 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:00052 :: NameError
0607 08:04:00052 :: :
0607 08:04:00052 :: global name 'attachedInvenType' is not defined
0607 08:04:00052 ::
0607 08:04:00414 :: Traceback (most recent call last):
0607 08:04:00415 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:00415 :: File "ui.py", line 87, in __call__
0607 08:04:00415 :: File "ui.py", line 78, in __call__
0607 08:04:00416 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:00416 :: NameError
0607 08:04:00416 :: :
0607 08:04:00416 :: global name 'attachedInvenType' is not defined
0607 08:04:00416 ::
0607 08:04:00662 :: Traceback (most recent call last):
0607 08:04:00662 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:00662 :: File "ui.py", line 87, in __call__
0607 08:04:00662 :: File "ui.py", line 78, in __call__
0607 08:04:00663 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:00663 :: NameError
0607 08:04:00663 :: :
0607 08:04:00663 :: global name 'attachedInvenType' is not defined
0607 08:04:00663 ::
0607 08:04:03846 :: Traceback (most recent call last):
0607 08:04:03846 :: File "game.py", line 1121, in StartExchange
0607 08:04:03846 :: File "interfaceModule.py", line 629, in StartExchange
0607 08:04:03847 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:03847 :: IOError
0607 08:04:03847 :: :
0607 08:04:03847 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:03847 ::
0607 08:04:03847 :: Traceback (most recent call last):
0607 08:04:03847 :: File "game.py", line 1127, in RefreshExchange
0607 08:04:03847 :: File "interfaceModule.py", line 635, in RefreshExchange
0607 08:04:03848 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:03848 :: IOError
0607 08:04:03848 :: :
0607 08:04:03848 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:03848 ::
0607 08:04:03929 :: Traceback (most recent call last):
0607 08:04:03929 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:03929 :: IOError
0607 08:04:03929 :: :
0607 08:04:03929 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:03929 ::
0607 08:04:03929 :: Traceback (most recent call last):
0607 08:04:03929 :: File "game.py", line 981, in OnRecvWhisper
0607 08:04:03929 :: IOError
0607 08:04:03929 :: :
0607 08:04:03929 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:03929 ::
0607 08:04:08021 :: Traceback (most recent call last):
0607 08:04:08021 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:08021 :: File "ui.py", line 87, in __call__
0607 08:04:08021 :: File "ui.py", line 78, in __call__
0607 08:04:08022 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:08022 :: NameError
0607 08:04:08022 :: :
0607 08:04:08022 :: global name 'attachedInvenType' is not defined
0607 08:04:08022 ::
0607 08:04:08252 :: Traceback (most recent call last):
0607 08:04:08252 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:08252 :: File "ui.py", line 87, in __call__
0607 08:04:08252 :: File "ui.py", line 78, in __call__
0607 08:04:08252 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:08252 :: NameError
0607 08:04:08252 :: :
0607 08:04:08253 :: global name 'attachedInvenType' is not defined
0607 08:04:08253 ::
0607 08:04:08483 :: Traceback (most recent call last):
0607 08:04:08483 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:08483 :: File "ui.py", line 87, in __call__
0607 08:04:08483 :: File "ui.py", line 78, in __call__
0607 08:04:08483 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:08483 :: NameError
0607 08:04:08483 :: :
0607 08:04:08483 :: global name 'attachedInvenType' is not defined
0607 08:04:08484 ::
0607 08:04:08681 :: Traceback (most recent call last):
0607 08:04:08681 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:08681 :: File "ui.py", line 87, in __call__
0607 08:04:08681 :: File "ui.py", line 78, in __call__
0607 08:04:08682 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:08682 :: NameError
0607 08:04:08682 :: :
0607 08:04:08682 :: global name 'attachedInvenType' is not defined
0607 08:04:08682 ::
0607 08:04:08780 :: Traceback (most recent call last):
0607 08:04:08780 :: File "ui.py", line 1386, in OnSelectEmptySlot
0607 08:04:08780 :: File "ui.py", line 87, in __call__
0607 08:04:08780 :: File "ui.py", line 78, in __call__
0607 08:04:08780 :: File "uiExchange.py", line 206, in SelectOwnerEmptySlot
0607 08:04:08780 :: NameError
0607 08:04:08780 :: :
0607 08:04:08780 :: global name 'attachedInvenType' is not defined
0607 08:04:08780 ::
0607 08:04:10413 :: Traceback (most recent call last):
0607 08:04:10413 :: File "game.py", line 1127, in RefreshExchange
0607 08:04:10413 :: File "interfaceModule.py", line 635, in RefreshExchange
0607 08:04:10413 :: File "uiExchange.py", line 295, in Refresh
0607 08:04:10413 :: IOError
0607 08:04:10413 :: :
0607 08:04:10413 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:04:10413 ::
0607 08:05:14406 :: Traceback (most recent call last):
0607 08:05:14406 :: File "game.py", line 1121, in StartExchange
0607 08:05:14406 :: File "interfaceModule.py", line 629, in StartExchange
0607 08:05:14407 :: File "uiExchange.py", line 295, in Refresh
0607 08:05:14407 :: IOError
0607 08:05:14407 :: :
0607 08:05:14407 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:05:14407 ::
0607 08:05:14407 :: Traceback (most recent call last):
0607 08:05:14407 :: File "game.py", line 1127, in RefreshExchange
0607 08:05:14407 :: File "interfaceModule.py", line 635, in RefreshExchange
0607 08:05:14408 :: File "uiExchange.py", line 295, in Refresh
0607 08:05:14408 :: IOError
0607 08:05:14408 :: :
0607 08:05:14408 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:05:14408 ::
0607 08:05:14489 :: Traceback (most recent call last):
0607 08:05:14489 :: File "game.py", line 981, in OnRecvWhisper
0607 08:05:14489 :: IOError
0607 08:05:14489 :: :
0607 08:05:14489 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:05:14489 ::
0607 08:05:14489 :: Traceback (most recent call last):
0607 08:05:14489 :: File "game.py", line 981, in OnRecvWhisper
0607 08:05:14489 :: IOError
0607 08:05:14490 :: :
0607 08:05:14490 :: [Errno 2] No such file or directory: 'lib/ayar/ticaret_[Buyuk-Soft].cfg'
0607 08:05:14490 ::
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...

herneyse Lafı kısa keselim