Cydh Posted October 31, 2016 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted October 31, 2016 As follow up of e7e8b54 and people's thought at Issue:#1404 Added config in conf/battle/skill.conf // Land Protector behavior // 0 : Officially, standing players at the border (outer cell) of the Land Protector is still can be affected/hit // by AoE skills (if the skills has splash effect, such Storm Gust). // 1 : Old Athena style, totally ignore AoE skill from outside Land Protector area. land_protector_behavior: 0 Try it now for FREE! Main branch Changes (against my fork master) Diff file Patch file 4 1 Quote Link to comment Share on other sites More sharing options...
Deleted User Posted October 31, 2016 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted October 31, 2016 Thank you so much Cydh. i've been looking for this that someone can released. Quote Link to comment Share on other sites More sharing options...
Bringer Posted November 1, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: 3 hours ago Share Posted November 1, 2016 (edited) Nice But Cydh i already add Custom Buffs ICON on my Server But i cant Add on land protector how to add Custom buffs icon on LP Like the Volcano / Deluge / Violent Gale ? Edited November 1, 2016 by Bringer Quote Link to comment Share on other sites More sharing options...
Azeroth Posted November 1, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted November 1, 2016 As follow up of e7e8b54 and people's thought at Issue:#1404 Added config in conf/battle/skill.conf // Land Protector behavior // 0 : Officially, standing players at the border (outer cell) of the Land Protector is still can be affected/hit // by AoE skills (if the skills has splash effect, such Storm Gust). // 1 : Old Athena style, totally ignore AoE skill from outside Land Protector area. land_protector_behavior: 0 Try it now for FREE! Main branch Changes (against my fork master) Diff file Patch file Would be nice if you could add like this? // Show Land Protector Icons Note: 1 lp_show_icons: no Quote Link to comment Share on other sites More sharing options...
chitero666 Posted February 22, 2019 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 01/18/19 Last Seen: March 26, 2020 Share Posted February 22, 2019 On 10/31/2016 at 8:00 AM, Cydh said: As follow up of e7e8b54 and people's thought at Issue:#1404 Added config in conf/battle/skill.conf // Land Protector behavior // 0 : Officially, standing players at the border (outer cell) of the Land Protector is still can be affected/hit // by AoE skills (if the skills has splash effect, such Storm Gust). // 1 : Old Athena style, totally ignore AoE skill from outside Land Protector area. land_protector_behavior: 0 Try it now for FREE! Main branch Changes (against my fork master) Diff file Patch file does not work on client 2018 06 20 Quote Link to comment Share on other sites More sharing options...
LOOLP - OFF Posted June 28, 2019 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 233 Reputation: 51 Joined: 12/20/18 Last Seen: March 10, 2021 Share Posted June 28, 2019 @Cydh dont work 2018 0620 ? Quote Link to comment Share on other sites More sharing options...
PsyOps Posted September 24, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 150 Reputation: 12 Joined: 12/03/18 Last Seen: 22 hours ago Share Posted September 24, 2020 I tried this but i got these errors Quote Link to comment Share on other sites More sharing options...
Mael Posted September 24, 2020 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 837 Reputation: 321 Joined: 02/11/19 Last Seen: 2 hours ago Share Posted September 24, 2020 (edited) 3 hours ago, Dev G Inc said: I tried this but i got these errors Your problem is in skill.cpp you must correct the 2 lines that you modified. Edited September 24, 2020 by Mael Quote Link to comment Share on other sites More sharing options...
PsyOps Posted September 25, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 150 Reputation: 12 Joined: 12/03/18 Last Seen: 22 hours ago Share Posted September 25, 2020 (edited) 6 hours ago, Mael said: Your problem is in skill.cpp you must correct the 2 lines that you modified. Thanks @Mael. How would I correct it? I am still learning how to read source codes. Any help would be much appreciated. i am using an old trunk of rathena 972a14e4ed3c2ae15f5acb60652cf0c3db1d0deb Edited September 25, 2020 by Dev G Inc Quote Link to comment Share on other sites More sharing options...
Mael Posted September 25, 2020 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 837 Reputation: 321 Joined: 02/11/19 Last Seen: 2 hours ago Share Posted September 25, 2020 10 hours ago, Dev G Inc said: Thanks @Mael. How would I correct it? I am still learning how to read source codes. Any help would be much appreciated. i am using an old trunk of rathena 972a14e4ed3c2ae15f5acb60652cf0c3db1d0deb Change this: https://github.com/rathena/rathena/blob/972a14e4ed3c2ae15f5acb60652cf0c3db1d0deb/src/map/skill.cpp#L13386 To this: if( (skill_get_type(sg->skill_id) == BF_MAGIC && ((battle_config.land_protector_behavior) ? map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) : map_getcell(unit->bl.m, unit->bl.x, unit->bl.y, CELL_CHKLANDPROTECTOR)) && sg->skill_id != SA_LANDPROTECTOR) || and this: https://github.com/rathena/rathena/blob/972a14e4ed3c2ae15f5acb60652cf0c3db1d0deb/src/map/skill.cpp#L18489 To this: if( !(skill_get_inf2(group->skill_id)&(INF2_SONG_DANCE|INF2_TRAP)) && !(skill_get_inf3(group->skill_id)&(INF3_NOLP)) && group->skill_id != NC_NEUTRALBARRIER && (battle_config.land_protector_behavior ? map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) : map_getcell(unit->bl.m, unit->bl.x, unit->bl.y, CELL_CHKLANDPROTECTOR)) ) 1 Quote Link to comment Share on other sites More sharing options...
PsyOps Posted September 27, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 150 Reputation: 12 Joined: 12/03/18 Last Seen: 22 hours ago Share Posted September 27, 2020 (edited) On 9/25/2020 at 9:11 PM, Mael said: Change this: https://github.com/rathena/rathena/blob/972a14e4ed3c2ae15f5acb60652cf0c3db1d0deb/src/map/skill.cpp#L13386 To this: if( (skill_get_type(sg->skill_id) == BF_MAGIC && ((battle_config.land_protector_behavior) ? map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) : map_getcell(unit->bl.m, unit->bl.x, unit->bl.y, CELL_CHKLANDPROTECTOR)) && sg->skill_id != SA_LANDPROTECTOR) || and this: https://github.com/rathena/rathena/blob/972a14e4ed3c2ae15f5acb60652cf0c3db1d0deb/src/map/skill.cpp#L18489 To this: if( !(skill_get_inf2(group->skill_id)&(INF2_SONG_DANCE|INF2_TRAP)) && !(skill_get_inf3(group->skill_id)&(INF3_NOLP)) && group->skill_id != NC_NEUTRALBARRIER && (battle_config.land_protector_behavior ? map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) : map_getcell(unit->bl.m, unit->bl.x, unit->bl.y, CELL_CHKLANDPROTECTOR)) ) will try this thanks @Mael Update: Working thanks! Edited October 3, 2020 by Dev G Inc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.