Quote:
Originally Posted by fysiks
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"