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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 04-27-2021 , 22:25   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #981

Quote:
Originally Posted by AlexAlcala View Post
Excellent update!

But I don't know if it was made intentional or is it a bug, but every time they make you instant kill "smasher / rocket" the view goes to pos "0, 0, 0"

Sorry for the English


Quote:
Originally Posted by Crasher_3637 View Post
I don't believe MT has anything to do with this bug as I've seen it on some modded servers that don't have MT installed. All the abilities that instantly kill survivors do not teleport players after they die. I noticed that this happens on servers with extra survivors, so maybe the game fails to find a proper target to teleport the camera to, so it teleports you to 0,0,0 instead.

I'm not sure if this bug is related to the camera dropping to the floor and moving away when all survivors are dead.
Can you confirm that this error keeps happening even after placing this stripper fix?
cravenge stripperfix of all campaigns
I have never had this problem and my server has many configurations.
Tonblader is offline
AlexAlcala
Member
Join Date: May 2019
Location: Perú
Old 04-30-2021 , 04:06   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #982

Quote:
Originally Posted by Crasher_3637 View Post
I don't believe MT has anything to do with this bug as I've seen it on some modded servers that don't have MT installed. All the abilities that instantly kill survivors do not teleport players after they die. I noticed that this happens on servers with extra survivors, so maybe the game fails to find a proper target to teleport the camera to, so it teleports you to 0,0,0 instead.

I'm not sure if this bug is related to the camera dropping to the floor and moving away when all survivors are dead.
well, I just checked and it is the "mutant tank" I think it is at the time of changing the "survivor_death_model" I just deactivated the option of "Smash Body" and "Rocket Body", and stopped looking at the "pos 0 0 0 "

sorry for my English

Last edited by AlexAlcala; 04-30-2021 at 04:12. Reason: change text
AlexAlcala is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-30-2021 , 05:07   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #983

Quote:
Originally Posted by AlexAlcala View Post
well, I just checked and it is the "mutant tank" I think it is at the time of changing the "survivor_death_model" I just deactivated the option of "Smash Body" and "Rocket Body", and stopped looking at the "pos 0 0 0 "

sorry for my English
Is there a way to consistently reproduce this bug? I've tried spawning Kamikaze Tanks and letting them instantly kill me. My camera doesn't teleport at 0,0,0.

If the bug is caused by removing the survivor death models, then every plugin that removes death models will cause this bug too. That's why some modded servers without MT also have this bug.
__________________
Psyk0tik is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-30-2021 , 06:26   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #984

I did some tests and seems that [L4D2]Defib Ragdolls plugin is what causes this behaviour.

After some debugging, I found that this part of the code in the plugin above is what is causes the death camera going to 0,0,0 pos.

PHP Code:
public void AttachClient(DataPack hDataPack)
{
    
hDataPack.Reset();
    
int iClient GetClientOfUserId(hDataPack.ReadCell());
    
int iRagdoll EntRefToEntIndex(hDataPack.ReadCell());
    
delete hDataPack;
    
    if(
iClient || !IsClientInGame(iClient) || IsPlayerAlive(iClient))
        return;
    
    if(!
IsValidEntRef(iRagdoll))
        return;
    
    
SetVariantString("!activator");
    
AcceptEntityInput(iClient"SetParent"iRagdoll);

    
//###HERE###  // When this runs the camera goes to 0,0,0
    
TeleportEntity(iClientview_as<float>({0.00.00.0}), NULL_VECTORNULL_VECTOR);
    
//###HERE###  // When this runs the camera goes to 0,0,0

__________________

Last edited by Marttt; 04-30-2021 at 06:42.
Marttt is online now
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-30-2021 , 18:54   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #985

That makes sense. I was really confused with this report since none of those abilities that instantly kill players use any teleportation code.
__________________
Psyk0tik is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 05-04-2021 , 16:10   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #986

hi, what is the last version that works for sourcemod 1:10?
BlackSabbarh is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-04-2021 , 16:22   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #987

I usually change the GetCmdArgInt (SM1.11) to the previous GetCmdArg method to make it compatible with SM1.10. (for me works)

Example below:
Spoiler
__________________

Last edited by Marttt; 05-04-2021 at 16:23.
Marttt is online now
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-04-2021 , 22:47   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #988

If you aren’t recompiling the plugins then you can use the latest version on 1.10.
__________________
Psyk0tik is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 05-10-2021 , 09:05   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #989

Quote:
Originally Posted by Crasher_3637 View Post
If you aren’t recompiling the plugins then you can use the latest version on 1.10.
Sorry to bother you but the mutant_tanks.smx file does not recognize me
Output this in logs
L 05/10/2021 - 07:513: Info (map "c2m2_fairgrounds") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10510.log")
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_absorb.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_acid.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_aimless.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_ammo.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_blind.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_bomb.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_bury.smx": Could not find required plugin "mutant_tanks"
L 05/10/2021 - 07:513: [SM] Unable to load plugin "mt_car.smx": Could not find required plugin "mutant_tanks"

So on
How could I fix it? I am a complete newbie to this, I tried to compile it and it throws errors too

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// mutant_tanks.sp
//
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\mutan t_tanks.sp(356) : error 139: could not find type "DynamicDetour"
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\mutan t_tanks.sp(357) : error 139: could not find type "DynamicDetour"
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\mutan t_tanks.sp(35 : error 139: could not find type "DynamicDetour"
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\mutan t_tanks.sp(365) : error 139: could not find type "DynamicDetour"
//
// Compilation aborted.
// 26 Errors.
//
// Compilation Time: 0.66 sec
// ----------------------------------------

Press enter to exit ...


I am using the Mutant_Tanks-8.83 version
VladimirTk is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 05-10-2021 , 09:17   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #990

I think I managed to get it to work although it also records this:

L 05/10/2021 - 07:51:25: Info (map "c2m2_fairgrounds") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10510.log")
L 05/10/2021 - 07:51:25: [SM] Exception reported: Unable to load the "addons\sourcemod\data\mutant_tanks\mutant_ta nks.cfg" config file.
L 05/10/2021 - 07:51:25: [SM] Blaming: mutant_tanks.smx
L 05/10/2021 - 07:51:25: [SM] Call stack trace:
L 05/10/2021 - 07:51:25: [SM] [0] SetFailState
L 05/10/2021 - 07:51:25: [SM] [1] Line 1705, mutant_tanks.sp::OnPluginStart
L 05/10/2021 - 07:51:25: [SM] Unable to load plugin "mutant_tanks.smx": Error detected in plugin startup (see error logs)
L 05/10/2021 - 07:510: [mapchooser.smx] Unable to create a valid map list.

I don't mean to be annoying

Last edited by VladimirTk; 05-10-2021 at 09:17.
VladimirTk 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 19:51.


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