Tukaram

Member
I am using the old Gizmo quest creator. It is a bit out of date, and I can fix most of it... but... I am getting region errors on quest objectives. This is a simple kill quest, I set it up near the Haven Mine.

There are only 3 kill objectives (code snippet below) but I get this error - 30 times. Same time stamp. Every time I talk to the quest giver. I have two quests there, both are similar kill quests. Both are made by Gizmo, and edited a bit to make it work (SBVendor issues etc, normal for Gizmo). Both quests do this same error code - and it repeats 30 times each time I talk to the quest giver. It does not affect the quest, just looks odd in the console window.

Any idea how to fix it? Do I need to specify a region? If so, what region would the Haven Mines be in?

02:56:41 Invalid region name ('') in 'Server.Engines.Quests.SlayObjective' objective!
02:56:41 Invalid region name ('') in 'Server.Engines.Quests.SlayObjective' objective!
02:56:41 Invalid region name ('') in 'Server.Engines.Quests.SlayObjective' objective!
02:56:41 Invalid region name ('') in 'Server.Engines.Quests.SlayObjective' objective!

C#:
        public ProtectHavenMiners() : base()
        {
            //Slay Objective #1
            AddObjective(new SlayObjective(typeof(EarthElemental),"Earth Elemental",15, ""));
            //Slay Objective #2
            AddObjective(new SlayObjective(typeof(Lizardman),"Lizardman",15, ""));
            //Slay Objective #3
            AddObjective(new SlayObjective(typeof(OgreLord),"Ogre Lord",1, ""));
        }
 
Your using
public SlayObjective(Type creature, string name, int amount, string region)

If you don't want a region use
public SlayObjective(Type creature, string name, int amount)

C#:
        public ProtectHavenMiners() : base()
        {
            //Slay Objective #1
            AddObjective(new SlayObjective(typeof(EarthElemental),"Earth Elemental",15));
            //Slay Objective #2
            AddObjective(new SlayObjective(typeof(Lizardman),"Lizardman",15));
            //Slay Objective #3
            AddObjective(new SlayObjective(typeof(OgreLord),"Ogre Lord",1));
        }

There are also other types that can be found in QuestObjectives.cs
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back