Jump to content
  • Announcements

    • Tierri Lopes

      Introduce yourself   12/20/2017

      Introduce yourself here:  https://tlthings.net/board/index.php?/forum/6-apresentações/  
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
  • 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
Sign in to follow this  

×

Important Information

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