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

[CS:GO] Nav Generate Blocker - Run custom maps w/o .nav file


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SHUFEN
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Plugin ID:
6450
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 02-27-2019 , 01:39   [CS:GO] Nav Generate Blocker - Run custom maps w/o .nav file
    Reply With Quote #1

    For custom map servers

    :: Description ::
    Block to unexpected generating .nav file. It prevent trouble like stucking players.
    Also, can create blank .nav file when loading nextmap.
    In this way, BOTs can't walking with his own intention but server can have BOTs. (It is useful if you using BOTs just as fake, like replaying surf/bhop records)

    :: Dependency ::
    DHooks of Experimental dynamic detour support version:
    https://forums.alliedmods.net/showpo...&postcount=589
    * This plugins does not work with DHooks of normal version

    :: Commands ::
    sm_navgenerate (Root) - Generate a blank .nav file for current map
    sm_navgeneratenextmap (Root) - Generate a blank .nav file for next map (If mapchooser vote has finished)

    :: ConVars ::
    sm_navgenerate_autogenerate "1" - Enable/Disable auto generate a blank .nav file for next map

    :: Attention ::
    Don't forget put "navgenerate_blocker.games.txt" on addons/sourcemod/gamedata/


    :: Git ::
    https://github.com/Xectali/NavGenerate_Blocker

    :: Updates ::
    v_._: Added Linux signatures, thanks Rachnus
    v0.1: Initial
    Attached Files
    File Type: sp Get Plugin or Get Source (navgenerate_blocker.sp - 466 views - 5.6 KB)
    File Type: smx navgenerate_blocker.smx (7.2 KB, 540 views)
    File Type: txt navgenerate_blocker.games.txt (652 Bytes, 610 views)

    Last edited by SHUFEN; 02-27-2019 at 06:42.
    SHUFEN is offline
    Send a message via Skype™ to SHUFEN
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 02-27-2019 , 06:02   Re: [CS:GO] Nav Generate Blocker - Run custom maps w/o .nav file
    Reply With Quote #2

    Linux sigs

    PHP Code:
    "Games"
    {
        
    "csgo"
        
    {
            
    "Signatures"
            
    {
                
    "CNavMesh::BeginGeneration"        // #STR: "nav_generate"
                
    {
                    
    "library"       "server"
                    "windows"       "\x55\x8B\xEC\x51\x8B\x0D\x2A\x2A\x2A\x2A\x56\x8B\x35\x2A\x2A\x2A\x2A\x6A\x00"
                    "linux"         "\x55\x89\xE5\x56\x53\x83\xEC\x20\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08\x0F\xB6\x75\x0C"
                
    }
                
    "CNavMesh::Load"                // #STR: "Error reading sub-version number.\n"
                
    {
                    
    "library"       "server"
                    "windows"       "\x55\x8B\xEC\x83\xE4\xF8\x81\xEC\x74\x01\x00\x00\x53\x56\x8B\x35\x2A\x2A\x2A\x2A"
                    "linux"         "\x55\x89\xE5\x57\x56\x53\x81\xEC\xAC\x01\x00\x00\x8B\x3D\x2A\x2A\x2A\x2A"
                
    }
            }
        }

    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests

    Last edited by Rachnus; 02-27-2019 at 06:02.
    Rachnus is offline
    SHUFEN
    Senior Member
    Join Date: Jun 2014
    Location: Japan, Tokyo
    Old 02-27-2019 , 06:37   Re: [CS:GO] Nav Generate Blocker - Run custom maps w/o .nav file
    Reply With Quote #3

    Oh, I forgot it. Thanks.

    Quote:
    Originally Posted by Rachnus View Post
    Linux sigs
    SHUFEN is offline
    Send a message via Skype™ to SHUFEN
    pedrotski
    Member
    Join Date: Nov 2020
    Old 02-10-2023 , 00:56   Re: [CS:GO] Nav Generate Blocker - Run custom maps w/o .nav file
    Reply With Quote #4

    Updated gamedata. 02/022023 CS:GO update

    Code:
    "Games"
    {
    	"csgo"
    	{
    		"Signatures"
    		{
    			"CNavMesh::BeginGeneration"		// #STR: "nav_generate"
    			{
    				"library"		"server"
    				"windows"		"\x55\x8B\xEC\x51\x8B\x0D\x2A\x2A\x2A\x2A\x56\x8B\x35\x2A\x2A\x2A\x2A\x6A\x00"
    				"linux"         "\x55\x89\xE5\x56\x53\x83\xEC\x10\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08\x8B\x75\x0C"
    			}
    			"CNavMesh::Load"				// #STR: "Error reading sub-version number.\n"
    			{
    				"library"		"server"
    				"windows"		"\x55\x8B\xEC\x83\xE4\xF8\x81\xEC\x74\x01\x00\x00\x53\x56\x8B\x35\x2A\x2A\x2A\x2A"
    				"linux"         "\x55\x89\xE5\x57\x56\x53\x81\xEC\x7C\x01\x00\x00\x8B\x45\x14"
    			}
    		}
    	}
    }
    __________________
    pedrotski is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 02-11-2023 , 15:10   Re: [CS:GO] Nav Generate Blocker - Run custom maps w/o .nav file
    Reply With Quote #5

    Isn't it better to generate an empty nav file OnMapStart?


    IIRC, it won't attempt to generate until a player joins, as there must be 1 bot to generate.
    Also there's a cvar that lets bots play without a player, which cancels what I said, but still...
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334

    Last edited by eyal282; 02-11-2023 at 15:11.
    eyal282 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 05:32.


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