AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Mapend Sounds (https://forums.alliedmods.net/showthread.php?t=42963)

ntfs 08-10-2006 17:38

Mapend Sounds
 
9 Attachment(s)
Another plugin that just plays sounds, but viewing the scoreboard without any music is quite boring, so i wrote this plugin....
You can add 94517436986... (and more :) ) sounds into the "Mapend-Sounds.cfg" the plugin will automaticly upload only the sound to the client, that will be played @ mapend.

If you specified a wrong path to a soundfile, the plugin automaticly will take another soundfile.
You also can mark sounds with ";" that you dont want to play.

Only use mp3 soundfiles wav is too big
Good files: ~20 sec. || 96kbit (64kbit) || 44kHz (22kHz) -----> 200kb

Code:

USED CVARS:
amx_mapend_sounds_advert - (0/1) Set to "0" if u want to disable advertising

If you want to compile the version on your own, u have to use the newest amxxpc compiler!

Code:

Installation:

Download mapend_sounds.amxx to amxmodx/plugins/
Add mapend_sounds.amxx to plugins.ini
Download matrix.mp3 to cstrike/sound/mapend-sounds/
Download Mapend-Sounds.cfg to amxmodx/configs/
Add mp_chattime 15 to amxmodx/configs/amxx.cfg
Change map or restart the server

Code:

Releaselist:

*** v 1.0 ***
          - First Release

*** v 1.1 ***
          - Some Bugfixes

*** v 1.2 ***
          - Added FCVAR

*** v 1.3 ***
          - use the file_size native instead of loops
          - use get_configsdir instead of using hardcoded path
          - fixed a declaration

*** v 1.31 ***
          - added info

*** v 1.32 ***
          - added Hudmessage

*** v 1.33 ***
          - fixed stupid bug :(


sbeex 08-11-2006 05:32

Re: Mapend Sounds
 
nice idea but all players have to download the sound and it's the end of the map so maybe you can precache the sound from an url and so players don't have to download the sound and they will have a bit more ping but it's the end so no problem !

I know there is a plugin who play songs in precache if you want i can search it for you anyway good work !

Server Crasher 08-11-2006 05:42

Re: Mapend Sounds
 
Sorry for the bump, I am no saint but your Avatar should be removed..

That being said, this plugin was made for 1.75a? I say this because it wont compile under lower versions, can you make it so that it will?

error
Code:

precache_generic, unknown function

ntfs 08-11-2006 06:43

Re: Mapend Sounds
 
Quote:

Originally Posted by sbeex
nice idea but all players have to download the sound and it's the end of the map so maybe you can precache the sound from an url and so players don't have to download the sound and they will have a bit more ping but it's the end so no problem !

the clients download the soundfiles when they connect not while playing.


Quote:

Originally Posted by Server Crasher
That being said, this plugin was made for 1.75a? I say this because it wont compile under lower versions, can you make it so that it will?
error
Code:

precache_generic, unknown function

Yes is was made for amx 175 but it will work with older versions now.
have fun ;-)

Code:

Welcome to the AMX Mod X 1.60-300 Compiler.
Copyright (c) 1997-2005 ITB CompuPhase, AMX Mod X Team

Header size:            364 bytes
Code size:            1236 bytes
Data size:            1988 bytes
Stack/heap size:      16384 bytes; estimated max. usage=39 cells (156 bytes)
Total requirements:  19972 bytes
Done.


Server Crasher 08-11-2006 07:32

Re: Mapend Sounds
 
Cool, thanks

Server Crasher 08-11-2006 09:52

Re: Mapend Sounds
 
Problem, clients cant download the mp3's. I tested it on both my listen and standalone servers with the same result.
I made sure it was the plugin by deleting some soundfiles (my comp) from other plugins and they downloaded ok (sv_downloadurl)

sbeex 08-12-2006 08:14

Re: Mapend Sounds
 
the clients download the soundfiles when they connect not while playing.

Yes I know but it will be better I think if you do like this because you know every time players have to download download and it's boring to always download so with this maybe you can better understand me :

http://forums.alliedmods.net/showthread.php?t=17708

ntfs 08-15-2006 04:27

Re: Mapend Sounds
 
Quote:

Originally Posted by Server Crasher (Post 366064)
Problem, clients cant download the mp3's. I tested it on both my listen and standalone servers with the same result.
I made sure it was the plugin by deleting some soundfiles (my comp) from other plugins and they downloaded ok (sv_downloadurl)

i figured out that problem. and i restored the proper version.
you have to use the neweswt amxxpc compiler. or use the precompiled version from this side.

Quote:

Originally Posted by Server Crasher (Post 366001)
Sorry for the bump, I am no saint but your Avatar should be removed..

i have been banned 4 3 days ;-)

ntfs 08-15-2006 04:30

Re: Mapend Sounds
 
Quote:

Originally Posted by sbeex (Post 366461)
the clients download the soundfiles when they connect not while playing.

Yes I know but it will be better I think if you do like this because you know every time players have to download download and it's boring to always download so with this maybe you can better understand me :

http://forums.alliedmods.net/showthread.php?t=17708

maybe ill add that feature for future versions. thanks 4 the info

Server Crasher 08-17-2006 07:16

Re: Mapend Sounds
 
Quote:

i figured out that problem. and i restored the proper version.
you have to use the neweswt amxxpc compiler. or use the precompiled version from this side.
does that mean the pre-compiled version will work with 1.60?


All times are GMT -4. The time now is 05:39.

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