pvp quest help
I wrote this pvp quest script loosely based off the priest of discord This is how it works:
You start with the "shackles of light" in your inventory and you hail the npc and and go through some conversation. Once you turn in your shackles he takes it sets you to PVP and then gives you a stone of darkness. when you don't want to be a PVP anymore you turn in the dark stone and he taunts you and gives you back the shackles and makes you non PVP anymore. This is where my problem lies, the code works wonderfully he will give items and respond. The problem is that he will turn you to PVP status but when you turn in the stone and get the shackles back, he does the script but you are still PVP enabled. He should turn your PVP status back to normal once you turn in the stone but for some reason he wont do it. Is this not the right command to turn pvp off again? quest::pvp("off"); I have posted the whole code below for reference. Code:
################## Thanks in advance for any help you can offer |
This looks to me to be a bug in the source code in QuestManager:pvp
The code is indented like this Code:
if (!strcasecmp(mode,"on")) Code:
if (!strcasecmp(mode,"on")) |
Thanks for the quick reply it was driving me nuts :)
|
All times are GMT -4. The time now is 07:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.