Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-24-2021 , 07:27   Re: [NMRIH] Infinity 1.3.1
Reply With Quote #11

Quote:
Originally Posted by Gollie View Post
15 "[NMRiH] Infinity" (1.3.0_04.10.2021) by Grey83
Quote:
Originally Posted by Grey83 View Post
Changes in 1.3.1 [2021/11/21]:
__________________
Grey83 is offline
Tohka
Junior Member
Join Date: Dec 2020
Old 11-24-2021 , 10:48   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #12

Hello, thank you for your selfless dedication to this plug-in. How do you turn off unlimited grenades, TNT and other throwing weapons?
Tohka is offline
MsDysphie
AlliedModders Donor
Join Date: Dec 2017
Old 11-24-2021 , 13:17   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #13

Seems like doing this can crash servers:

PHP Code:
public void OnEntityCreated(int ent, const char[] cls)
{
    if(
iMode[0] && ent MaxClients && (!strcmp(cls"item_ammo_box"false)))
        
AcceptEntityInput(ent"Kill");

Instead, try something like:

PHP Code:
public void OnEntityCreated(int ent, const char[] cls)
{
    if(
ent MaxClients && (!strcmp(cls"item_ammo_box"false)))
        
SDKHook(entSDKHook_SpawnOnAmmoBoxSpawn);
}

Action OnAmmoBoxSpawn(int ammobox)
{
    return 
iMode[0] ? Plugin_Handled Plugin_Continue;

MsDysphie is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-24-2021 , 15:05   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #14

MsDysphie, but my servers don't have any problem with v1.3.1_21.11.2021.
Attached Files
File Type: zip nmrih.zip (115.2 KB, 73 views)
__________________

Last edited by Grey83; 11-24-2021 at 15:21.
Grey83 is offline
Gollie
Junior Member
Join Date: Nov 2021
Old 11-25-2021 , 10:44   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #15

Quote:
Originally Posted by Tohka View Post
Hello, thank you for your selfless dedication to this plug-in. How do you turn off unlimited grenades, TNT and other throwing weapons?
Try Item Blacklist plugin
Gollie is offline
Gollie
Junior Member
Join Date: Nov 2021
Old 11-25-2021 , 14:33   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #16

Okay - changed second server to vanilla, put the 1.3.1 [2021/11/21] infinity version on - and it crashed with the same symptoms within 3 hours (on mapvote)


Here's the latest debug report from the crash:

https://crash.limetech.org/2ewfb3rrezd4
Gollie is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-25-2021 , 15:59   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #17

Quote:
Originally Posted by Gollie View Post
Here's the latest debug report from the crash:
PHP Code:
You can not see full information about this crash as you are not the owner.

This crash signature is unique
I have no crashes on my servers.
Accelerator work
PHP Code:
meta list
Listing 5 plugins:
  [
01AutoGain (2.0.2by GoD-Tony
  
[02SourceMod (1.10.0.6524by AlliedModders LLC
  
[03SDK Tools (1.10.0.6524by AlliedModders LLC
  
[04SDK Hooks (1.10.0.6524by AlliedModders LLC
  
[05SteamWorks Extension (1.2.3by Kyle Sanderson
sm exts 
list
[
SMDisplaying 13 extensions:
[
01Accelerator (2.5.0): SRCDS Crash Handler
[02Webternet (1.10.0.6524): Extension for interacting with URLs
[03Top Menus (1.10.0.6524): Creates sorted nested menus
[04SDK Tools (1.10.0.6524): Source SDK Tools
[05BinTools (1.10.0.6524): Low-level C/C++ Calling API
[06Client Preferences (1.10.0.6524): Saves client preference settings
[07SQLite (1.10.0.6524): SQLite Driver
[08GeoIP (1.10.0.6524): Geographical IP information
[09Config Extension (1.0.2): Wrapper for libconfig
[10SDK Hooks (1.10.0.6524): Source SDK Hooks
[11Regex (1.10.0.6524): Provides regex natives for plugins
[12Socket (3.0.1): Socket extension for SourceMod
[13SteamWorks Extension (1.2.3): Exposes SteamWorks functions to Developers 
__________________

Last edited by Grey83; 11-25-2021 at 16:06.
Grey83 is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-26-2021 , 08:42   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #18

Quote:
Originally Posted by MsDysphie View Post
Seems like doing this can crash servers:
PHP Code:
public void OnEntityCreated(int ent, const char[] cls)
{
    if(
iMode[0] && ent MaxClients && (!strcmp(cls"item_ammo_box"false)))
        
AcceptEntityInput(ent"Kill");

An acquaintance told me that this can happen if the server is running in Linux.
Try change this block to
PHP Code:
public void OnEntityCreated(int ent, const char[] cls)
{
    if(
iMode[0] && ent MaxClients && (!strcmp(cls"item_ammo_box"false)))
        
RequestFrame(RequestFrame_AmmoBoxEntIndexToEntRef(ent));
}

public 
void RequestFrame_AmmoBox(int ref)
{
    if(
EntRefToEntIndex(ref) != INVALID_ENT_REFERENCEAcceptEntityInput(ref"Kill");

__________________
Grey83 is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-26-2021 , 08:43   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #19

If this helps, then I will add this code to the next build.
__________________
Grey83 is offline
Banser
New Member
Join Date: Nov 2021
Old 12-10-2021 , 14:51   Re: [NMRIH] Infinity 1.3.1 [2021/11/21]
Reply With Quote #20

A heads up for those who suffer from crashes. Upgrading sourcemod of the server fixes the issue.
Banser 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 15:50.


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