Raised This Month: $51 Target: $400
 12% 

[NMRiH] health_and_stamina_disp v1.1.2


Post New Thread Reply   
 
Thread Tools Display Modes
GEEEX221
Junior Member
Join Date: Jun 2018
Old 10-09-2020 , 11:00   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #21

Quote:
Originally Posted by Dayonn_dayonn View Post
enjoy it.
THANK YOU SO MUCH!
This is exactly what I needed! Thanks!
And yes, do not think that I am some kind of egoist who came and began to demand something for myself. No way. I just wanted to customize the plugin for myself, but did not know how.
GEEEX221 is offline
Tohka
Junior Member
Join Date: Dec 2020
Old 12-26-2020 , 09:04   回答: [Nmrih] health_and_stamina_disp v1.1.5
Reply With Quote #22

Quote:
Originally Posted by Dayonn_dayonn View Post
I updated health_and_stamina_disp.

[change]
- Fixed a problem that any players' key bindings were not processed when the key binding is set in the config file.

Thanks to GEEEX221 for finding the bug.

Hello, how can I turn off the alert of force accumulating attack?
And the damage of attack calculation. To be concise, only the alert of health and physical strength are kept
thanks!!

Last edited by Tohka; 12-26-2020 at 09:21.
Tohka is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 12-26-2020 , 19:44   [NMRiH] health_and_stamina_disp v1.1.5
Reply With Quote #23

ok, i will update this plugin. please wait. (few days ?)
Dayonn_dayonn is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 12-29-2020 , 18:11   [NMRiH] health_and_stamina_disp v1.1.6
Reply With Quote #24

I updated health_and_stamina_disp.

[change]
- Added the ability to hide the second and third lines respectively.
Attached Files
File Type: zip health_and_stamina_disp v1.1.6.zip (21.6 KB, 204 views)
Dayonn_dayonn is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 05-15-2021 , 00:51   How to fix the bug
Reply With Quote #25

This plugin has a bug that is overwrites other text displays. As explained in the code, the second argument of the ShowHudText function is all set to -1. This is a setting that uses the oldest used channel. There are six channels, 0-5.
The plug-in repeats the process of displaying the data in 0.15 seconds every 0.1 seconds. This means that, for example, if you are displaying a physical strength, the channel continue to be used 0->1->2->3->4->5->0->1... every 0.1 seconds.
At this time, if any message is displayed by the map, the channel used will be duplicated, so the message will be overwritten after 0.1 seconds at the earliest, or 0.6 seconds at the latest, and the map message will disappear.

There is a way around this.
The general map seems to use channels 1 to 4. In Hammer editer, the channel can select 1 to 4, not 0 and 5. I have never used Hammer++ so I don't know if channels 0 and 5 are available or not in Hammer++.
Anyway, I think channels 0 and 5 are not likely to be used often.

So, I think you can reduce this problem by editing as follows.


1. Edit the config file to hide the damage display.

2. Open the .sp file with a text editor and edit the code as follows.
Line 416 ___ ShowHudText(client, -1, sHealth_Text); -->> ShowHudText(client, 0, sHealth_Text);
Line 512 ___ ShowHudText(client, -1, sCharge_Text); -->> ShowHudText(client, 5, sCharge_Text);

3. Save the sp file and compile it .
(See #20 in this thread for more information on how to compile)


I have an idea for a more radical fix, but I don't have the time to work on it right now.
If you make the above modifications, I believe it will reduce the frequency of the problem, even if you change the display to always as in #20.

Last edited by Dayonn_dayonn; 05-15-2021 at 01:34. Reason: miss
Dayonn_dayonn is offline
zuochi
Junior Member
Join Date: Aug 2021
Old 08-02-2021 , 22:58   Re: How to intall this plugins
Reply With Quote #26

Quote:
Originally Posted by Dayonn_dayonn View Post
This plugin has a bug that is overwrites other text displays. As explained in the code, the second argument of the ShowHudText function is all set to -1. This is a setting that uses the oldest used channel. There are six channels, 0-5.
The plug-in repeats the process of displaying the data in 0.15 seconds every 0.1 seconds. This means that, for example, if you are displaying a physical strength, the channel continue to be used 0->1->2->3->4->5->0->1... every 0.1 seconds.
At this time, if any message is displayed by the map, the channel used will be duplicated, so the message will be overwritten after 0.1 seconds at the earliest, or 0.6 seconds at the latest, and the map message will disappear.

There is a way around this.
The general map seems to use channels 1 to 4. In Hammer editer, the channel can select 1 to 4, not 0 and 5. I have never used Hammer++ so I don't know if channels 0 and 5 are available or not in Hammer++.
Anyway, I think channels 0 and 5 are not likely to be used often.

So, I think you can reduce this problem by editing as follows.


1. Edit the config file to hide the damage display.

2. Open the .sp file with a text editor and edit the code as follows.
Line 416 ___ ShowHudText(client, -1, sHealth_Text); -->> ShowHudText(client, 0, sHealth_Text);
Line 512 ___ ShowHudText(client, -1, sCharge_Text); -->> ShowHudText(client, 5, sCharge_Text);

3. Save the sp file and compile it .
(See #20 in this thread for more information on how to compile)


I have an idea for a more radical fix, but I don't have the time to work on it right now.
If you make the above modifications, I believe it will reduce the frequency of the problem, even if you change the display to always as in #20.

hello, how to install this plugins in my server? i have no idea which path to place those files... thank you!

Last edited by zuochi; 08-02-2021 at 22:58.
zuochi is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 08-03-2021 , 00:34   How to install the plugin
Reply With Quote #27

To install this plugin, follow the instructions below.

1.
The first step is to install Metamod on NMRiH.
Download the latest version of Metamod Dev Builds.
https://www.sourcemm.net/downloads.php/?branch=master

2.
Unzip the downloaded file, and copy the "addons" folder from the unzipped file to the NMRiH folder.
If you are installing on the Listen Server (the server you can create by clicking "CREATE SERVER" on NMRiH title screen), the folder should be as follows.
C:\Program Files (x86)\Steam\steamapps\common\nmrih\nmrih

3.
Start NMRiH and create a server.
Go to the developer console and enter the command "meta version".
When the version of Metamod is displayed, the installation is successful.

4.
The next step is to install Sourcemod on NMRiH.
Download the latest version of Sourcemod Dev Builds.
https://www.sourcemod.net/downloads.php?branch=dev

5.
When you unzip the file, two folders will be created. Move these folders directly into the same NMRiH game folder as before. You can overwrite the entire folder without any problem.

6.
Close and restart NMRiH, and create a server.
Go to the developer console and enter the command "sm version".
When the version of Sourcemod is displayed, the installation is successful.

7.
Third, install this plugin.
The #24 in this thread is the latest file(v1.1.6). Download and unzip it.

8.
Copy the unzipped "sourcemod" folder to the Sourcemod folder you installed.
..\nmrih\nmrih\addons\sourcemod

9.
Restart NMRiH, and create server.
Enjoy it.
Dayonn_dayonn is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 08-03-2021 , 00:59  
Reply With Quote #28

Notes.
Most of the plugins are designed to be installed on a Dedicated Server. If you install some of the plugins on Listen Server, you may encounter errors in the game. (My plugins are designed to work on Listen Server as well.)
This plugin has the problem described in #25. On some custom maps, the text display is only visible for a moment, so you cannot understand the text. This can make it difficult to progress in the game. Official maps have almost no text display, so they are not affected.

Last edited by Dayonn_dayonn; 08-03-2021 at 01:15. Reason: spell miss
Dayonn_dayonn is offline
zuochi
Junior Member
Join Date: Aug 2021
Old 08-03-2021 , 10:48   Re: How to install the plugin
Reply With Quote #29

Quote:
Originally Posted by Dayonn_dayonn View Post
To install this plugin, follow the instructions below.

1.
The first step is to install Metamod on NMRiH.
Download the latest version of Metamod Dev Builds.
https://www.sourcemm.net/downloads.php/?branch=master

2.
Unzip the downloaded file, and copy the "addons" folder from the unzipped file to the NMRiH folder.
If you are installing on the Listen Server (the server you can create by clicking "CREATE SERVER" on NMRiH title screen), the folder should be as follows.
C:\Program Files (x86)\Steam\steamapps\common\nmrih\nmrih

3.
Start NMRiH and create a server.
Go to the developer console and enter the command "meta version".
When the version of Metamod is displayed, the installation is successful.

4.
The next step is to install Sourcemod on NMRiH.
Download the latest version of Sourcemod Dev Builds.
https://www.sourcemod.net/downloads.php?branch=dev

5.
When you unzip the file, two folders will be created. Move these folders directly into the same NMRiH game folder as before. You can overwrite the entire folder without any problem.

6.
Close and restart NMRiH, and create a server.
Go to the developer console and enter the command "sm version".
When the version of Sourcemod is displayed, the installation is successful.

7.
Third, install this plugin.
The #24 in this thread is the latest file(v1.1.6). Download and unzip it.

8.
Copy the unzipped "sourcemod" folder to the Sourcemod folder you installed.
..\nmrih\nmrih\addons\sourcemod

9.
Restart NMRiH, and create server.
Enjoy it.
thanks for your guide. i install successful, but only the 'damage' text can dispaly when i attack zombi, health none display
zuochi is offline
zuochi
Junior Member
Join Date: Aug 2021
Old 08-03-2021 , 10:51   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #30

my server was install by steamcmd, is it called 'Listen Server'?
zuochi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode