AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Timeleft in Hostname (Scoreboard support) (https://forums.alliedmods.net/showthread.php?t=94338)

xPaw 06-10-2009 04:19

Timeleft in Hostname (Scoreboard support)
 
2 Attachment(s)
Hostname Timeleft
Scoreboard support
By xPaw

.: Description :.
Adds the remaining time in h:m:s format to the host name (updated every second). Updates also in players scoreboard, you just can leave it opened and it will update in live time
.: Cvars :.
sv_hostname_timeleft 0/1 - enable/disable plugin (need maprestart) (default: 1)
sv_hostname_style 1-5 - style of showing timeleft (default: 3)
  1. Style 1:
    Code:

    hostname (Timeleft: 35:20)
    hostname (No timelimit)

  2. Style 2, 4:
    Code:

    hostname (35:20)
    hostname (--:--)

  3. Style 3, 5:
    Code:

    (35:20) hostname
    (--:--) hostname

Styles 4, 5 means what they will be updated only in scoreboard but not in favourites!
.: Screenshots :.
http://i39.tinypic.com/n5r8gl.png

http://i40.tinypic.com/2r7xdh1.png

http://i41.tinypic.com/esoi75.png
.: Credits :.
  • pizzahut - Original timeleft in hostname plugin.

Check this post if you want to use ScoreBoard Title plugin with this.

zacky 06-10-2009 04:22

Re: Timeleft in Hostname (Scoreboard support)
 
Nice plugin :P
Would +karma you if they didnt remove karma system ^^

Kryzu 06-10-2009 04:31

Re: Timeleft in Hostname (Scoreboard support)
 
Nice JOB!

Works great. I like style 3:)


Unfortunately i cannot give +karma:D

hcxx 06-10-2009 05:02

Re: Timeleft in Hostname (Scoreboard support)
 
wow nice :). maybe there is a way to but a clock there ? :P

xbatista 06-10-2009 06:08

Re: Timeleft in Hostname (Scoreboard support)
 
godlike! yes that would be cool if you add a cvar for a time, I know it's a timeleft plugin,but if you can add a time ,it would be awesome :]p

Jay-izi 06-10-2009 06:14

Re: Timeleft in Hostname (Scoreboard support)
 
Gj! I will use your plugin :)

alan_el_more 06-10-2009 07:34

Re: Timeleft in Hostname (Scoreboard support)
 
As always, xPaw delights us with your plugins...GOOD WORK!

crazyeffect 06-10-2009 08:32

Re: Timeleft in Hostname (Scoreboard support)
 
Cool :D

Love it :D

+karma

joaquimandrade 06-10-2009 11:10

Re: Timeleft in Hostname (Scoreboard support)
 
Very nice!

sila 06-13-2009 10:36

Re: Timeleft in Hostname (Scoreboard support)
 
This is just great. Could u make sv_hostname_timeleft 2 for the clock. Like say thetime, hostname (20:21:00) but (20:21) .


Can u make that sv_hostname_style 4 and 5 , that will show only at scoreboard not in favorites too??

xPaw 06-13-2009 11:12

Re: Timeleft in Hostname (Scoreboard support)
 
Quote:

Originally Posted by sila (Post 847990)
This is just great. Could u make sv_hostname_timeleft 2 for the clock. Like say thetime, hostname (20:21:00) but (20:21) .

Didnt added since its other type of plugin..
Quote:

Originally Posted by sila (Post 847990)
Can u make that sv_hostname_style 4 and 5 , that will show only at scoreboard not in favorites too??

Done. watch main post how it works :)

CuLLi 06-14-2009 03:21

Re: Timeleft in Hostname (Scoreboard support)
 
great russian plugin. :D

Because time is decreasing i use this (-2:25).

xPaw 06-14-2009 03:38

Re: Timeleft in Hostname (Scoreboard support)
 
Huh? o.O

sila 06-15-2009 11:10

Re: Timeleft in Hostname (Scoreboard support)
 
Dude, u are just awesome. Can u make another plugin like this but for clock? XD

So we have 2 plugins. (thetime) Hostname (timeleft) :D

sila 06-15-2009 11:14

Re: Timeleft in Hostname (Scoreboard support)
 
http://i40.tinypic.com/2r7xdh1.png

How u have that girl in scoreboard? :shock:

CuLLi 06-15-2009 11:17

Re: Timeleft in Hostname (Scoreboard support)
 
that is fake girl, steam only avatar. :D

sila 06-15-2009 11:29

Re: Timeleft in Hostname (Scoreboard support)
 
I have STEAM, but i never saw something like that. :)

xPaw 06-15-2009 12:56

Re: Timeleft in Hostname (Scoreboard support)
 
Its avatar guys... -_-

KadiR 06-15-2009 14:13

Re: Timeleft in Hostname (Scoreboard support)
 
just change your screen resolution :D

sila 06-16-2009 00:27

Re: Timeleft in Hostname (Scoreboard support)
 
Quote:

Originally Posted by KadiR (Post 849628)
just change your screen resolution :D

Yeah. Pic is too tiny, that girl needs more food per day to eat. :)

AntiBots 06-16-2009 17:37

Re: Timeleft in Hostname (Scoreboard support)
 
an Ent take less CPU than a task?

Also for hostname in the ScoreTable you can use from Fakemeta. FM_UpdateClientData

xPaw 06-16-2009 17:41

Re: Timeleft in Hostname (Scoreboard support)
 
Ouch its more massive than 1.0 delay may overflow user?Oo

AntiBots 06-16-2009 18:01

Re: Timeleft in Hostname (Scoreboard support)
 
Quote:

Originally Posted by xPaw (Post 850431)
Ouch its more massive than 1.0 delay may overflow user?Oo

No, You check: pev(id, pev_button) & IN_SCORE)

TandborsteN 06-17-2009 14:47

Re: Timeleft in Hostname (Scoreboard support)
 
This plugin is really nice :D

crazyeffect 06-18-2009 06:13

Re: Timeleft in Hostname (Scoreboard support)
 
It is here for 8 days and you notice it now??

MmikiM 07-01-2009 09:08

Re: Timeleft in Hostname (Scoreboard support)
 
huh, crashing server after 2 min...

crazyeffect 07-01-2009 09:32

Re: Timeleft in Hostname (Scoreboard support)
 
Got any error logs?

xPaw 07-01-2009 09:33

Re: Timeleft in Hostname (Scoreboard support)
 
Lol ?O.o i was running this plugin on pub (32 players) and fine xD

GmTx 07-01-2009 10:39

Re: Timeleft in Hostname (Scoreboard support)
 
Rely JG i looking for this thanks

OGthc 07-25-2009 21:23

Re: Timeleft in Hostname (Scoreboard support)
 
Nice working perfect in my sev-Hl servers. Thanks!
Color doesnt work though, maby not supported in hl engine?

Hawk552 08-14-2009 16:08

Re: Timeleft in Hostname (Scoreboard support)
 
This plugin is well done.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.

Kabuto 09-04-2009 09:44

Re: Timeleft in Hostname (Scoreboard support)
 
Good plugin!! xPaw is best! xD

N!ghtmare 09-05-2009 19:34

Re: Timeleft in Hostname (Scoreboard support)
 
Nice plugin!
But, is here any way to have in Friend list this style: (Timeleft: XX:XX) and in scoreboard this: (XX:XX)??

Because name of my server is very long and in scoreboard left only 6 words for server name:(

xPaw 09-06-2009 02:56

Re: Timeleft in Hostname (Scoreboard support)
 
Quote:

Originally Posted by N!ghtmare (Post 924352)
Nice plugin!
But, is here any way to have in Friend list this style: (Timeleft: XX:XX) and in scoreboard this: (XX:XX)??

Because name of my server is very long and in scoreboard left only 6 words for server name:(

Its already like that :/

N!ghtmare 10-01-2009 18:08

Re: Timeleft in Hostname (Scoreboard support)
 
Quote:

Originally Posted by xPaw (Post 924595)
Its already like that :/

Really?
so where's CVAR for this:

In scoreboard:
(00:00) Hostname

And In Favourites:
Hostname (Timeleft: 00:00)

(at once)



Thanks

xPaw 10-02-2009 00:27

Re: Timeleft in Hostname (Scoreboard support)
 
Yes

N!ghtmare 10-02-2009 09:32

Re: Timeleft in Hostname (Scoreboard support)
 
Quote:

Originally Posted by xPaw (Post 949761)
Yes

Yes? WHat is it?
I asked for CVAR, lol
because u do not have a cvar for both at once.
In Favourites Hostname (Timeleft: XX:XX)
and on scoreboard (XX:XX) Hostname!
On the same server! ... hehe

xPaw 01-08-2010 12:13

Re: Timeleft in Hostname (Scoreboard support)
 
For adding ScoreBoard Title support you need to replace line 23:
Code:
g_pointerHostname   = get_cvar_pointer( "hostname" ); // to this g_pointerHostname   = get_cvar_pointer( "scoreboard_title" );

adoshka 03-05-2010 01:54

Re: Timeleft in Hostname (Scoreboard support)
 
how can i make this on my server? banner in nick http://s48.radikal.ru/i122/1003/eb/de1b018e89ff.jpg

DarkGod 03-05-2010 04:15

Re: Timeleft in Hostname (Scoreboard support)
 
Use at least 1024 x 768 resolution (I believe).


All times are GMT -4. The time now is 15:00.

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