Can't train with custom trainer menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Salaramon's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't train with custom trainer

    I have created an NPC and have it with id: 10101.
    I have added my codes to the database
    Code:
    INSERT INTO `trainer_defs` (entry, required_skill, required_skillvalue, req_class, RequiredRace, RequiredReputation, RequiredReputationValue, trainer_type, trainer_ui_window_message, can_train_gossip_textid, cannot_train_gossip_textid)
    VALUES (10101, 0, 0, 8, 0, 0, 0, 10, "Hello, great $c $n! Ready for some extra mage training?", 0, 0);
    
    INSERT INTO `trainer_spells` (entry, cast_spell, learn_spell, spellcost, reqspell, reqskill, reqskillvalue, reqlevel, deletespell, is_prof)
    VALUES (10101, 0, 57063, 150000, 0, 0, 0, 10, 0, 0);

    When i test and spawn the NPC, click on him, click on learn, and it's empty. :confused:
    Anyone that can help me?

    Can't train with custom trainer
  2. #2
    Matis02's Avatar Contributor CoreCoins Purchaser
    Reputation
    154
    Join Date
    Mar 2007
    Posts
    378
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Show us your creature Info. you may not have him set as a trainer.


  3. #3
    Salaramon's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    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`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`, `isTrainingDummy`, `guardtype`, `summonguard`) 
    VALUES (10101, 100, 100, 35, 1000000000, 1000000000, 4294967295, 1.5, 51, 2000, 0, 5000, 15000, 0, 0, 0, 0, 36000, 1, 0, 0, 0, 0, 0, 0, 1.5, 0, '0', 1, 1000000000, 0, 0, 2.5, 8, 14, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    
    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`, `questitem1`, `questitem2`, `questitem3`, `questitem4`, `questitem5`, `questitem6`, `waypointid`) 
    VALUES (10101, 'Maginor', 'Ultimate Mage Trainer', '', 51, 0, 0, 0, 0, 0, 17865, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0);

  4. #4
    Matis02's Avatar Contributor CoreCoins Purchaser
    Reputation
    154
    Join Date
    Mar 2007
    Posts
    378
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the delay.

    You need to change your trainer_type from "10" to "2"


    BTW thats in your trainer_defs table.
    Last edited by Matis02; 06-12-2010 at 04:42 AM. Reason: additional info


  5. #5
    Salaramon's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you Walshie! . +rep. ^^

    Cake and Cookies

    more cake
    Last edited by Salaramon; 06-12-2010 at 06:28 AM. Reason: not enough cake

  6. #6
    Matis02's Avatar Contributor CoreCoins Purchaser
    Reputation
    154
    Join Date
    Mar 2007
    Posts
    378
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problems and thanks for the rep.


  7. #7
    Chrispl57's Avatar Corporal
    Reputation
    12
    Join Date
    Jun 2010
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Salaramon View Post
    Thank you Walshie! . +rep. ^^

    Cake and Cookies

    more cake
    The cakes a lie =P
    Msn: [email protected]
    My website: https://www.server-top100.com/ (its new =P)

  8. #8
    Salaramon's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Chrispl57 View Post
    The cakes a lie =P
    yeah, i found that out too xD. I wanted that cake so much

Similar Threads

  1. Can't Spawn Custom NPC With Custom Display ID
    By Zoldam in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 12-16-2014, 08:04 PM
  2. Replies: 12
    Last Post: 12-05-2008, 12:46 PM
  3. can't att with custom weps?
    By eddow in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-29-2007, 06:15 AM
  4. Death Crusade Ultimate Repack (WITH CUSTOM ITEMS
    By tsuantagari in forum WoW EMU Guides & Tutorials
    Replies: 20
    Last Post: 09-18-2007, 10:51 AM
  5. Can someone good with graphics take a look at this?
    By Dhorak in forum Art & Graphic Design
    Replies: 3
    Last Post: 07-09-2007, 05:04 PM
All times are GMT -5. The time now is 03:05 PM. 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