• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Shield Form - Fix/Hack/Botch Up.. What ever you call it.

Junior Spellweaver
Joined
Apr 27, 2015
Messages
176
Reaction score
107
So we will come across from time to time a char/toon that can not get shield form. There is two things we can do. First is hack the script that the NPC with shield form quest uses. Second is set a flag.

First option is editing some code in c:\runewaker\resource\2584.lua
On line 70 the original code is :
Code:
    if ReadRoleValue(TID,EM_RoleValue_OrgID)==120245 and DrawfRace ==2 and job==10 and CheckFlag(OID,546211)==false and CheckCompleteQuest(OID,425071)==true then

What we do is remove the restrictions from that npc to allow shield form to be completed by who ever talks to the NPC. So change the code to :
Code:
    if ReadRoleValue(TID,EM_RoleValue_OrgID)==120245 then -- and DrawfRace ==2 and job==10 and CheckFlag(OID,546211)==false and CheckCompleteQuest(OID,425071)==true then

The 2nd option will only work if you are a GM that can execute code with ? pcall
When I learn how to make my own quest npc we can make this work for everyone.

But what I did was edit 0002.lua and added my own function after the function that was in that script:

Code:
function DrewwwDaMan()
 local Player = OwnerID()
 SetFlag( Player , 546241 , 1 )
end

Once a player has this Flag #546241 he/she can do all the drawf race quests. Some quests check your race most don't. Those quests that don't check you can now do, as for rest, change race to dwarf.

You can test this above, make new char/toon as human or elf, port it to dwarf zone, attempt to do quest chain. You find you can only do 1 quest and it stops. So then you need to execute the above function to enable the quest chain. /gm ? pcall DrewwwDaMan
Now you have the flag, the quests become available.

<-- click like if this helps you
 
Last edited:
Back
Top