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

[TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)


Post New Thread Reply   
 
Thread Tools Display Modes
tobi23
New Member
Join Date: May 2019
Old 05-29-2019 , 08:01   Re: [TF2] Yet Another Dodgeball Plugin v1.3.8 (1/19/2019)
Reply With Quote #71

Hello, I am having an issue with how the rocket visibly looks. It has a glow or a shine to it that I was hoping could be removed. Thank you
tobi23 is offline
cigzag
AlliedModders Donor
Join Date: Nov 2014
Location: NZ
Old 06-04-2019 , 06:01   Re: [TF2] Yet Another Dodgeball Plugin v1.3.8 (1/19/2019)
Reply With Quote #72

Quote:
Originally Posted by tobi23 View Post
Hello, I am having an issue with how the rocket visibly looks. It has a glow or a shine to it that I was hoping could be removed. Thank you
Woops, forgot to remove that before release, it shall be removed.

EDIT: Updated github

Last edited by cigzag; 06-04-2019 at 06:47.
cigzag is offline
Loltoez4U
New Member
Join Date: Jul 2019
Old 07-12-2019 , 08:43   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #73

Hi, whenever I type tf_dodgeball_enabled in the console it saids "Enable Dodgeball on tfdb maps?"
and I type in number 1. but it saids its a unknown command can you tell me what to type in?
Loltoez4U is offline
TheLoki
New Member
Join Date: Sep 2019
Old 09-23-2019 , 08:25   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #74

Hi guys,

i am trying to fix this issue, but for some reason i cannot handle it.

Code:
L 09/23/2019 - 14:22:48: [tf2_dodgeball.smx] Executing configuration file addons\sourcemod\configs\dodgeball\general.cfg
L 09/23/2019 - 14:22:48: [tf2_dodgeball.smx] Executing configuration file addons\sourcemod\configs\dodgeball\tfdb_indoor_tennis_final.cfg
L 09/23/2019 - 14:22:48: [SM] Exception reported: No rocket class defined.
L 09/23/2019 - 14:22:48: [SM] Blaming: tf2_dodgeball.smx
L 09/23/2019 - 14:22:48: [SM] Call stack trace:
L 09/23/2019 - 14:22:48: [SM]   [0] SetFailState
L 09/23/2019 - 14:22:48: [SM]   [1] Line 714, tf2_dodgeball.sp::EnableDodgeBall
L 09/23/2019 - 14:22:48: [SM]   [2] Line 331, tf2_dodgeball.sp::OnConfigsExecuted
TheLoki is offline
Mejilla
Junior Member
Join Date: Oct 2019
Old 11-07-2019 , 19:33   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #75

Quote:
L 11/08/2019 - 00:27:56: [tf2_dodgeball.smx] Executing configuration file addons/sourcemod/configs/dodgeball/general.cfg
L 11/08/2019 - 00:27:56: [tf2_dodgeball.smx] Executing configuration file addons/sourcemod/configs/dodgeball/tfdb_amazon_b1.cfg
L 11/08/2019 - 00:27:56: [SM] Exception reported: No rocket class defined.
L 11/08/2019 - 00:27:56: [SM] Blaming: tf2_dodgeball.smx
L 11/08/2019 - 00:27:56: [SM] Call stack trace:
L 11/08/2019 - 00:27:56: [SM] [0] SetFailState
L 11/08/2019 - 00:27:56: [SM] [1] Line 714, tf2_dodgeball.sp::EnableDodgeBall
L 11/08/2019 - 00:27:56: [SM] [2] Line 331, tf2_dodgeball.sp::OnConfigsExecuted
i keep getting this issue as well.
__________________
Mejilla is offline
Nightmare Pyro
Member
Join Date: Mar 2020
Location: Cedar Falls
Old 04-01-2020 , 01:01   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #76

Hey, I love your plugin! But I got this error. and I try what you said on page 3 or 4, and nothing change.

L 03/31/2020 - 23:58:56: SourceMod error session started
L 03/31/2020 - 23:58:56: Info (map "tfdb_anotherbox_v2") (file "g:\tf2 server manages\servers\db kpg\server\tf\addons\sourcemod\logs\errors_20 200331.log")
L 03/31/2020 - 23:58:56: [tf2attributes.smx] Could not initialize call to CEconItem::SetCustomName
L 03/31/2020 - 23:59:01: [SM] Exception reported: No rocket class defined.
L 03/31/2020 - 23:59:01: [SM] Blaming: tf2_dodgeball.smx
L 03/31/2020 - 23:59:01: [SM] Call stack trace:
L 03/31/2020 - 23:59:01: [SM] [0] SetFailState
L 03/31/2020 - 23:59:01: [SM] [1] Line 714, tf2_dodgeball.sp::EnableDodgeBall
L 03/31/2020 - 23:59:01: [SM] [2] Line 331, tf2_dodgeball.sp::OnConfigsExecuted
Nightmare Pyro is offline
cjieliang
Member
Join Date: Apr 2014
Old 04-25-2020 , 15:08   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #77

I am wondering if someone could re-code the pyrovision feature so that players can toggle the pyrovision.

Some players on the server used custom trails and it affected them.
cjieliang is offline
Spoiper
Junior Member
Join Date: Apr 2020
Old 06-06-2020 , 06:12   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #78

Camera randomly flicks?
dunno what causes it
Spoiper is offline
jawwadbr
New Member
Join Date: Jul 2020
Old 07-24-2020 , 09:16   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #79

Quote:
Originally Posted by Spoiper View Post
Camera randomly flicks?
dunno what causes it
Don't know if I can post, but I have the same problem. When you get close to a wall your camera just randomly flicks. Any fix ?

In the console I'm receiving this

"DataTable warning: player: Out-of-range value (322.610565/90.000000) in SendPropFloat 'm_angEyeAngles[0]', clamping."

Last edited by jawwadbr; 07-24-2020 at 09:28.
jawwadbr is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-08-2020 , 01:14   Re: [TF2] Yet Another Dodgeball Plugin v1.4.1 (1/19/2019)
Reply With Quote #80

Quote:
Originally Posted by Spoiper View Post
Camera randomly flicks?
dunno what causes it
Quote:
Originally Posted by jawwadbr View Post
Don't know if I can post, but I have the same problem. When you get close to a wall your camera just randomly flicks. Any fix ?

In the console I'm receiving this

"DataTable warning: player: Out-of-range value (322.610565/90.000000) in SendPropFloat 'm_angEyeAngles[0]', clamping."
The author forgot to filter out other entities when hooking entities to OnStartTouch and OnTouch. This caused the RocketBounce code to affect ALL entities, including players.

I changed this:

PHP Code:
public void OnEntityCreated(int entity, const char[] classname)
{
    if (!
g_bMapIsTFDB && !StrEqual(classname"tf_projectile_rocket"false))
        return;

    if (
StrEqual(classname"tf_projectile_rocket") || StrEqual(classname"tf_projectile_sentryrocket"))
    {
        if (
IsValidEntity(entity))
        {
            
SetEntPropEnt(entityProp_Send"m_hOriginalLauncher"entity);
            
SetEntPropEnt(entityProp_Send"m_hLauncher"entity);
        }
    }

    
g_nBounces[entity] = 0;
    
SDKHook(entitySDKHook_StartTouchOnStartTouch);

To this:

PHP Code:
public void OnEntityCreated(int entity, const char[] classname)
{
    if (!
g_bMapIsTFDB && !StrEqual(classname"tf_projectile_rocket"false))
        return;

    if (
StrEqual(classname"tf_projectile_rocket") || StrEqual(classname"tf_projectile_sentryrocket"))
    {
        if (
IsValidEntity(entity))
        {
            
SetEntPropEnt(entityProp_Send"m_hOriginalLauncher"entity);
            
SetEntPropEnt(entityProp_Send"m_hLauncher"entity);

            
g_nBounces[entity] = 0;
            
SDKHook(entitySDKHook_StartTouchOnStartTouch);
        }
    }

That should fix the random camera flicks.
Attached Files
File Type: sp Get Plugin or Get Source (tf2_dodgeball.sp - 105 views - 105.0 KB)
__________________
Psyk0tik 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 20:15.


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