Raised This Month: $ Target: $400
 0% 

New Tf2 update crashing?


Post New Thread Reply   
 
Thread Tools Display Modes
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-22-2009 , 00:59   Re: New Tf2 update crashing?
Reply With Quote #21

Fyren fixed it but its not compiling.
__________________

DontWannaName is offline
rlshky
Member
Join Date: Mar 2009
Location: San Diego
Old 04-22-2009 , 03:56   Re: New Tf2 update crashing?
Reply With Quote #22

So for me it was definitly RTD. Just having it on the server was causing it to crash when a medic would heal anyone. I actally have it set off through the cvar by default but once I completely removed it from the server things seemed to work normally.
rlshky is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-22-2009 , 08:14   Re: New Tf2 update crashing?
Reply With Quote #23

Still not sure exactly what the issue is with the crits. There's something different going on that what pred and I originally thought.
Fyren is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 04-22-2009 , 10:21   Re: New Tf2 update crashing?
Reply With Quote #24

I norrowed it down to pred's crit plugin for my server too, so it must be something that that plugin calls that's broken with the medigun in the new update.
Jamster is offline
russell99ky
Member
Join Date: Apr 2008
Old 04-22-2009 , 10:52   Re: New Tf2 update crashing?
Reply With Quote #25

Also the crashes are only on windows servers and it is just the Crit Mod not the RTD mod, I have Disabled Medic and still have RTD working with no Crashes.
russell99ky is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 04-22-2009 , 11:51   Re: New Tf2 update crashing?
Reply With Quote #26

RTD uses the same code as pred's crit calc.
__________________
pheadxdll is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 04-22-2009 , 12:39   Re: New Tf2 update crashing?
Reply With Quote #27

Hum Interesting. Well crits in RTD dont work anyways so, ill see if removing that code fixes it.


EDIT: Yeah I just tested it, if anyone wants a quick fix for their rtd plugin or any plugin that uses the crit code for that matter, just remove the TF2_CalcIsAttackCritical section and if its RTD, DISABLE the crits roll! Itll stop the crashes.


Code:
public Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result)
{
        if(pluginInUse && PlayerCrits && client == PlayerUsing)
        {
                result = true;
        }
    
    return Plugin_Continue;
}

Last edited by retsam; 04-22-2009 at 13:10.
retsam is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 04-22-2009 , 13:30   Re: New Tf2 update crashing?
Reply With Quote #28

So we can conclude that TF2_CalcIsAttackCritical is broken with the latest update with the medigun.
Jamster is offline
Kenny Loggins
SourceMod Donor
Join Date: Jun 2008
Location: Rochester, MN
Old 04-22-2009 , 15:23   Re: New Tf2 update crashing?
Reply With Quote #29

Quote:
Originally Posted by retsam View Post
Hum Interesting. Well crits in RTD dont work anyways so, ill see if removing that code fixes it.


EDIT: Yeah I just tested it, if anyone wants a quick fix for their rtd plugin or any plugin that uses the crit code for that matter, just remove the TF2_CalcIsAttackCritical section and if its RTD, DISABLE the crits roll! Itll stop the crashes.


Code:
public Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result)
{
        if(pluginInUse && PlayerCrits && client == PlayerUsing)
        {
                result = true;
        }
 
    return Plugin_Continue;
}
Great find! Thank you
__________________

Server Admin / Leader
ClanAO.com
Kenny Loggins is offline
FredJed223
Senior Member
Join Date: Feb 2008
Old 04-22-2009 , 18:25   Re: New Tf2 update crashing?
Reply With Quote #30

I posted a fixed version of the RTD plugin in its thread for those interested.


It is 100 % working, also some other issues fixed...


http://forums.alliedmods.net/showpos...&postcount=203
FredJed223 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 06:42.


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