Learn all Spells (World Hook) menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Learn all Spells (World Hook)

    This is a Lua world hook which when a player makes a new char and logs in for the first time he/she learns all the spells of his/her class instantly. Saves time spam clicking at the trainer on funservers.

    Thats pretty much it.

    Too big to [code]
    Lua | -- Made by Ground Zero -- f - Zero - f23ff94dc - Pastebin.com

    Thanks to Billetheslug for some of the ID's I couldn't find.
    Last edited by Ground Zero; 06-17-2010 at 04:37 AM.

    Learn all Spells (World Hook)
  2. #2
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    fu. <3 +rep x3

    edit: need to spread.

    teehee <3

  3. #3
    Proxes's Avatar Member
    Reputation
    31
    Join Date
    Dec 2008
    Posts
    256
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice

    Def will use this

    Rep for you


  4. #4
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O_O. How many lines!?

    How many man hours must you have put into this, you deserve +rep for the obv time you put in.

    ...Gotta spread.




  5. #5
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Looks good, really useful for servers that do not want players spamming trainers for 10minutes. The problem is it could lag doing it immediatly on login for the players, so better to do it a second or two after login so they have a chance to load other things such as addons first.

  6. #6
    TristinD's Avatar Active Member
    Reputation
    20
    Join Date
    Oct 2007
    Posts
    124
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This makes lag when a player log in if you got more then 50 players on then i recommend you dont use it lol
    Admin StarShot

  7. #7
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No it does not lag, just wrong method to learn spells! You should do sql query instead its faster +4 for effort!

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  8. #8
    Mr.Jebus Christ's Avatar Banned
    Reputation
    117
    Join Date
    Mar 2007
    Posts
    351
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice release +Rep

  9. #9
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really nice ! :O hehe +rep x2
    Shit's Gone Real

  10. #10
    xdk's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should think about doing this with a DBC iterator which would select all classes spell, save them in a std::vector at server start and then iterate it at each player login. I personnaly used my function with a gossip menu. Of course, you'll need a C++ core edit.
    Any way, nice work.

    Bye,
    Skynyrd.
    Last edited by xdk; 01-27-2010 at 06:29 PM.

  11. #11
    I Hypnotoad I's Avatar Contributor
    Reputation
    147
    Join Date
    Aug 2007
    Posts
    873
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You forgot


    1. if (player:GetPlayerClass() == "Paladin") then
    2. player:LearnSpell(13371) -- Godmode
    3. player:LearnSpell(13372) -- Faceroll


    Dragon[Sky] can get into our signatures, AND our pants.



  12. #12
    chaoticd35's Avatar Site Donator
    Reputation
    44
    Join Date
    Jun 2007
    Posts
    337
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome! thanks..will use this..+++rep

  13. #13
    Italian / Envy's Avatar Member
    Reputation
    13
    Join Date
    Jan 2009
    Posts
    128
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Couldn't you have just ripped all the spell ids from wow head for each specific class? >.<.. would have saved you a whole lot of time.Would rep but i cant gief u anymore.

  14. #14
    malulululu's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dude I would use elseif instead of if at every new class

  15. #15
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice script groundzero

Page 1 of 2 12 LastLast

Similar Threads

  1. [Trinity] Players Learn all Spells NEED HELP!
    By V1cTorY in forum WoW EMU Questions & Requests
    Replies: 12
    Last Post: 12-05-2010, 06:41 PM
  2. Learn All spells LUA Script??
    By KaMakaZe in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 10-18-2008, 10:53 AM
  3. How to Make your characters start with all spells!
    By wowcomputer in forum WoW EMU Guides & Tutorials
    Replies: 20
    Last Post: 01-15-2008, 09:29 PM
  4. Start out as 70 with all spells learned
    By Tankotron in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 12-03-2007, 01:05 PM
  5. Treeform Druids can cast all spells
    By Yami in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 12-16-2006, 10:06 AM
All times are GMT -5. The time now is 08:07 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search