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

stripper need update


Post New Thread Reply   
 
Thread Tools Display Modes
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-12-2020 , 13:03   Re: stripper need update
Reply With Quote #11

I agree but the update wasn't well done, they made some "fixes" by spawning entities through vscript, since they aren't allowed to recompile the map, so people can't use stripper anymore to remove some unwanted changes.

Also there is no pattern in their naming entities, even with your code you can remove things that are not from update.

They added 1300+ entities through vscript, is kind impossible to know what should suppose to exists and which not. Also I still found some weird spots that they didn't fixed and seems that the update brought some other more.

Anyway I hope that all these posts help people in future.

Note: In your solution, you should use SpawnPost instead of creating a 0.1 timer.
__________________

Last edited by Marttt; 10-12-2020 at 18:03.
Marttt is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 10-18-2020 , 23:46   Re: stripper need update
Reply With Quote #12

Quote:
Originally Posted by Marttt View Post
They added 1300+ entities through vscript, is kind impossible to know what should suppose to exists and which not. Also I still found some weird spots that they didn't fixed and seems that the update brought some other more.
No wonder, my server crashes frequently after the last stand update, entity limit reached again and again
It took me a long time to find out this stupid cause...
They add too many entities in this update, for example there are already 1500 existing entites in c5m4,
don't know why they don't just recompile the map, sigh ! VALUE
__________________

Last edited by HarryPotter; 10-19-2020 at 00:10.
HarryPotter is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 04-16-2021 , 14:34   Re: stripper need update
Reply With Quote #13

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.

you could delete that entity filter: "classname" "env_player_blocker" with vscripts? because with stripper you cannot remove or filter??

Last edited by BlackSabbarh; 04-16-2021 at 14:35.
BlackSabbarh is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-18-2021 , 09:01   Re: stripper need update
Reply With Quote #14

No, what I mean is that stripper manage entities before map load. (don't know if this is the exact moment)

You can't use stripper to remove, for example, some entity that you created by a plugin

So this logic applies to vscript too.

All these new "invisible walls" are added through vscript files when the map starts

So one of the ways to fix that is using the vscript replacer plugin and removing that section that creates new entities.

You can check the original code here: (maybe is not updated but is almost the same)
https://github.com/Tsuey/L4D2-Commun...v_mapfixes.nut

Note: BTW I think stripper need some updates yes but not related to this stuff.
Sometimes I wasn't able to remove a medkit cabinet by classname,
also remember some toys like elephant not being able to delete too, and removing an output/input looks like removing them all.
And a post/pre global files would be nicer too.
__________________

Last edited by Marttt; 04-18-2021 at 09:04.
Marttt 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 15:38.


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