Tutorials 🧙 How to Remove Races (All Versions Guide)

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Dear Guest, You are a regular member, and you cannot download files here. To be able to download all files here, you must become a “Lovely Member.” How to become a Lovely Member? Click this link: 💖 How to Become a “Lovely Member” on Our Forum Alternatively, you can upgrade your account to VIP using this link: Upgrade
The "Tutorials" prefix is your guide to mastering private server development. Share or explore step-by-step guides on scripting, server setup, database editing, client modding, or event creation.

jv90

New Member
Joined
Jun 2, 2025
Messages
1
1748840195323.webp

Looking to remove unwanted races from your Perfect World private server? Whether you're customizing gameplay, simplifying class options, or enhancing server balance, this step-by-step guide explains how to remove races across all Perfect World versions: v1.3.6 to v1.6.5+.

🔍 Why Remove Races in Perfect World?​

  • 🎯 Focus on classic races (e.g., Human, Elf, Untamed)
  • 🛠️ Improve client and server performance
  • ⚖️ Balance PvP or simplify class selection
  • 🎨 Customize gameplay to match your vision

⚙️ What You Need​

  • PW Server files (v1.3.6, v1.4.6, v1.5.1, or later)
  • Client files & Element Editor
  • Game/Server tools: gshop editor, elements.data manager, tasks.data editor, IDA Pro

🧩 Step-by-Step Guide to Remove Races​

  1. Open your elementclient.exe in IDA Disassembler
  2. Click in the Assembly view so text search will search for text in the assembly and not in the functions or anywhere else
  3. Search for race_0 (MAKE SURE YOU UNTICK CASE SENSITIVE)
  4. It will find a line that looks like this:
    Code:
    mov        edi, offset Btn_race_0
  5. Go about 10 lines below that looking for it, and you will find a place that looks like this:
    Code:
    cmp       eax, 6
  6. This is your opcode for how many races are selectable in your elementclient. Click the 6 so the cursor is there, go over to hex view, take note of the "06" location in hex, and you can either edit it in IDA and patch to file, or you can go there in your favorite hex editor and change 06 from 6 races to say 03 for 3.
  7. Now you enter your ptemplate.conf and adjust your allow_login_class_mask. If anyone can remind me of the masks for each or how they are generated I will put a list of them here.
  8. You may also go in your class templates and delete the races as well for a third layer of protection and then just import the templates.I have been informed that there is a bug with Nightshades where if you remove them it will still be on their race by default

###UPDATE###​

I have been informed that there is a bug with Nightshades where if you remove them it will still be on their race by default. Here is the fix:
  1. Search for this, in assembly text view, in IDA:
    Code:
    push    offset aWinCreatebutto ; "Win_CreateButton1"
  2. The first result you come to, scroll down about 20 lines down and you will see this:
    1748839851636.webp
  3. Change this to 5, by clicking the 6 and going to the address it says in the corner:
    1748839886158.webp
  4. Save and go ingame it will be fixed.
  5. For removing the Nightshades from the character wheel you will have to tamper with NewCharCenter in IDA so good luck on that. I might do a tutorial on that later.
This works in v1.5.3 and just tested in v1.5.5...
  1. Search this HEX byte
    83 F8 06 0F 8D BD 02 00 00
  2. change the "06" accordingly
To prevent other clarifications, this ONLY changes the ability to select or not select more or less classes... it does not actually remove...

⚠️ Compatibility Tips​

  • Some versions (e.g., v1.5.5+) use different resource paths—double-check file structures.
  • Always back up before editing core files.

✅ Final Thoughts​

Customizing your Perfect World server is a powerful way to build a unique player experience. By removing unused or unbalanced races, you streamline gameplay and improve performance. Follow the steps above, test carefully, and enjoy your tailored version of the game!
 
Back
Top