Jump to content

Recommended Posts

[Mod] Medals (necklaces) with titles

 

screenshot_01.png

 

The modification allows you to create medals (necklaces) with different titles that appear in brackets before the name of the character (see screenshot). Also, these necklaces allow you to change the color of the names of the characters.

 

The text, color of the title and color of the character's name are specified in the file ItemInfo.txt for items with type 25 (necklace)

 

1) The text of the title is specified in the description of the item The maximum title length is 15 symbols;

2) The color of the title is specified in the 5th field instead of model for Lance. Color has format FFRRGGBB;

3) The color of the name is specified in the 6th field instead of model for Carsise. Color has format FFRRGGBB;

 

Some examples of medals with titles:

XXXX	Medal 1 (Red Admin)	l0005	10130005	FFFF0000	0	0	0	0	0	25	0	0	0	0	0	1	1	1	1	1	1	32	-1	1	-1	0	0	5	-1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,1000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	Admin
XXXX	Medal 2 (Green maindev)	l0005	10130005	FF00FF00	0	0	0	0	0	25	0	0	0	0	0	1	1	1	1	1	1	32	-1	1	-1	0	0	5	-1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,1000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	maindev	
XXXX	Medal 3 (Blue PkoDEV)	l0005	10130005	FF0000FF	0	0	0	0	0	25	0	0	0	0	0	1	1	1	1	1	1	32	-1	1	-1	0	0	5	-1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,1000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	PkoDEV

 

Example of medal with title and colored character name:

XXXX	Medal 2	l0005	10130005	FF00FF00	FFFF8000	0	0	0	0	25	0	0	0	0	0	1	1	1	1	1	1	32	-1	1	-1	0	0	5	-1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,1000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	PKOdev.NET	

 

screenshot_02.png

 

 

Requirements

 

Installed mod loading system for server and client (PKOdev.NET mod loader).

 

 

Modification information

 

Name: pkodev.mod.title;

Version: 1.0;

Author: V3ct0r;

Type: for client (Game.exe);

Supported executable .exe files: GAME_13X_0, GAME_13X_1, GAME_13X_2, GAME_13X_3, GAME_13X_4, GAME_13X_5.

 

 

Installation

 

1) In the "mods" directory of your client, create a "pkodev.mod.title" folder;

2) Place into it the mod DLL file "pkodev.mod.title.client.13x_<ID>.dll" for your version of Game.exe;

3) Add new medals (necklaces) with titles to the file ItemInfo.txt of the server and client according to the example from the topic header. Compile ItemInfo.txt for the client.

 

 

Download

 

1) Binary release (.dll);

2) The source code of the mod for Visual Studio 2019 Community (C++).

 

 

If you encounter any problem, bug or have any questions, then feel free to write in this thread.

  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites
On 12/30/2021 at 7:12 PM, RafaelaMartins said:

Good Job!! thanks! its possible make a mod for icons near the name? like the nightmare helm

I don't have such mod at the moment. Maybe I will develop it in the future.

 

Thanks for your feedback!


Share this post


Link to post
Share on other sites
On 1/1/2022 at 5:27 PM, V3ct0r said:

I don't have such mod at the moment. Maybe I will develop it in the future.

 

Thanks for your feedback!

How could this mod be modified so that instead of loading a name it loads me in icon

Share this post


Link to post
Share on other sites
4 hours ago, dragontechi said:

How could this mod be modified so that instead of loading a name it loads me in icon

This is not possible in the current version of the mod. Need to import necessary functions from Game.exe to load and render icons.

  • Thanks 1

Share this post


Link to post
Share on other sites

Mod update 02/17/2021

 

screenshot_02.png

 

+ Added the possibility to change the color of the name of the characters. The color of the name is specified in the 6th field of the necklace item in ItemInfo.txt, instead of the model for Carsise.

XXXX	Medal 2	l0005	10130005	FF00FF00	FFFF8000	0	0	0	0	25	0	0	0	0	0	1	1	1	1	1	1	32	-1	1	-1	0	0	5	-1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,1000	10000,10000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	PKOdev.NET	

 

Links to the mod and its source code have been updated.

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello @gunnapong,

 

I cannot repeat the problem, just checked. Do you can explain in more details how to reproduce the bug?

 

Also, are you sure that you use the latest version of source code from GitHub?


Share this post


Link to post
Share on other sites

Hello @Mesut,

 

Sorry, I don't understand your question. Instructions on how to make the title and color for a necklace are given in the first post.

 

 


Share this post


Link to post
Share on other sites
11 hours ago, dragontechi said:

@V3ct0r How can I make it read as a ring, I already modified the mod from 25 to 26 and changed it to positions 7 and 8 but it does not show me the name

With the current implementation of the mod, this is not possible, since it is tied to a necklace slot (to the already implemented necklace logic in the client), not rings.


Share this post


Link to post
Share on other sites

Hello @Tyranitar***,

 

It is hard to do it with this modification. Look at Displaying the player's character level next to its name and Displaying additional parameters on the form with character characteristics (frmState). You need unite these mods somehow.

 

P.S. I am sorry for the late reply.


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...