[TrinityCore 3.3.5] I want to alter scripts/source files, but have no idea where/how. menu

User Tag List

Results 1 to 3 of 3
  1. #1
    RikuAotsuki's Avatar Member
    Reputation
    1
    Join Date
    Jan 2019
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [TrinityCore 3.3.5] I want to alter scripts/source files, but have no idea where/how.

    I'm new to this stuff, and I'm trying to figure out as much as I can on my own, but I've run into a bit of a stumbling block.

    There's a lot of things I want to alter, and just can't seem to actually find where or how to do so. In some cases, the code is fairly easy for me to understand, but altering or replicating it are another matter entirely.. For a few examples:

    Haste: I know about the DBC for ratings (Though if someone could direct me to a solid list of the order they go in in that file, that'd be great; I can't find one), but I want to implement an increasing return for it. I looked through source files, and found a section in Player.cpp for various stat formulas. I read through the section on dodge, but as far as I can tell, the formula there calculates the portion of dodge which is subject to diminishing returns, but not the actual formula for diminishing returns itself, so I have no idea how I'd actually go about implementing such a thing.

    Vampiric Touch and Unstable Affliction: In both cases, I'd like to make the backfire effects that occur on dispel also trigger at the end of the spell's duration. With Unstable Affliction, I just wound up adding a periodic trigger effect for 15 seconds to cast the backfire spell, but Vampiric Touch benefits from haste, and already has three effects. I found the script in spell_priest.cpp, but I have no idea how I'd actually change it.

    Chef's Hat passive: The passive that makes you cook faster. It uses a dummy effect, but I can't find it in the source files at all. I want to make similar items for other professions, but I have no idea where to look.

    And lastly, spellcasting itself: I want to implement something similar to Cataclysm's chaincasting mechanism, where hitting a spell's keybind a certain period of time before the GCD completes queues the spell to begin as soon as it does rather than firing an error. I don't even necessarily want to make it customizable like it was in Cata, though that'd be nice, but I can't figure out where I'd have to make a change like that, or how it'd need to be done.

    I'm sure a lot of this boils down to me not understanding code all that well, but all the guides I've seen only pertain to the most common things changed. Hell, it took me days to find a single post on a single thread that mentioned what group of rows crit was on in the combat ratings DBC, and that's the only thing I ever found that said anything more than "Edit this dbc for that." When it comes to something that's not database/dbc editing... well, I'm entirely lost.



    If someone could point me in the right direction for the above examples, or throw some links with some extremely useful compiled information my way, that'd be awesome. All I really have is TC's wiki and wowdev's dbc wiki, currently.

    [TrinityCore 3.3.5] I want to alter scripts/source files, but have no idea where/how.
  2. #2
    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)
    A lot of what you want to do can be achieved using the existing spell system without any code modifications. You need to edit the Spell.dbc and all the other DBC's it links to, then distribute that update server side and/or client side depending on what you wish to change.

    See: https://www.ownedcore.com/forums/wor...a-12340-a.html

    GitHub - stoneharry/Spell-Editor-GUI-V2: A Spell Editor for WoW version 3.3.5a 12340.

  3. #3
    RikuAotsuki's Avatar Member
    Reputation
    1
    Join Date
    Jan 2019
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do actually use your spell editor! I got Unstable Affliction to trigger its dispel effect with it just fine; but Vampiric Touch already has three effects. What stumps me the most are dummy effects, though. Like, I tried making Blood Presence heal for 8% by default. I've changed every mention of the corresponding effect, and can't seem to get it to change, though the actual script doesn't seem to state any flat value, either, so I'm kinda baffled.

    On a similar note, Glyph of Life Tap isn't working with Dark Pact, and I'm not sure why, either. Is it just me or does the spell class masking seem really arbitrary sometimes?

Similar Threads

  1. Replies: 0
    Last Post: 04-19-2016, 12:09 AM
  2. I want to make my trinitycore 3.3.5a repack public and i need some help
    By brunolopes1996 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 03-02-2015, 01:42 PM
  3. want to buy a source code for ESO bot written with C++ , not script .
    By cute_star in forum Elder Scrolls Online General
    Replies: 0
    Last Post: 04-21-2014, 09:25 AM
  4. anyone have a idea on how to compile spectre's aspirestone ?
    By igud2 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 07-08-2008, 07:09 AM
  5. Replies: 1
    Last Post: 09-24-2007, 02:57 AM
All times are GMT -5. The time now is 04:05 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