Jump to content

Recommended Posts

hello metin2dev

A problem is that the skill books you can do together, you'll take the gray piece.
Looking around a bit source into the game, and I found one of these.

ITEM_MANAGER :: instance () RemoveItem (item).;
I deleted it, but took the books.
And I found the t-char_skill.cpp.
There are the texts may appear to be good or bad for learning.

Someone have any tips on how to abort a piece of the skill books?

Regards
dukaibalu1

Link to comment
https://metin2.dev/topic/441-skill-book/
Share on other sites

change

        if (true == LearnSkillByBook(dwVnum))
        {
            ITEM_MANAGER::instance().RemoveItem(item);
 
            int iReadDelay = number(SKILLBOOK_DELAY_MIN, SKILLBOOK_DELAY_MAX);
 
            if (distribution_test_server)
                iReadDelay /= 3;
 
            //Çѱ¹ º»¼·ÀÇ °æ¿ì¿¡´Â ½Ã°£À» 24½Ã°£ °íÁ¤
            if (LC_IsKorea())
                iReadDelay = 86400;
 
            SetSkillNextReadTime(dwVnum, get_global_time() + iReadDelay);
        }
    }
    break;

to

        if (true == LearnSkillByBook(dwVnum))
        {
            item->SetCount(item->GetCount()-1);
 
            int iReadDelay = number(SKILLBOOK_DELAY_MIN, SKILLBOOK_DELAY_MAX);
 
            if (distribution_test_server)
                iReadDelay /= 3;
 
            //Çѱ¹ º»¼·ÀÇ °æ¿ì¿¡´Â ½Ã°£À» 24½Ã°£ °íÁ¤
            if (LC_IsKorea())
                iReadDelay = 86400;
 
            SetSkillNextReadTime(dwVnum, get_global_time() + iReadDelay);
        }
    }
    break;
  • Love 1
Link to comment
https://metin2.dev/topic/441-skill-book/#findComment-3428
Share on other sites

  • 3 weeks later...

 

Someone can make a diff for this modification please ? 

 

I think it's impossible, because there aren't byte for write.

 

it actually is possible. you can do it  by following this tutorial (although it's in german)

https://www.youtube.com/watch?v=T5p5L5xObck

Link to comment
https://metin2.dev/topic/441-skill-book/#findComment-5459
Share on other sites

 

 

Someone can make a diff for this modification please ? 

 

I think it's impossible, because there aren't byte for write.

 

it actually is possible. you can do it  by following this tutorial (although it's in german)

https://www.youtube.com/watch?v=T5p5L5xObck

 

Thank you verry mutch sir !

Link to comment
https://metin2.dev/topic/441-skill-book/#findComment-5691
Share on other sites

  • 11 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.