Bot Metin2 Dev 4877 Posted April 30, 2014 Bot Share Posted April 30, 2014 Hi, i want to "lock" some skills when a particular event starts. I have an event called "Tanaka Event" that spawns a lot of "Pirate Tanaka", they have 1 HP so you can kill them with every attack. Many players uses a 2° character, like the Archer to kill 6-7 monsters with 1 skill. So i hope there is a way to "lock" their skills during this event and then "unlock" them at the end. I think it is like the "Guild War" if you are spectating. Thanks! Stefano Link to comment Share on other sites More sharing options...
Bacca001 30 Posted April 30, 2014 Share Posted April 30, 2014 You can do this with source of gamefilebinary, i think is impossible without it.. What revision of game you use? Link to comment Share on other sites More sharing options...
Great 16 Posted April 30, 2014 Share Posted April 30, 2014 Yes it is possible, if you dont have game +40k you must create new channel port with defined in cofig: skill_disable: 1 Or if you have game +40k and you have source , open char_skill.cpp and find function bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaster) and add before if (false == CanUseSkill(dwVnum)) This code if(quest::CQuestManager::instance().GetEventFlag("tanaka_event") && GM_PLAYER == GetGMLevel()){ ChatPacket(CHAT_TYPE_INFO, "Skills is disabled on Tanaka Event!"); return false; } and compile game, and if you starting tanaka event you must enable block skill using command /e tanaka_event 1 1 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4877 Posted April 30, 2014 Author Bot Share Posted April 30, 2014 Thx for the quick reply! I have the 2089 game's version. But if i want to disable only a determinated skill? Can i do it? Link to comment Share on other sites More sharing options...
Mijago 4 Posted April 30, 2014 Share Posted April 30, 2014 This or you Simply disable it in the Client via cmdchat - easy going Sent by Tapatalk @ Galaxy Note 10.1 Link to comment Share on other sites More sharing options...
tristano98 6 Posted April 30, 2014 Share Posted April 30, 2014 thx Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4877 Posted April 30, 2014 Author Bot Share Posted April 30, 2014 How i can use the CMDCHAT via client? Sry but i'm just a beginner with LUA scripts and a "simple" IT background because i've studied it at school, nothing more than this. 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