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

[L4D & L4D2] Mutant Tanks (v9.1, 3-20-2024)


Post New Thread Reply   
 
Thread Tools Display Modes
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 10-11-2021 , 14:44   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1101

Great plugins Psyk0tik. Follow your guide on github, I had setup a bunch of mutant tank on the mutant_tank.cfg located at addons\sourcemod\data\mutant_tanks, but none show up...even on the admin menu. All the tank showed in my game are random mutant, "Ammo Tank", "Blind Tank", "Absorber Tank" etc. What did I do wrong here?
Attached Files
File Type: cfg mutant_tanks.cfg (22.2 KB, 81 views)
thewintersoldier97 is offline
MedicDTI
Junior Member
Join Date: Jul 2019
Old 10-11-2021 , 19:49   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1102

My tank list only shows "Tank -1#" and "Tank 0#" and i get these errors.
i already updated my sourcemod so idk what could be...


L 10/11/2021 - 17:26:44: [SM] Exception reported: Script execution timed out
L 10/11/2021 - 17:26:44: [SM] Blaming: mutant_tanks\mt_abilities.smx
L 10/11/2021 - 17:26:44: [SM] Call stack trace:
L 10/11/2021 - 17:26:44: [SM] [0] MT_LogMessage
L 10/11/2021 - 17:26:44: [SM] [1] Line 2592, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mt_abilities.sp::vAbilitySetup
L 10/11/2021 - 17:26:44: [SM] [2] Line 129, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mt_abilities.sp::OnPluginStart
L 10/11/2021 - 17:26:44: [SM] Unable to load plugin "mutant_tanks\mt_abilities.smx": Error detected in plugin startup (see error logs)
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to find signature: CTerrorMeleeWeapon::SecondaryAttack
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer1CleanKill (CTerrorPlayer::Event_Killed::Boomer1) [Expected E8 | Found 95]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer2CleanKill (CTerrorPlayer::Event_Killed::Boomer2) [Expected E8 | Found CC]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer3CleanKill (CTerrorPlayer::Event_Killed::Boomer3) [Expected E8 | Found 56]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer4CleanKill (CTerrorPlayer::Event_Killed::Boomer4) [Expected E8 | Found 8B]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer5CleanKill (CTerrorPlayer::Event_Killed::Boomer5) [Expected E8 | Found 8B]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer6CleanKill (CTerrorPlayer::Event_Killed::Boomer6) [Expected E8 | Found 8D]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Smoker1CleanKill (CTerrorPlayer::Event_Killed::Smoker1) [Expected D9 | Found E8]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Smoker2CleanKill (CTerrorPlayer::Event_Killed::Smoker2) [Expected 8B | Found 61]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Smoker3CleanKill (CTerrorPlayer::Event_Killed::Smoker3) [Expected E8 | Found 8B]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: SpitterCleanKill (CTerrorPlayer::Event_Killed::SpitterPuddle) [Expected 8B | Found FC]

L 10/11/2021 - 17:27:42: [SM] Exception reported: Invalid Handle 0
L 10/11/2021 - 17:27:42: [SM] Blaming: mutant_tanks\mutant_tanks.smx
L 10/11/2021 - 17:27:42: [SM] Call stack trace:
L 10/11/2021 - 17:27:42: [SM] [0] DynamicDetour.Enable
L 10/11/2021 - 17:27:42: [SM] [1] Line 9467, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::vToggleDetour
L 10/11/2021 - 17:27:42: [SM] [2] Line 9614, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::vTogglePlugin
L 10/11/2021 - 17:27:42: [SM] [3] Line 9249, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::vPluginStatus
L 10/11/2021 - 17:27:42: [SM] [4] Line 2464, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::OnConfigsExecuted
MedicDTI is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-11-2021 , 20:42   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1103

Quote:
Originally Posted by thewintersoldier97 View Post
Great plugins Psyk0tik. Follow your guide on github, I had setup a bunch of mutant tank on the mutant_tank.cfg located at addons\sourcemod\data\mutant_tanks, but none show up...even on the admin menu. All the tank showed in my game are random mutant, "Ammo Tank", "Blind Tank", "Absorber Tank" etc. What did I do wrong here?
Your config looks fine. Did you open up translations/mutant_tanks_names.phrases.txt to update their names? The names in the config file are just used to help find the translations for their names which are the ones you see in-game.

Quote:
Originally Posted by MedicDTI View Post
My tank list only shows "Tank -1#" and "Tank 0#" and i get these errors.
i already updated my sourcemod so idk what could be...


L 10/11/2021 - 17:26:44: [SM] Exception reported: Script execution timed out
L 10/11/2021 - 17:26:44: [SM] Blaming: mutant_tanks\mt_abilities.smx
L 10/11/2021 - 17:26:44: [SM] Call stack trace:
L 10/11/2021 - 17:26:44: [SM] [0] MT_LogMessage
L 10/11/2021 - 17:26:44: [SM] [1] Line 2592, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mt_abilities.sp::vAbilitySetup
L 10/11/2021 - 17:26:44: [SM] [2] Line 129, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mt_abilities.sp::OnPluginStart
L 10/11/2021 - 17:26:44: [SM] Unable to load plugin "mutant_tanks\mt_abilities.smx": Error detected in plugin startup (see error logs)
In configs/core.cfg, you can set "SlowScriptTimeout" to "0".
PHP Code:
/**
 * If a plugin takes too long to execute, hanging or freezing the game server in the process, 
 * SourceMod will attempt to terminate that plugin after the specified timeout length has
 * passed. You can disable this feature by setting the value to "0".
 */
"SlowScriptTimeout"    "0" 
Quote:
Originally Posted by MedicDTI View Post
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to find signature: CTerrorMeleeWeapon::SecondaryAttack
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer1CleanKill (CTerrorPlayer::Event_Killed::Boomer1) [Expected E8 | Found 95]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer2CleanKill (CTerrorPlayer::Event_Killed::Boomer2) [Expected E8 | Found CC]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer3CleanKill (CTerrorPlayer::Event_Killed::Boomer3) [Expected E8 | Found 56]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer4CleanKill (CTerrorPlayer::Event_Killed::Boomer4) [Expected E8 | Found 8B]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer5CleanKill (CTerrorPlayer::Event_Killed::Boomer5) [Expected E8 | Found 8B]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Boomer6CleanKill (CTerrorPlayer::Event_Killed::Boomer6) [Expected E8 | Found 8D]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Smoker1CleanKill (CTerrorPlayer::Event_Killed::Smoker1) [Expected D9 | Found E8]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Smoker2CleanKill (CTerrorPlayer::Event_Killed::Smoker2) [Expected 8B | Found 61]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: Smoker3CleanKill (CTerrorPlayer::Event_Killed::Smoker3) [Expected E8 | Found 8B]
L 10/11/2021 - 17:26:56: [mutant_tanks\mutant_tanks.smx] [MT] Failed to locate patch: SpitterCleanKill (CTerrorPlayer::Event_Killed::SpitterPuddle) [Expected 8B | Found FC]
Those errors make no sense. Have you updated "gamedata/mutant_tanks.txt" and "data/mutant_tanks/mutant_tanks_patches.cfg". The latest update to L4D2 didn't break anything so you're either using outdated gamedata or a different game version which I don't support. What version of Mutant Tanks are you using?

Quote:
Originally Posted by MedicDTI View Post
L 10/11/2021 - 17:27:42: [SM] Exception reported: Invalid Handle 0
L 10/11/2021 - 17:27:42: [SM] Blaming: mutant_tanks\mutant_tanks.smx
L 10/11/2021 - 17:27:42: [SM] Call stack trace:
L 10/11/2021 - 17:27:42: [SM] [0] DynamicDetour.Enable
L 10/11/2021 - 17:27:42: [SM] [1] Line 9467, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::vToggleDetour
L 10/11/2021 - 17:27:42: [SM] [2] Line 9614, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::vTogglePlugin
L 10/11/2021 - 17:27:42: [SM] [3] Line 9249, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::vPluginStatus
L 10/11/2021 - 17:27:42: [SM] [4] Line 2464, C:\l4d2ds\left4dead2\addons\sourcemod\scripti ng\mutant_tanks.sp::OnConfigsExecuted
I'm not sure how you're getting that error but in the current version, that shouldn't be happening at all.
__________________
Psyk0tik is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 10-12-2021 , 02:51   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1104

Quote:
Originally Posted by Psyk0tik View Post
Your config looks fine. Did you open up translations/mutant_tanks_names.phrases.txt to update their names? The names in the config file are just used to help find the translations for their names which are the ones you see in-game.
So that's mean if I used my config, I must change those name in the txt file?
For example, my "Tank #1" is named "Acidic Tank" so my txt would go like this
Code:
"Tank #1 Name"
	{
		"en"			"Acidic Tank"
	}

	"Tank #1"
	{
		"en"			"{mint}This Tank can create acid puddles underneath survivors."
	}
Am I getting it right? Could this messed up the translation for other langue?

Last edited by thewintersoldier97; 10-12-2021 at 02:54.
thewintersoldier97 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-12-2021 , 03:20   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1105

Quote:
Originally Posted by thewintersoldier97 View Post
So that's mean if I used my config, I must change those name in the txt file?
For example, my "Tank #1" is named "Acidic Tank" so my txt would go like this
Code:
"Tank #1 Name"
	{
		"en"			"Acidic Tank"
	}

	"Tank #1"
	{
		"en"			"{mint}This Tank can create acid puddles underneath survivors."
	}
Am I getting it right? Could this messed up the translation for other langue?
Correct. When you set a name for a Tank, you have the option to add support for other languages. The only language required for translation is English (en). If you are renaming Tanks (which you are doing in this case) you can leave the other languages’ files alone or update them with proper translations. It’s up to you.
__________________
Psyk0tik is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 10-13-2021 , 06:35   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1106

Quote:
Originally Posted by Psyk0tik View Post
Correct. When you set a name for a Tank, you have the option to add support for other languages. The only language required for translation is English (en). If you are renaming Tanks (which you are doing in this case) you can leave the other languages’ files alone or update them with proper translations. It’s up to you.
So after I decided I would use the original Tank name with a little modification (cause I'm lazy asf lol), the plugins was working great. But this afternoon I launched up the server and encounter this in the server error logs
PHP Code:
L 10/13/2021 17:25:46Info (map "c2m1_highway") (file "d:\games\steamlibrary\steamapps\common\left 4 dead 2 dedicated server\left4dead2\addons\sourcemod\logs\errors_20211013.log")
L 10/13/2021 17:25:46: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header.
L 10/13/2021 17:25:56: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header.
L 10/13/2021 17:25:59: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header.
L 10/13/2021 17:26:05: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header
Headed to testing and notice some Tank are missing...
Any clue what's happening here Psyk0tik? Thanks.

Last edited by thewintersoldier97; 10-13-2021 at 06:36.
thewintersoldier97 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-13-2021 , 06:37   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1107

Quote:
Originally Posted by thewintersoldier97 View Post
So after I decided I would use the original Tank name with a little modification (cause I'm lazy asf lol), the plugins was working great. But this afternoon I launched up the server and encounter this in the server error logs
PHP Code:
L 10/13/2021 17:25:46Info (map "c2m1_highway") (file "d:\games\steamlibrary\steamapps\common\left 4 dead 2 dedicated server\left4dead2\addons\sourcemod\logs\errors_20211013.log")
L 10/13/2021 17:25:46: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header.
L 10/13/2021 17:25:56: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header.
L 10/13/2021 17:25:59: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header.
L 10/13/2021 17:26:05: [mutant_tanks\mutant_tanks.smx] [MTError while parsing the "addons\sourcemod\data\mutant_tanks\mutant_tanks.cfg" fileError MessageSection declared without header
Headed to testing and notice some Tank are missing...
Any clue what's happening here Psyk0tik? Thanks.
Upload your config file the way you currently have it. Your config probably has some malformed sections.
__________________
Psyk0tik is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 10-13-2021 , 07:10   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1108

Quote:
Originally Posted by Psyk0tik View Post
Upload your config file the way you currently have it. Your config probably has some malformed sections.
This is the cfg I'm currently using, please take a look.
Attached Files
File Type: 7z mutant_tank cfg.7z (14.4 KB, 71 views)
thewintersoldier97 is offline
yuzumi
Member
Join Date: Jul 2020
Old 10-13-2021 , 09:10   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1109

Quote:
Originally Posted by thewintersoldier97 View Post
This is the cfg I'm currently using, please take a look.
Tank #17 In mutant_tanks.cfg

PHP Code:
        "Props"
        
{
            
"Light Color"                "50,155,150,255"
            "Oxygen Tank Color"            "50,155,150,255"
            "Flame Color"                "50,155,150,255"
            "Rock Color"                "50,155,150,255"
            "Tire Color"                "50,155,150,255"
            "Propane Tank Color"            "50,155,150,255"
            "Flashlight Color"            "50,155,150,255"
            "Crown Color"                "50,155,150,255"
            "Rock Model"                "2"
        
}
        
"Health" <-- Remove This
        
"Drunk Ability"
        
{
            
"Human Ability"                "1"
            "Human Ammo"                "2"
            "Human Cooldown"            "120"
            "Ability Enabled"            "1"
            "Ability Effect"            "7"
            "Ability Message"            "1"
            "Drunk Chance"                "33.3"
            "Drunk Duration"            "5"
            "Drunk Hit"                "1"
            "Drunk Hit Mode"            "0"
            "Drunk Range"                "150.0"
            "Drunk Range Chance"            "15.0"
            "Drunk Speed Interval"            "2.5"
            "Drunk Turn Interval"            "1.5"
        


Last edited by yuzumi; 10-13-2021 at 09:11.
yuzumi is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 10-13-2021 , 09:21   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1110

Quote:
Originally Posted by yuzumi View Post
Tank #17 In mutant_tanks.cfg
Holy sh-t thank you! Now it's working like a charm. I'll be more careful when editing stuff next time. Cheers!
thewintersoldier97 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 13:41.


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