This site is a testing version, but all data is shared with the live forum.


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

Advanced c4 timer


Post New Thread Reply   
 
Thread Tools Display Modes
Falco
SourceMod Donor
Join Date: Dec 2004
Location: CANADA
Old 08-23-2007 , 15:12   Re: Advanced c4 timer
Reply With Quote #51

Quote:
Originally Posted by GriMz View Post
how would one go about extracting the overwatch and metropolice sounds so as to be able to alter the code to use those? can that be done somehow? I myself always liked the female voice with green text only in the chat area, was less distracting.
What GriMz says, also it does not require client to download sounds. Currently using ES cheapbombtimer that is able to do this.
__________________
[DmZ|EPSILON CSS 70.75.139.92:27016
[DmZ|EPSILON GG 70.75.167.30:27015
[DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
[DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
[DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
www.dmzepsilon.ca
----------------------
Falco is offline
dA.oOZe
Member
Join Date: Aug 2007
Location: Near Hamburg, Germany
Old 08-23-2007 , 16:14   Re: Advanced c4 timer
Reply With Quote #52

Tested some de_ rounds. Timer now seems to work as expected.

Great work, dalto. Thank you.
dA.oOZe is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 08-25-2007 , 12:45   Re: Advanced c4 timer
Reply With Quote #53

tested- works right! =)

2 Dalto: can you split text and sound counting?

explanation: i use sounds for 30-20-10-5-4-3-2-1 ticks but i need a text for 10-9-8-7-6-etc ticks...

=) thanks
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 08-30-2007 , 06:43   Re: Advanced c4 timer
Reply With Quote #54

Our modded version of Advanced c4 timer:

Quote:
1.3.1 * Option "5. Exit" removed, because "0. Exit" already exist. By LobioN
1.3.2 * Bomb text messages moved to configs/c4msglist.cfg. By LobioN
1.3.3 * Bomb texts and sounds are moved both to the config file configs/c4settings.cfg. By LobioN
1.3.4 * Fixed infinite loop for Bomb counting. By LobioN
translation file name changed to standard advancedc4timer.phrases.txt
Attached Files
File Type: cfg c4settings.cfg (989 Bytes, 362 views)
File Type: txt advancedc4timer.phrases.txt (755 Bytes, 368 views)
File Type: smx advancedc4timer.smx (7.5 KB, 249 views)
File Type: sp Get Plugin or Get Source (advancedc4timer.sp - 737 views - 15.5 KB)
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws

Last edited by imported_Anth0ny; 09-03-2007 at 07:17.
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 09-02-2007 , 02:11   Re: Advanced c4 timer
Reply With Quote #55

Why sounds of a bomb and an inscription on the middle 30, 20, 10, 9, 8...... Proceed in a new round? Correct please.
__________________
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
dalto
Veteran Member
Join Date: Jul 2007
Old 09-02-2007 , 02:14   Re: Advanced c4 timer
Reply With Quote #56

Quote:
Originally Posted by Kaschenko View Post
Why sounds of a bomb and an inscription on the middle 30, 20, 10, 9, 8...... Proceed in a new round? Correct please.
Did this start happening after a sourcemod upgrade?
dalto is offline
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 09-02-2007 , 02:41   Re: Advanced c4 timer
Reply With Quote #57

Quote:
Originally Posted by dalto View Post
Did this start happening after a sourcemod upgrade?
yes
__________________
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-02-2007 , 05:17   Re: Advanced c4 timer
Reply With Quote #58

hmmm... we use our version of c4 plugin (1.3.3) and found a similar problem.
ok, we revert for test to original version and ... oh, no! we have this problem again!

what's wrong with SM?
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-02-2007 , 05:33   Re: Advanced c4 timer
Reply With Quote #59

posted to bug report...
http://bugs.alliedmods.net/index.php...ls&task_id=893
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-03-2007 , 07:15   Re: Advanced c4 timer
Reply With Quote #60

our version (FIXED)
post with modded plugin updated.
current version of modded plugin: 1.3.4

FIX: counting stops right after bomb defused or new round started.

FIX comment:

1. Added a new event "Round End":

Code:
HookEvent("round_end", EventRoundEnd, EventHookMode_PostNoCopy); // Line 141
2. Added new procedure for Round End, this check bomb timer after Round ends and if timer still active - KILL it.

Code:
public EventRoundEnd(Handle:event, const String:name[], bool:dontBroadcast)
 {
 	if (hTimer != INVALID_HANDLE)
 	{
 		KillTimer(hTimer);
 		hTimer = INVALID_HANDLE;
 	}
 }
3. At the EventRoundStart() procedure has added new code (marked as "!"), used like Round End . At round begin it check timer: if counting still active - KILL uit.

Code:
// Initializations to be done at the beginning of the round
 public EventRoundStart(Handle:event, const String:name[], bool:dontBroadcast)
 {
 !	if (hTimer != INVALID_HANDLE)
 !	{
 !		KillTimer(hTimer);
 !		hTimer = INVALID_HANDLE;
 !	}
 
 
 !	hTimer = INVALID_HANDLE;
 	// Save user settings to a file
 	KvRewind(g_kvC4);
 	KeyValuesToFile(g_kvC4, g_filenameC4);
 	if(IsValidHandle(hTimer))
 	{
 		CloseHandle(hTimer);
 	}
 }
Please test it and report bugs.
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws

Last edited by imported_Anth0ny; 09-03-2007 at 07:20.
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
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 14:16.


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