{"action":"opened","issue":{"url":"https://api.github.com/repos/cooler-SAI/TER-Server/issues/14","labels_url":"https://api.github.com/repos/cooler-SAI/TER-Server/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/cooler-SAI/TER-Server/issues/14/comments","events_url":"https://api.github.com/repos/cooler-SAI/TER-Server/issues/14/events","html_url":"https://github.com/cooler-SAI/TER-Server/issues/14","id":114178964,"number":14,"title":"Premature Explosionation (Uldum Quest)","user":{"login":"LKArthas","id":1549829,"avatar_url":"https://avatars.githubusercontent.com/u/1549829?v=3","gravatar_id":"","url":"https://api.github.com/users/LKArthas","html_url":"https://github.com/LKArthas","followers_url":"https://api.github.com/users/LKArthas/followers","following_url":"https://api.github.com/users/LKArthas/following{/other_user}","gists_url":"https://api.github.com/users/LKArthas/gists{/gist_id}","starred_url":"https://api.github.com/users/LKArthas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LKArthas/subscriptions","organizations_url":"https://api.github.com/users/LKArthas/orgs","repos_url":"https://api.github.com/users/LKArthas/repos","events_url":"https://api.github.com/users/LKArthas/events{/privacy}","received_events_url":"https://api.github.com/users/LKArthas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T01:17:36Z","updated_at":"2015-10-30T01:17:36Z","closed_at":null,"body":"///Inserting this query will cause the server to post an error with the smartAI because the credit type is in mode 33 (killcredit) and the core has a spell that give the credit to player, but does not affect the loading or the function at all, i can't cast the spell because doesn't cast from creature to player and the condition that i tested didn't work as i intended so if you like to modify the credit type, no problem :smiley: \r\n\r\nUPDATE `creature_template` SET `AIName`='SmartAI', WHERE `entry`=44860;\r\n\r\n--smart script--\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 (44860, 0, 0, 0, 1, 0, 100, 0, 2, 3, 2, 3, 33, 47318, 0, 0, 0, 0, 0, 17, 0, 30, 0, 0, 0, 0, 0, 'Harrison Jones Take to Them Credit');\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 (44860, 0, 1, 0, 19, 0, 100, 0, 27141, 0, 0, 0, 80, 4486000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Harrison Jones - On PE Quest Accept Start Script');\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 (4486000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 53, 0, 44860, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Script - Start WP 1 Harrison Jones');\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 (4486000, 9, 1, 0, 0, 0, 100, 0, 6000, 6000, 6000, 6000, 12, 46720, 5, 45000, 0, 0, 0, 8, 0, 0, 0, -8948.19, -1528.95, 94.4531, 4.89651, 'Script - Summon Pygmy Ambusher');\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 (4486000, 9, 2, 0, 0, 0, 100, 0, 200, 200, 200, 200, 20, 0, 0, 0, 0, 0, 0, 11, 46720, 30, 0, 0, 0, 0, 0, 'Script - Pygmy Attacks');\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 (4486000, 9, 3, 0, 0, 0, 100, 0, 10, 10, 10, 10, 9, 1, 0, 0, 0, 0, 0, 20, 205388, 30, 0, 0, 0, 0, 0, 'Script - Activate Brazier');\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 (4486000, 9, 4, 0, 0, 0, 100, 0, 100, 100, 100, 100, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Script - HJ Says 1');\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 (4486000, 9, 5, 0, 0, 0, 100, 0, 2000, 2000, 2000, 2000, 53, 0, 44861, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Script - HJ WP 2');\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 (4486000, 9, 6, 0, 0, 0, 100, 0, 100, 100, 100, 100, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Script - HJ Says 2');\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 (4486000, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 53, 0, 44862, 0, 0, 0, 0, 17, 0, 20, 0, 0, 0, 0, 0, 'Script - Player Go Waypoint');\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 (4486000, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 2000, 2000, 33, 45143, 0, 0, 0, 0, 0, 17, 0, 20, 0, 0, 0, 0, 0, 'Script - Cast Credit');\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 (4486000, 9, 9, 0, 0, 0, 100, 0, 10, 10, 10, 10, 11, 110263, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Script - Cast Explosion');\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 (4486000, 9, 10, 0, 0, 0, 100, 0, 200, 200, 200, 200, 62, 1, 0, 0, 0, 0, 0, 17, 0, 20, 0, -9210.32, -1554.97, 65.4522, 3.27979, 'Script - Teleport Player');\r\n\r\n--creature_text--\r\nINSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (44860, 0, 0, 'Whoa.. easy, now.', 12, 0, 100, 0, 0, 0, 'Harrison Jones PE says 1');\r\nINSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (44860, 1, 0, 'Quick, $N! Into the Chests!', 14, 0, 100, 5, 0, 0, 'Harrison Jones PE says 2');\r\n\r\n--waypoints--\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (44860, 0, -8951.67, -1545.09, 94.4536, 'Harrison Jones PE WP1');\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (44860, 1, -8950.22, -1551.92, 94.4536, 'Harrison Jones PE WP2');\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (44861, 0, -8951.43, -1550.61, 94.4536, 'Harrison Jones PE WP3');\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (44861, 1, -8957.08, -1553.98, 95.5116, 'Harrison Jones PE WP4');\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (44862, 0, -8949.57, -1546.4, 94.4538, 'PE Player WP1');\r\nINSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (44862, 1, -8957.07, -1546.86, 95.5901, 'PE Player WP2');\r\n\r\n"}}