longtianchi

Member
I raised this question again, and I have some new ideas.
I saw https://www.servuo.com/threads/disable-gargoyle-elf-races.5426/.
The method is not applicable to me. I want to modify it from the server side.
My goal is to ensure the integrity of the servuo system and not allow players to create ELF and Gargoyle.
At first, I modified Core to become SE., but I found that many useful systems were disabled. For example BUFF.
Later, I modified CharacterCreation. CS to force players to become humans when creating characters. As a result, the test used a Gargoyle to create Character into the game.
Although the role race is human, there will be no hair, and the color of the skin is also the color of the Gargoyle race.
This is not what I want.
I removed the registration of Elf and Gargoyle again in RaceDefinitions.cs, but the result is the same as above.
I remembered changing Core to SE.
In the client, you can disable the selection of ELF and Gargoyle. I want to start with this aspect.
I want the extension that the client receives before creating the character to be a fake extension that will prevent the client from choosing ELF and Gargoyle
I started looking at the code from the connection to the role creation, but I couldn't find it because there was too much code. Who knows how to do it, please let me know.
 
Last edited:
Servuo\Server\ExpansionInfo.cs

in the FeatureFlags enum, lines 71 to 81, I edited to this

ExpansionNone =None,
ExpansionT2A =T2A,
ExpansionUOR =ExpansionT2A|UOR,
ExpansionUOTD =ExpansionUOR|UOTD,
ExpansionLBR =ExpansionUOTD|LBR,
ExpansionAOS =ExpansionLBR|AOS|LiveAccount,
ExpansionSE =ExpansionAOS|SE,
ExpansionML =ExpansionAOS|SE, //ExpansionSE | ML | NinthAge,
ExpansionSA =ExpansionAOS|SE, //ExpansionML | SA | Gothic | Rustic,
ExpansionHS =ExpansionAOS|SE, //ExpansionSA | HS,
ExpansionTOL =ExpansionAOS|SE, //ExpansionHS | TOL | Jungle | Shadowguard

Which makes the Gargoyle still appear but does nothing when I press it.
So play around with that to see if it does what you want
 
Servuo\Server\ExpansionInfo.cs

in the FeatureFlags enum, lines 71 to 81, I edited to this



Which makes the Gargoyle still appear but does nothing when I press it.
So play around with that to see if it does what you want
No, I failed. The client still entered the game.
 
did you recompile the core after making those changes?
in other words running the COMPILE.WIN before starting the server again
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 150 Online
    • 273 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 106 Online
    • 190 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 77 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 76 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 25 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 21 Online
    • 30 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 18 Online
    • 32 Peak
  • Arth
    Custom (Modern)
    • Players
    • 18 Online
    • 34 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back