Brynner 34 Posted April 21, 2013 File Name: @pk patch v1.1File Submitter: bgamez23File Submitted: 21 Apr 2013File Category: Source Modifications@pk commands for herculescredits for Haru teaching me and make this thing works again.Click here to download this file Quote Share this post Link to post Share on other sites
pr3p 39 Posted April 22, 2013 (edited) is this compatible also with rathena? since same coding structure Edited April 22, 2013 by pr3p Quote Share this post Link to post Share on other sites
khent543 0 Posted May 15, 2013 same question with pr3p Quote Share this post Link to post Share on other sites
Louis T Steinhil 4 Posted August 27, 2013 Why use @pk? I thought we have killable: "Make your character killable." why not just make killable an alias? aliases: { killable: ["pk"] mobinfo: ["monsterinfo", "mi"] iteminfo: ["ii"] time: ["date", "serverdate", "servertime"] autotrade: ["at"] help: ["h"] jumpto: ["goto", "warpto"] mount: ["mountpeco"] who: ["whois"] npctalk: ["npctalkc"] gvgon: ["gpvpon"] gvgoff: ["gpvpoff"] jobchange: ["job"] load: ["return"] warp: ["rura", "mapmove"] dye: ["ccolor"] hairstyle: ["hstyle"] haircolor: ["hcolor"] monster: ["spawn"] blvl: ["lvup", "blevel", "baselvl", "baselvup", "baselevel", "baselvlup"] jlvl: ["jlevel", "joblvl", "joblvup", "joblevel", "joblvlup"] glvl: ["glevel", "guildlvl", "guildlvup", "guildlevel", "guildlvlup"] resetstat: ["streset"] resetskill: ["skreset"] allskill: ["allskills", "skillall", "skillsall"] allstats: ["allstat", "statall", "statsall"] ban: ["banish"] unban: ["unbanish"] unjail: ["discharge"] homlevel: ["hlvl", "hlevel", "homlvl", "homlvup"] homevolution: ["homevolve"] mutearea: ["stfu"] monsterignore: ["battleignore"] raise: ["revive"] kill: ["die"] guildstorage: ["gstorage"] accinfo: ["accountinfo"] itemreset: ["clearinventory"] channel: ["main"]} Quote Share this post Link to post Share on other sites
Brynner 34 Posted September 3, 2013 it should work now on the latest version of Hercules. Quote Share this post Link to post Share on other sites
Pandaaa 2 Posted February 23, 2017 Bump.. getting error while compiling Error 3 error C2039: 'flag' : is not a member of 'map_interface' \src\map\atcommand.c 4424 1 map-server Error 4 error C2039: 'flag' : is not a member of 'map_interface' \src\map\battle.c 6704 1 map-server Error 5 error C2039: 'flag' : is not a member of 'map_interface' \src\map\battle.c 6776 1 map-server Quote Share this post Link to post Share on other sites
Thyr 0 Posted June 13, 2017 On 2/23/2017 at 7:20 AM, Pandaaa said: Bump.. getting error while compiling Error 3 error C2039: 'flag' : is not a member of 'map_interface' \src\map\atcommand.c 4424 1 map-server Error 4 error C2039: 'flag' : is not a member of 'map_interface' \src\map\battle.c 6704 1 map-server Error 5 error C2039: 'flag' : is not a member of 'map_interface' \src\map\battle.c 6776 1 map-server got this error too Quote Share this post Link to post Share on other sites
Legend 43 Posted June 13, 2017 @CraftNCheez This patch was written many years ago and was already outdated. Try this solution, tho I haven't tried it to run: 1) On this line find: + if( map[sd->bl.m].flag.pvp || map[sd->bl.m].flag.gvg || map[sd->bl.m].flag.gvg_castle || map[sd->bl.m].flag.gvg_dungeon ) { and replace it with: + if (map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg || map->list[sd->bl.m].flag.gvg_castle || map->list[sd->bl.m].flag.gvg_dungeon) { 2) On this line find: + if( map[m].flag.pvp && sd->state.pk_mode && flag&BCT_ENEMY && s_bl->type != BL_MOB ) and replace it with: + if( map->list[m].flag.pvp && sd->state.pk_mode && flag&BCT_ENEMY && s_bl->type != BL_MOB ) 3) On this line find: + else if( map[m].flag.pvp && sd->state.pk_mode && t_bl->type != BL_MOB ) and replace it with: + else if( map->list[m].flag.pvp && sd->state.pk_mode && t_bl->type != BL_MOB ) Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted June 13, 2017 58 minutes ago, Legend said: @CraftNCheez This patch was written many years ago and was already outdated. Try this solution, tho I haven't tried it to run: 1) On this line find: + if( map[sd->bl.m].flag.pvp || map[sd->bl.m].flag.gvg || map[sd->bl.m].flag.gvg_castle || map[sd->bl.m].flag.gvg_dungeon ) { and replace it with: + if (map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg || map->list[sd->bl.m].flag.gvg_castle || map->list[sd->bl.m].flag.gvg_dungeon) { 2) On this line find: + if( map[m].flag.pvp && sd->state.pk_mode && flag&BCT_ENEMY && s_bl->type != BL_MOB ) and replace it with: + if( map->list[m].flag.pvp && sd->state.pk_mode && flag&BCT_ENEMY && s_bl->type != BL_MOB ) 3) On this line find: + else if( map[m].flag.pvp && sd->state.pk_mode && t_bl->type != BL_MOB ) and replace it with: + else if( map->list[m].flag.pvp && sd->state.pk_mode && t_bl->type != BL_MOB ) I recently updated the plugin: https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/%40pk.c 1 Legend reacted to this Quote Share this post Link to post Share on other sites
Legend 43 Posted June 13, 2017 thanks @Dastgir d' best Quote Share this post Link to post Share on other sites
Thyr 0 Posted July 8, 2017 On 6/12/2017 at 11:24 PM, Dastgir said: I recently updated the plugin: https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/%40pk.c Sir Dastgir, when PK is ON and you and your friends are in party. We still can damage each other but casting skills and normal attacking (Shift + Left Click on Character) Quote Share this post Link to post Share on other sites
Begin 11 Posted June 24, 2018 Hello everyone, is this the one that is same settings with malufett from rAthena? Can someone update this? Quote Share this post Link to post Share on other sites