Forums WoW Modding Discussion Serverside [Archive] Unable to disable races

[Archive] Unable to disable races

[Archive] Unable to disable races

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
12-19-2015, 11:28 PM
#1
Archived author: ItsmeIshida • Posted: 2015-12-19T23:28:11+00:00
Original source

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?
rektbyfaith
12-19-2015, 11:28 PM #1

Archived author: ItsmeIshida • Posted: 2015-12-19T23:28:11+00:00
Original source

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?

rektbyfaith
Administrator
0
12-19-2015, 11:43 PM
#2
Archived author: Ghaster • Posted: 2015-12-19T23:43:07+00:00
Original source

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.
rektbyfaith
12-19-2015, 11:43 PM #2

Archived author: Ghaster • Posted: 2015-12-19T23:43:07+00:00
Original source

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.

rektbyfaith
Administrator
0
12-20-2015, 12:12 AM
#3
Archived author: Skarn • Posted: 2015-12-20T00:12:34+00:00
Original source

Quote: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.
rektbyfaith
12-20-2015, 12:12 AM #3

Archived author: Skarn • Posted: 2015-12-20T00:12:34+00:00
Original source

Quote: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.

rektbyfaith
Administrator
0
12-20-2015, 12:40 AM
#4
Archived author: Ghaster • Posted: 2015-12-20T00:40:14+00:00
Original source

That IS true, but then you could remove the race/class lines in playercreateinfo aswell.
rektbyfaith
12-20-2015, 12:40 AM #4

Archived author: Ghaster • Posted: 2015-12-20T00:40:14+00:00
Original source

That IS true, but then you could remove the race/class lines in playercreateinfo aswell.

rektbyfaith
Administrator
0
12-20-2015, 12:43 AM
#5
Archived author: Deleted User • Posted: 2015-12-20T00:43:42+00:00
Original source

Quote: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.
rektbyfaith
12-20-2015, 12:43 AM #5

Archived author: Deleted User • Posted: 2015-12-20T00:43:42+00:00
Original source

Quote: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.

rektbyfaith
Administrator
0
12-20-2015, 09:09 AM
#6
Archived author: Ghaster • Posted: 2015-12-20T09:09:39+00:00
Original source

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();
rektbyfaith
12-20-2015, 09:09 AM #6

Archived author: Ghaster • Posted: 2015-12-20T09:09:39+00:00
Original source

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();

rektbyfaith
Administrator
0
12-20-2015, 09:39 AM
#7
Archived author: Amaroth • Posted: 2015-12-20T09:39:45+00:00
Original source

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.
rektbyfaith
12-20-2015, 09:39 AM #7

Archived author: Amaroth • Posted: 2015-12-20T09:39:45+00:00
Original source

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.

rektbyfaith
Administrator
0
12-20-2015, 02:03 PM
#8
Archived author: ItsmeIshida • Posted: 2015-12-20T14:03:21+00:00
Original source

After talk with Ghaster its fixed.

Thank you Ghaster!
rektbyfaith
12-20-2015, 02:03 PM #8

Archived author: ItsmeIshida • Posted: 2015-12-20T14:03:21+00:00
Original source

After talk with Ghaster its fixed.

Thank you Ghaster!

rektbyfaith
Administrator
0
12-20-2015, 04:10 PM
#9
Archived author: Amaroth • Posted: 2015-12-20T16:10:23+00:00
Original source

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.
rektbyfaith
12-20-2015, 04:10 PM #9

Archived author: Amaroth • Posted: 2015-12-20T16:10:23+00:00
Original source

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.

rektbyfaith
Administrator
0
12-22-2015, 01:48 PM
#10
Archived author: Смердокрыл • Posted: 2015-12-22T13:48:07+00:00
Original source

Quote: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?
rektbyfaith
12-22-2015, 01:48 PM #10

Archived author: Смердокрыл • Posted: 2015-12-22T13:48:07+00:00
Original source

Quote: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?

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)