{"action":"created","issue":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/21463","repository_url":"https://api.github.com/repos/TrinityCore/TrinityCore","labels_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/21463/labels{/name}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/21463/comments","events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/21463/events","html_url":"https://github.com/TrinityCore/TrinityCore/issues/21463","id":298595117,"number":21463,"title":"Core/SAI: SMART_ACTION_SET_RUN with waypoints","user":{"login":"Killyana","id":6587064,"avatar_url":"https://avatars0.githubusercontent.com/u/6587064?v=4","gravatar_id":"","url":"https://api.github.com/users/Killyana","html_url":"https://github.com/Killyana","followers_url":"https://api.github.com/users/Killyana/followers","following_url":"https://api.github.com/users/Killyana/following{/other_user}","gists_url":"https://api.github.com/users/Killyana/gists{/gist_id}","starred_url":"https://api.github.com/users/Killyana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Killyana/subscriptions","organizations_url":"https://api.github.com/users/Killyana/orgs","repos_url":"https://api.github.com/users/Killyana/repos","events_url":"https://api.github.com/users/Killyana/events{/privacy}","received_events_url":"https://api.github.com/users/Killyana/received_events","type":"User","site_admin":false},"labels":[{"id":36087725,"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Branch-3.3.5a","name":"Branch-3.3.5a","color":"188846","default":false},{"id":26232644,"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Comp-Core","name":"Comp-Core","color":"FF6600","default":false},{"id":781357091,"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Sub-Movement","name":"Sub-Movement","color":"e10c02","default":false},{"id":3421015,"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Sub-ScriptingEngine","name":"Sub-ScriptingEngine","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T13:33:45Z","updated_at":"2018-02-22T19:50:42Z","closed_at":null,"author_association":"MEMBER","body":"<!--- (**********************************)\r\n      (** Fill in the following fields **)\r\n      (**********************************) --->\r\n\r\n**Description:** The action SMART_ACTION_SET_RUN no longer override the movement_type set on SMART_ACTION_WP_START\r\n\r\n**Steps to reproduce the problem:**\r\n\r\n1. use this SAI:\r\n``` sql\r\nUPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN (321);\r\nDELETE FROM `smart_scripts` WHERE `entryorguid` IN (321) AND `source_type`=0;\r\nINSERT 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`,`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\r\n(321,  0, 0,0,  1, 0,100,1,     0,    0,0,0, 53,   0,    321,0,   0,    0,0, 1,   0,0,0,0,0,0,0, '321 - ooc no repeat - start wp'),\r\n(321, 0, 1, 0, 40, 0, 100, 0, 2, 321, 0, 0, 59, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '321 - on wp2 - set run on');\r\nDELETE FROM `waypoints` WHERE `entry`=321;\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES\r\n(321, 1, -1.33869, -3.56321, -144.709, '321'),\r\n(321, 2, -13.1266, -3.51810, -144.709, '321'),\r\n(321, 3, -29.9264, -3.45383, -144.709, '321'),\r\n(321, 4, -44.1643, -3.39935, -144.709, '321');\r\n```\r\n2. .tele test\r\n3. .npc add temp 321\r\n4. Notice the npc will not start runnig on wp2\r\n\r\n**Branch(es):** 3.3.5\r\n\r\n**TC rev. hash/commit:**  rev. 01386cf44718\r\n"},"comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/comments/367799856","html_url":"https://github.com/TrinityCore/TrinityCore/issues/21463#issuecomment-367799856","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/21463","id":367799856,"user":{"login":"Killyana","id":6587064,"avatar_url":"https://avatars0.githubusercontent.com/u/6587064?v=4","gravatar_id":"","url":"https://api.github.com/users/Killyana","html_url":"https://github.com/Killyana","followers_url":"https://api.github.com/users/Killyana/followers","following_url":"https://api.github.com/users/Killyana/following{/other_user}","gists_url":"https://api.github.com/users/Killyana/gists{/gist_id}","starred_url":"https://api.github.com/users/Killyana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Killyana/subscriptions","organizations_url":"https://api.github.com/users/Killyana/orgs","repos_url":"https://api.github.com/users/Killyana/repos","events_url":"https://api.github.com/users/Killyana/events{/privacy}","received_events_url":"https://api.github.com/users/Killyana/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T19:50:42Z","updated_at":"2018-02-22T19:50:42Z","author_association":"MEMBER","body":"@ccrs could you take a look to this issue please ? I need it to be fixed before pushing some quest scripts."}}
{"actor":{"display_login":"Killyana"}}