Skip to content

Racial traits loading problem #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Wofflix opened this issue Jun 14, 2023 · 4 comments
Open

Racial traits loading problem #22

Wofflix opened this issue Jun 14, 2023 · 4 comments

Comments

@Wofflix
Copy link

Wofflix commented Jun 14, 2023

Hey all using the Arac mod. Excellent mod btw. So Bloodelf Draenei and Orcs are not loading their active racials. All passives work fine and everything works on normal classes. It seems that trait that were added or corrected in TBC won't load. (can give the players the spell nps with .learn). Dren and Belf obviously are tbc but also the Orc bloody fury was changed from mele AP to AP at the same time. So Arcane Torrent, Gift of the Naru and Bloody fury aren't loading. I have checked the tables and they are all set to load their racials and everything looks awesome and there is no reason as far as i can see that they don't load but they don't :). Sorry if you already have had this issue reported i'm new to the who emulator community.

@heyitsbench
Copy link
Owner

I believe the issue is that these racials are different IDs between the various classes the races can be, and they don't have a spell set for the classes they can't be (surprise surprise). This seems to have already been reported with #5, but I'll keep this issue open as it has more information. Thanks for the report. ❤️

@Wofflix
Copy link
Author

Wofflix commented Jun 26, 2023 via email

@yani9o
Copy link

yani9o commented Dec 18, 2024

any update on this?

@yani9o
Copy link

yani9o commented Dec 18, 2024

Just a quick "fix":

  1. Set "PlayerStart.CustomSpells = 1" in worldserver.conf.

  2. execute this query (acore_world database) - truncate it first if you have 7219 lines in that table (the default data from arac-mod), also druid get both versions (see Edit2):

INSERT IGNORE INTO playercreateinfo_spell_custom (racemask, classmask, Spell, Note) VALUES
(512, 1, 25046, 'Arcane Torrent'),
(512, 64, 28730, 'Arcane Torrent'),
(512, 1024, 25046, 'Arcane Torrent'),
(512, 1024, 28730, 'Arcane Torrent'),
(1024, 8, 6562, 'Heroic Presence'),
(1024, 8, 20579, 'Shadow Resistance'),
(1024, 8, 28880, 'Gift of the Naaru'),
(1024, 256, 20579, 'Shadow Resistance'),
(1024, 256, 28878, 'Inspiring Presence'),
(1024, 256, 59548, 'Gift of the Naaru'),
(1024, 1024, 20579, 'Shadow Resistance'),
(1024, 1024, 28878, 'Inspiring Presence'),
(1024, 1024, 59542, 'Gift of the Naaru'),
(2, 2, 33697, 'Blood Fury'),
(2, 1024, 33697, 'Blood Fury'),
(2, 16, 33702, 'Blood Fury'),
(2, 128, 33702, 'Blood Fury');

The only thing missing now would be a rage-version (or even all three: rage, mana and energy in one spell) of Arcane Torrent (probably needs a mpq-patch for client if you have to create a new spell).

Edit: just saw the comment on orc racial, added those too (paladin and druid get spelldamage + attackpower, priest and mage just spellpower).

Edit2: Got it working! (ghetto solution, but it works - don't need .mpq at least)

Execute these queries to...

  1. create new spellcategory for arcane torrent variants
  2. change rogue variant (energy) to give 15 rage as 3rd effect
  3. add both variants to the new category
  4. change cooldown from spell to spellcategory

https://pastebin.com/G1DAanXL

currently it works as described, but the cooldowns aren't shown on the other spell you didn't use (but still, you can't use it).
to make cooldowns show on client, you'd need to make a client-patch with the same changes (and then you'd rather make another version just for warrior and druid...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants