How do I make a Global Trainer menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    dragonowner's Avatar Member
    Reputation
    5
    Join Date
    Jul 2008
    Posts
    208
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I make a Global Trainer

    I know there has to be a way to pull all trainer spells from one specific class trainer and insert them into one big trainer, but I don't know how. Also ONE BIIIIIIIIG Problem I'lll come across is the spells you need to do quests for (druids, shamans, hunters, ect.) How do I make those classes have the ability to learn those spells without the quest req.?
    Last edited by dragonowner; 07-21-2010 at 10:46 PM.

    How do I make a Global Trainer
  2. #2
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is all DB related, you can start by telling us what is your core and database, if it is Arcemu you need to alter the trainer_spells, search for a class trainer, copy paste their spells using insert queries, rinse and repeat.

  3. #3
    dragonowner's Avatar Member
    Reputation
    5
    Join Date
    Jul 2008
    Posts
    208
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah its arcemu. I need help forming the queries to get me going.

  4. #4
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is pretty much straight, find the trainer, target him and get the npc entry with the command .npc info, then search that entry in the trainer_spells table, you will see that entry in at least 20 rows. Now you can make the following query:

    INSERT INTO trainer_spells values ("put here the trainers info values of the columns you want always separated by a comma");

    Copy paste the rows and replace the values in the query above. The column names are pretty self explanatory you just need to insert new spells using the existing npc entry and replacing anything else.

    And for the quest spells you can also insert them the same way, first look at websites like wowhead to know the spell's id and repeat the process.
    Last edited by marcelo_20xx; 07-22-2010 at 02:08 AM.

  5. #5
    dragonowner's Avatar Member
    Reputation
    5
    Join Date
    Jul 2008
    Posts
    208
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by marcelo_20xx View Post
    Is pretty much straight, find the trainer, target him and get the npc entry with the command .npc info, then search that entry in the trainer_spells table, you will see that entry in at least 20 rows. Now you can make the following query:

    INSERT INTO trainer_spells values ("put here the trainers info values of the columns you want always separated by a comma");

    Copy paste the rows and replace the values in the query above. The column names are pretty self explanatory you just need to insert new spells using the existing npc entry and replacing anything else.

    And for the quest spells you can also insert them the same way, first look at websites like wowhead to know the spell's id and repeat the process.
    Doing it that way is horribly inefficient and long. It would be easier to select those spells and insert them into another npcId I know its possible because I use a query to call specific items to add to my vendors.... The setup will be different and I'm confused on a couple things since the vendor template is extremely extremely easy.

  6. #6
    Frostic's Avatar Banned
    Reputation
    7
    Join Date
    May 2009
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lua script.... write one for the gossip menus and make it cast the spells on them to learn it best way!!!

    and this makes training free!!! ftw woot is all free hehehe
    Last edited by Frostic; 07-22-2010 at 10:45 PM.

  7. #7
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry there is no easy way to this, unless you like messing with duplicate-entry primary keys.

Similar Threads

  1. [Guide]How to make Custom Class Trainers and Npc.
    By Xcynic in forum WoW EMU Guides & Tutorials
    Replies: 56
    Last Post: 07-28-2009, 02:43 PM
  2. How to Make a Custom Trainer 3 Steps
    By MageQueen in forum WoW EMU Guides & Tutorials
    Replies: 7
    Last Post: 10-12-2008, 08:49 PM
  3. [Help] How can you make a trainer learn .learn all
    By Juicyz in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-19-2008, 02:48 PM
  4. How do I make a Custom Trainer?
    By Xcynic in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 01-08-2008, 11:59 AM
  5. How do i make a custom weapons/riding skill trainer?
    By oliver1993 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 09-30-2007, 08:48 AM
All times are GMT -5. The time now is 02:25 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search