[Release] Simple Global Weapon Trainer menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Simple Global Weapon Trainer

    Just a simple NPC based on SQL to teach every weapon skill.


    Screenies:
    http://i158.photobucket.com/albums/t...408_160454.jpg

    http://i158.photobucket.com/albums/t...408_160522.jpg

    I realize that in the screenshots it says "Gobal Weapon Trainer". It is fixed in the SQL. I just didn't clear my Cache.

    Code:
    INSERT INTO creature_names (`entry`, `name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `Leader`) VALUES ( '2000001', 'Hun Jin', 'Global Weapon Trainer', '', '7', '0', '0', '6449', '0', '0', '0', '0', NULL);
    INSERT INTO creature_proto (`entry`, `minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `mountdisplayid`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `auras`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`) VALUES ('2000001', '70', '70', '1767', '100', '100', '100', '1', '17', '1500', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2.5', '8', '14');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','5011','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','1180','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','15590','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','266','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','196','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','198','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','201','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','200','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','227','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','2567','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','197','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','199','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','202','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','5009','0','0','0','0','0','0','0');
    INSERT INTO trainer_spells (`entry`, `cast_spell`, `learn_spell`, `spellcost`, `reqspell`, `reqskill`, `reqskillvalue`, `reqlevel`, `deletespell`, `is_prof`) VALUES ('2000001','0','264','0','0','0','0','0','0','0');
    INSERT INTO trainer_defs (`entry`, `required_skill`, `required_skillvalue`, `req_class`, `trainer_type`, `trainer_ui_window_message`, `can_train_gossip_textid`, `cannot_train_gossip_textid`) VALUES ('2000001', '0', '0', '0', '0', 'Hi , how can I help you?', '0', '0')
    INSERT INTO trainer_defs (`entry`, `required_skill`, `required_skillvalue`, `req_class`, `trainer_type`, `trainer_ui_window_message`, `can_train_gossip_textid`, `cannot_train_gossip_textid`) VALUES ('2000001', '0', '0', '0', '0', 'Hi , how can I help you?', '0', '0')
    Download including read-me:
    Filebeam - Free Fast File Hosting
    Last edited by Sounddead; 08-24-2008 at 07:43 PM.

    [Release] Simple Global Weapon Trainer
  2. #2
    Confucius's Avatar Panda of Worlds The Idiot

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1389
    Join Date
    Oct 2007
    Posts
    2,590
    Thanks G/R
    267/283
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice job [+rep]

  3. #3
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks hapkidomaster

  4. #4
    Confucius's Avatar Panda of Worlds The Idiot

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1389
    Join Date
    Oct 2007
    Posts
    2,590
    Thanks G/R
    267/283
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it not work

  5. #5
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What does it say? I've tested it on so many DBs..

  6. #6
    Confucius's Avatar Panda of Worlds The Idiot

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1389
    Join Date
    Oct 2007
    Posts
    2,590
    Thanks G/R
    267/283
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it says unsuccessful when I put it in db

  7. #7
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you actually tell me the error report?
    Does it say duplicate entry or anything?

  8. #8
    Confucius's Avatar Panda of Worlds The Idiot

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1389
    Join Date
    Oct 2007
    Posts
    2,590
    Thanks G/R
    267/283
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sure [Err] 1062 - Duplicate entry '200001' for key 1
    [Err] INSERT INTO creature_names (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `Leader`, `entry`) VALUES ('Hun Jin', 'Global Weapon Trainer', '', '7', '0', '0', '6449', '0', '0', '0', '0', NULL, '200001');
    [Msg] Finished - Unsuccessfully
    --------------------------------------------------

  9. #9
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That means that you already have a NPC with its ID of 200001.
    Open up the SQL and change every "200001" To something a different ID that isn't in your DB already.

  10. #10
    Jrgamespot's Avatar Member
    Reputation
    26
    Join Date
    Aug 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice, ill try this a bit later, if it works +rep


  11. #11
    comet2500's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I get this error..

    [Err] 1062 - Duplicate entry '200001' for key 1
    [Err] INSERT INTO creature_names (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `Leader`, `entry`) VALUES ('Hun Jin', 'Global Weapon Trainer', '', '7', '0', '0', '6449', '0', '0', '0', '0', NULL, '200001');
    [Msg] Finished - Unsuccessfully

    I'm aware I have to edit the 2000001's, but where do I do this to change the files? I don't know what to edit..

  12. #12
    Performer's Avatar Contributor
    Reputation
    212
    Join Date
    Nov 2007
    Posts
    874
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Find Creature_names in the sql file. and edit where it says 200001 to an entry of your choice.


  13. #13
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe I'll just change it to something higher >.>

  14. #14
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There. It's edited.

  15. #15
    comet2500's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still get the error..

    [Err] 1062 - Duplicate entry '2000001' for key 1
    [Err] INSERT INTO creature_names (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `Leader`, `entry`) VALUES ('Hun Jin', 'Global Weapon Trainer', '', '7', '0', '0', '6449', '0', '0', '0', '0', NULL, '2000001');
    [Msg] Finished - Unsuccessfully
    -------------------------------------------------

Page 1 of 2 12 LastLast

Similar Threads

  1. Global Weapon trainer for +Repx2
    By Arugos in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 08-24-2008, 03:19 PM
  2. [Release] Knaurs Global GM Spell Trainer NPC Version 1.0 - June 2008
    By knaur in forum World of Warcraft Emulator Servers
    Replies: 29
    Last Post: 07-31-2008, 07:42 PM
  3. [Mini-Release] Global Weapon Trainer ^_^
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 19
    Last Post: 07-31-2008, 05:01 AM
  4. [Mini-Release] Global Language Trainer ^_^
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 02-23-2008, 12:18 PM
  5. [Release] Global Proff Trainer!
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 02-10-2008, 01:09 PM
All times are GMT -5. The time now is 04:33 PM. 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