This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Changes to SharedDefines.h not taking effect?  (Read 1041 times)

Bildsturmer

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
[QUESTION] Changes to SharedDefines.h not taking effect?
« on: February 10, 2015, 04:49:29 am »
I've been attempting to enable Goblins and Vrykul with moderate success. Whilst Goblins work flawlessly, attempting to create a Vrykul results in a message stating "Error creating character, which as I discovered in my times fiddling with SharedDefines.h in the past is a result of said race not being enabled despite having all other necessary criteria met (playercreateinfo, player_levelstats, etc).

Additionally I am barraged with a storm of these messages (about 15 times per) in the command prompt upon launching the worldserver

Quote
Wrong race 16 in `playercreateinfo` table, ignoring.
Wrong race 16 in `playercreateinfo_action` table, ignoring.
Wrong race 16 in `player_levelstats` table, ignoring.

Out of curiosity I disabled Night Elves completely (solely in SharedDefines.h; DBC's left unchanged), and discovered that they could be created without an error or any sort.

I've gone over the SQL and DBC entries an obscene amount of times and have been unable to find any error, so I imagine the culprit is SharedDefines.h. Does this mean (assuming I am not completely incompetent) that somehow additional changes following the enabling of Goblins are not recognized?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
На самом деле: золото - всё то, что блестит.
И только падающая звезда способна оставить свой след

samgartell

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 92
    • View Profile
Re: [QUESTION] Changes to SharedDefines.h not taking effect?
« Reply #1 on: February 10, 2015, 07:14:28 pm »
I've only really experimented and got a custom Class working, but the same general idea follows. Looking at your code, doesn't look like you updated the Faction mask? At least you haven't changed the Alliance one, so assuming you want it Alliance, I'd say add it to that. I'll try get them working tonight, and let you know what changes I made. ^^
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Bildsturmer

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [QUESTION] Changes to SharedDefines.h not taking effect?
« Reply #2 on: February 10, 2015, 11:39:51 pm »
Quote from: "samgartell"
I've only really experimented and got a custom Class working, but the same general idea follows. Looking at your code, doesn't look like you updated the Faction mask? At least you haven't changed the Alliance one, so assuming you want it Alliance, I'd say add it to that. I'll try get them working tonight, and let you know what changes I made. ^^

I moved Blood Elves to the Alliance and added Goblins and Vrykul to the Horde so the factionmask should be accurate.

Thank you for your assistance comrade.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
На самом деле: золото - всё то, что блестит.
И только падающая звезда способна оставить свой след