Jump to content
Sign in to follow this  
Tierri Lopes

[Client] Select hair on create character

Recommended Posts

Go to file root/introcreate.py

Look for:

Please login or register to see this code.

Add this before:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add this after:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add this after:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add this after:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add this after:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add this bellow:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add this bellow:

Please login or register to see this code.

 

Go to file locale/xx/ui/createcharacterwindow.py

Look for:

Please login or register to see this code.

Add this after:

Please login or register to see this code.

On this 2 functions:

Please login or register to see this code.

 

Please login or register to see this code.

Look for:

Please login or register to see this code.

Change with:

Please login or register to see this code.

 

Go to UserInterface/Packet.h

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Go to UserInterface/PythonNetworkStreamPhaseSelect.cpp

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Go to UserInterface/PythonNetworkStream.h

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Go to UserInterface/PythonNetworkStreamModule.cpp

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Go to game/src/Packet.h

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Go to db/src/ClientManagerPlayer.cpp

Inside:

Please login or register to see this code.

This is default query. Please check your query of your source and adjust according.

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add after:

Please login or register to see this code.

 

Go to game/src/input_login.cpp

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Add after:

Please login or register to see this code.

 

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

Look for:

Please login or register to see this code.

Replace with:

Please login or register to see this code.

 

  • Thanks 1
  • Confused 1
  • Upvote 2

Share this post


Link to post
Share on other sites

Tutorial complete and working.

It can now be implemented.

Heres a gif and image showing what it is about:

Please login or register to see this spoiler.

 

To add new hair style, just add/change values at HAIR_DATA

 

  • Thanks 1
  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.