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

m_flProgressBarStartTime pre 1.36.3.6 (csgo)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 05-22-2018 , 12:25   m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #1

Prior to 1.36.3.6 (csgo)

We could set props for progress time + duration time, this would spawn a visual defusing bar on the player

PHP Code:
SetEntPropFloat(clientProp_Send"m_flProgressBarStartTime"GetGameTime());
SetEntProp(clientProp_Send"m_iProgressBarDuration"10); 
This no longer works, anyone any idea?

<3
__________________
ImACow is offline
Qes
AlliedModders Donor
Join Date: Jul 2014
Old 06-07-2018 , 07:47   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #2

Did you fix it?

Last edited by Qes; 06-07-2018 at 08:00.
Qes is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 06-17-2018 , 15:32   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #3

I have not
__________________
ImACow is offline
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 06-17-2018 , 15:54   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #4

It works for me?
mug1wara is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 06-19-2018 , 15:57   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #5

on CSGO? do you have a sample plugin?

Can't get it to work
__________________
ImACow is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 06-23-2018 , 09:51   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #6

Try doing a netprop dump. Valve might have changed it to something else or stripped it out.
cravenge is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 08-12-2018 , 08:15   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #7

PHP Code:
Dump of all network properties for "csgo" as at 2018/08/12
Member
m_iProgressBarDuration (offset 9640) (type integer) (bits 5) ()
Memberm_flProgressBarStartTime (offset 9636) (type float) (bits 0) (NoScale
Could someone try if its just me? or all the CS:GO's ?

PHP Code:
#include <sourcemod>

#pragma semicolon 1
#pragma newdecls required

public Plugin myinfo = {
    
name        "",
    
author      "",
    
description "",
    
version     "0.0.0",
    
url         ""
};

public 
void OnPluginStart()
{
    
PrintToServer("Hello, World!");
    
RegAdminCmd("sm_timer"Command_TimerADMFLAG_GENERIC"sm_timer");
    
}



public 
Action Command_Timer(int clientint args)
{
    
SetEntPropFloat(clientProp_Data"m_flProgressBarStartTime"GetGameTime());
    
SetEntProp(clientProp_Data"m_iProgressBarDuration"5);
    
ReplyToCommand(client" [SM] Did it show up?");
    return 
Plugin_Handled;

Attached Files
File Type: sp Get Plugin or Get Source (progressbar.sp - 484 views - 635 Bytes)
__________________
ImACow is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-19-2018 , 08:30   Re: m_flProgressBarStartTime pre 1.36.3.6 (csgo)
Reply With Quote #8

Quote:
Originally Posted by ImACow View Post
PHP Code:
Dump of all network properties for "csgo" as at 2018/08/12
Member
m_iProgressBarDuration (offset 9640) (type integer) (bits 5) ()
Memberm_flProgressBarStartTime (offset 9636) (type float) (bits 0) (NoScale
Could someone try if its just me? or all the CS:GO's ?

PHP Code:
#include <sourcemod>

#pragma semicolon 1
#pragma newdecls required

public Plugin myinfo = {
    
name        "",
    
author      "",
    
description "",
    
version     "0.0.0",
    
url         ""
};

public 
void OnPluginStart()
{
    
PrintToServer("Hello, World!");
    
RegAdminCmd("sm_timer"Command_TimerADMFLAG_GENERIC"sm_timer");
    
}



public 
Action Command_Timer(int clientint args)
{
    
SetEntPropFloat(clientProp_Data"m_flProgressBarStartTime"GetGameTime());
    
SetEntProp(clientProp_Data"m_iProgressBarDuration"5);
    
ReplyToCommand(client" [SM] Did it show up?");
    return 
Plugin_Handled;

Blaming: progressbar.smx
L 08/19/2018 - 20:27:58: [SM] Call stack trace:
L 08/19/2018 - 20:27:58: [SM] [0] SetEntPropFloat
L 08/19/2018 - 20:27:58: [SM] [1] Line 25, /home/forums/content/files/2/5/8/2/3/3/170914.attach::Command_Timer
L 08/19/2018 - 20:298: [SM] Exception reported: Property "m_flProgressBarStartTime" not found (entity 2/player)
__________________
8guawong is offline
Reply


Thread Tools
Display Modes

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 09:06.


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