AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Top 10 Player HlstatsCE Announcer (https://forums.alliedmods.net/showthread.php?t=139703)

jockersoft 10-12-2010 18:30

Re: Top 10 Player HlstatsCE Announcer
 
put sm_top10_sound ""
changelevel
does it still download it?

(the downloads table doesn't get cleared until a map change)

snelvuur 10-12-2010 18:35

Re: Top 10 Player HlstatsCE Announcer
 
Well i did the change level...

[TS] Team Names: Red Blue - OnRoundEnd available: yes
Host_Error: CEngineSoundServer::PrecacheSound: Bad string:

Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20101013003559_1.dmp

Thats kind off bad :) never made it go mad this much..
Just tried it again, changelevel.. and poef crash..

jockersoft 10-13-2010 11:43

Re: Top 10 Player HlstatsCE Announcer
 
no idea about what's going on: just tried with the version i posted in #12, and no crashes or downloads are made after setting sm_top10_sound to "" and changing map.

snelvuur 10-13-2010 12:11

Re: Top 10 Player HlstatsCE Announcer
 
weird, i am running the dev tree maybe thats the difference, i'll try yours again and do some extra testing on that since this should be a rocket science "issue"

snelvuur 10-14-2010 14:24

Re: Top 10 Player HlstatsCE Announcer
 
If anyone can verify that post 17 indeed does not load a sound with the "sm_top10_sound" to "" (so nothing) that it does not download a file, since when i try it even though i verify it with console i still get the file send to my client.

I've placed the one from post 17 as the lead in the main page, assuming someone will stumble upon issues otherwise. For what it needs to do for me is fine now, and it seems for you too ;)

snelvuur 12-29-2010 15:54

Re: Top 10 Player HlstatsCE Announcer
 
Weirdly enough, now it just tries to download the sound everytime you connect prettymuch (Except for the inital first time) since the last big update.. i'll look into it, if i can find it ;)

janpepu 12-31-2010 02:14

Re: Top 10 Player HlstatsCE Announcer
 
thank for your plugin!

Can you activate sound and text only if the player connecting to the server for the first time and not at each begin of map.

What 's appens if there are 2 or more top10 players on the server at the beginig of the map ?

What 's appens if there are 2 or more top10 players connecting on the server at the time ? (Maybe you can add a timer to don't play the sound if a sound has already started)

What 's appens if player reconnecting to the server for flood with the sound ? (maybee play sound for the player one time per map ?)


good luck

snelvuur 12-31-2010 03:42

Re: Top 10 Player HlstatsCE Announcer
 
About the flooding, if it is a regular player... he wont be how do you say it "a noob" to misuse it. Also he doesn't here the sound and does not see the text since he is one of the top10 players.

if 2 players join at the same time it will only do the sond once as far as i have heard, the text will quickly follow up on eachother. But mostly they almost never join at the exact same time.

janpepu 12-31-2010 05:53

Re: Top 10 Player HlstatsCE Announcer
 
ok thx
and for the sound at changelevel ? (if a top10 player is on the server)

snelvuur 12-31-2010 06:56

Re: Top 10 Player HlstatsCE Announcer
 
after changelevel it would emit the sound again. per player, assuming they dont both join at the same time (it will only be once then at that moment) if that is what you mean


All times are GMT -4. The time now is 17:01.

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