dukaibalu1 39 Posted March 11, 2014 Share Posted March 11, 2014 hello metin2devA 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?Regardsdukaibalu1 Link to comment Share on other sites More sharing options...
-TÜRK- 23 Posted March 11, 2014 Share Posted March 11, 2014 item->SetCount(item->GetCount()-1); 2 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted March 12, 2014 Author Share Posted March 12, 2014 The problem is that I can not find it, which takes away the skill book.Because it is notITEM_MANAGER :: instance () RemoveItem (item).;command takes.So I will swap out to no avail, he takes all the books in the same way. Link to comment Share on other sites More sharing options...
callmax 227 Posted March 12, 2014 Share Posted March 12, 2014 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; 1 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted March 12, 2014 Author Share Posted March 12, 2014 Tank you Link to comment Share on other sites More sharing options...
RoxaLyssa 309 Posted March 12, 2014 Share Posted March 12, 2014 (edited) but ígyis took the books. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Hanns 1 Posted April 3, 2014 Share Posted April 3, 2014 Someone can make a diff for this modification please ? Link to comment Share on other sites More sharing options...
Bacca001 30 Posted April 3, 2014 Share Posted April 3, 2014 Someone can make a diff for this modification please ? I think it's impossible, because there aren't byte for write. Link to comment Share on other sites More sharing options...
dRain02 0 Posted April 6, 2014 Share Posted April 6, 2014 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 Share on other sites More sharing options...
Hanns 1 Posted April 10, 2014 Share Posted April 10, 2014 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 Share on other sites More sharing options...
Premium phayara 424 Posted March 21, 2015 Premium Share Posted March 21, 2015 open char_item.cpp if (true == LearnSkillByBook(dwVnum)) { ITEM_MANAGER::instance().RemoveItem(item); replace with: if (true == LearnSkillByBook(dwVnum)) { item->SetCount(item->GetCount() - 1); Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now