Jump to content

Leafxc

Inactive Member
  • Posts

    10
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Leafxc

  1. 4 hours ago, filipw1 said:

    When you are changing attributes in your item for every-single attribute server sends update packet to client, which is up to 4 unnecessary packets per one change. You must agree this is pointless. If you use bonus switcher and, let's say, with 500ms delay for 7 items it is 5 * 7 * 2 update packets per second. Going lower with delay you will get absurd amount of those packets. Another issue is you are not able to read attributes, I mean, avarage human cannot. After digging in code I got rid of redundant packets and received smoother in-game experience

     

    This how it looks for 150ms switch delay: gif

    With my fix: gif

     

    Download: 

    This is the hidden content, please

     


    Good Job :)

    Mind telling me why you recorded 2 diff. clients?

    • Metin2 Dev 1
  2. 2 hours ago, Shogun said:

    Why do the screens look like you ran an oil paint filter on them?

    I wonder too,
    but in general the dark theme looks good.

    But more like after-the-war

    • Confused 1
  3. 4 minutes ago, nefdulin said:

    You need to have a function called 'CheckRefineDialog' inside your interfacemodule.py file. Make sure you have it.

    I do have it right there:

    	if app.ENABLE_REFINE_RENEWAL:
    		def CheckRefineDialog(self, isFail):
    			self.dlgRefineNew.CheckRefine(isFail)

     

  4. On 3/30/2020 at 7:20 PM, Egorka said:

    I have a problem, the sound of the blacksmith is off. how to activate it again? which code and where to insert?

    Open your game.py with Notepad++
    CTRL-F => def RefineSuceededMessage(self):

     

        def RefineSuceededMessage(self):
            snd.PlaySound("sound/ui/make_soket.wav")		<== ADD THIS AGAIN
            self.PopupMessage(localeInfo.REFINE_SUCCESS)
            if app.ENABLE_REFINE_RENEWAL:
                self.interface.CheckRefineDialog(False)
    
        def RefineFailedMessage(self):
            snd.PlaySound("sound/ui/jaeryun_fail.wav")		<== ADD THIS AGAIN
            self.PopupMessage(localeInfo.REFINE_FAILURE)
            if app.ENABLE_REFINE_RENEWAL:
                self.interface.CheckRefineDialog(True)


    Anyways i need help aswell.
    I can't seem to solve following issue:

     

    Quote

    0420 00:40:22370 :: Traceback (most recent call last):

    0420 00:40:22370 ::   File "game.py", line 2050, in BINARY_ServerCommand_Run

    0420 00:40:22370 ::   File "stringCommander.py", line 63, in Run

    0420 00:40:22370 ::   File "stringCommander.py", line 31, in __call__

    0420 00:40:22370 ::   File "stringCommander.py", line 11, in __call__

    0420 00:40:22370 ::   File "game.py", line 2087, in RefineSuceededMessage

    0420 00:40:22370 :: AttributeError
    0420 00:40:22370 :: : 
    0420 00:40:22370 :: 'Interface' object has no attribute 'CheckRefineDialog'
    0420 00:40:22370 :: 



    Does someone know a fix for it?

  5. Sorry to bring this one up. But i'm fairly new to scripts (python).
    Can someone explain me this?

     

    Quote

    0419 10:51:22482 :: Traceback (most recent call last):

    0419 10:51:22482 ::   File "ui.py", line 1363, in CallEvent

    0419 10:51:22482 ::   File "ui.py", line 88, in __call__

    0419 10:51:22482 ::   File "ui.py", line 70, in __call__

    0419 10:51:22482 ::   File "uiPickMoney.py", line 102, in OnAccept

    0419 10:51:22482 :: AttributeError
    0419 10:51:22482 :: : 
    0419 10:51:22482 :: 'module' object has no attribute '_PickMoneyDialog__ConvertMoneyText'
    0419 10:51:22482 :: 


    I tried to follow his tutorial but..i didn't could reproduce / follow one step of him.

     

    Quote
    ''' 2. ENABLE_CHEQUE_SYSTEM '''
      # Search @ def OnAccept
      money_text = self.pickValueEditLine.GetText()
       
      # Add below
      if constInfo.USE_KMB_MONEY_FORMAT:
      if money_text:
      moneyValue = min(constInfo.__ConvertMoneyText(text), self.maxValue)
      if moneyValue:
      if self.eventAccept:
      self.eventAccept(moneyValue)



     

    Sorry fixed the Problem myself :)

×
×
  • 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.