Welcome to the MMOtop - Arcemu, Mangos, Trinity.
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Killerasis's Avatar
    Status : Killerasis is offline
    Join Date : Sep 2010
    Location : I Live @ MMOTop.Org
    Posts : 459
    Thanks: 3
    Thanked 9 Times in 5 Posts
    Rep Power : 2
    Reputation:11Killerasis is on a distinguished road

    Default How to add AI scripts to Trintycore/SkyfireEMU

    Hello, I have found some scripts AI scripts/SQL how do i add them to my server and make the server load them i think its somthing to do with the world data base?

    how would I go on adding this script to my server??

    -- Evol Fingers <Warlock Trainer>
    SET @ENTRY := 34696;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,1,0,100,1,3000,5000,0,0,11,11939,0,0 ,0,0,0,1,0,0,0,0,0,0,0,'Summon Imp OOC');

    -- Assistant Greely
    SET @ENTRY := 48496;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,1,0,100,1,500,1000,0,0,11,80264,0,0, 0,0,0,1,0,0,0,0,0,0,0,'Cast Stealth on Spawn');

    -- Frankie Gearslipper
    SET @ENTRY := 34876;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,75775,0,0,0,0,0 ,2,0,0,0,0,0,0,0,'Cast Throw Gears on Aggro');

    -- Hired Looter
    SET @ENTRY := 35234;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,0,0,100,0,5000,11000,7800,21300,11,6 257,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Torch Toss');

    -- Jack the Hammer
    SET @ENTRY := 34877;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,0,0,100,0,5000,7700,12300,16700,11,7 5986,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Knockback'),
    (@ENTRY,0,1,0,1,0,100,1,500,1000,0,0,11,76136,0,0, 0,0,0,1,0,0,0,0,0,0,0,'Cast Acidic Sweat on Spawn');

    -- Keensnout Potbelly
    SET @ENTRY := 35613;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,3385,0,0,0,0,0, 1,0,0,0,0,0,0,0,'Cast Boar Charge on Aggro');

    -- Maxx Avalanche <Shaman Trainer>
    SET @ENTRY := 34695;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,1,0,100,0,500,1000,600000,600000,11, 78273,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Flametongue Weapon on Spawn');

    -- Pirate Party Crasher <Southseas Freebooter>
    SET @ENTRY := 35200;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,0,0,100,0,5000,8900,11000,17800,11,7 5361,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Swashbuckling Slice');

    -- Sister Goldskimmer <Priest Trainer>
    SET @ENTRY := 34692;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,16,0,100,0,74973,30,3000,3000,11,749 73,0,0,0,0,0,17,1,10,0,0,0,0,0,'Cast Power Word: Fortitude on Friend Missing Buff');

    -- Slinky Sharpshiv <Rogue Trainer>
    SET @ENTRY := 34693;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,1,0,100,1,500,1000,0,0,11,80264,0,0, 0,0,0,1,0,0,0,0,0,0,0,'Cast Stealth on Spawn');

    -- Sudsy Magee
    SET @ENTRY := 34878;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0 ,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
    (@ENTRY,0,1,0,4,1,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0 ,0,0,0,0,0,0,'Stop Moving on Aggro'),
    (@ENTRY,0,2,0,4,1,100,1,0,0,0,0,11,9672,0,0,0,0,0, 2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
    (@ENTRY,0,3,0,9,1,100,0,5,40,3400,4700,11,9672,0,0 ,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Range'),
    (@ENTRY,0,4,0,0,1,100,0,3400,4700,3400,4700,11,967 2,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
    (@ENTRY,0,5,0,9,1,100,1,40,100,0,0,21,1,0,0,0,0,0, 1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
    (@ENTRY,0,6,0,9,1,100,1,10,15,0,0,21,0,0,0,0,0,0,1 ,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
    (@ENTRY,0,7,0,9,1,100,1,0,5,0,0,21,1,0,0,0,0,0,1,0 ,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
    (@ENTRY,0,8,0,9,1,100,1,5,40,0,0,21,0,0,0,0,0,0,1, 0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
    (@ENTRY,0,9,0,3,1,100,1,0,15,0,0,22,2,0,0,0,0,0,1, 0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
    (@ENTRY,0,10,0,3,2,100,1,0,15,0,0,21,1,0,0,0,0,0,1 ,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
    (@ENTRY,0,11,0,3,2,100,1,30,100,100,100,22,1,0,0,0 ,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%'),
    (@ENTRY,0,12,0,0,0,100,0,9800,11000,17600,25400,11 ,75761,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Bubble Blast');

    -- Tunneling Worm
    SET @ENTRY := 34865;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,0,0,100,0,3500,7700,13200,16700,11,3 2738,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Bore');

    -- Brute Enforcer
    SET @ENTRY := 35304;
    UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
    DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
    INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_ty pe`,`event_phase_mask`,`event_chance`,`event_flags `,`event_param1`,`event_param2`,`event_param3`,`ev ent_param4`,`action_type`,`action_param1`,`action_ param2`,`action_param3`,`action_param4`,`action_pa ram5`,`action_param6`,`target_type`,`target_param1 `,`target_param2`,`target_param3`,`target_x`,`targ et_y`,`target_z`,`target_o`,`comment`) VALUES
    (@ENTRY,0,0,0,1,0,100,1,500,1000,0,0,11,76136,0,0, 0,0,0,1,0,0,0,0,0,0,0,'Cast Stealth on Spawn');

  2. #2
    Dreadkiller's Avatar
    Status : Dreadkiller is offline
    Join Date : Oct 2010
    Location : Germany
    Posts : 279
    Thanks: 1
    Thanked 12 Times in 10 Posts
    Rep Power : 2
    Reputation:26Dreadkiller is on a distinguished road

    Default

    uuhm navicat xD batch them simply in the database.... open connection ---> open world databse ---> pull the sql file on any table ---> click on start ----> wait if its finished ---> finished
    [Only registered and activated users can see links. ]

  3. #3
    Killerasis's Avatar
    Status : Killerasis is offline
    Join Date : Sep 2010
    Location : I Live @ MMOTop.Org
    Posts : 459
    Thanks: 3
    Thanked 9 Times in 5 Posts
    Rep Power : 2
    Reputation:11Killerasis is on a distinguished road

    Default

    see atm that is just the code file how do i add that in?

  4. #4
    Dreadkiller's Avatar
    Status : Dreadkiller is offline
    Join Date : Oct 2010
    Location : Germany
    Posts : 279
    Thanks: 1
    Thanked 12 Times in 10 Posts
    Rep Power : 2
    Reputation:26Dreadkiller is on a distinguished road

    Default

    with navicat xD its a simple sql file. open world database with navicat and batch that sql file in. more isnt needed.
    [Only registered and activated users can see links. ]

  5. #5
    Killerasis's Avatar
    Status : Killerasis is offline
    Join Date : Sep 2010
    Location : I Live @ MMOTop.Org
    Posts : 459
    Thanks: 3
    Thanked 9 Times in 5 Posts
    Rep Power : 2
    Reputation:11Killerasis is on a distinguished road

    Default

    that is only the code not the SQL file.. im asking for

  6. #6
    Dreadkiller's Avatar
    Status : Dreadkiller is offline
    Join Date : Oct 2010
    Location : Germany
    Posts : 279
    Thanks: 1
    Thanked 12 Times in 10 Posts
    Rep Power : 2
    Reputation:26Dreadkiller is on a distinguished road

    Default

    so copy this codes and paste it in a new textdocument. than save it as example : "test.sql " and save it
    [Only registered and activated users can see links. ]

  7. #7
    Killerasis's Avatar
    Status : Killerasis is offline
    Join Date : Sep 2010
    Location : I Live @ MMOTop.Org
    Posts : 459
    Thanks: 3
    Thanked 9 Times in 5 Posts
    Rep Power : 2
    Reputation:11Killerasis is on a distinguished road

    Default

    okay cool and that will spawn everything that it says to do in the code?

    ---------- Post added at 12:16 PM ---------- Previous post was at 12:16 PM ----------

    im new to the whole AI thing sorry for being a noob D:

  8. #8
    Dreadkiller's Avatar
    Status : Dreadkiller is offline
    Join Date : Oct 2010
    Location : Germany
    Posts : 279
    Thanks: 1
    Thanked 12 Times in 10 Posts
    Rep Power : 2
    Reputation:26Dreadkiller is on a distinguished road

    Default

    this sql files will only update the creatures and their actions. spawning is your job . small tut:

    -creature_template --> the table where all npc's are located
    -smart_scripts --> are some different actions. with good combined codes you can make some nice things ( i have made gilneas quests only with that ^^)
    -creature --> is the table where the creature spawns are saved so all spawnpoints and creatures that are actually placed in the world
    [Only registered and activated users can see links. ]

  9. #9
    Killerasis's Avatar
    Status : Killerasis is offline
    Join Date : Sep 2010
    Location : I Live @ MMOTop.Org
    Posts : 459
    Thanks: 3
    Thanked 9 Times in 5 Posts
    Rep Power : 2
    Reputation:11Killerasis is on a distinguished road

    Default

    how do I know which id is for that NPC for the spawn place?

  10. #10
    Dreadkiller's Avatar
    Status : Dreadkiller is offline
    Join Date : Oct 2010
    Location : Germany
    Posts : 279
    Thanks: 1
    Thanked 12 Times in 10 Posts
    Rep Power : 2
    Reputation:26Dreadkiller is on a distinguished road

    Default

    click on the npc that you see in the world ---> .npc info there you will get a information with the title "guid" that you have to serach in the "creature" table. there you will find the npc spawn for the selected creature.

    for the npc you want spawn: .lookup creature "npc name" example: ".lookup creature the lich king" than you will get some creature names that you have searched and on the right side of the name is their id. to spawn them move to the place where you want spawn the npc and type .npc add "creature id" example: ".npc add 69 " (this is the spawn id for stormwind guards on trinity.)
    [Only registered and activated users can see links. ]


 

Visitors found this page by searching for:

skyfireemu .npc add

skyfire scripts

how to add scripts to skyfireemu

skyfireemu scripts

skyfireemu custom items

how to add custom gear to a skyfire core

alpha worgen female conversion#sclient=psy

mmotop

how to add custom items to wow skyfire

How to add New NPC to SkyFireEMU

skyfire emu npc not moving

ai scripts skyfire

wow skyfire emu scripts

wow skyfire how to add custom gear

skyfire emulator scripts

how to add custom items to a skyfireemu server?

how to customize skyfire emu for wow

scripting in skyfire emu

skyfire emu scripts

skyfire wow scripts

skyfireemu script

rinity skyfireemu

How to Script TrintyCore

skyfire trinity scriptSkyFireEMU
SEO Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts