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

[NMRiH] health_and_stamina_disp v1.1.2


Post New Thread Reply   
 
Thread Tools Display Modes
zuochi
Junior Member
Join Date: Aug 2021
Old 08-03-2021 , 11:55   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #31

I found some error in my sourcemod log, Is it my server port not ritgh?
```
L 08/03/2021 - 23:49:20: [SM] Call stack trace:
L 08/03/2021 - 23:49:20: [SM] [0] GetClientHealth
L 08/03/2021 - 23:49:20: [SM] [1] Line 344, /home/forums/content/files/2/5/6/7/1/3/179128.attach::UpdateHint
L 08/03/2021 - 23:49:20: [SM] [2] Line 229, /home/forums/content/files/2/5/6/7/1/3/179128.attach::Timer_UpdateInfo
L 08/03/2021 - 23:49:20: [SM] Exception reported: Client 1 is not in game
L 08/03/2021 - 23:49:20: [SM] Blaming: nmrih_hav 1.0.3.smx
```
zuochi is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 08-03-2021 , 13:53   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #32

Hmm... The installation seems to be successful.

Try disabling all plugins except health_and_stamina_disp and try again. Load the .smx file in the following folder as the plugin executable Therefore, please temporarily move the file to another location and Restart NMRiH.
..\nmrih\nmrih\addons\sourcemod\plugins\

Check the configuration file for this plugin and change the settings if necessary. You can open it with any text editor (you can also open it with "Notepad"). The configuration file is as follows
..\nmrih\nmrih\addons\sourcemod\configs\healt h_and_stamina_disp.cfg

This plugin will display your health by crouching continuously, display charging attack damage by charging, and damage by dealing damage. Check to see if these actions will cause it to display.

Because this plugin is close in its functionality to the Health & Armor Vampirism plugin (created by Mr./Ms. Grey83), using it at the same time will result in more characters on the screen. It is recommended to remove the "health" display in either plugin, as it will be duplicated. I do not know if "Health & Armor Vampirism" has such a feature, please check. The "health_and_stamina_disp" can be set in the cfg.

As for the error message in #31, it says the following in the last line.
"nmrih_hav 1.0.3.smx".
This is "Health & Armor Vampirism". I don't know the details, please contact Mr./Ms. Grey83. At least, It's definitely not a server port issue.

The Listen Server can be started from the game screen, while the Dedicated server can be started separately from the game itself and can run even after the game is closed. Each of these uses files in different locations. If you install both the game itself and the Dedicated Server, they will be installed in different folders.

Last edited by Dayonn_dayonn; 08-03-2021 at 14:07. Reason: postscript
Dayonn_dayonn is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 08-03-2021 , 14:27   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #33

The latest version of "Health & Armor Vampirism" appears to be 1.0.3_fix, not 1.0.3. Try downloading the file from #11 in that thread.
Dayonn_dayonn is offline
zuochi
Junior Member
Join Date: Aug 2021
Old 08-04-2021 , 05:34   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #34

Quote:
Originally Posted by Dayonn_dayonn View Post
The latest version of "Health & Armor Vampirism" appears to be 1.0.3_fix, not 1.0.3. Try downloading the file from #11 in that thread.
thanks for your patient. it seems like a bug in the latest sourcemode?(sourcemod-1.10.0、mmsource-1.11.0-git)
i try to re-install sourcemod and mmsource completely(remove 'addons' folder).
i don't konw why. this plugins only display the damage text when i attack:


zuochi is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 08-04-2021 , 07:05   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #35

install "Dev" builds, not "Stable" builds.

This plugin shows health when you crouch.
Also, when you charge, it displays your charge attack power.
When you attack, it displays your damage.
These are independent of each other. If you do them at the same time, they will be displayed at the same time.
Dayonn_dayonn is offline
zuochi
Junior Member
Join Date: Aug 2021
Old 08-04-2021 , 08:20   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #36

Quote:
Originally Posted by Dayonn_dayonn View Post
install "Dev" builds, not "Stable" builds.

This plugin shows health when you crouch.
Also, when you charge, it displays your charge attack power.
When you attack, it displays your damage.
These are independent of each other. If you do them at the same time, they will be displayed at the same time.

thanks you! I alreardy install this plugins finally!
zuochi is offline
Audite
AlliedModders Donor
Join Date: Sep 2021
Location: Sweden
Old 01-25-2022 , 14:29   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #37

The plugin works but one fatal error. Charge text overlays under the all other texts HP&AP.
Audite is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 01-25-2022 , 16:01  
Reply With Quote #38

Quote:
Originally Posted by Audite View Post
Charge text overlays under the all other texts HP&AP.
In that case, edit the cfg file to fine-tune the display position of each text.
My monitor is a full screen 1920 x 1080. It will display optimally at this resolution, but there may be a possibility of overlapping text at smaller resolutions.
Dayonn_dayonn is offline
Audite
AlliedModders Donor
Join Date: Sep 2021
Location: Sweden
Old 01-25-2022 , 18:06   Re: [NMRiH] health_and_stamina_disp v1.1.2
Reply With Quote #39

Quote:
Originally Posted by Dayonn_dayonn View Post
In that case, edit the cfg file to fine-tune the display position of each text.
My monitor is a full screen 1920 x 1080. It will display optimally at this resolution, but there may be a possibility of overlapping text at smaller resolutions.
I fixed it, question is if it is possible to make so it always shows it.
Audite is offline
Dayonn_dayonn
Member
Join Date: Feb 2018
Location: japan
Old 01-26-2022 , 01:07  
Reply With Quote #40

There are two possible solutions: one is to include a function that obtains information about the size of the monitor the user is using and automatically adjusts the font size and position of the display accordingly. The other way is to set the width between the letters to be wide from the beginning.

For the first method, I don't know how to get the client's monitor resolution using sourcepawn, and for the second method, I should set the default width of the text to correspond to the lowest screen resolution because I am considering all users. However, I don't know that how much is the best value to set.

I am currently losing my passion for sourcepawn and have no plans to update this plugin in the future. (I will try to answer any questions that come in on this thread.) Sorry......

If you can, please list the values you set in cfg here. It will help other users who are having similar problems.

Last edited by Dayonn_dayonn; 01-26-2022 at 01:14. Reason: translation mistake
Dayonn_dayonn 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 00:04.


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