Jump to content

Recommended Posts

[Mod] Colored GM messages (GM notice)

 

screenshot_01.png

 

This mod allows you to send colored GM messages to players (see screenshot above) using the input field in the game client (ALT + P), or using the GMNotice() function.

 

To make the text of the message colored, you should write the following code at the beginning of the message:

{color:color}Message

The message color is specified in RGB format as a hexadecimal number (FFRRGGBB).

 

The following example will send the GM message "Hello PKOdev.NET" to the players in orange:

{color:FFFF8000}Hello PKOdev.NET!

 

You can also use the GMNotice() function:

GMNotice("{color:FFFF8000}Hello PKOdev.NET!")

 

 

Requirements

 

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

 

 

Modification information

 

Name: pkodev.mod.colorgmnotice;

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

 

Place the mod DLL file "pkodev.mod.colorgmnotice.client.13x_<ID>.dll" for your version of Game.exe into the "mods" folder of the game client.

 

 

Download

 

1) Binary release;

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.

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello @gunnapong,

 

// void CGameApp::ShowNotify( const char *szStr, DWORD dwColor )
const unsigned int CGameApp__ShowNotify = 0x00410A00;

 


Share this post


Link to post
Share on other sites
On 6/3/2022 at 4:14 AM, Sultan said:

Can you do it for normal SystemNotice as well?

System chat works a little differently, so it is need to develop a separate mod for this.


Share this post


Link to post
Share on other sites

Hello @aoodi,

 

You can find instructions for installing mods in this topic:

 

I don't see the point in recording a video.


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.

Sign in to follow this  

×
×
  • Create New...