Jump to content
V3ct0r

Displaying servers response time ("ping") on the server selection form

Recommended Posts

[Mod] Displaying servers response time ("ping") on the server selection form

 

screenshot_01.png

 

Next to each server on the server selection form, their response time ("ping") is displayed.

 

 

Requirements

 

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

 

 

Modification information

 

Name: pkodev.mod.ping

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 and GAME_13X_5.

 

 

Installation

 

Place the mod DLL file "pkodev.mod.ping.client.13x_<ID>.dll" for your version of Game.exe into the "mods" folder of the game client. If necessary, configure the GUI scripts of the server selection form "frmServer" (file "\scripts\lua\forms\login.clu").

 

 

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 2
  • Thanks 2

Share this post


Link to post
Share on other sites

I want to note that the mod uses ICMP requests for ping, so if this protocol is blocked on your server, then the mod will not work accordingly.

  • Like 1

Share this post


Link to post
Share on other sites
32 minutes ago, V3ct0r said:

I want to note that the mod uses ICMP requests for ping, so if this protocol is blocked on your server, then the mod will not work accordingly.

good to know!. thank you

Edited by squaller

Share this post


Link to post
Share on other sites
21 hours ago, gunnapong said:

Mods do not support the game.exe , I don't know the number, please tell me.

https://drive.google.com/file/d/1jfnNjzO8iGdNU9KTt0jfkbWaoyAkHPM5/view?usp=drivesdk

 

// CForm* CLoginScene::frmServer
const unsigned int CLoginScene__frmServer = 0x006A06D4;

// CListView* CLoginScene::lstServer[0];
const unsigned int CLoginScene__lstServer_0 = 0x006A06FC;

// CListView* CLoginScene::lstServer[1];
const unsigned int CLoginScene__lstServer_1 = 0x006A0700;

// void CLoginScene::_FrameMove(DWORD dwTimeParam)
const unsigned int CLoginScene___FrameMove = 0x004C7450;

// void CLoginScene::InitServerList(int nRegionNo)
const unsigned int CLoginScene__InitServerList = 0x004C7DB0;

// void CListItems::Render()
const unsigned int CListItems__Render = 0x0042DC80;

// void CItem::Render( int x, int y )	
const unsigned int CItem__Render = 0x004929A0;

// const char *SelectGroupIP(int nRegionNo, int nGroupNo)
const unsigned int SelectGroupIP = 0x004C6D50;

// CGuiFont
const unsigned int CGuiFont = 0x0069A9F0;

// void CGuiFont::Render( const char* str, int x, int y, DWORD color,float size )
const unsigned int CGuiFont__Render = 0x004249A0;

// inline const char* SelectGroupIP(int nRegionNo, int nGroupNo) patch
// [E8 C0 62 0F 00] -> [B8 00 00 00 00]
// CALL <address> ->  MOV EAX,0
const unsigned int SelectGroupIP_Patch = 0x004C6E3B;

// CServerSet
const unsigned int CServerSet = 0x006907D4;

 


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...