Jump to content

Syriza

Banned
  • Posts

    259
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Syriza

  1. vor 28 Minuten schrieb ReFresh:

    @Syriza

    Look, if I'll define the functions inside of:

    
    def __init__(self):

    Like:

    
    		self.vnum = mouseModule.mouseController.GetAttachedItemIndex()
    		self.count = mouseModule.mouseController.GetAttachedItemCount()

    And call it inside the 

    
    def Open(self):

    It will show the dialog and item in slots and count of item but the ThinBoard with bonuses and item description etc. is not showed. I can see only small piece of thinboard like 1x1 cm when I mouse over the item.

     

    Hmm, i think someone else need to help you bro, now i dont know too.

    • Confused 1
  2. vor einer Stunde schrieb ReFresh:

    @Syriza Tried, and got the same error but with many arguments.

    In this line is problem:

    def Open(self, vnum, count):

    I'm calling not defined functions

    Idk how should I define them, I tried to define them in init of uicommon dialog class but the uitoolip of item wasn't showed.

    You need to define the function, from where you call it. i will sent you example tomorrow, i remember having files with this Feature.

    • Love 1
  3. vor 33 Minuten schrieb ReFresh:

    @Paikei I tried to use your code but I got an error:

    
    0308 15:24:21738 ::   File "game.py", line 1351, in OnMouseLeftButtonUp
    
    0308 15:24:21738 ::   File "game.py", line 1388, in __PutItem
    
    0308 15:24:21738 ::   File "game.py", line 1446, in __DropItem
    
    0308 15:24:21738 :: TypeError
    0308 15:24:21738 :: : 
    0308 15:24:21738 :: Open() takes exactly 3 arguments (1 given)
    0308 15:24:21738 :: 

    Can you help me with it please? game.py line 1446

    call all arguments

  4. vor 1 Minute schrieb WLsj24:

    Maybe your problem is in uiinventory.py

    def RefreshStatus(self):

    I have this:

    
    	def RefreshStatus(self):
    		money = player.GetElk()
    		self.wndMoney.SetText(localeInfo.NumberToGoldNotText(money))
    
    		if app.ENABLE_CHEQUE_SYSTEM:
    			cheque = player.GetCheque()
    			self.wndCheque.SetText(localeInfo.NumberToGoldNotText(cheque))
    
    		if app.ENABLE_GEM_SYSTEM:
    			if self.wndGem:
    				gem = player.GetGem()
    				self.wndGem.SetText(localeInfo.NumberToGoldNotText(gem))

    I fixed my problem, it was a mistake made by me in game source, file: char.cpp

     

    • Love 1
  5. vor 3 Minuten schrieb Strix.:

    Lol? Where's the logic being in the brasilian files other code than in Koreean one for example? They've both have the same code in them ... Since when can you code python on Brasilian language? wtf

    I need the older files, thats the Logic 

  6. Hey community ?

    I tried to edit the move_item part of special storage, my plan was that items in the special storage, should be draggable into the inventory

    but if i try to drag a item from special storage to default inventory there are no error messages, it just does not work..

     

    Here is a graphic to better explain my problem:

    Gif Click to see

     

    Usually I always want to solve everything alone and accept as little help as possible.

    but with this problem im clueless, I've already spent hours,  I hope I can count on someone helping me. 

     

    Yours sincerely

     

    If necessary I can add my char_item file as attachment :)

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.