Add a totally new spell to the dbc? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Aodhann's Avatar Private
    Reputation
    6
    Join Date
    Aug 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Add a totally new spell to the dbc?

    Hi

    I'm currently trying to make a portal to a custom destination.
    I know how to link a spell to a gameobject, that's not the question here,
    and I also know that I can use one of the existing and unused teleporting spell...

    ...which I don't want to. I wanna be able to create a new spell for this because I may need to do a real lot of them...

    Do you think this is feasible? I've tried creating a new entry in the spell.dbc file using and mydbceditor, then adding an entry in the table spell_target_position with Navicat.
    When I .cast the spell, I get teleported after 2 second to a strange location (showing the middle of the whirlpool located between Kalimdor and Eastern Kingdoms ).
    Would someone know how to fix this?

    I'm using EasyMaNGOS.

    Thanks in advance for your time and consideration.

    Add a totally new spell to the dbc?
  2. #2
    aidarius's Avatar Corporal
    Reputation
    15
    Join Date
    Jan 2013
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    have you described in your database `spell_target_position` values (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) for new spell_ID ?

    this table describes where particular spell effects appear.

  3. #3
    Aodhann's Avatar Private
    Reputation
    6
    Join Date
    Aug 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I have written

    `id` `target_map` `target_position_x` `target_position_y` `target_position_z` `target_orientation`
    81000 571 -5590,98 3592,47 151,245 0


    Is anything wrong with that? :/

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You should create a script (by programming) to teleport as then you need no client changes. New spells require client changes.

    But if you want to manipulate spells in 3.3.5a you should check out my tool: http://www.ownedcore.com/forums/worl...or-gui-v2.html

  5. #5
    Aodhann's Avatar Private
    Reputation
    6
    Join Date
    Aug 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    You should create a script (by programming) to teleport as then you need no client changes. New spells require client changes.

    But if you want to manipulate spells in 3.3.5a you should check out my tool: http://www.ownedcore.com/forums/worl...or-gui-v2.html
    WoW, your tool is awesome... So using you tool would avoid the scripting? :O
    I would love to script something but I don't know where to begin with that... I know a good deal of C++, but almost nothing in WoW editing...
    Your tool would save me.

    PS : I HATE your banner xD I tried to remove that bug from my screen x)
    Last edited by Aodhann; 08-10-2014 at 07:31 PM.

  6. #6
    Aodhann's Avatar Private
    Reputation
    6
    Join Date
    Aug 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, it won't avoid the scripting. ^^
    By chance, would you know where I have to add my .cpp file in EasyMaNGOS?
    I found the source code here : https://github.com/yad/easy-mangos, but I can't figure where it should be.
    Thanks already for your help.
    Last edited by Aodhann; 08-14-2014 at 07:25 AM.

  7. #7
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Aodhann View Post
    WoW, your tool is awesome... So using you tool would avoid the scripting? :O
    I would love to script something but I don't know where to begin with that... I know a good deal of C++, but almost nothing in WoW editing...
    Your tool would save me.

    PS : I HATE your banner xD I tried to remove that bug from my screen x)
    Originally Posted by Aodhann View Post
    Okay, it won't avoid the scripting. ^^
    By chance, would you know where I have to add my .cpp file in EasyMaNGOS?
    I found the source code here : https://github.com/yad/easy-mangos, but I can't figure where it should be.
    Thanks already for your help.
    Sorry I don't check this section very often. Moving to Emu section since programming is server side, not client side.

    I linked to the tool if you wanted to do client side spell editing. But your question isn't really for this. You need to program it server side.

    I imagine a gameobject script with on click hook and teleport on method call would be enough for this. I am not that aware of Mangos but TrinityCore has a lot of documentation and support and is the best emulator for 3.3.5a (WOTLK).

    Actually, TrinityCore has an example gameobject teleporter script: https://github.com/TrinityCore/Trini...e_misc.cpp#L61

    Since Trinity is based on Mangos, the code should be very similar.

  8. #8
    Aodhann's Avatar Private
    Reputation
    6
    Join Date
    Aug 2014
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ow, thanks a bunch, that should be VERY useful. I will update this post if I manage it.

Similar Threads

  1. [Trinity] creating a totally new spell
    By moe in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-17-2013, 03:55 AM
  2. Add a new GameObject to the GameObjectDisplayInfo.dbc
    By TeddyTN in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 08-01-2009, 08:32 AM
  3. [guide] Editing certain spell values in the DBC's
    By kreegoth in forum WoW EMU Guides & Tutorials
    Replies: 8
    Last Post: 09-17-2008, 11:38 AM
  4. [New Command] whats the new command to add a waypoint?
    By Sublimepwns_ in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 06-26-2008, 10:58 AM
  5. NEW files in the DBC
    By sportstud10124 in forum World of Warcraft Model Editing
    Replies: 10
    Last Post: 12-29-2006, 09:32 AM
All times are GMT -5. The time now is 11:18 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