Raised This Month: $319 Target: $400
 79%   Almost there!

stripper need update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkwob
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 10-02-2020 , 05:45   stripper need update
Reply With Quote #1

After the latest update, infected people can no longer move to some areas they used to be able to cross. an invisible wall is interfering. I think Left 4 dead 1 original maps Left 4 dead 2 was brought.

this filter doesn't work anymore.
PHP Code:
filter:
{
    
"classname" "func_playerinfected_clip" 
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-02-2020 , 09:32   Re: stripper need update
Reply With Quote #2

The new blocks brought by the new update cant be removed with stripper,
I had to change the vscript that add this blocks to ignore it.
__________________
Marttt is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 10-04-2020 , 08:17   Re: stripper need update
Reply With Quote #3

Can you post what line you changed?
__________________
finishlast is offline
fenri_NEKO
New Member
Join Date: Oct 2020
Old 10-08-2020 , 13:36   Re: stripper need update
Reply With Quote #4

Quote:
Originally Posted by Marttt View Post
The new blocks brought by the new update cant be removed with stripper,
I had to change the vscript that add this blocks to ignore it.
Please, post it!
I need help about this. This update has added: "env_player_blocker"
I need to delete this too.

No work:
remove:
{
"classname" "env_player_blocker"
}
filter:
{
"classname" "env_player_blocker"
}

If I write "stripper_dump", "env_player_blocker" does not appear in "c1m1_hotel.0000.cfg".

Thanks so much for reading.
fenri_NEKO is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-08-2020 , 22:16   Re: stripper need update
Reply With Quote #5

Hi, I answered him in PM, btw the process is not very friendly.

1) First you need to install this plugin Silvers VScript File Replacer.

2) Create a folder named \left4dead2\scripts\vscripts\vscripts_custom if you don't have it. (the plugin creates automatically for you on it's first run)

3) Paste the anv_mapfixes.nut in this folder

4) Edit the data file to this:

Code:
"vscript_replacer"
{
	// All maps
	".+"
	{
		"anv_mapfixes"
		{
			"override" "anv_mapfixes"
		}
	}
}
If that don't work just send me a PM here in the forum.

I attached a zip file with the edits.
Don't forget to install first the plugin from the main topic.

Note: Basically all I did was to comment the "Apply_Quadmode_Map_Specific_Fixes" in the vscript code.
I don't know if this has some other side effects, but currently I know that two servers are running this without errors.
But if the game is constantly getting updates, this file may by deprecated or become an old version.
Attached Files
File Type: zip left4dead2.zip (45.3 KB, 62 views)
__________________

Last edited by Marttt; 10-09-2020 at 05:29. Reason: Edited, Thanks Silvers
Marttt is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 10-09-2020 , 00:34   Re: stripper need update
Reply With Quote #6

Quote:
Originally Posted by Marttt View Post
PHP Code:
#define MAX_BUFFER 307200 
Version 1.9 already has this.
__________________
Silvers is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 10-09-2020 , 07:49   Re: stripper need update
Reply With Quote #7

Quote:
Originally Posted by Marttt View Post
Hi, I answered him in PM, btw the process is not very friendly.

1) First you need to install this plugin Silvers VScript File Replacer.

2) Create a folder named \left4dead2\scripts\vscripts\vscripts_custom if you don't have it. (the plugin creates automatically for you on it's first run)

3) Paste the anv_mapfixes.nut in this folder

4) Edit the data file to this:

Code:
"vscript_replacer"
{
	// All maps
	".+"
	{
		"anv_mapfixes"
		{
			"override" "anv_mapfixes"
		}
	}
}
If that don't work just send me a PM here in the forum.

I attached a zip file with the edits.
Don't forget to install first the plugin from the main topic.

Note: Basically all I did was to comment the "Apply_Quadmode_Map_Specific_Fixes" in the vscript code.
I don't know if this has some other side effects, but currently I know that two servers are running this without errors.
But if the game is constantly getting updates, this file may by deprecated or become an old version.
yes i'm the first to test this and it works successfully but with only one downside. Added textures on some maps are removed.
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 10-12-2020 , 09:44   Re: stripper need update
Reply With Quote #8

PHP Code:
public void OnEntityCreated(int entity, const char[] classname)
{
    if (
entity || entity 2048)
    {
        return;
    }
    
    if (
strcmp(classname"func_playerghostinfected_clip") == || strcmp(classname"func_playerinfected_clip") == 0)
    {
        
CreateTimer(0.1DeleteInvisibleWallsEntIndexToEntRef(entity));
    }
}

public 
Action DeleteInvisibleWalls(Handle timerany entity)
{
    if ((
entity EntRefToEntIndex(entity)) == INVALID_ENT_REFERENCE)
    {
        return 
Plugin_Stop;
    }
    
    
RemoveEntity(entity);
    return 
Plugin_Stop;

__________________
cravenge is offline
Mitsuru
Member
Join Date: Jun 2013
Location: Fakes country
Old 10-12-2020 , 10:07   Re: stripper need update
Reply With Quote #9

"OnMapSpawn" "anv_mapfixes_point_of_no_return,Kill,,0,-1"
Mitsuru is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 10-12-2020 , 10:57   Re: stripper need update
Reply With Quote #10

It's better to remove the specific classname of the entity/entities one is trying to remove rather than wiping everything related to the map fixes added in the game, making it look like the update never existed.
__________________

Last edited by cravenge; 10-12-2020 at 10:58.
cravenge 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 14:37.


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