Trinitycore: [3.3.5] DB / Quest: Jungle Secrets

Created on 5 Jun 2016  路  10Comments  路  Source: TrinityCore/TrinityCore

Description: The quest "Jungle Secrets" (entry: 215) can be obtained and accepted without meeting the requirement.

Current behaviour: The quest can simply be taken from the giver creature "Private Thorsen" (entry: 738 GUID: 2243).

Expected behaviour: Quoting a comment on wowhead:

Every so often, Thorsen will go on patrol. If you follow him, he will be ambushed by two of Kurzen's lackeys (at around (40, 8) ) - if he survives, you will be able to start this quest off him then.
(By Kagema on 2006/11/03 (Patch 1.12.2))

Steps to reproduce the problem:

  1. .go creature 2243
  2. accept it.
  3. $$$

Source: http://www.wowhead.com/quest=215/jungle-secrets

Branch(es): 3.3.5

core_revision: 8d2ccc4d1a88
db_version: TDB 335.61

Branch-3.3.5a Comp-Database Feedback-PatchFix Sub-Quests

Most helpful comment

Here is the fix! :)
``sql -- Private Thorsen DELETE FROMcreature_textWHERECreatureIDIN (738,775,733); INSERT INTOcreature_text(CreatureID,GroupID,ID,Text,Type,Language,Probability,Emote,Duration,Sound,BroadcastTextId,TextRange,comment`) VALUES
(738,0,0,"Time for my patrol. I'll be back shortly.",12,7,100,66,0,0,102,0,"Private Thorsen"),
(738,1,0,"Now that the coast is clear...",12,7,100,0,0,0,103,0,"Private Thorsen"),
(738,2,0,"Well I'm here. And I'm ready to rejoin...",12,7,100,1,0,0,23,0,"Private Thorsen"),
(738,3,0,"Thanks for saving me!",12,7,100,2,0,0,100,0,"Private Thorsen"),
(738,4,0,"I've been gone a long time...I better get back.",12,7,100,1,0,0,105,0,"Private Thorsen"),
(738,5,0,"Private Thorsen returning from patrol. Nothing new to report - it's pretty quiet out there...",12,7,100,66,0,0,106,0,"Private Thorsen"),
(775,0,0,"You're not joining anyone, Thorsen..",12,7,100,25,0,0,24,0,"Kurzen's Agent"),
(775,1,0,"Now you die!",12,7,100,0,0,0,101,0,"Kurzen's Agent"),
(733,0,0,"Very good. You are relieved, private. Rest, but don't get too comfortable. Kurzen won't leave us alone forever.",12,7,100,1,0,0,108,0,"Sergeant Yohwa");

UPDATE creature_template SET faction=11, AIName="SmartAI" WHERE entry=738;
DELETE FROM smart_scripts WHERE entryorguid=738 AND source_type=0;
DELETE FROM smart_scripts WHERE entryorguid IN (73800,73801,73802,73803,73804) AND source_type=9;
INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,event_param5,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
(738,0,0,0,11,0,100,0,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Remove Npc Flag Questgiver"),
(738,0,1,0,11,0,100,0,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Set Active On"),
(738,0,2,0,11,0,100,0,0,0,0,0,0,80,73800,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Run Sript"),
(738,0,3,0,40,0,100,0,14,73800,0,0,0,80,73801,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 14 Reached - Run Script"),
(738,0,4,0,40,0,100,0,16,73800,0,0,0,80,73802,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"),
(738,0,5,0,38,0,100,0,1,1,0,0,0,80,73803,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Data Set - Run Script"),
(738,0,6,0,40,0,100,0,16,73801,0,0,0,80,73804,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"),
(73800,9,0,0,0,0,100,0,600000,600000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"),
(73800,9,1,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"),
(73801,9,0,0,0,0,100,0,0,0,0,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Pause Waypoint"),
(73801,9,1,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 1"),
(73801,9,2,0,0,0,100,0,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Set Run On"),
(73802,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.23057,"Private Thorsen - On Script - Set Orientation"),
(73802,9,1,0,0,0,100,0,0,0,0,0,0,12,775,1,60000,0,0,0,8,0,0,0,-11520.9,-383.511,39.8521,1.21196,"Private Thorsen - On Script - Summon Creature 'Kurzen's Agent'"),
(73802,9,2,0,0,0,100,0,0,0,0,0,0,12,775,1,60000,0,0,0,8,0,0,0,-11524.9,-381.701,40.096,1.05488,"Private Thorsen - On Script - Summon Creature 'Kurzen's Agent'"),
(73802,9,3,0,0,0,100,0,9000,9000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 2"),
(73802,9,4,0,0,0,100,0,5000,5000,0,0,0,1,0,0,0,0,0,0,19,775,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Kurzen's Agent)"),
(73802,9,5,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,19,775,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 1 (Kurzen's Agent)"),
(73802,9,6,0,0,0,100,0,1000,1000,0,0,0,45,1,1,0,0,0,0,11,775,50,0,0,0,0,0,"Private Thorsen - On Script - Set Data to Kurzen's Agent"),
(73803,9,0,0,0,0,100,0,2000,2000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 3"),
(73803,9,1,0,0,0,100,0,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Add Npc Flag Questgiver"),
(73803,9,2,0,0,0,100,0,120000,120000,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Remove Npc Flag Questgiver"),
(73803,9,3,0,0,0,100,0,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 4"),
(73803,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73801,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"),
(73804,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.5676,"Private Thorsen - On Script - Set Orientation"),
(73804,9,1,0,0,0,100,0,500,500,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 5"),
(73804,9,2,0,0,0,100,0,7000,7000,0,0,0,1,0,0,0,0,0,0,19,733,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Sergeant Yohwa)"),
(73804,9,3,0,0,0,100,0,900000,900000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"),
(73804,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint");

DELETE FROM conditions WHERE SourceTypeOrReferenceId=22 AND SourceEntry=738;
INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ErrorTextId, ScriptName, Comment) VALUES
(22,6,738,0,0,29,1,775,200,0,1,0,0,"","SAI triggers only if both Kurzen's Agents are dead");

DELETE FROM waypoints WHERE entry IN (73800,73801);
INSERT INTO waypoints (entry,pointid,position_x,position_y,position_z,point_comment) VALUES
(73800,1,-11328.6,-204.605,75.3066,""),
(73800,2,-11344.1,-211.834,75.2203,""),
(73800,3,-11368.8,-212.901,75.2614,""),
(73800,4,-11376.9,-217.981,75.0992,""),
(73800,5,-11381.8,-226.245,73.6393,""),
(73800,6,-11382.7,-248.431,65.2537,""),
(73800,7,-11389.8,-277.379,59.5323,""),
(73800,8,-11393.7,-283.161,58.6077,""),
(73800,9,-11397.5,-285.631,58.2045,""),
(73800,10,-11417,-284.249,53.5163,""),
(73800,11,-11434.1,-286.4,48.2306,""),
(73800,12,-11471.1,-288.588,37.1529,""),
(73800,13,-11480.6,-296.055,36.0918,""),
(73800,14,-11513.5,-322.018,35.78,""),
(73800,15,-11520.2,-337.882,37.4359,""),
(73800,16,-11513.3,-362.046,37.7542,""),
(73801,1,-11520.2,-337.882,37.4359,""),
(73801,2,-11513.5,-322.018,35.78,""),
(73801,3,-11480.6,-296.055,36.0918,""),
(73801,4,-11471.1,-288.588,37.1529,""),
(73801,5,-11434.1,-286.4,48.2306,""),
(73801,6,-11417,-284.249,53.5163,""),
(73801,7,-11397.5,-285.631,58.2045,""),
(73801,8,-11393.7,-283.161,58.6077,""),
(73801,9,-11389.8,-277.379,59.5323,""),
(73801,10,-11382.7,-248.431,65.2537,""),
(73801,11,-11381.8,-226.245,73.6393,""),
(73801,12,-11376.9,-217.981,75.0992,""),
(73801,13,-11368.8,-212.901,75.2614,""),
(73801,14,-11344.1,-211.834,75.2203,""),
(73801,15,-11328.6,-204.605,75.3066,""),
(73801,16,-11313.9,-202.766,75.576,"");

-- Kurzen's Agent
UPDATE creature_template SET AIName="SmartAI" WHERE entry=775;
DELETE FROM smart_scripts WHERE entryorguid=775 AND source_type=0;
INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,event_param5,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
(775,0,0,0,54,0,100,0,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kurzen's Agent - Just Summoned - Set Run Off"),
(775,0,1,0,54,0,100,0,0,0,0,0,0,114,0,0,0,0,0,0,1,0,0,0,0,18,0,0,"Kurzen's Agent - Just Summoned - Move Forward"),
(775,0,2,0,38,0,100,0,1,1,0,0,0,2,46,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kurzen's Agent - On Data Set - Set Faction 46"),
(775,0,3,0,38,0,100,0,1,1,0,0,0,49,0,0,0,0,0,0,19,738,0,0,0,0,0,0,"Kurzen's Agent - On Data Set - Start Attacking"),
(775,0,4,0,6,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,738,0,0,0,0,0,0,"Kurzen's Agent - On Just Died - Set Data to Private Thorsen");

All 10 comments

Well unfortunately we have no sniff data on this quest other than the all_quests sniff files which are useless, we have sniffs of actual npc but nothing useful there either.

This npc is currently unscripted not even waypoints

dr-j says: This npc is currently unscripted not even waypoints

Right, the missing script is the problem. He is supposed to be scripted where he randomly goes out on patrol and gets ambushed by Kurzen Agents. If you help him, he offers you the quest which starts a 6 part series.

http://wowwiki.wikia.com/wiki/Quest:Jungle_Secrets
You must save Private Thorsen from being ambushed by Kurzen's Agents when he's going for a patrol in order to get this quest.

http://www.wowhead.com/npc=775/kurzens-agent#comments:id=156848
Two of them ambush Private Thorsen as he goes out on patrol. If you fend them off, Thorsen will give the quest Jungle Secrets.

dr-j says: Well unfortunately we have no sniff data on this quest

I couldn't find any Youtube videos of this guy (didn't search hard) but someone might be able to "fake" a waypoint path / script from this:

http://www.wowhead.com/npc=738/private-thorsen#comments:id=112074
If for some reason you don't find him in the rebel camp it may be simply because someone else is on a quest that causes him to temporarily travel on the road south to 40, 8

cmangos has a path for him

If it's these http://paste2.org/ztYkAsAX they aren't correct. https://postimg.org/image/z8fv8ysen/ They double back and come nowhere near where he should go, which is down near the tiger, and iirc he stands there facing zg for abit, delayed wp also.

Here is the fix! :)
``sql -- Private Thorsen DELETE FROMcreature_textWHERECreatureIDIN (738,775,733); INSERT INTOcreature_text(CreatureID,GroupID,ID,Text,Type,Language,Probability,Emote,Duration,Sound,BroadcastTextId,TextRange,comment`) VALUES
(738,0,0,"Time for my patrol. I'll be back shortly.",12,7,100,66,0,0,102,0,"Private Thorsen"),
(738,1,0,"Now that the coast is clear...",12,7,100,0,0,0,103,0,"Private Thorsen"),
(738,2,0,"Well I'm here. And I'm ready to rejoin...",12,7,100,1,0,0,23,0,"Private Thorsen"),
(738,3,0,"Thanks for saving me!",12,7,100,2,0,0,100,0,"Private Thorsen"),
(738,4,0,"I've been gone a long time...I better get back.",12,7,100,1,0,0,105,0,"Private Thorsen"),
(738,5,0,"Private Thorsen returning from patrol. Nothing new to report - it's pretty quiet out there...",12,7,100,66,0,0,106,0,"Private Thorsen"),
(775,0,0,"You're not joining anyone, Thorsen..",12,7,100,25,0,0,24,0,"Kurzen's Agent"),
(775,1,0,"Now you die!",12,7,100,0,0,0,101,0,"Kurzen's Agent"),
(733,0,0,"Very good. You are relieved, private. Rest, but don't get too comfortable. Kurzen won't leave us alone forever.",12,7,100,1,0,0,108,0,"Sergeant Yohwa");

UPDATE creature_template SET faction=11, AIName="SmartAI" WHERE entry=738;
DELETE FROM smart_scripts WHERE entryorguid=738 AND source_type=0;
DELETE FROM smart_scripts WHERE entryorguid IN (73800,73801,73802,73803,73804) AND source_type=9;
INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,event_param5,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
(738,0,0,0,11,0,100,0,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Remove Npc Flag Questgiver"),
(738,0,1,0,11,0,100,0,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Set Active On"),
(738,0,2,0,11,0,100,0,0,0,0,0,0,80,73800,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Run Sript"),
(738,0,3,0,40,0,100,0,14,73800,0,0,0,80,73801,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 14 Reached - Run Script"),
(738,0,4,0,40,0,100,0,16,73800,0,0,0,80,73802,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"),
(738,0,5,0,38,0,100,0,1,1,0,0,0,80,73803,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Data Set - Run Script"),
(738,0,6,0,40,0,100,0,16,73801,0,0,0,80,73804,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"),
(73800,9,0,0,0,0,100,0,600000,600000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"),
(73800,9,1,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"),
(73801,9,0,0,0,0,100,0,0,0,0,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Pause Waypoint"),
(73801,9,1,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 1"),
(73801,9,2,0,0,0,100,0,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Set Run On"),
(73802,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.23057,"Private Thorsen - On Script - Set Orientation"),
(73802,9,1,0,0,0,100,0,0,0,0,0,0,12,775,1,60000,0,0,0,8,0,0,0,-11520.9,-383.511,39.8521,1.21196,"Private Thorsen - On Script - Summon Creature 'Kurzen's Agent'"),
(73802,9,2,0,0,0,100,0,0,0,0,0,0,12,775,1,60000,0,0,0,8,0,0,0,-11524.9,-381.701,40.096,1.05488,"Private Thorsen - On Script - Summon Creature 'Kurzen's Agent'"),
(73802,9,3,0,0,0,100,0,9000,9000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 2"),
(73802,9,4,0,0,0,100,0,5000,5000,0,0,0,1,0,0,0,0,0,0,19,775,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Kurzen's Agent)"),
(73802,9,5,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,19,775,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 1 (Kurzen's Agent)"),
(73802,9,6,0,0,0,100,0,1000,1000,0,0,0,45,1,1,0,0,0,0,11,775,50,0,0,0,0,0,"Private Thorsen - On Script - Set Data to Kurzen's Agent"),
(73803,9,0,0,0,0,100,0,2000,2000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 3"),
(73803,9,1,0,0,0,100,0,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Add Npc Flag Questgiver"),
(73803,9,2,0,0,0,100,0,120000,120000,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Remove Npc Flag Questgiver"),
(73803,9,3,0,0,0,100,0,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 4"),
(73803,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73801,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"),
(73804,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.5676,"Private Thorsen - On Script - Set Orientation"),
(73804,9,1,0,0,0,100,0,500,500,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 5"),
(73804,9,2,0,0,0,100,0,7000,7000,0,0,0,1,0,0,0,0,0,0,19,733,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Sergeant Yohwa)"),
(73804,9,3,0,0,0,100,0,900000,900000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"),
(73804,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint");

DELETE FROM conditions WHERE SourceTypeOrReferenceId=22 AND SourceEntry=738;
INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ErrorTextId, ScriptName, Comment) VALUES
(22,6,738,0,0,29,1,775,200,0,1,0,0,"","SAI triggers only if both Kurzen's Agents are dead");

DELETE FROM waypoints WHERE entry IN (73800,73801);
INSERT INTO waypoints (entry,pointid,position_x,position_y,position_z,point_comment) VALUES
(73800,1,-11328.6,-204.605,75.3066,""),
(73800,2,-11344.1,-211.834,75.2203,""),
(73800,3,-11368.8,-212.901,75.2614,""),
(73800,4,-11376.9,-217.981,75.0992,""),
(73800,5,-11381.8,-226.245,73.6393,""),
(73800,6,-11382.7,-248.431,65.2537,""),
(73800,7,-11389.8,-277.379,59.5323,""),
(73800,8,-11393.7,-283.161,58.6077,""),
(73800,9,-11397.5,-285.631,58.2045,""),
(73800,10,-11417,-284.249,53.5163,""),
(73800,11,-11434.1,-286.4,48.2306,""),
(73800,12,-11471.1,-288.588,37.1529,""),
(73800,13,-11480.6,-296.055,36.0918,""),
(73800,14,-11513.5,-322.018,35.78,""),
(73800,15,-11520.2,-337.882,37.4359,""),
(73800,16,-11513.3,-362.046,37.7542,""),
(73801,1,-11520.2,-337.882,37.4359,""),
(73801,2,-11513.5,-322.018,35.78,""),
(73801,3,-11480.6,-296.055,36.0918,""),
(73801,4,-11471.1,-288.588,37.1529,""),
(73801,5,-11434.1,-286.4,48.2306,""),
(73801,6,-11417,-284.249,53.5163,""),
(73801,7,-11397.5,-285.631,58.2045,""),
(73801,8,-11393.7,-283.161,58.6077,""),
(73801,9,-11389.8,-277.379,59.5323,""),
(73801,10,-11382.7,-248.431,65.2537,""),
(73801,11,-11381.8,-226.245,73.6393,""),
(73801,12,-11376.9,-217.981,75.0992,""),
(73801,13,-11368.8,-212.901,75.2614,""),
(73801,14,-11344.1,-211.834,75.2203,""),
(73801,15,-11328.6,-204.605,75.3066,""),
(73801,16,-11313.9,-202.766,75.576,"");

-- Kurzen's Agent
UPDATE creature_template SET AIName="SmartAI" WHERE entry=775;
DELETE FROM smart_scripts WHERE entryorguid=775 AND source_type=0;
INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,event_param5,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
(775,0,0,0,54,0,100,0,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kurzen's Agent - Just Summoned - Set Run Off"),
(775,0,1,0,54,0,100,0,0,0,0,0,0,114,0,0,0,0,0,0,1,0,0,0,0,18,0,0,"Kurzen's Agent - Just Summoned - Move Forward"),
(775,0,2,0,38,0,100,0,1,1,0,0,0,2,46,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kurzen's Agent - On Data Set - Set Faction 46"),
(775,0,3,0,38,0,100,0,1,1,0,0,0,49,0,0,0,0,0,0,19,738,0,0,0,0,0,0,"Kurzen's Agent - On Data Set - Start Attacking"),
(775,0,4,0,6,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,738,0,0,0,0,0,0,"Kurzen's Agent - On Just Died - Set Data to Private Thorsen");

@ZenoX92 Is this tested? I had a quest to turn in to Private Thorsen and could not turn it in, even when he was positioned in Rebel Camp. He doesn't have the Quest Giver npcflag anymore. I'm thinking it doesn't get added again after his AI.

Tested and works correctly, the only detail I get is the gossip is active during the waypoint, if the player talk to the npc it will stop for 3 or 4 min before resuming the waypoint.

Maybe due to grid unload used to happen with one of the cenarion npcs in hellfire when a quest was turned in if player left before event finished and grid unloaded npc was left with no npc flags

The npc is always active.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rushor picture Rushor  路  3Comments

funjoker picture funjoker  路  3Comments

cbcs picture cbcs  路  3Comments

tje3d picture tje3d  路  3Comments

daddycaddy picture daddycaddy  路  3Comments