View Single Post
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 11-22-2018 , 13:15   Re: [TF2] Put Merasmus on Gray Team
Reply With Quote #15

Quote:
Originally Posted by PC Gamer View Post
The version you posted on 21 November didn't work for me. It just changed me into a Sniper without becoming Wizard. However, I really like the addition of the Hellfire doing damage. Thanks for that.

After lots of testing I learned the problem had to do with things happening too fast after the ChangeClientTeam command. So.... I made some changes.

1. Added timers to slow things down a bit on creating Wizard.
2. Removed the code to destroy weapon on death. It took too much overhead to check every entity created in the game for purpose of finding one weapon.

Good News: Plugin works great, except....

Very Bad News: Plugin can cause client to crash to desktop.

Any ideas on how to fix the problem of client crashing to desktop?
This was happening with the Neutral Mode plugin i made, if the player is in the unsassigned team and dies, often it will crash the player and the players near the player which died. From my testing it seems it's caused by the ragdoll, removing the ragdoll before it's transmitted to clients is the best way of preventing the crash.
__________________
My plugins:
*None for now*


Steam:
naydef
Naydef is offline