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

Background Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-07-2011 , 07:26   Re: Background Sounds
Reply With Quote #11

thanks, just tested it and it works fine now. =]
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-07-2011 , 09:51   Re: Background Sounds
Reply With Quote #12

same bug: death sound doesn't play longer than 2 seconds, also the ambience sound stops 2 seconds after end round.
__________________


Last edited by vaan123; 09-07-2011 at 14:14.
vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-07-2011 , 16:46   Re: Background Sounds
Reply With Quote #13

Quote:
Originally Posted by vaan123 View Post
same bug: death sound doesn't play longer than 2 seconds, also the ambience sound stops 2 seconds after end round.
The thing is, when I stop the ambience sounds, the death sounds stop as well. So I thought delaying the ambience sounds would allow the death sounds to play.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-07-2011 , 17:22   Re: Background Sounds
Reply With Quote #14

Quote:
Originally Posted by nikhilgupta345 View Post
The thing is, when I stop the ambience sounds, the death sounds stop as well. So I thought delaying the ambience sounds would allow the death sounds to play.
Maybe there is a way around it? asdjkljljlkjaskasdkjialjkjsdexolentoasdiwekxjd
__________________


Last edited by vaan123; 09-07-2011 at 17:24.
vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-07-2011 , 17:43   Re: Background Sounds
Reply With Quote #15

Try this:
Attached Files
File Type: sma Get Plugin or Get Source (background_sounds.sma - 644 views - 7.3 KB)
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 09-07-2011 at 18:29.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-07-2011 , 18:02   Re: Background Sounds
Reply With Quote #16

tested, results:

DEBUG:


Code:
L 09/08/2011 - 00:00:11: Invalid CVAR pointer
L 09/08/2011 - 00:00:11: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:00:11: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 09/08/2011 - 00:00:11: [AMXX]    [0] nc_background_sound.sma::Event_RoundStart (line 217)
L 09/08/2011 - 00:00:11: Invalid trie handle provided (0)
L 09/08/2011 - 00:00:11: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:00:11: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 09/08/2011 - 00:00:11: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 259)
L 09/08/2011 - 00:00:11: Invalid trie handle provided (0)
L 09/08/2011 - 00:00:11: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:00:11: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 09/08/2011 - 00:00:11: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 259)
L 09/08/2011 - 00:00:11: Invalid trie handle provided (0)
L 09/08/2011 - 00:00:11: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:00:11: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 09/08/2011 - 00:00:11: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 259)
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-07-2011 , 18:08   Re: Background Sounds
Reply With Quote #17

Try now.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 09-07-2011 at 18:21.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-07-2011 , 18:20   Re: Background Sounds
Reply With Quote #18

Code:
L 09/08/2011 - 00:20:38: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:20:38: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 09/08/2011 - 00:20:38: [AMXX]    [0] nc_background_sound.sma::Event_RoundStart (line 217)
L 09/08/2011 - 00:20:38: Invalid trie handle provided (0)
L 09/08/2011 - 00:20:38: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:20:38: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 09/08/2011 - 00:20:38: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 259)
L 09/08/2011 - 00:20:38: Invalid trie handle provided (0)
L 09/08/2011 - 00:20:38: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:20:38: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 09/08/2011 - 00:20:38: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 259)
L 09/08/2011 - 00:20:38: Invalid trie handle provided (0)
L 09/08/2011 - 00:20:38: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 00:20:38: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 09/08/2011 - 00:20:38: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 259)
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-07-2011 , 18:21   Re: Background Sounds
Reply With Quote #19

Damnit, uploaded the wrong file. Try again please.

BTW: Thanks for testing this.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 09-08-2011 , 03:44   Re: Background Sounds
Reply With Quote #20

Quote:
Originally Posted by nikhilgupta345 View Post
Damnit, uploaded the wrong file. Try again please.

BTW: Thanks for testing this.
Just tested with a friend, round draw, win and death sounds are all blocked.

and...

Code:
L 09/08/2011 - 09:42:55: Function is not present (function "Task_DeathSound") (plugin "nc_background_sound.amxx")
L 09/08/2011 - 09:42:55: [AMXX] Displaying debug trace (plugin "nc_background_sound.amxx")
L 09/08/2011 - 09:42:55: [AMXX] Run time error 10: native error (native "set_task")
L 09/08/2011 - 09:42:55: [AMXX]    [0] nc_background_sound.sma::Forward_EmitSound (line 273)
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
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 11:15.


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