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

[NMRIH] Infinity 1.3.1 [2022/07/03]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
4609
Plugin Version:
1.3.1
Plugin Category:
Gameplay
Plugin Game:
No More Room in Hell
Plugin Dependencies:
    Servers with this Plugin:
    65 
    Plugin Description:
    Makes infinite clip/ammo and stamina and shows their current values
    Old 04-18-2015 , 16:08   [NMRIH] Infinity 1.3.1 [2022/07/03]
    Reply With Quote #1

    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
    Attached Images
    File Type: jpg 20210928203241_1.jpg (94.4 KB, 289 views)
    Attached Files
    File Type: sp Get Plugin or Get Source (nmrih_infinity.sp - 2593 views - 5.7 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.1.sp - 2855 views - 6.4 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.2.0.sp - 323 views - 9.0 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.3.1.sp - 439 views - 13.7 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.3.1_21.11.2021.sp - 486 views - 13.5 KB)
    File Type: sp Get Plugin or Get Source (nmrih_infinity 1.3.1_03.07.2022.sp - 868 views - 13.5 KB)
    __________________

    Last edited by Grey83; 07-03-2022 at 05:27. Reason: now cvar sm_inf_adm is works again
    Grey83 is offline
    bid
    Junior Member
    Join Date: Nov 2012
    Location: Köln
    Old 01-01-2016 , 14:38   Re: [NMRIH] Infinity
    Reply With Quote #2

    Thanks, works nice!
    bid is offline
    yomox9
    Member
    Join Date: Jan 2014
    Location: jp
    Old 01-06-2016 , 03:25   Re: [NMRIH] Infinity 1.1
    Reply With Quote #3

    same https://forums.alliedmods.net/showthread.php?p=2082039
    yomox9 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 01-06-2016 , 08:16   Re: [NMRIH] Infinity 1.1
    Reply With Quote #4

    yomox9, not same: in 3 times less code, does not change rate of fire, settings are specified only for all on the server.
    __________________
    Grey83 is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 02-26-2017 , 03:41   Re: [NMRIH] Infinity 1.1
    Reply With Quote #5

    Quote:
    Originally Posted by Grey83 View Post
    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.
    __________________
    Leonardo is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 09-30-2021 , 12:11   Re: [NMRIH] Infinity 1.3.0
    Reply With Quote #6

    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)
    __________________
    Grey83 is offline
    Banser
    New Member
    Join Date: Nov 2021
    Old 11-01-2021 , 10:50   Re: [NMRIH] Infinity 1.3.1
    Reply With Quote #7

    Currently your last version (1.3.1) causes crashes on the server.

    Last edited by Banser; 11-01-2021 at 12:21.
    Banser is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 11-20-2021 , 04:31   Re: [NMRIH] Infinity 1.3.1 [2021/11/20]
    Reply With Quote #8

    Changes in 1.3.1 [2021/11/20]:
    • Fixed error "Invalid client index -1"
    __________________
    Grey83 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 11-20-2021 , 17:40   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
    Reply With Quote #9

    Changes in 1.3.1 [2021/11/21]:
    • Now cvar sm_inf_adm is works again
    __________________
    Grey83 is offline
    Gollie
    Junior Member
    Join Date: Nov 2021
    Old 11-24-2021 , 04:37   Re: [NMRIH] Infinity 1.3.1
    Reply With Quote #10

    Quote:
    Originally Posted by Banser View Post
    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:223: [mapchooser.smx] Voting for next map has finished. Nextmap: nmo_deadlock_y9v1.
    L 11/14/2021 - 13:225: [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/

    Last edited by Gollie; 11-24-2021 at 04:38.
    Gollie is offline
    Reply


    Thread Tools
    Display Modes

    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 16:56.


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