Welcome to the MMOtop - Arcemu, Mangos, Trinity.
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    rappelz's Avatar
    Status : rappelz is offline
    Join Date : Apr 2010
    Posts : 191
    Thanks: 3
    Thanked 39 Times in 15 Posts
    Rep Power : 4
    Reputation:148rappelz will become famous soon enough rappelz will become famous soon enough

    Lightbulb [Lua-SQL] Project Anthrax's Universal Skill Provider Npc

    Project Anthrax's & Rappelz's Skill Provider Npc


    Copy to Notepad, then save as file type all and name it skill.lua
    Then move into the scripts folder of your core!

    Skill.lua


    Code:
    --Scripted by Project Anthrax of mmowned Forbiddencheats and anthraxstudios.tk
    --Enjoy keep in mind my rules
    local VERSION = "3.0"
    local SERVER_NAME = "Holloween Town WoW you can put whatever"
    
    function matrix_main_menu(pUnit, player)
        pUnit:GossipCreateMenu(3544, player, 0)
       pUnit:GossipMenuAddItem(6, "Weapon Skills", 21, 0)
       pUnit:GossipSendMenu(player)
       end
    
    function matrix_on_gossip_talk(pUnit, event, player)
    matrix_main_menu(pUnit, player)
    end
    
     function matrix_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
     if(intid == 1) then 
     player:Teleport(0,-13271.959961,149.105515,34.464458)
     pUnit:GossipComplete(player)
     end
    
    if(intid == 21) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(0, "Weapon Skills", 25, 0)
    pUnit:GossipSendMenu(player)
    end
     
    if(intid == 76) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Bows", 84, 0)
    pUnit:GossipMenuAddItem(1, "Crossbows", 85, 0)
    pUnit:GossipMenuAddItem(1, "Guns", 86, 0)
    pUnit:GossipMenuAddItem(1, "Thrown", 87, 0)
    pUnit:GossipMenuAddItem(1, "Wands", 88, 0)
    pUnit:GossipMenuAddItem(2, "Return", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    
    if(intid == 77) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "One-Handed Axes", 89, 0)
    pUnit:GossipMenuAddItem(1, "One-Handed Maces", 90, 0)
    pUnit:GossipMenuAddItem(1, "One-Handed Swords", 91, 0)
    pUnit:GossipMenuAddItem(1, "Daggers", 92, 0)
    pUnit:GossipMenuAddItem(1, "Fist Weapons", 93, 0)
    pUnit:GossipMenuAddItem(2, "Return", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    
    if(intid == 78) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Two-Handed Axes", 94, 0)
    pUnit:GossipMenuAddItem(1, "Two-Handed Maces", 95, 0)
    pUnit:GossipMenuAddItem(1, "Two-Handed Swords", 96, 0)
    pUnit:GossipMenuAddItem(1, "Staves", 97, 0)
    pUnit:GossipMenuAddItem(1, "Polearms", 98, 0)
    pUnit:GossipMenuAddItem(2, "Return", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    
    if(intid == 100) then
    pUnit:GossipCreateMenu(3544, player, 0)
       pUnit:GossipMenuAddItem(6, "Weapon Skills", 21, 0)
       pUnit:GossipSendMenu(player)
       endossipSendMenu(player)
       end
    
    if(intid == 25) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(0, "Ranged Weapons", 76, 0)
    pUnit:GossipMenuAddItem(0, "One-Handed Weapons", 77, 0)
    pUnit:GossipMenuAddItem(0, "Two-Handed Weapons", 78, 0)
    pUnit:GossipMenuAddItem(2, "Return", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    
    
    if(intid == 84) then
     player:LearnSpell(264)
     end
    
    if(intid == 85) then
     player:LearnSpell(5011)
     end
    
    if(intid == 86) then
     player:LearnSpell(266)
     end
    
    if(intid == 87) then
     player:LearnSpell(2764)
     end
    
    if(intid == 88) then
     player:LearnSpell(5009)
     end
    
    if(intid == 89) then
     player:LearnSpell(196)
     end
    
    if(intid == 90) then
     player:LearnSpell(198)
     end
    
    if(intid == 91) then
     player:LearnSpell(201)
     end
    
    if(intid == 92) then
     player:LearnSpell(1180)
     end
    
    if(intid == 93) then
     player:LearnSpell(15590)
     end
    
    if(intid == 94) then
     player:LearnSpell(197)
     end
    
    if(intid == 95) then
     player:LearnSpell(199)
     end
    
    if(intid == 96) then
     player:LearnSpell(202)
     end
    
    if(intid == 97) then
     player:LearnSpell(227)
     end
    
    if(intid == 98) then
     player:LearnSpell(200)
     end
    
    end
    
    RegisterUnitGossipEvent(99992, 1, "matrix_on_gossip_talk") 
    RegisterUnitGossipEvent(99992, 2, "matrix_on_gossip_select")
    logcol(11)
    print (" ================================================================")
    print ("   Loaded: Custom Buffer Source- By Project Anthrax's (V"..VERSION..")")
    print ("   Made by Project Anthrax")
    print ("   This script is Originally released for http://anthraxstudios.tk")
    print ("   This script now works on: ("..SERVER_NAME..")")
    print (" ================================================================")
    logcol(2)

    Copy to Notepad, then save as file type all and name it skill.sql
    Then import to world database!

    Skill.sql

    Code:
    insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `killcredit1`, `killcredit2`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `leader`) 
    values ('99992', "Skill Master By Rappelz", "", '', '0', '10', '0', '0', '0', '0', '22351', '0', '0', '0', '1', '1', '0'); 
    insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`, `summonguard`) 
    values ('99992', '254', '255', '7', '9999', '9999', '9999', '1', '1', '3000', '0', '9998', '9999', '0', '0', '0', '0', '4000', '9999', '9999', '9999', '9999', '9999', '9999', '9999', '0', '0', "0", '0', '550000', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0', '1');

  2. The Following User Says Thank You to rappelz For This Useful Post:

    Jerry (02-09-2011)

  3. #2
    Jerry's Avatar
    Status : Jerry is offline
    Join Date : Mar 2009
    Location : Serbia
    Posts : 2,321
    Thanks: 223
    Thanked 501 Times in 286 Posts
    Rep Power : 10
    Reputation:2077Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute

    Default

    Thanks

  4. #3
    Truster's Avatar
    Status : Truster is offline
    Join Date : Apr 2010
    Location : Norway
    Posts : 3,341
    Thanks: 46
    Thanked 87 Times in 83 Posts
    Rep Power : 10
    Reputation:2014Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute Truster has a reputation beyond repute

    Default

    thanks for the share mate


 

Visitors found this page by searching for:

rappelz .sql

recherche sql rappelz

script npc rappelz

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