bumxd 16 Posted June 28, 2015 Author Share Posted June 28, 2015 (edited) me settings.lua: add_goto_info("a1|영안읍성", 0, 1, 4693, 9642)add_goto_info("a3|자양현", 0, 3, 3608, 8776)add_goto_info("b1|조안읍성", 0, 21, 557, 1579)add_goto_info("b3|복정현", 0, 23, 1385, 2349)add_goto_info("c1|평무읍성", 0, 41, 9696, 2784)add_goto_info("c3|박라현", 0, 43, 8731, 2426)add_goto_info("snow|서한산", 1, 61, 4342, 2906)add_goto_info("snow|서한산", 2, 61, 3752, 1749)add_goto_info("snow|서한산", 3, 61, 4918, 1736)add_goto_info("flame|도염화지|화염", 1, 62, 5994, 7563)add_goto_info("flame|도염화지|화염", 2, 62, 5978, 6222)add_goto_info("flame|도염화지|화염", 3, 62, 7307, 6898)add_goto_info("desert|영비사막|사막", 1, 63, 2178, 6272)add_goto_info("desert|영비사막|사막", 2, 63, 2219, 5027)add_goto_info("desert|영비사막|사막", 3, 63, 3440, 5025)add_goto_info("wedding|사랑도", 0, 81, 8250, 25)add_goto_info("three|승룡곡", 1, 64, 4021, 6739)add_goto_info("three|승룡곡", 2, 64, 2704, 7399)add_goto_info("three|승룡곡", 3, 64, 3213, 8080)add_goto_info("milgyo|밀교사원", 1, 65, 5536, 1436)add_goto_info("milgyo|밀교사원", 2, 65, 5536, 1436)add_goto_info("milgyo|밀교사원", 3, 65, 5536, 1436)add_goto_info("skel|사귀타워입구", 1, 65, 5905, 1108)add_goto_info("skel|사귀타워입구", 2, 65, 5905, 1108)add_goto_info("skel|사귀타워입구", 3, 65, 5905, 1108)add_goto_info("trade", 0, 200, 77542, 77452) add_goto_info("heaven|천의동굴입구", 0, 64, 2842, 8105)add_goto_info("heaven2|천의동굴2층", 0, 73, 2418, 12750)add_goto_info("trent|귀목림", 0 , 67, 2887 , 57 )add_goto_info("trent2|귀목림2",0 , 68, 11199 , 708 )add_goto_info("sungzi|성지",0 , 114, 9216+250, 0+250 )add_goto_info("fp1", 0, 115, 10240+82, 1024+235 )add_goto_info("fp2", 0, 116, 10240+82, 2048+235 )add_goto_info("fp3", 0, 117, 10240+82, 2048+235 )add_goto_info("fh1", 0, 118, 11264+250, 1024 + 800 )add_goto_info("fh2", 0, 119, 11264+250, 2048 + 800 )add_goto_info("fh3", 0, 120, 11264+250, 3072 + 800 )add_goto_info("sungzisnow", 0,121, 11520+450, 0+250 )add_goto_info("fs1", 0, 122, 11776+225, 1024 + 655 )add_goto_info("fs2", 0, 123, 11776+225, 2048 + 655 )add_goto_info("fs3", 0, 124, 11776+225, 3072 + 655 ) add_goto_info("sungzidesert", 0,125, 12288+450, 0+250 )add_goto_info("fd1", 0, 126, 12288+225, 1024 + 655 )add_goto_info("fd2", 0, 127, 12288+225, 2048 + 655 )add_goto_info("fd3", 0, 128, 12288+225, 3072 + 655 ) add_goto_info("milgyomid|밀교사원중앙", 0 , 65, 5905,1106 ) add_goto_info("신밀교", 0, 78, 1536, 10496)add_goto_info("신도염", 0, 75, 4608, 10496)add_goto_info("신서한", 0, 74, 0 , 10496)add_goto_info("신승룡", 0, 77, 6144, 10496) add_goto_info("황무지", 0, 69, 10496, 7168)add_goto_info("너슬럭", 0, 70, 8192, 7168) add_goto_info("신수성", 0, 181, 9728, 1024)add_goto_info("진노성", 0, 182, 9216, 1536)add_goto_info("천조성", 0, 183, 9728, 1536) add_goto_info("길드내부", 0, 150, 7936, 0) add_goto_info("OX이벤트", 0, 113, 8964, 215)add_goto_info("em1", 0, 181, 1024+225, 3328+225 )add_goto_info("em1", 0, 182, 1792+225, 3328+225 )add_goto_info("em1", 0, 183, 2560+225, 3328+225 )add_goto_info("pvp_arena", 0, 26, 8574, 8565) arena.add_map(112, 8534, 101, 8564, 101)arena.add_map(112, 8584, 101, 8614, 101)arena.add_map(112, 8534, 155, 8564, 155)arena.add_map(112, 8584, 155, 8514, 155) add_goto_info("OXEVENT", 0, 113, 8964, 215) ....... me index map arena 322 Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
luzzo 197 Posted June 28, 2015 Share Posted June 28, 2015 Replace arena.add_map(112, 8534, 101, 8564, 101)arena.add_map(112, 8584, 101, 8614, 101)arena.add_map(112, 8534, 155, 8564, 155)arena.add_map(112, 8584, 155, 8514, 155) WIth arena.add_map(322, 8534, 101, 8564, 101)arena.add_map(322, 8584, 101, 8614, 101)arena.add_map(322, 8534, 155, 8564, 155)arena.add_map(322, 8584, 155, 8514, 155) Link to comment Share on other sites More sharing options...
bumxd 16 Posted June 30, 2015 Author Share Posted June 30, 2015 Replace arena.add_map(112, 8534, 101, 8564, 101)arena.add_map(112, 8584, 101, 8614, 101)arena.add_map(112, 8534, 155, 8564, 155)arena.add_map(112, 8584, 155, 8514, 155) WIth arena.add_map(322, 8534, 101, 8564, 101)arena.add_map(322, 8584, 101, 8614, 101)arena.add_map(322, 8534, 155, 8564, 155)arena.add_map(322, 8584, 155, 8514, 155) but settings.lua this for teleport coordinate? how to it will help work command /e arena_potion_limit 1 ?? pottion can use.. Link to comment Share on other sites More sharing options...
luzzo 197 Posted June 30, 2015 Share Posted June 30, 2015 (edited) i try to be a bit more clear... This is some code(that you already have) from char_item.cpp Here there is the code about blocking potion in Arena map. First check if char is in arena map ** Second if arena_potion_limit flag is > 0 char can't use potion Third if arena_potion_limit flag is 0 or lower check for max use potion that you can set from arena_potion_limit_count flag **According with checking char in ArenaMap, game calls IsArenaMap function. Your problem is that your char isn't in ArenaMap How to add the right index for arena map? Wanderfull!We got the function! Well and how to call it from lua? That's Amazing! We have all we need! So we have to use arena.add_map! Settings.lua Replace arena.add_map(112, 8534, 101, 8564, 101) arena.add_map(112, 8584, 101, 8614, 101) arena.add_map(112, 8534, 155, 8564, 155) arena.add_map(112, 8584, 155, 8514, 155) with arena.add_map(322, 8534, 101, 8564, 101) arena.add_map(322, 8584, 101, 8614, 101) arena.add_map(322, 8534, 155, 8564, 155) arena.add_map(322, 8584, 155, 8514, 155) Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 4, 2015 Author Share Posted July 4, 2015 (edited) i try to be a bit more clear... This is some code(that you already have) from char_item.cpp Here there is the code about blocking potion in Arena map. First check if char is in arena map ** Second if arena_potion_limit flag is > 0 char can't use potion Third if arena_potion_limit flag is 0 or lower check for max use potion that you can set from arena_potion_limit_count flag **According with checking char in ArenaMap, game calls IsArenaMap function. Your problem is that your char isn't in ArenaMap How to add the right index for arena map? Wanderfull!We got the function! Well and how to call it from lua? That's Amazing! We have all we need! So we have to use arena.add_map! Settings.lua Replace arena.add_map(112, 8534, 101, 8564, 101) arena.add_map(112, 8584, 101, 8614, 101) arena.add_map(112, 8534, 155, 8564, 155) arena.add_map(112, 8584, 155, 8514, 155) with arena.add_map(322, 8534, 101, 8564, 101) arena.add_map(322, 8584, 101, 8614, 101) arena.add_map(322, 8534, 155, 8564, 155) arena.add_map(322, 8584, 155, 8514, 155) work, big thk..but maybe know and how fix it bug? "hi, i have bug invisible, when i have dead, and start again, i invisible 2-3min, but i in source in char.cpp del: if (IsAffectFlag(AFF_REVIVE_INVISIBLE)) RemoveAffect(AFFECT_REVIVE_INVISIBLE); but don`t helped it... how to fix?" Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
luzzo 197 Posted July 5, 2015 Share Posted July 5, 2015 (edited) open cmd_general.cpp find if (ch->GetWarMap() && !ch->IsObserverMode()) some lines under this you have ch->ReviveInvisible(5); Here you set the invisible time. Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 5, 2015 Author Share Posted July 5, 2015 thk.. i fixed for change affect.. but 1x moment from arena pottion.. i need only close HP potts but SP potts is on will.. but in arena map don`t work no SP no HP.. but in game core i do only it: case 27001 : case 27002 : case 27003 : case 72723 : case 72724 : case 72725 : case 72726 : case 76021 : case 76022 : but id SP potts 72727 don`t have here it ID.. but he block it.. where i can fix it.. what work SP? Link to comment Share on other sites More sharing options...
luzzo 197 Posted July 5, 2015 Share Posted July 5, 2015 (edited) char_item.cpp case ITEM_AUTO_SP_RECOVERY_S: Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 6, 2015 Author Share Posted July 6, 2015 (edited) char_item.cpp case ITEM_AUTO_SP_RECOVERY_S: but it? case ITEM_AUTO_SP_RECOVERY_X: isSpecialPotion = true; case ITEM_AUTO_SP_RECOVERY_S: case ITEM_AUTO_SP_RECOVERY_M: case ITEM_AUTO_SP_RECOVERY_L: don`t delete? Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
luzzo 197 Posted July 6, 2015 Share Posted July 6, 2015 just comment it Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 6, 2015 Author Share Posted July 6, 2015 (edited) just comment it what comment what you say or what is say? " case ITEM_AUTO_SP_RECOVERY_X: isSpecialPotion = true; case ITEM_AUTO_SP_RECOVERY_S: case ITEM_AUTO_SP_RECOVERY_M: case ITEM_AUTO_SP_RECOVERY_L: don`t delete?" or it: case ITEM_AUTO_SP_RECOVERY_S: when i comment case ITEM_AUTO_SP_RECOVERY_S: SP don`t work in pvp arena and in map 1(city) and in all maps don`t work SP potts, but i need only block HP potts on pvp arena.. Edited July 7, 2015 by bumxd Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 7, 2015 Author Share Posted July 7, 2015 up Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 10, 2015 Author Share Posted July 10, 2015 up Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 12, 2015 Author Share Posted July 12, 2015 (edited) now i use this guide: for block red(HP) pottion in pvp arena but and SP too don`t work.. i think problem in arena_potion_limit (flag) but i do it flag on 0 but again SP don`t work and HP don`t work,but i need only what work be in pvp arena SP potts,but HP block.. Edited July 12, 2015 by bumxd Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 14, 2015 Author Share Posted July 14, 2015 up Link to comment Share on other sites More sharing options...
MANYAK 5 Posted July 15, 2015 Share Posted July 15, 2015 root interfacemodule.py open search> CHARACTER_SKILL_TAB = 2 this LastContactTimeStamp = app.GetTime() - 5 WaitTime = 12 change with it LastContactTimeStamp = app.GetTime() -0 WaitTime = 0 Link to comment Share on other sites More sharing options...
bumxd 16 Posted July 15, 2015 Author Share Posted July 15, 2015 root interfacemodule.py open search> CHARACTER_SKILL_TAB = 2 this LastContactTimeStamp = app.GetTime() - 5 WaitTime = 12 change with it LastContactTimeStamp = app.GetTime() -0 WaitTime = 0 ehm thk,but i fixed it, problem other now in up post me) Link to comment Share on other sites More sharing options...
CloseSource 14 Posted July 15, 2015 Share Posted July 15, 2015 (edited) edit Edited July 15, 2015 by CloseSource fault 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