Raised This Month: $51 Target: $400
 12% 

sourceMM sourcemod crashes servers after update? *fixed now FYI


Post New Thread Reply   
 
Thread Tools Display Modes
[AiF] Biggs
Member
Join Date: Jan 2008
Location: Statesboro, GA
Old 04-30-2008 , 02:12   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #21

Edit- Nevermind, the sourcemod.vdf was missing. >.<

Last edited by [AiF] Biggs; 04-30-2008 at 02:42.
[AiF] Biggs is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 04-30-2008 , 02:30   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #22

Where is this update? I can only find 1.6.1.671. I downloaded the zip that's on the download page just to be sure, and meta version says "1.6.1.671" Compiled on: Feb 25 2008
As far as testing, just sm_slap someone, that would normally be instant crash and segfault.

Last edited by ratty; 04-30-2008 at 02:43.
ratty is offline
Sazpaimon
Member
Join Date: Apr 2008
Old 04-30-2008 , 02:44   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #23

confirming sm_slap is crashing, sm_burn also crashes my TF2 server
Sazpaimon is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 04-30-2008 , 02:46   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #24

Almost no mods work now. No 3rd party mods. Not all crits, etc. Nothing.
Maybe a new version of SM will let the compiler make them work?
Cooltad is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 04-30-2008 , 02:48   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #25

If you're using snapshot builds, then this should be fixed already. Build 2108 for 1.0 branch and 2109 for 1.1. But it appears Linux builds are currently down as of this post.

Replace these files in your addons/sourcemod/gamedata folder.

Snapshots:
sdktools.games.ep2.txt
sm-tf2.games.txt

1.0.0 Release:
sdktools.games.ep2.txt
__________________
エル・プサイ・コングルゥ
DS is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 04-30-2008 , 02:51   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #26

^^ That should fix broken plugins with re-compiling them, I assume?
Cooltad is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 04-30-2008 , 02:58   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #27

There's no need to re-compile anything.
__________________
エル・プサイ・コングルゥ
DS is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-30-2008 , 03:01   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #28

Please read the changelog, it has good info that may help you know what Damaged fixed....

http://www.sourcemod.net/changelog.php
__________________

DontWannaName is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 04-30-2008 , 03:05   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #29

Woot, finally the magic pill to fix it all. Works great now!

Last edited by ratty; 04-30-2008 at 03:18.
ratty is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 04-30-2008 , 03:16   Re: sourceMM sourcemod crashes servers after update?
Reply With Quote #30

Could someone fix this? ven re-compiled it does not work. The rest of my mods work, however. =D

Code:
#include <sourcemod>
#include <tf2>

new Handle:crits = INVALID_HANDLE;
new Handle:chance = INVALID_HANDLE;

#define PLUGIN_VERSION "0.1"

public Plugin:myinfo = 
{
    name = "SM Crits chance",
    author = "pRED*",
    description = "Change critical hit %",
    version = PLUGIN_VERSION,
    url = "http://www.sourcemod.net/"
};

public OnPluginStart()
{
    crits = CreateConVar("sm_crits_enabled", "1");
    chance = CreateConVar("sm_crits_chance", "1.00");
    
    CreateConVar("sm_crits_version", PLUGIN_VERSION, "Crits Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
}


public Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result)
{
    if (!GetConVarBool(crits))
    {
        return Plugin_Continue;    
    }
    
    if (GetConVarFloat(chance) > GetRandomFloat(0.0, 1.0))
    {
        result = true;
        return Plugin_Handled;    
    }
    
    result = false;
    
    return Plugin_Handled;
}
I'm pretty sure it's just one thing that needs to be fixed. Its for all critical hits. I would return the favor in some way if someone fixed it. ^_^
Cooltad 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 07:59.


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