NvL
-
Posts
39 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by NvL
-
-
-
The quest effect disappears after 2 seconds when I enter the character
serverfiles tmp4
sysser 0
-
4 hours ago, Abel(Tiger) said:
Everyone has this "problem". The problem is in uiShop.py in the function def SellAttachedItem.
if item.IsAntiFlag(item.ANTIFLAG_SELL): popup = uiCommon.PopupDialog() popup.SetText(localeInfo.SHOP_CANNOT_SELL_ITEM) popup.SetAcceptEvent(self.__OnClosePopupDialog) popup.Open() self.popup = popup return
Add a mouseModule.mouseController.DeattachObject() before the popup appears like this:
if item.IsAntiFlag(item.ANTIFLAG_SELL): mouseModule.mouseController.DeattachObject() popup = uiCommon.PopupDialog() popup.SetText(localeInfo.SHOP_CANNOT_SELL_ITEM) popup.SetAcceptEvent(self.__OnClosePopupDialog) popup.Open() self.popup = popup return
solved, thanks
-
12 minutes ago, xP3NG3Rx said:
Most probably after the popup window shows, the code returns before the mouseModule could have detached the icon instance.
def onclickinshop(self, *args): #some code here if __this_is_not_allowed__(self, *args): self.popup.setText("Acest obiect nu este de blabla") return #some code here too mouseModule.mouseController.DeattachObject()
Start looking in the game.py (OnMouseLeftButtonUp function)
Also you can check with a simple debug message if the DeattachObject of the mouseModule runs or it doesn't, if it runs then the problem may be there inside the Detach function.can you help me ?
uiinventory
game
-
-
item remains stuck on the mouse when I sell to npc
-
the items do not go into the special inventory
sorry i did wrong codes 50701 and 50720 is good
-
I solved it, thank you
-
3 hours ago, NvL said:
I solved emoji
except this does not appear well
self.sellPrice.SetText("|Ikey/yang|i"+localeInfo.NumberToDecimalStringQuickSell(price))
|Ikey/yang|i
I can sell only with npc open
-
I solved emoji
except this does not appear well
self.sellPrice.SetText("|Ikey/yang|i"+localeInfo.NumberToDecimalStringQuickSell(price))
|Ikey/yang|i
-
doesn't want to go. X(
-
i used this for emoji and it still doesn't work
-
:((((((((((((((((((((((((
-
5 hours ago, Chitra said:
Sorry, I forgot to attach that function.
The github has been updated with the missing file.
def NumberToDecimalStringQuickSell(n): return "%s" % ('.'.join([i - 3 < 0 and str(n / 5)[:i] or str(n / 5)[i - 3:i] for i in range(len(str(n / 5)) % 3, len(str(n / 5)) + 1, 3) if i]))
where does it come from?
- 1
-
0309 00:19:18332 :: Traceback (most recent call last):
0309 00:19:18332 :: File "ui.py", line 1905, in OnUnselectItemSlot
0309 00:19:18332 :: File "ui.py", line 88, in __call__
0309 00:19:18332 :: File "ui.py", line 79, in __call__
0309 00:19:18332 :: File "uiInventory.py", line 2013, in UseItemSlot
0309 00:19:18333 :: File "interfaceModule.py", line 1859, in AppendSellSlot
0309 00:19:18333 :: File "interfaceModule.py", line 1849, in UpdateQuickSellPrice
0309 00:19:18333 :: File "uiQuickSell.py", line 117, in UpdatePrice
0309 00:19:18333 :: AttributeError
0309 00:19:18333 :: :
0309 00:19:18333 :: 'module' object has no attribute 'NumberToDecimalStringQuickSell'X(
-
compile resolved
0308 23:34:15466 :: Traceback (most recent call last):
0308 23:34:15466 :: File "networkModule.py", line 247, in SetGamePhase
0308 23:34:15466 :: File "game.py", line 102, in __init__
0308 23:34:15466 :: File "interfaceModule.py", line 355, in MakeInterface
0308 23:34:15467 :: File "interfaceModule.py", line 141, in __MakeQuickSell
0308 23:34:15467 :: File "uiQuickSell.py", line 24, in __init__
0308 23:34:15467 :: File "uiQuickSell.py", line 87, in BoardInterface
0308 23:34:15467 :: TypeError
0308 23:34:15467 :: :
0308 23:34:15467 :: MakeTextLine() takes exactly 1 argument (5 given)
0308 23:34:15467 ::interfacemodule.py
if app.QUICK_SELL_SYSTEM:
def __MakeQuickSell(self):
self.wndQuickSell = uiQuickSell.QuickSell()
self.wndQuickSell.Hide()X(
-
:(((((((
Severity Code Description Project File Line Suppression State Details
Error C3861 'PyTuple_GetUnsignedLong': identifier not found EterPythonLib D:\project\Client\binary\source\EterPythonLib\PythonWindowManagerModule.cpp 2365 -
-
error compile binary
use svfiles tmp4
-
0308 21:55:14716 :: File "uiInventory.py", line 2129, in RefreshQuickSell0308 21:55:14716 :: AttributeError
0308 21:55:14716 :: :
0308 21:55:14716 :: 'GridSlotWindow' object has no attribute 'EnableSlotCoverImage'uiinventory.py
if app.QUICK_SELL_SYSTEM:
def RefreshQuickSell(self):
for k in xrange(player.INVENTORY_PAGE_SIZE * 5):
slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(k)
if slotNumber in constInfo.QUICK_SELL_ITEMS:
self.wndItem.SetSlotCoverImage(k, "inventory/selected_icon.tga")
else:
self.wndItem.EnableSlotCoverImage(k, False) -
sysser
0308 20:29:15244 :: File "uiQuickSell.py", line 75, in BoardInterface0308 20:29:15244 :: AttributeError
0308 20:29:15244 :: :
0308 20:29:15244 :: 'module' object has no attribute 'MakeBoardWithTitleBar'def BoardInterface(self):
self.Board = ui.MakeBoardWithTitleBar(self, "not_pick", localeInfo.QUICK_SELL_TITLE_NAME,ui.__mem_func__(self.Close), 170, 100)
On 3/5/2024 at 12:56 AM, tw1x1 said: -
8 minutes ago, Vaynz said:
Search if not uiGameOption.MOBILE: width = self.GetWidth() height = self.GetHeight() self.addFriendButton.SetPosition(-60, 30) self.whisperButton.SetPosition(-20, 30) self.removeButton.SetPosition(20, 30) self.guildButton.SetPosition(60, 30) Change with width = self.GetWidth() height = self.GetHeight() self.addFriendButton.SetPosition(-60, 30) self.whisperButton.SetPosition(-20, 30) self.removeButton.SetPosition(20, 30) self.guildButton.SetPosition(60, 30)
Care to tabs
solved, thanks
-
6 minutes ago, Vaynz said:
0818 15:59:16482 :: Traceback (most recent call last):
0818 15:59:16482 :: File "ui.py", line 1409, in CallEvent
0818 15:59:16482 :: File "ui.py", line 90, in __call__
0818 15:59:16483 :: File "ui.py", line 72, in __call__
0818 15:59:16483 :: File "interfaceModule.py", line 1266, in ToggleMessenger
0818 15:59:16483 :: File "uiMessenger.py", line 349, in Show
0818 15:59:16483 :: File "uiMessenger.py", line 378, in __LoadWindow
0818 15:59:16483 :: AttributeError
0818 15:59:16483 :: :
0818 15:59:16483 :: 'module' object has no attribute 'MOBILE'
0818 15:59:16483 :: -
problem effect mission
in Community Support - Questions & Answers
Posted
no one ?