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

Hostage Voices v0.2


Post New Thread Reply   
 
Thread Tools Display Modes
neverminde
Senior Member
Join Date: Feb 2011
Location: St.Piter
Old 09-03-2011 , 07:26   Re: Hostage Voices v0.2
Reply With Quote #41

Code:
L 09/03/2011 - 08:59:31: [AMXX] Displaying debug trace (plugin "hostage_voices.amxx")
L 09/03/2011 - 08:59:31: [AMXX] Run time error 4: index out of bounds 
L 09/03/2011 - 08:59:31: [AMXX]    [0] hostage_voices.sma::load_config (line 244)
L 09/03/2011 - 08:59:31: [AMXX]    [1] hostage_voices.sma::plugin_precache (line 93)
neverminde is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 10-04-2021 , 08:50   Re: Hostage Voices v0.2
Reply With Quote #42

I try to use new version with default.ini , but server not found the file. Why is that ?
Now i use old version without default.ini
Siska1 is offline
Send a message via Skype™ to Siska1
kirksite
Member
Join Date: Feb 2021
Old 09-06-2022 , 18:30   Re: Hostage Voices v0.2
Reply With Quote #43

I tried to use this plugin but I'm struggling. The plugin is installed and working but the sounds are not pre-caching and so they do not play in-game, only the default sounds play. I'm missing something and I can't figure it out.

I'm also using hostage_models.amxx plugin and that is working fine.

My custom hostage sounds I've tested by placing in three different places in the sound directory;

1) cstrike/sound/custom_sound.wav
2) cstrike/sound/hostage_phrases/custom_sound.wav
3) cstrike/sound/hostage01/custom_sound.wav

None of these tests resulted in pre-cache

My defalut.ini file config;
; hostage #1
"hostage01/hos1_fem.wav" "hostage01/hos2_fem.wav" "hostage01/hos3_fem.wav" "hostage01/hos4_fem.wav" "hostage01/hos5_fem.wav"

; hostage #2
"hostage02/hos1_fem.wav" "hostage02/hos5_fem.wav" "hostage02/hos2_fem.wav" "hostage02/hos3_fem.wav" "hostage02/hos4_fem.wav"

; hostage #3
"hostage_w/hos7_fem.wav" "hostage_w/hos1_fem.wav" "hostage_w/hos6_fem.wav" "hostage_w/hos2_fem.wav" "hostage_w/hos3_fem.wav"

; hostage #4
"hostage04/hos3_fem.wav" "hostage04/hos1_fem.wav" "hostage04/hos6_fem.wav" "hostage04/hos5_fem.wav" "hostage04/hos2_fem.wav"

Last edited by kirksite; 09-07-2022 at 13:42.
kirksite is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-07-2022 , 23:46   Re: Hostage Voices v0.2
Reply With Quote #44

Were you getting a runtime error 4? This is what I got when I ran the plugin with the default config file and it was preventing it from loading anything. Try this updated version to see if it helps.
Attached Files
File Type: sma Get Plugin or Get Source (hostage_voices.sma - 74 views - 8.2 KB)
__________________
fysiks is offline
kirksite
Member
Join Date: Feb 2021
Old 09-08-2022 , 11:26   Re: Hostage Voices v0.2
Reply With Quote #45

Quote:
Originally Posted by fysiks View Post
Were you getting a runtime error 4? This is what I got when I ran the plugin with the default config file and it was preventing it from loading anything. Try this updated version to see if it helps.
Thanks so much for the feedback!

I was getting the run time error message;

L 09/07/2022 - 17:19:58: [AMXX] Run time error 4: index out of bounds
L 09/07/2022 - 17:19:58: [AMXX] [0] hostage_voices.sma::load_config (line 244)
L 09/07/2022 - 17:19:58: [AMXX] [1] hostage_voices.sma::plugin_precache (line 93)

I compiled the sma file you provided and uploaded the new plugin to the server. I also deleted all client side hostage_voice folders and I'm happy to report that the voice files now properly precache from the server and there are NO errors...but, I can only hear one custom voice of the four hostages when testing on cs_office and only default voices when testing on cs_italy. I have confirmed config
is "hv_mode 1"

I edited my default.ini file from my previous post and this is its current layout;

; hostage #1
"hostage01/hos1.wav" "hostage01/hos2.wav" "hostage01/hos3.wav" "hostage01/hos4.wav" "hostage01/hos5.wav"

; hostage #2
"hostage02/hos1.wav" "hostage02/hos5.wav" "hostage02/hos2.wav" "hostage02/hos3.wav" "hostage02/hos4.wav"

; hostage #3
"hostage03/hos7.wav" "hostage03/hos1.wav" "hostage03/hos6.wav" "hostage03/hos2.wav" "hostage03/hos3.wav"

; hostage #4
"hostage04/hos3.wav" "hostage04/hos1.wav" "hostage04/hos6.wav" "hostage04/hos5.wav" "hostage04/hos2.wav"
kirksite 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 14:39.


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