Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-13-2022 , 20:27   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1201

Quote:
Originally Posted by Krufftys Killers View Post
Started getting this error
L 01/13/2022 - 17:20:39: SourceMod error session started
L 01/13/2022 - 17:20:39: Info (map "c5m1_waterfront") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20220113.log")
L 01/13/2022 - 17:20:39: [SM] Exception reported: Script execution timed out
L 01/13/2022 - 17:20:39: [SM] Blaming: mutant_tanks\mt_abilities.smx
L 01/13/2022 - 17:20:39: [SM] Call stack trace:
L 01/13/2022 - 17:20:39: [SM] [0] MT_LogMessage
L 01/13/2022 - 17:20:39: [SM] [1] Line 2615, mt_abilities.sp::vAbilitySetup
L 01/13/2022 - 17:20:39: [SM] [2] Line 152, mt_abilities.sp::OnPluginStart
L 01/13/2022 - 17:20:39: [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" 
__________________
Psyk0tik is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 01-13-2022 , 21:15   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1202

Thanks working again
Krufftys Killers is offline
yuzumi
Member
Join Date: Jul 2020
Old 01-18-2022 , 10:08   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1203

In v8.90 git_01e51cd...

vSetupConfigs Function SpamLog..

11901 lines in Mutant_tanks.sp
PHP Code:
        if (g_esGeneral.g_iConfigCreate MT_CONFIG_PLAYERCOUNT)
        {
            
char sSMPath[PLATFORM_MAX_PATH];
            
BuildPath(Path_SMsSMPathsizeof sSMPath"%s%s"MT_CONFIG_FILEPATHMT_CONFIG_PATH_PLAYERCOUNT);
            
CreateDirectory(sSMPath511);

            
char sPlayerCount[32];
            for (
int iCount 0iCount <= (MAXPLAYERS 1); iCount++)
            {
                
IntToString(iCountsPlayerCountsizeof sPlayerCount);
                
LogMessage("Creating config file: %s%s"MT_CONFIG_PATH_PLAYERCOUNTsPlayerCount);  <--- Here
                vCreateConfigFile
(MT_CONFIG_FILEPATH ... MT_CONFIG_PATH_PLAYERCOUNTsPlayerCount);
            }
        } 
Only This ConfigCreate Will LogMessage..
yuzumi is offline
yuzumi
Member
Join Date: Jul 2020
Old 01-18-2022 , 11:04   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1204

i want periodically spawn tank in non-finale maps..
The process is like this..

Interval 60s, If no tanks in map, spawn 2 tanks, Stop Interval timer.
All tanks is dead, Continue Interval 60s, If no tanks in map, spawn 2 tanks..Infinite loop.

how to setting "Waves" in configs..?
yuzumi is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-18-2022 , 13:27   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1205

Quote:
Originally Posted by yuzumi View Post
In v8.90 git_01e51cd...

vSetupConfigs Function SpamLog..

11901 lines in Mutant_tanks.sp
PHP Code:
        if (g_esGeneral.g_iConfigCreate MT_CONFIG_PLAYERCOUNT)
        {
            
char sSMPath[PLATFORM_MAX_PATH];
            
BuildPath(Path_SMsSMPathsizeof sSMPath"%s%s"MT_CONFIG_FILEPATHMT_CONFIG_PATH_PLAYERCOUNT);
            
CreateDirectory(sSMPath511);

            
char sPlayerCount[32];
            for (
int iCount 0iCount <= (MAXPLAYERS 1); iCount++)
            {
                
IntToString(iCountsPlayerCountsizeof sPlayerCount);
                
LogMessage("Creating config file: %s%s"MT_CONFIG_PATH_PLAYERCOUNTsPlayerCount);  <--- Here
                vCreateConfigFile
(MT_CONFIG_FILEPATH ... MT_CONFIG_PATH_PLAYERCOUNTsPlayerCount);
            }
        } 
Only This ConfigCreate Will LogMessage..
Thanks, fixed with the latest commit.

Quote:
Originally Posted by yuzumi View Post
i want periodically spawn tank in non-finale maps..
The process is like this..

Interval 60s, If no tanks in map, spawn 2 tanks, Stop Interval timer.
All tanks is dead, Continue Interval 60s, If no tanks in map, spawn 2 tanks..Infinite loop.

how to setting "Waves" in configs..?
Unfortunately, the timer does not wait until all previous Tanks are dead and the interval does not reset once all current Tanks die. I can probably change both of those before officially releasing v8.90.

For now these are the settings you'll want:
PHP Code:
"Regular Amount"            "2"
"Regular Delay"                "0.1"
"Regular Interval"            "60.0"
"Regular Mode"                "1"
"Regular Wave"                "1" 
__________________

Last edited by Psyk0tik; 01-18-2022 at 21:40.
Psyk0tik is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 01-25-2022 , 20:28   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1206

Hello when I change the variable "Attack Interval" to anything other than 0.0 the tank never throws a punch
KadabraZz is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-26-2022 , 00:29   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1207

Quote:
Originally Posted by KadabraZz View Post
Hello when I change the variable "Attack Interval" to anything other than 0.0 the tank never throws a punch
This should be fixed in the next update. Thanks for reporting.
__________________
Psyk0tik is offline
Shao
Senior Member
Join Date: Jan 2015
Old 01-26-2022 , 15:29   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1208

Hello, I've been wanting to add a specific feature to the shield breaking function which is separating CLUB and SLASH type of damage from melee weapons to make them more unique.

However at the time of compile I am getting these 2 error;

Compiler\include\mt_clone.inc(77) : error 017: undefined symbol "tank"
Compiler\include\mutant_tanks.inc(1176) : error 017: undefined symbol "type"

I have the most recent version of Sourcemod as well as DHooks. (From what I read is also now included in Sourcemod.)

Even without plugin edits this error still shows. What could be wrong?
Shao is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-26-2022 , 16:38   Re: [L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)
Reply With Quote #1209

Quote:
Originally Posted by Shao View Post
Hello, I've been wanting to add a specific feature to the shield breaking function which is separating CLUB and SLASH type of damage from melee weapons to make them more unique.

However at the time of compile I am getting these 2 error;

Compiler\include\mt_clone.inc(77) : error 017: undefined symbol "tank"
Compiler\include\mutant_tanks.inc(1176) : error 017: undefined symbol "type"

I have the most recent version of Sourcemod as well as DHooks. (From what I read is also now included in Sourcemod.)

Even without plugin edits this error still shows. What could be wrong?
Line 75 of mt_clone.inc: change "client" to "tank"
Code:
stock bool MT_CloneAllowed(int client, bool clone)
Line 1176 of mutant_tanks.inc: change "type" to "mode"
Code:
MT_GetTankColors(tank, type, red, green, blue, alpha);
These typos were around for several versions but older SM builds didn't catch them because they were part of unused stock functions. The newer builds now read all stock functions during compilation.

I've already addressed these typos in the next update.
__________________
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 02-01-2022 , 05:54   Re: [L4D & L4D2] Mutant Tanks (v8.90, 2-1-2022)
Reply With Quote #1210

Version 8.90 is out!

Thank you to the following people who helped me throughout the process of making this enormous update: Mi.Cura, KasperH/Ladis, Blueberry/Kleiner, yuzumi, epz/epzminion, Angelace113

Thank you to the following people whose code/information really helped me understand more about SM, DHooks, and both L4D games in general: Silvers, BHaType, cravenge, Marttt, sorallll, Forgetest, Chanz

Thank you to the following people who threw random ideas/suggestions out there: HarryPotter, saberQAQ, moschinovac

Thank you to the following people who reported rare issues that I overlooked: KadabraZz, weffer, kot4404, Maku

Here are the main changes:

1. L4D1: Added compatibility for the 1.0.4.1 game update.
2. L4D2: Added compatibility for the 2.2.2.3 game update.
3. Over 20 bug fixes.
4. Over 5 new rewards.
5. Improved the detouring and patching systems to provide better compatibility with other plugins.
6. Added compatibility for several plugins that detour or patch functions.
7. Improved the RNG logic for all features that are RNG-based.
8. Added Updater support.
9. Added MacOS support. (Untested)

Download | Changelog | Information | Settings
__________________

Last edited by Psyk0tik; 02-01-2022 at 22:06.
Psyk0tik 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 21:03.


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