Raised This Month: $226 Target: $400
 56% 

[L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)


Post New Thread Reply   
 
Thread Tools Display Modes
AlexAlcala
Member
Join Date: May 2019
Location: Perú
Old 04-27-2021 , 13:43   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #981

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



Last edited by AlexAlcala; 04-27-2021 at 13:56. Reason: upload image
AlexAlcala is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 04-27-2021 , 21:37   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #982

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


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.
__________________
AFK like JFK
Crasher_3637 is offline
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 #983

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 #984

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
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 04-30-2021 , 05:07   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #985

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
Crasher_3637 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 #986

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 offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 04-30-2021 , 18:54   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #987

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
Crasher_3637 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 #988

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 #989

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 offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 05-04-2021 , 22:47   Re: [L4D & L4D2] Mutant Tanks (v8.83, 3-31-2021)
Reply With Quote #990

If you aren’t recompiling the plugins then you can use the latest version on 1.10.
__________________
AFK like JFK
Crasher_3637 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 05:05.


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