Issue Information
-
#007697
-
0 - None Assigned
-
Duplicate
Issue Confirmations
-
Yes (0)No (0)
Greetings!
My problem is like this for example,
- I enabled my Last Man Standing script that you can find everywhere!
- I created a new map_zone_db.conf, together with on the map.h where you must create a new one of yours. Recompiled.
- Enable the map zone on the Last Man Standing with zone script.
on my src/map/map.h :
on my Last Man Standing Script: (with proper tabbing)
and the PROBLEM is when the NPC enabled the PVPON, the restrictions will be useless and the full map will be follow the "PvP" on map_zone_db.conf...
I think this is wrong, unlike on the skill_nocast_db, you can restrict those even the PvP turns on.
My problem is like this for example,
- I enabled my Last Man Standing script that you can find everywhere!
- I created a new map_zone_db.conf, together with on the map.h where you must create a new one of yours. Recompiled.
- Enable the map zone on the Last Man Standing with zone script.
on my src/map/map.h :
#define MAP_ZONE_LMS_NAME "LMS"on my db/re/map_zone_db.conf :
{ name: "LMS" /* Last Man Standing */ disabled_skills: { AS_CLOAKING: "PLAYER" GC_CLOAKINGEXCEED: "PLAYER" TF_HIDING: "PLAYER" NJ_SHADOWJUMP: "PLAYER" NJ_KIRIKAGE: "PLAYER" NJ_KASUMIKIRI: "PLAYER" KO_YAMIKUMO: "PLAYER" ST_CHASEWALK: "PLAYER" SC_INVISIBILITY: "PLAYER" NJ_KASUMIKIRI: "PLAYER" AL_TELEPORT: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" RG_INTIMIDATE: "PLAYER" } },
on my Last Man Standing Script: (with proper tabbing)
rwc03 mapflag zone LMS
and the PROBLEM is when the NPC enabled the PVPON, the restrictions will be useless and the full map will be follow the "PvP" on map_zone_db.conf...
I think this is wrong, unlike on the skill_nocast_db, you can restrict those even the PvP turns on.
Confirming and dupe of bug report: http://herc.ws/board...33-map-zone-db/
To fix this problem you can add this (temporary) just set the min lvl of gm to enable this command:
To fix this problem you can add this (temporary) just set the min lvl of gm to enable this command:
- script atcmd_pvp -1,{ OnInit: bindatcmd "pvpon","atcmd_pvp::OnAtcommand",60,99; bindatcmd "pvpoff","atcmd_pvp::OnAtcommand2",60,99; end; OnAtcommand: atcommand "@pvpon"; setmapflag "rwc03",mf_zone,"LMS"; end; OnAtcommand2: atcommand "@pvpoff"; setmapflag "rwc03",mf_zone,"LMS"; end; }
Edited by kyeme, 11 September 2013 - 05:00 PM.
Or if the npc enable the PVP just add:
setmapflag "rwc03",mf_zone,"LMS";
setmapflag "rwc03",mf_zone,"LMS";
changed status to: Duplicate
Dupe of http://herc.ws/board...33-map-zone-db/
Should be fixed in https://github.com/H...d43da2bda0525a2
Thanks for this kyeme and Ind! /no1