Raised This Month: $9 Target: $400
 2% 

[L4D & L4D2] Mutant Tanks (v8.89, 9-11-2021)


Post New Thread Reply   
 
Thread Tools Display Modes
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 04-27-2021 , 23: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 , 05: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 05:12. Reason: change text
AlexAlcala is offline
Psyk0tik
AlliedModders Donor
Join Date: May 2012
Location: Homeless
Old 04-30-2021 , 06: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.
__________________
AFK like JFK
--
Donate to Motivate
--
Get latest L4D/L4D2 gamedata signatures here.
--
PM me if you need help with finding signatures and/or offsets in the following games: L4D1&2/CSGO/TF2/NMRIH/INS/DODS/CSS/HL2DM
Psyk0tik is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-30-2021 , 07: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 07:42.
Marttt is offline
Psyk0tik
AlliedModders Donor
Join Date: May 2012
Location: Homeless
Old 04-30-2021 , 19: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.
__________________
AFK like JFK
--
Donate to Motivate
--
Get latest L4D/L4D2 gamedata signatures here.
--
PM me if you need help with finding signatures and/or offsets in the following games: L4D1&2/CSGO/TF2/NMRIH/INS/DODS/CSS/HL2DM
Psyk0tik is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 05-04-2021 , 17: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 , 17: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 17:23.
Marttt is offline
Psyk0tik
AlliedModders Donor
Join Date: May 2012
Location: Homeless
Old 05-04-2021 , 23: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.
__________________
AFK like JFK
--
Donate to Motivate
--
Get latest L4D/L4D2 gamedata signatures here.
--
PM me if you need help with finding signatures and/or offsets in the following games: L4D1&2/CSGO/TF2/NMRIH/INS/DODS/CSS/HL2DM
Psyk0tik is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 05-10-2021 , 10: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 , 10: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 10: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 15:47.


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