Jump to content

Helia01

Active Member
  • Posts

    217
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    100%

Posts posted by Helia01

  1. 4 minutes ago, Amun said:

    Damn, bro, you've probably never written a line of code in your life. That, or you must be a manager, considering you have such unrealistic expectations.

     

    Not related to you, but worth mentioning:

    That's exactly what most idiots think when leaking shit or complaining about the prices developers put on their code: "I bet he made that shit in a few hours, and now he's charging me X amount of money for it", effectively shitting on people's time because they have no idea about the amount of work that went into it.

    Don't you think he wrote this to emphasize a good coding skill level? (It wasn't a grin)

    • Facepalm 1
  2. 3 hours ago, Mitachi said:

    Well, there are a few things to consider:

    • If the error occurs every time you perform a certain action, the problem is definitely in the packet in question.
    • If, on the other hand, it doesn't always happen but the package in question is always the same, skip to the part where I talk about the sequence system
    • The packet header number itself isn't a problem, packets have their own cases in a switch, if the case has the same number, the compiler will warn you.
    • It's not just the packet header number that's the problem, packages are literally typed structs, like this:
    /*
    	We need to be sure that the data types used match
    */
    
    // Server
    typedef struct SPacketGCTest
    {
    	BYTE	bHeader;
    	WORD	wSize;
    } TPacketGCTest;
    
    // Client
    typedef struct SPacketGCTest
    {
    	BYTE	bHeader;
    	int	wSize; // error, int <-> WORD are not the same.
    } TPacketGCTest;

    Usually the sequence system (or ENABLE_SEQUENCE_SYSTEM  if you using martysama) corrects for differences in packet weights automatically but I don't like it to be honest, I don't find a valid use for it today, perhaps once it could have been useful. Honestly I turned it off, removing it I noticed less random crashes.
    TIP: If you have it enabled try disabling it, you will notice the error more easily.

    I have also disabled _IMPROVED_PACKET_ENCRYPTION_ in my mainline (and not, he didn't cause crashes or at least I didn't notice).
    But you have to change some things first, otherwise after some hours of activity you come across the sizebuffer error. PRO: More speed performance

    34th packet are usually the HEADER_GC_WHISPER, do you have some custom system related? let me know.

    *ending*
    When it comes to mistakes of this kind, it is not black or white; there can be many reasons. I told you what I was going to do initially.

    This guide can certainly be useful to you:

    Maybe my answer looked terrible. Since I use a translator.
    Thank you for the detailed answer. I was too lazy to describe everything in such detail.

    • Love 1
  3. If all packets between server and client are ok. This behavior may occur due to an attack on the server. In this case, phantom packet errors may occur. (usually this headache is created by _IMPROVED_PACKET_ENCRYPTION_) But you can't just turn off this function. We will have to rewrite some part of the code in order not to get buffer errors.

    If similar problems with packages occur on your local server, then this problem is precisely the difference between packages between the client and the server.

    • Love 2
  4. On 8/4/2022 at 6:17 PM, Ulthar said:

    Thanks! ^^
    Do we need to create the python part for ourselves? 😮

    @ ASIKOO #honorablefordistraught

    As far as I understand, to change the download area, you need to change the fFar value from the file PythonApplication.cpp (it is necessary to implement the possibility of changing this value from the settings inside the game)
    This can be done by following the example of fNear (MIN_FOG)

    • Good 1
  5. The official implementation has a recursion that can cause window elements to leak.
     

    #file uicharacter.py
    def OnTop(self):
      if self.chDetailsWnd:
        self.chDetailsWnd.SetTop() #We are trying to raise the child window up
    
    
    #file uicharacterdetails.py
    def OnTop(self):
    	if self.uiCharacterStatus:
    		self.uiCharacterStatus.SetTop() #We are trying to raise the parent window up (After that, OnTop will be called for the parent window and we will get here again. This will continue up to the maximum recursion level)

    You may have noticed that the client sometimes closes with an error when you try to open the character details window.

    You can make a stupid, but working solution. Copy the SetTop function, but do not call "pWin->OnTop()" in it. And then use this function for the parent element. If you are a genius, you can try to make a IsTop function or solve this problem in some other way.

    • Metin2 Dev 1
  6. 4 hours ago, TAUMP said:

    A lot of people still pay CH3HP for protection, but why? €300 per his protection? His method? he attacking  your server ports on "auth" ports and then he write you on discord, if you  want to help, he will help you and offer you protection for 300€ and steal your files at most. Don't be stupid, please. He is little kid with botnet. My topic about him was deleted idk why? @ASIKOO

    Link about him (onedrive)

     

    https://1drv.ms/u/s!ApbXLsy9e79AkYJZnh7c5fuELhQYQw?e=VYp2P8

     

    We have our own CH3HP in Russia 😄 One imbecile has been attacking all servers for 10 years because it also has a botnet. Fortunately, our providers have long learned to block such shitty traffic.

    I am very sorry for such people, they probably have two fathers in the family.

    • Love 1
  7. 12 minutes ago, Flourine said:

    i suppose that it 

     should be enough 

     

    There are two "black screens" in metin2.
    1 - tried to describe and fix the Distraught. (this was a known problem due to the accumulation of effects). In this case, you don't see anything at all, not even the game menu.
    2 - This is the case when the whole map in Devil Tower turns black, but you can control and see the character just the map has no background.

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