Jump to content

xGetHigh

Member
  • Posts

    13
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by xGetHigh

  1. TC. SOLVED.

     

    Spoiler

     Hello everyone. I've discovered a visual bug in the skills... When the camera is close, the effect of the abilities shows, when I move it away, sometimes it shows sometimes not.
    The effect is seen on the character you are playing no matter how the camera is, but if you go further into an account it isn't seen.
    It was a project I worked on a year ago and abandoned it. I don't know what I put in and what I didn't at the time.

     

     

    Can you help me?

    Thanks in advance

     

  2. Hi all, i have a little problem with Dragon soul alchemy.

     

     Problems is: not working to rafinated this Rubin just in "cut" category in x slots, but from other slots work , and other soul.

     

     

     

    EDIT: I HAVE THIS IN LENGHT

     

    	bool IsDragonSoulEquipPosition() const
        {
            return (window_type == INVENTORY) && (DRAGON_SOUL_EQUIP_SLOT_START <= cell) && (DRAGON_SOUL_EQUIP_SLOT_END > cell);
        }

    but dont work

  3. Hi! I have a problem with icon effect +0 - > +9 i can't find anywhere this system to remove it. I find it useless.

    I searched the whole "client" after tga and I didn't find anything. I also searched the forum and found no identical code line.

    For example, vnum 19 does not have in tga that +9, so being at each. How can I eliminate this useless system?

     

    My case: https://metin2.download/picture/PkfNcC5UdYNQnfhpkDyyd0HlBoZLLyDc/.png

     

     

    Specifically that it's not this system: https://metin2.download/picture/Jfn3B4u4jIKYrIjUH7TQqjBE7oTltOx4/.png

  4. On 4/19/2020 at 11:56 AM, Leafxc said:

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

     


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

     



     

    Sorry fixed the Problem myself :)

    I have the same problem.

    'module' object has no attribute '_PickMoneyDialog__ConvertMoneyText'

    Can you tell me how to solve it?

    BTW The "system" is interesting

  5. Hello!
    I haven't been able to solve a problem for a few days, which is a big deal.
    When I want to change the password at the warehouse it tells me "the added password is wrong".

     

    I noticed that even when I manually changed the data in the safebox after the refresh they became null.

    spacer.png
    I replaced "safebox" from "db/mysql/player/" and I have the same error.

     

    error

    syslog db

    Dec 25 05:09:08 :: QUERY_RESULT: HEADER_GD_SAFEBOX_LOAD
    Dec 25 05:09:13 :: [      350] return 0/0/0 async 0/0/0
    Dec 25 05:09:18 :: [      400] return 0/0/0 async 0/0/0
    Dec 25 05:09:21 :: QUERY_RESULT: HEADER_GD_SAFEBOX_CHANGE_PASSWORD 0x2aff7580

    cmd_general.cpp

    Spoiler
    
    ACMD(do_safebox_change_password)
    {
    	char arg1[256];
    	char arg2[256];
    
    	two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2));
    
    	if (!*arg1 || strlen(arg1)>6)
    	{
    		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<창고> 잘못된 암호를 입력하셨습니다."));
    		return;
    	}
    
    	if (!*arg2 || strlen(arg2)>6)
    	{
    		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<창고> 잘못된 암호를 입력하셨습니다."));
    		return;
    	}
    
    	TSafeboxChangePasswordPacket p;
    
    	p.dwID = ch->GetDesc()->GetAccountTable().id;
    	strlcpy(p.szOldPassword, arg1, sizeof(p.szOldPassword));
    	strlcpy(p.szNewPassword, arg2, sizeof(p.szNewPassword));
    
    	db_clientdesc->DBPacket(HEADER_GD_SAFEBOX_CHANGE_PASSWORD, ch->GetDesc()->GetHandle(), &p, sizeof(p));
    }

     

     

    ClientManager.cpp 

    https://paste.ubuntu.com/p/YxJWn5h2YT/

     

    Thanks a lot!

    • Metin2 Dev 1
  6. La 27.08.2018 la 14:50, Moon a spus:

    Thank you.
    But I got 1 Problem, the uppitems doesn't update, it always shows the same, and it also always show me +0, even if I upgraded it to +4.
    I hope that you can help me though.

    Same problem!

    I think it need a refreshment function...

     

    Edit: i didnt see the solution... Thank you @SergiuAndreiM

  7. Acum 2 ore, OtherChoice a spus:

    First make sure that void CHARACTER::RemoveGoodAffect() in char_affect.cpp is ok, it should be something like:

      Reafișează conținuturi ascunse

    void CHARACTER::RemoveGoodAffect()
    {
        RemoveAffect(AFFECT_MOV_SPEED);
        RemoveAffect(AFFECT_ATT_SPEED);
        RemoveAffect(AFFECT_STR);
        RemoveAffect(AFFECT_DEX);
        RemoveAffect(AFFECT_INT);
        RemoveAffect(AFFECT_CON);
        RemoveAffect(AFFECT_CHINA_FIREWORK);

        RemoveAffect(SKILL_JEONGWI);
        RemoveAffect(SKILL_GEOMKYUNG);
        RemoveAffect(SKILL_CHUNKEON);
        RemoveAffect(SKILL_EUNHYUNG);
        RemoveAffect(SKILL_GYEONGGONG);
        RemoveAffect(SKILL_GWIGEOM);
        RemoveAffect(SKILL_TERROR);
        RemoveAffect(SKILL_JUMAGAP);
        RemoveAffect(SKILL_MANASHILED);
        RemoveAffect(SKILL_HOSIN);
        RemoveAffect(SKILL_REFLECT);
        RemoveAffect(SKILL_KWAESOK);
        RemoveAffect(SKILL_JEUNGRYEOK);
        RemoveAffect(SKILL_GICHEON);
    }

    Next go in char_skill.cpp and find: "if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_REMOVE_GOOD_AFFECT))"

    it should be something like this:

      Reafișează conținuturi ascunse

    if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_REMOVE_GOOD_AFFECT))
                {
                    int iAmount2 = (int) m_pkSk->kPointPoly2.Eval();
                    int iDur2 = (int) m_pkSk->kDurationPoly2.Eval();
                    iDur2 += m_pkChr->GetPoint(POINT_PARTY_BUFFER_BONUS);

                    if (number(1, 100) <= iAmount2)
                    {
                        pkChrVictim->RemoveGoodAffect();                 //this is the previous checked function
                        pkChrVictim->AddAffect(m_pkSk->dwVnum, POINT_NONE, 0, AFF_PABEOP, iDur2, 0, true);          //this is where the flag is set to                                                                                                                                                                                                          //victim, if your line is different send it so i can check
                    }
                }

    Then, still in char_skill.cpp, check this:

      Reafișează conținuturi ascunse

    if (pkVictim->IsAffectFlag(AFF_PABEOP) && pkVictim->IsGoodAffect(dwVnum))
        {
            return BATTLE_NONE;
        }

    And if you find everything is ok then  you can try 2 different things: 

    1)check you skill_proto in database but i highly doubt the problem is there

    2)open every game/src/*.cpp and .h files in notepad++ -> Ctrl+F -> search for AFF_PABEOP in every opened document and go for every occurency manually checking if there's something wrong

    Thank you very much. The problem was from char_affect.cpp. i rewritten the function and i haven't tested it anymore.

    My old char_affect.cpp

    Spoiler

    void CHARACTER::RemoveGoodAffect()
    {
        DWORD listAffect[23] =
        {
            AFFECT_MOV_SPEED, 
            AFFECT_ATT_SPEED,

            AFFECT_STR,
            AFFECT_DEX,
            AFFECT_INT,
            AFFECT_CON,

            AFFECT_CHINA_FIREWORK,

            SKILL_JEONGWI,
            SKILL_GEOMKYUNG,
            
            SKILL_CHUNKEON,

            SKILL_EUNHYUNG,
            
            SKILL_GYEONGGONG,
            
            SKILL_GWIGEOM,
            SKILL_TERROR,
            SKILL_JUMAGAP,
            
            SKILL_MANASHILED,
            
            SKILL_HOSIN,
            SKILL_REFLECT,
            SKILL_GICHEON,
            
            SKILL_KWAESOK,
            SKILL_JEUNGRYEOK,
        };

        for (int i = 0; i < 21; i++)
        {
            RemoveAffect(listAffect, false);
        }

        RefreshAffect();
        UpdatePacket();
    }

     Solved! TC Please.

  8. Hello. There is a big problem with the sura weapons skills.
    When I use magic dispel, the attacking character receives 20 critical hit, 20 magic, 20 penetrations and 200 defense each time they reach that skill.

    I discovered this bug after balancing the races. I don't know the exact cause.

    Video:  

     

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