Raised This Month: $ Target: $400
 0% 

Preset KillStreak v1.1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 07-07-2007 , 16:37   Re: Preset KillStreak
Reply With Quote #11

Ah, sorry, didn't read this .

But could I "abuse" this plugin by setting kills_per_streak to 1 and define empty messages/sounds on the levels I don't want to appear anything (like my example above: the 1st & the 4th kill)? Would this be possible?
Guenhwyvar is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 07-16-2007 , 04:52   Re: Preset KillStreak
Reply With Quote #12

Try to set 1st & 4th lines to
Code:
::
Still there may be some issues to be fixed in this case (e.g. logging still be produced).
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 07-31-2007 at 06:28.
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 07-31-2007 , 06:40   Re: Preset KillStreak v1.1.2
Reply With Quote #13

Updated. Changelog:

v1.1.2 [2007-07-26]
+ added 'pks_kills_basis' cvar
v1.1.1 [2007-07-17]
! selective disabling of kill streak levels is truly supported now
v1.1.0 [2007-07-07]
+ added 'pks_announce_extra_levels' cvar
* changed .ini format slighlty: added one more service line
* changed logging string to unified string when mp_logdetail = 3
v1.0.1 [2007-07-04]
! sounds for other players were not precached (was a copy-paste typo)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
CrazyEh
Junior Member
Join Date: May 2007
Old 08-03-2007 , 13:42   Re: Preset KillStreak v1.1.2
Reply With Quote #14

I cannot seem to get any of the wav's to play. It displays the text messages, but none of the sounds. The sounds also don't download when joining the server. I have checked everything I can think of. The files are all uploaded, when I put amx_plugins in console it reads the plugin as running.

Any help would be great!

Thanks a ton.
__________________
CrazyEh is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 08-03-2007 , 18:19   Re: Preset KillStreak v1.1.2
Reply With Quote #15

1) hope you realize that rampage.wav and similar files are not included into plugin archive; you should download & copy them manually
2) every wav file should be placed under $moddir/sound folder only
3) uncomment #define _DEBUG within plugin, recompile, run, then attach here the lastest amx/x log file
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
CrazyEh
Junior Member
Join Date: May 2007
Old 08-04-2007 , 00:48   Re: Preset KillStreak v1.1.2
Reply With Quote #16

Quote:
Originally Posted by Simon Logic View Post
1) hope you realize that rampage.wav and similar files are not included into plugin archive; you should download & copy them manually
2) every wav file should be placed under $moddir/sound folder only
3) uncomment #define _DEBUG within plugin, recompile, run, then attach here the lastest amx/x log file
1. yes I'm aware of that... I uploaded my custom sounds, and nobody downloads them when entering the server.

2. I have done that. In the preset_killstreak.ini I noticed the folder is misc/, so I put the sounds there, as well as the /sound folder.

3. I uncommented that. I've honestly never looked at the log files lol. I really hope I post the part that you wanted. If not, I apologize.

Code:
L 08/03/2007 - 23:16:41: -------- Mapchange to de_dust2 --------
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s multikill!!::misc/multikill.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s ultrakill!::misc/ultrakill.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s monsterkill!!::misc/monsterkill.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s is Godlike!::misc/godlike.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s is Unstoppable!::misc/unstoppable.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s is -Wicked Sick- !::misc/wickedsick.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s is on a killing spree with %d frags!::misc/killingspree.wav::misc/strangecrap.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[109] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] addPreset(data='%s's killing spree was ended by %s::misc/woohoo2.wav')
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] File not found: "sound/misc/woohoo2.wav"
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakKiller[0] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_sSndStreakOthers[0] = ''
L 08/03/2007 - 23:16:41: [preset_killstreak.amxx] g_iMaxStreakLevel = 8
not sure if it matters, but I use sv_downloadurl too. I have the sounds uploaded in both spots. Server and webhost.

Thanks.
__________________
CrazyEh is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 08-04-2007 , 11:09   Re: Preset KillStreak v1.1.2
Reply With Quote #17

Damn, i have some shit with the debug code. Replace
Code:
#if defined _DEBUG     log_amx("g_sSndStreakKiller[%d] = '%s'", g_sSndStreakKiller[g_iMaxStreakLevel], g_iMaxStreakLevel)     log_amx("g_sSndStreakOthers[%d] = '%s'", g_sSndStreakOthers[g_iMaxStreakLevel], g_iMaxStreakLevel) #endif
with
Code:
#if defined _DEBUG     log_amx("g_sSndStreakKiller[%d] = '%s'", g_iMaxStreakLevel, g_sSndStreakKiller[g_iMaxStreakLevel])     log_amx("g_sSndStreakOthers[%d] = '%s'", g_iMaxStreakLevel, g_sSndStreakOthers[g_iMaxStreakLevel]) #endif
recompile, and print amx/x log again.

Although i'm almost sure you have missed only one file:
woohoo2.wav:
Code:
23:16:41: [preset_killstreak.amxx] File not found: "sound/misc/woohoo2.wav"
Others are Ok.

PS. Don't do all above! I found a bug. Files were precached for built-in preset only. Thank you for your feedback! Soon i'll post a new archive.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 08-04-2007 at 11:11.
Simon Logic is offline
Send a message via Skype™ to Simon Logic
CrazyEh
Junior Member
Join Date: May 2007
Old 08-04-2007 , 11:55   Re: Preset KillStreak v1.1.2
Reply With Quote #18

I will wait until the new archive is posted.

Thanks alot Simon, great plugin! I'll keep checking back
__________________
CrazyEh is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 08-06-2007 , 12:35   Re: Preset KillStreak v1.1.3
Reply With Quote #19

v1.1.3 [2007-08-05]
! sounds were precached for built-in preset only
! when player being on a killing spree was killed by worldspawn a sound
for killer could be played on everyone
+ now sound for others is played on a victim also
! when player being on a killing spree killed himself a sound for killer
(e.g. woohoo2.wav) was played on him
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
CrazyEh
Junior Member
Join Date: May 2007
Old 08-06-2007 , 13:59   Re: Preset KillStreak v1.1.3
Reply With Quote #20

Right on, thanks Simon!

One question. Anyway to get the sounds to play for everyone in the server, not just the killer?

If so, would this:
%s is on a killing spree!::misc/killingspree.wav::misc/strangecrap.wav

be changed to this:
%s is on a killing spree!::misc/killingspree.wav::misc/killingspree.wav

Thanks!
__________________
CrazyEh is offline
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 19:34.


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