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

[TF2] 1/7/2015 Update Random Crashes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fearts
ferts of daeth
Join Date: Oct 2008
Old 01-07-2015 , 18:31   [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #1

On a few of my servers (Windows) I'm experiencing some crashes. They are seemingly random and I do notice that the Mayhem glitch is present before the crash. I also notice the Mayhem glitch will appear very shortly after a crash. These are servers where I have never experienced the Mayhem glitch before and I haven't added any new plugins.

I can see the Mayhem glitch is present because Demo grenades will go through the walls and floor.

Is anyone else seeing similar issues?
__________________

Last edited by Fearts; 01-07-2015 at 18:31.
Fearts is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 01-07-2015 , 19:19   Re: [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #2

You were careful to mention this "Mayhem glitch" 4 times.... what is this glitch?
Horsedick is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 01-07-2015 , 19:33   Re: [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #3

Quote:
Originally Posted by Horsedick View Post
You were careful to mention this "Mayhem glitch" 4 times.... what is this glitch?
https://forums.alliedmods.net/showthread.php?t=99819

Here is a thread where I believe the term was first coined.

Basically physics props in the game start to act weird. In TF2 the most noticeable thing you see is all Demo grenades will fall through the floor and walls.
__________________
Fearts is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 01-07-2015 , 19:50   Re: [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #4

I think I found the issue. I needed to update one of my gamedata offsets:

Code:
"Games"
{
    "tf"
    {
        "Offsets"
        {
            "WeaponReset"
            {
                "windows"    "408"
            }
        }
    }
}
__________________
Fearts is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 01-07-2015 , 20:31   Re: [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #5

I believe the Weapon Reset gamedata for windows should be 412 unless it got changed today.
Horsedick is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-08-2015 , 09:30   Re: [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #6

I can only tell you that the current Linux offset for CTFWeaponBase's WeaponReset is 417. No idea how far off Linux CTFWeaponBase offsets are from their Windows versions... most classes are off by one, but that only applies if Valve didn't decide to inline anything.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-08-2015 at 09:31.
Powerlord is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-08-2015 , 09:54   Re: [TF2] 1/7/2015 Update Random Crashes
Reply With Quote #7

Quote:
Originally Posted by Powerlord View Post
but that only applies if Valve didn't decide to inline anything.
Virtual functions cannot be inlined, and most inline-ings are done via the compiler as an optimization, rather than manually.

Differences between offsets in the vtable across compilers are caused by having virtual dtors (this is the +1 on Linux/Mac from Windows, from GCC/Clang adding a second entry for it), function overloads (MSVC reverses the order for these), and multiple inheritance (MSVC creates multiple vtables, GCC/Clang stick it all into one), among possible other factors.
psychonic 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 19:13.


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