AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [NMRIH] Infinity 1.3.1 [2022/07/03] (https://forums.alliedmods.net/showthread.php?t=261699)

Grey83 04-18-2015 16:08

[NMRIH] Infinity 1.3.1 [2022/07/03]
 
7 Attachment(s)
Name: Infinity

Description: Make endless clip/ammo & stamina in NMRiH.
If you have selected the infinite ammunition, when reloading the weapon in inventory is added ammo exactly as lacking in the clip. Due to this space in the inventory remains as much as possible.
If you have selected the infinite clip, then reload button is blocked. That you are not bitten, when you accidentally press the button reloading weapons.

Changes in 1.3.1 [2022/07/03]:
  • Fixed error "Invalid Handle 0 (error 4)"
Changes in 1.3.1 [2021/11/21]:
  • Now cvar sm_inf_adm is works again
Changes in 1.3.1 [2021/11/20]:
  • Fixed error "Invalid client index -1"
Changes in 1.3.1:
  • Fixed error "Exception reported: Entity -1 (-1) is invalid"
Changes in 1.3.0:
  • Some code optimizations (e.g. instant removal of ammo boxes when turning on infinite ammo).
  • Now the code uses new syntax and is compatible with SM1.11
  • Added the ability to display in HUD the number of rounds of the player's current weapon and the name of the medicine in the hands.
  • Added the ability to select the ammo mode for administration (used no worse than normal players mode)
  • Added 6 new console variables (1 cvar in v1.2.0 and 5 cvars in v1.3.0)
Changes in 1.1:
  • Added new weapons from 1.09.5 (SKS without bayonet and Sako 85 without scope)
  • Every 10 seconds on the map will be removed all ammo boxes if infinite ammo switched on
Installation: Place compiled plugin (nmrih_infinity.smx) into the plugins folder (../addons/sourcemod/plugins/).

CVars:
  • nmrih_infinity_version - Plugins version
  • sm_inf_ammo - Ammo mode for all: 0 - Normal mode, 1 - Infinite ammo, 2 - Infinite clip
  • sm_inf_adm - Ammo mode for admins: 0 - Normal mode, 1 - Infinite ammo, 2 - Infinite clip
  • sm_inf_stamina - On/Off Infinite stamina
  • sm_inf_hud - On/Off display ammo number in the HUD
  • sm_inf_hud_color - HUD info color. Set by HEX (RGB or RRGGBB, values 0 - F or 00 - FF, resp.). Wrong color code = white
  • sm_inf_hud_update - Update info every x seconds (0.0 - show only changes)
  • sm_inf_hud_x - HUD info position X (0.0 - 1.0 left to right or -1 for center)
  • sm_inf_hud_y - HUD info position Y (0.0 - 1.0 top to bottom or -1 for center)

Source file at Github

bid 01-01-2016 14:38

Re: [NMRIH] Infinity
 
Thanks, works nice!

yomox9 01-06-2016 03:25

Re: [NMRIH] Infinity 1.1
 
same https://forums.alliedmods.net/showthread.php?p=2082039

Grey83 01-06-2016 08:16

Re: [NMRIH] Infinity 1.1
 
yomox9, not same: in 3 times less code, does not change rate of fire, settings are specified only for all on the server.

Leonardo 02-26-2017 03:41

Re: [NMRIH] Infinity 1.1
 
Quote:

Originally Posted by Grey83 (Post 2380555)
yomox9, not same: in 3 times less code, does not change rate of fire, settings are specified only for all on the server.

It does have cvars to set these features for everyone though.

Grey83 09-30-2021 12:11

Re: [NMRIH] Infinity 1.3.0
 
Changes in 1.3.0:
  • Some code optimizations (e.g. instant removal of ammo boxes when turning on infinite ammo).
  • Now the code uses new syntax and is compatible with SM1.11
  • Added the ability to display in HUD the number of rounds of the player's current weapon and the name of the medicine in the hands.
  • Added the ability to select the ammo mode for administration (used no worse than normal players mode)
  • Added 6 new console variables (1 cvar in v1.2.0 and 5 cvars in v1.3.0)

Banser 11-01-2021 10:50

Re: [NMRIH] Infinity 1.3.1
 
Currently your last version (1.3.1) causes crashes on the server.

Grey83 11-20-2021 04:31

Re: [NMRIH] Infinity 1.3.1 [2021/11/20]
 
Changes in 1.3.1 [2021/11/20]:
  • Fixed error "Invalid client index -1"

Grey83 11-20-2021 17:40

Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
 
Changes in 1.3.1 [2021/11/21]:
  • Now cvar sm_inf_adm is works again

Gollie 11-24-2021 04:37

Re: [NMRIH] Infinity 1.3.1
 
Quote:

Originally Posted by Banser (Post 2762193)
Currently your last version (1.3.1) causes crashes on the server.

Can confirm.

v1.3.1 causes server crashes on 2 on my servers with latest stable SourceMod and MetaMod installed.

I did a lot of replication and testing, eliminating plugins in batches. Both servers were reverted to vanilla, both fine. Plugins tested in batches, and the Infinity plugin seems to be the culprit, leading to crashes during map changes.

Dyspie helped me troubleshoot this - and the crash logs were uploaded via Accelerator.

L 11/14/2021 - 13:22:13: [mapchooser.smx] Starting map vote because outside request
L 11/14/2021 - 13:22:13: [mapchooser.smx] Voting for next map has started.
L 11/14/2021 - 13:22:33: [mapchooser.smx] Voting for next map has finished. Nextmap: nmo_deadlock_y9v1.
L 11/14/2021 - 13:22:35: [SM] Changed map to "nmo_deadlock_y9v1"

Sometimes the result of an RTV, sometimes the result of an automatic map change. Different maps each time. Hard to troubleshoot as it's intermittant

Dysphie — 11/14/2021 is it not crashing?
if you're using a web panel it might show up as frozen when the server's actually down if you've installed Accelerator and set up the MinidumpAccount, you can check https://crash.limetech.org/

Gollie — 11/14/2021 @Dysphie https://crash.limetech.org/dmdjkfx5fesj https://crash.limetech.org/2yxr2zadixft

Dysphie — 11/14/2021 what's your plugins list i'm not convinced that isn't just a game bug
it goes into an infinite loop on CBaseCombatCharacter::GetAmmoCount which is odd

Gollie — 11/14/2021 here 01 "Variable Zombie Sizes" (0.0.2) by Dysphie
02 "SourceBans++: SourceComms" (1.6.4) by Alex, SourceBans++ Dev Team
03 "RandomCycle" (1.10.0.6524) by AlliedModders LLC
04 "[NMRiH] Infection & Bleeding Notification" (2.0) by ys24ys, Mr.Halt
05 "Map Nominations" (1.10.0.6524) by AlliedModders LLC
06 "[NMRiH] Inventory Ornaments" (0.1.2) by Dysphie
07 "Chat-Processor" (2.2.3) by Drixevel
08 "Nextmap" (1.10.0.6524) by AlliedModders LLC
09 "[NMRiH] Death Notifications" (1.2-20181014) by Leonardo
10 "[NMRiH] Item Blacklist" (0.3.1) by Dysphie
11 "SourceBans++: Bans Checker" (1.6.4) by psychonic, Ca$h Munny, SourceBans++ Dev Team
12 "SourceBans++ Report Plugin" (1.6.4) by RumbleFrog, SourceBans++ Dev Team
13 "Commands list" (1.1.0) by Grey83
14 "[Lilac] Little Anti-Cheat" (1.7.1) by J_Tanzanite
15 "[NMRiH] Infinity" (1.3.0_04.10.2021) by Grey83
16 "Reserved Slots" (1.10.0.6524) by AlliedModders LLC
17 "Dimension Time Drops" (0.2.6) by Dysphie
18 "Country Nick" (1.2.3_fix) by Antoine LIBERT aka AeN0 (rewrited by Grey83)
19 "Admin Help" (1.10.0.6524) by AlliedModders LLC
20 "Simple NMRiH Stats" (0.5) by Stevo.TVR
21 "Better Tools" (0.2.4) by Dysphie
22 "[NMRiH] Invisible Weapons Fix" (1.0.0) by Dysphie
23 "Admin File Reader" (1.10.0.6524) by AlliedModders LLC
24 "Basic Chat" (1.10.0.6524) by AlliedModders LLC
25 "Basic Commands" (1.10.0.6524) by AlliedModders LLC
26 "Basic Comm Control" (1.10.0.6524) by AlliedModders LLC
27 "[NMRiH] Health & Armor Vampirism" (1.0.3) by Grey83 (improving the idea of the Undeadsewer)
28 "Advertisements" (2.1.1) by Tsunami
29 "Basic Info Triggers" (1.10.0.6524) by AlliedModders LLC
30 "Basic Votes" (1.10.0.6524) by AlliedModders LLC
31 "Fun Commands" (1.10.0.6524) by AlliedModders LLC
32 "[NMRiH] Give Weapons" (1.1.6-201400822) by Leonardo
33 "Client Preferences" (1.10.0.6524) by AlliedModders LLC
34 "Rock The Vote" (1.10.0.6524) by AlliedModders LLC
35 "[NMRiH/ZPS] Map Translator" (0.3.6) by Dysphie
36 "NMRiH respawn player" (1.1) by Mostten
37 "SourceBans++: Admin Config Loader" (1.6.4) by AlliedModders LLC, SourceBans++ Dev Team
38 "nmrih_emptyrotate" (2) by SilverPeak
39 "Sound Commands" (1.10.0.6524) by AlliedModders LLC
40 "Audible Breathing" (0.2.4) by Dysphie
41 "ServerAdvertisements3" (3.1.4) by ESK0
42 "Player Commands" (1.10.0.6524) by AlliedModders LLC
43 "Admin Menu" (1.10.0.6524) by AlliedModders LLC
44 "SourceBans++: SourceSleuth" (1.6.4) by ecca, SourceBans++ Dev Team
45 "Anti-Flood" (1.10.0.6524) by AlliedModders LLC
46 "Fun Votes" (1.10.0.6524) by AlliedModders LLC
47 "SourceBans++: Main Plugin" (1.6.4) by SourceBans Development Team, SourceBans++ Dev Team
48 "MapChooser" (1.10.0.6524) by AlliedModders LLC
quite an extensive plugin list :/

Dysphie — 11/14/2021 hm, can you try without the item blacklist one
I suspect that's the one causing your crashes (this should be solved in 1.12.1 already)

Gollie — 11/14/2021 I'll move that to disabled and let you know - sometimes it takes 2-3 days for a server to crash - but I have 2 servers affected. Gut feeling is that the crashes were also occuring before that recent plugin was added so any others you suggest to disable, i'll do so as well

Dysphie — 11/14/2021 any plugins that use DispatchSpawn/SDKHook_Spawn are kind of problematic atm unfortunately that's a lot of them
there's a crash that can occur when reading data from an entity that has just been spawned, item blacklist just happens to do this a lot (and stack trace points at ammo having been dropped, which spawns a box)

Gollie — 11/14/2021 Blacklist plugin disabled - i'll let you know within a few days whether that solves the problem, otherwise it's disabling plugins in batches to try and narrow it down. Thanks again.

Dysphie — 11/14/2021 if not, nmrih-better-tools can cause it, dimension-time-drops also
but better leave those enabled for now so I can narrow it down to a specific plugin

Gollie — 11/14/2021 Roger that. If it still crashes, I could disable nmrih-better-tools on server A and dimension-time-drops on server B... see if they're the culprit

Dysphie — 11/14/2021
the annoying part is that they corrupt the stack instead of directly causing a crash so it takes a few calls for the server to actually crash and that makes it hard to tell the culprit

Gollie — 11/14/2021
That would make sense with the symptoms. I wonder if i could force it with repeated RTVs on an empty server

********


some recent logs

Uploaded crash dump: Crash ID: O2CW-6DCG-YMXV
Uploaded crash dump: Crash ID: QCT3-7NJ4-N5HY
Uploaded crash dump: Crash ID: 33VB-IXF6-T63H
Uploaded crash dump: Crash ID: ZTLQ-4AQC-WTMD
Uploaded crash dump: Crash ID: OBWL-GJYG-YR2Y
Uploaded crash dump: Crash ID: CF25-N7CY-MXJC

https://crash.limetech.org/


All times are GMT -4. The time now is 16:30.

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