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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Zuman15
New Member
Join Date: Sep 2021
Old 09-05-2021 , 15:39   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1071

I have downloaded this sourcemod and have put them in their folders, i just merged them in the folders and they are all in their respected folders. It just won't work. I HAVE enabled the tanks that I want and nothing works. This is the only sourcemod I have that doesn't work. The console commands of the mutant tanks do work, (sm_mt_abilities, sm_mt_abilities2, etc.) but the tank themself does not pop up, I do not understand.
Zuman15 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-05-2021 , 17:37   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1072

Quote:
Originally Posted by Zuman15 View Post
I have downloaded this sourcemod and have put them in their folders, i just merged them in the folders and they are all in their respected folders. It just won't work. I HAVE enabled the tanks that I want and nothing works. This is the only sourcemod I have that doesn't work. The console commands of the mutant tanks do work, (sm_mt_abilities, sm_mt_abilities2, etc.) but the tank themself does not pop up, I do not understand.
I will need some information from you, otherwise I cannot help you at all.

1. Upload your config file here (or PM it to me).
2. Do you have any errors in your logs related to Mutant Tanks?
3. Have you verified if they show up in the menu via the sm_tank command?
__________________
Psyk0tik is offline
yuzumi
Member
Join Date: Jul 2020
Old 09-06-2021 , 03:19   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1073

I use SM 1.11-6741 complie 8.87 plugins..
PHP Code:
mutant_tanks/abilities/mt_clone.sp(424) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_clone.sp(855) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_drop.sp(680) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_drop.sp(706) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_drunk.sp(1021) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_item.sp(411) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_item.sp(802) : error 100: function prototypes do not match 
examples : mt_clone.sp(855)
Quote:
PHP Code:
switch (flDelay)
{
    case 
0.0vClone(tank);
    
Here-> defaultCreateTimer(flDelaytTimerCloneComboGetClientUserId(tank), TIMER_FLAG_NO_MAPCHANGE);
}
break; 
PHP Code:
public Action tTimerCloneCombo(Handle timerint userid
change to
PHP Code:
public Action tTimerCloneCombo(Handle timerany userid
mutant_tanks.sp(14361)
Quote:
PHP Code:
static void vTankSpawn(int tankint mode 0)
{
    
DataPack dpTankSpawn = new DataPack();
Here->    RequestFrame(vTankSpawnFramedpTankSpawn);
    
dpTankSpawn.WriteCell(GetClientUserId(tank));
    
dpTankSpawn.WriteCell(mode);

PHP Code:
public void vTankSpawnFrame(DataPack pack)
{
    
pack.Reset();

    static 
int iTankiMode;
    
iTank GetClientOfUserId(pack.ReadCell()), iMode pack.ReadCell();

    
delete pack
change to
PHP Code:
public void vTankSpawnFrame(any pack)
{
    
view_as<DataPack>(pack).Reset();

    static 
int iTankiMode;
    
iTank GetClientOfUserId(view_as<DataPack>(pack).ReadCell()), iMode view_as<DataPack>(pack).ReadCell();

    
delete view_as<DataPack>(pack); 
Complie no error.. Is this change correct?

Last edited by yuzumi; 09-06-2021 at 03:47.
yuzumi is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-06-2021 , 05:10   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1074

Quote:
Originally Posted by yuzumi View Post
I use SM 1.11-6741 complie 8.87 plugins..
PHP Code:
mutant_tanks/abilities/mt_clone.sp(424) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_clone.sp(855) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_drop.sp(680) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_drop.sp(706) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_drunk.sp(1021) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_item.sp(411) : error 100: function prototypes do not match
mutant_tanks
/abilities/mt_item.sp(802) : error 100: function prototypes do not match 
examples : mt_clone.sp(855)


mutant_tanks.sp(14361)


Complie no error.. Is this change correct?
This is an issue with SM. The dev team will eventually release a fix for this. For now I use 1.11.0.6732 compiler.
__________________
Psyk0tik is offline
ddd123
Senior Member
Join Date: May 2021
Old 09-07-2021 , 01:43   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1075

Hi, i think i found a bug for "throw ability".

"Throw Infected Amount", "Throw Infected Lifetime" and "Throw Infected Remove" are not apply or ignore to tank from summoned throw ability ("Throw Infected Options" "64")
I guessing it only apply to special infecteds but not tanks?
Quote:
"Human Cooldown" "1"
"Ability Enabled" "6"
"Ability Message" "6"
"Throw Infected Amount" "1"
"Throw Infected Lifetime" "3.0"
"Throw Infected Options" "64"
"Throw Infected Remove" "1"
This still make original throw ability tank can still throw more than 1 another tanks and the summoned tank won't die even with a timer or the original throw ability tank is killed. (Also sometime the tank doesn't throw itself maybe?)

Last edited by ddd123; 09-07-2021 at 01:48.
ddd123 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-07-2021 , 02:08   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1076

Quote:
Originally Posted by ddd123 View Post
Hi, i think i found a bug for "throw ability".

"Throw Infected Amount", "Throw Infected Lifetime" and "Throw Infected Remove" are not apply or ignore to tank from summoned throw ability ("Throw Infected Options" "64")
I guessing it only apply to special infecteds but not tanks?


This still make original throw ability tank can still throw more than 1 another tanks and the summoned tank won't die even with a timer or the original throw ability tank is killed. (Also sometime the tank doesn't throw itself maybe?)
I just tested with those settings and got the same result. One thing I do want to point out though is that you didn't provide your value for the "Throw Chance" setting which may be what's causing the Tank to not throw itself sometimes. I set "Throw Chance" to "100.0" and the Tank threw itself all the time. Everything else you reported is valid so I'll work on fixing them. Thanks for the report!
__________________
Psyk0tik is offline
ddd123
Senior Member
Join Date: May 2021
Old 09-07-2021 , 02:27   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1077

Quote:
Originally Posted by Psyk0tik View Post
I just tested with those settings and got the same result. One thing I do want to point out though is that you didn't provide your value for the "Throw Chance" setting which may be what's causing the Tank to not throw itself sometimes. I set "Throw Chance" to "100.0" and the Tank threw itself all the time. Everything else you reported is valid so I'll work on fixing them. Thanks for the report!
Thank you for checking and testing. Looking forward.

Oops, very sorry about forgetting copy paste the "Throw Chance"
Although it's still set to "100.0" but sometime still doesn't throw itself

Correct me if i'm wrong, but i think maybe it doesn't throw itself from Enhancements "Punch Throw (Punch and throw)" and/or rock from "Spam ability" or something. Could you also check it if possible?
ddd123 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-07-2021 , 02:31   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1078

Quote:
Originally Posted by ddd123 View Post
Thank you for checking and testing. Looking forward.

Oops, very sorry about forgetting copy paste the "Throw Chance"
Although it's still set to "100.0" but sometime still doesn't throw itself

Correct me if i'm wrong, but i think maybe it doesn't throw itself from Enhancements "Punch Throw (Punch and throw)" and/or rock from "Spam ability" or something. Could you also check it if possible?
Since it's randomly choosing between throwing itself or throwing a Tank, that could also explain why it doesn't throw itself sometimes. There's also no logic for choosing other options in case the special infected amount is met/exceeded, so if the Tank cannot throw anymore special infected, then it will just throw rocks as usual. I would need to rewrite the logic for the ability to make the Tank throw itself when it cannot throw anymore infected, but that's too much work for such a small feature.
__________________
Psyk0tik is offline
ddd123
Senior Member
Join Date: May 2021
Old 09-07-2021 , 02:36   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1079

Quote:
Originally Posted by Psyk0tik View Post
Since it's randomly choosing between throwing itself or throwing a Tank, that could also explain why it doesn't throw itself sometimes. There's also no logic for choosing other options in case the special infected amount is met/exceeded, so if the Tank cannot throw anymore special infected, then it will just throw rocks as usual. I would need to rewrite the logic for the ability to make the Tank throw itself when it cannot throw anymore infected, but that's too much work for such a small feature.
Ah I see, that's understandable. Thank you for answering!
ddd123 is offline
ddd123
Senior Member
Join Date: May 2021
Old 09-11-2021 , 02:23   Re: [L4D & L4D2] Mutant Tanks (v8.88, 8-10-2021)
Reply With Quote #1080

Hello, it's me again
I just notice about the "heal ability" but how do i remove the glow/outline?
HTML Code:
		"Glow"
		{
			"Glow Enabled"				"0"
		}
I replace all mutant tank to remove Glow(Outline) but for some reason only Tank #28 Healthy Tank still have glow/outline (I'm guessing the ability still activate it?)
Because of this, everyone can see Tank with "Heal Ability" can see through the walls

Last edited by ddd123; 09-11-2021 at 02:26.
ddd123 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 12:48.


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