Raised This Month: $ Target: $400
 0% 

VSH VSH, old thread (v1.42) - Information/etc.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
deltadude
SourceMod Donor
Join Date: Mar 2010
Old 12-07-2012 , 17:11   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3601

L 12/07/2012 - 16:10:02: [SM] Plugin encountered error 14: Divide by zero
L 12/07/2012 - 16:10:02: [SM] Displaying call stack trace for plugin "saxtonhale.smx":
L 12/07/2012 - 16:10:02: [SM] [0] Line 3242, C:\sourcemod\saxtonhale.sp::HaleTimer()
Having crashes every few hours with this error.
__________________
deltadude is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-09-2012 , 00:07   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3602

That's either due to
Code:
    new Float:speed = HaleSpeed + 0.7 * (100 - HaleHealth * 100 / HaleHealthMax);
or
Code:
    if (HaleRage/RageDMG >= 1)
I think. RageDMG is controlled by a cvar that you shouldn't be setting to 0, and HaleHealthMax should never ever be 0 unless you've tried setting invalid values to something.

I'm going to need more information.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
lionheart1066
Senior Member
Join Date: Aug 2009
Old 12-09-2012 , 11:51   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3603

I was wondering if there was a way to prevent players from suiciding while raged. Because we have this issue on our server with people being annoying scouts and whenever Hale decides to rage to kill them they think its best to kill themselves.

I'm also in the progress of remaking warebloom, here's a screenshot of the only area thats finished atm imo.

http://steamcommunity.com/sharedfile.../?id=112327793

Last edited by lionheart1066; 12-09-2012 at 14:11.
lionheart1066 is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 12-09-2012 , 14:37   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3604

You can install a plugin that blocks "kill/explode" but if hale does not want to be hale, which happens still way to often. He cannot kill himself.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
deltadude
SourceMod Donor
Join Date: Mar 2010
Old 12-09-2012 , 23:10   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3605

Is there a way to disable super jump for vsh? - running deathrun.
__________________
deltadude is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-10-2012 , 02:03   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3606

There's a deathrun plugin out, I believe.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 12-10-2012 , 12:59   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3607

Quote:
Originally Posted by lionheart1066 View Post
I was wondering if there was a way to prevent players from suiciding while raged. Because we have this issue on our server with people being annoying scouts and whenever Hale decides to rage to kill them they think its best to kill themselves.
This will block people killing themselves when raged.

PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <tf2>

public Plugin:myinfo 
{
    
name "[VSH/FF2] Block sucides when raged.",
    
author "Adjo",
    
description "Blocks kill and explode command when the client is under the rage effect.",
    
version "1.0",
}

public 
OnPluginStart()
{
    
AddCommandListener(Command_Kill"kill");
    
AddCommandListener(Command_Kill"explode");
}

public 
Action:Command_Kill(client, const String:command[], argc)
{
    if(
client == 0)
        return 
Plugin_Continue;

    new 
stunFlags GetEntProp(clientProp_Send"m_iStunFlags");
    if(
stunFlags == TF_STUNFLAGS_GHOSTSCARE TF_STUNFLAG_NOSOUNDOREFFECT)return Plugin_Handled;
    else return 
Plugin_Continue;

Attached Files
File Type: sp Get Plugin or Get Source (blockragekill.sp - 225 views - 704 Bytes)
Adjo is offline
deltadude
SourceMod Donor
Join Date: Mar 2010
Old 12-10-2012 , 17:38   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3608

Quote:
Originally Posted by FlaminSarge View Post
There's a deathrun plugin out, I believe.
yah i found it, just not very well made quite yet.
__________________

Last edited by deltadude; 12-10-2012 at 17:50.
deltadude is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 12-10-2012 , 17:50   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3609

Quote:
Originally Posted by deltadude View Post
yah im not able to find it : /
http://lmgtfy.com/?q=alliedmodders+deathrun+tf2
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
deltadude
SourceMod Donor
Join Date: Mar 2010
Old 12-10-2012 , 18:13   Re: VS Saxton Hale Mode, main thread (current v1.40)
#3610

Quote:
Originally Posted by MasterOfTheXP View Post
as i posted i found it, i thought it was a vsh plugin version.


Seems you post alot of useful posts thanks for your contribution!...
__________________

Last edited by deltadude; 12-10-2012 at 18:15.
deltadude is offline
Closed Thread



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:43.


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