ItsmeIshida Posted December 19, 2015 Share Posted December 19, 2015 Hey,I'm (Valk) writing this up for Polaris to post. He's trying to both disable all races other than Belfs and all classes other than Paladins.So-far we've tried editing the worldserver.conf file to disable the races and classes through the little bitmask fields in there, but we only managed to disable all of the classes other than Paladins (I think). For some strange reason, we were unable to get the races to disable properly, I think the documentation in the config file is a bit wonky.Could someone please explain how to properly disable all classes and races other than Belf Paladins? Link to comment Share on other sites More sharing options...
Ghaster Posted December 19, 2015 Share Posted December 19, 2015 It seems like alot of people are having problems with disabling races in the worldserver.conf (There is also a thread on the Trinitycore forums having the same problem).On WoD, you can just remove the race number in the table race_expansion_requirement and it will grey out the button in Character Create.On WotLK, you could maybe hide the unwanted races in CharacterCreate.lua and setting it to select blood elves everytime it loads. Link to comment Share on other sites More sharing options...
Skarn Posted December 20, 2015 Share Posted December 20, 2015 It seems like alot of people are having problems with disabling races in the worldserver.conf (There is also a thread on the Trinitycore forums having the same problem).On WoD, you can just remove the race number in the table race_expansion_requirement and it will grey out the button in Character Create.On WotLK, you could maybe hide the unwanted races in CharacterCreate.lua and setting it to select blood elves everytime it loads.Yet that still leaves experienced people and option to enable the button back and create a character of another race. Link to comment Share on other sites More sharing options...
Ghaster Posted December 20, 2015 Share Posted December 20, 2015 That IS true, but then you could remove the race/class lines in playercreateinfo aswell. Link to comment Share on other sites More sharing options...
Deleted User Posted December 20, 2015 Share Posted December 20, 2015 That IS true, but then you could remove the race/class lines in playercreateinfo aswell.We tried this as well, but the races are still enabled on the character creation screen. The race-disabling through the config file seems to work on my server (although the values I use aren't what the Trinity documentation says to use), but I couldn't get it to work on this guy's server. I assume you could just rewrite the AccountCreation.lua/AccountCreation.xml, or whatever they're called, files to only allow Belfs, but I've only got half a clue how to do that and he definitely doesn't know how. Link to comment Share on other sites More sharing options...
Ghaster Posted December 20, 2015 Share Posted December 20, 2015 My guess would be something like this:CharacterCreateRaceButton1:Hide();CharacterCreateRaceButton2:Hide();CharacterCreateRaceButton3:Hide();And so on....Then use this line to set the race to a Blood Elf:SetCharacterRace(); Link to comment Share on other sites More sharing options...
Amaroth Posted December 20, 2015 Share Posted December 20, 2015 Deleting all unwanted race/class combiations from ChrBaseInfo.dbc would not help? I never used it to actually fully delete a whole race, but for enabling/disabling creation of certain classes of certain races it always worked fine - both client and server side. English YT tutorial channel. Check it out if you preffer videos over walls of text.:https://www.youtube.com/AmarothEng I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays. Link to comment Share on other sites More sharing options...
ItsmeIshida Posted December 20, 2015 Author Share Posted December 20, 2015 After talk with Ghaster its fixed. Thank you Ghaster! Link to comment Share on other sites More sharing options...
Amaroth Posted December 20, 2015 Share Posted December 20, 2015 And what was needed to be done in the end? It would be nice if you wrote it here too for people who might have similiar problems. Or for people like me who often answer questions. English YT tutorial channel. Check it out if you preffer videos over walls of text.:https://www.youtube.com/AmarothEng I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays. Link to comment Share on other sites More sharing options...
Смердокрыл Posted December 22, 2015 Share Posted December 22, 2015 On WoD, you can just remove the race number in the table race_expansion_requirement and it will grey out the button in Character Create.Will this work for Cata? or not Link to comment Share on other sites More sharing options...
Ghaster Posted December 22, 2015 Share Posted December 22, 2015 On WoD, you can just remove the race number in the table race_expansion_requirement and it will grey out the button in Character Create.Will this work for Cata?If the table exists in your world database, then it should. But i think it was added in MoP tho. Link to comment Share on other sites More sharing options...
Unable to disable races
By ItsmeIshidain Serverside
Recommended Posts