Ein neues Thema erstellen  Auf das Thema antworten  [ 23 Beiträge ]  Gehe zu Seite 1 2 Nächste
Autor Nachricht
 Betreff des Beitrags: mehr sounds
BeitragVerfasst: 28.09.2002, 19:37 

Registriert: 11.04.2002, 04:36
Beiträge: 188
Wohnort: hannover
hi hab da ne frage
Wieviel ist das maximun an sounds die das Sank_sounds plugin abspielen kann
Ich bin jetzt bei 150 hat schon jemand mehr?


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 28.09.2002, 23:57 

Registriert: 17.12.2001, 01:00
Beiträge: 697
Die natürliche Grenze dürfte über 2 Millionen liegen (Integer). Du hast also noch genug Luft.


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 29.09.2002, 00:49 

Registriert: 11.04.2002, 04:36
Beiträge: 188
Wohnort: hannover
cool danke
und ich muss einfach nur die sma statt 150 auf xxx stzten?


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 29.09.2002, 12:58 
AM.de Team
Benutzeravatar

Registriert: 23.11.2001, 00:00
Beiträge: 3842
Wohnort: Vor König Arthus
Bingo. Ach ja, compilieren nicht vergessen. ;)

_________________
Der schwarze Ritter triumphiert immer...
WING-Clan


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 29.09.2002, 17:54 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
Hm...CS als Musikbox. Auch nicht schlecht :roll:

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 30.09.2002, 08:33 

Registriert: 11.04.2002, 04:36
Beiträge: 188
Wohnort: hannover
na ja nicht gleich musikbox aber auf meinem listenserver spiele ich eigendlich die meiste zeit mit arbeitskollegen und die bekommen ja alle sounds von mir per mail oder so.
also ohne res dateien sonnst würden ja alle anderen laden bis zum nächsten jahr


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 02.11.2002, 16:22 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
ich wollt kein neues thema erstelln, deshalb poste ich mal hier.

ich hab schon die ganzen themen durchgestöbert mit dem dummen sank_sound geschissen, aba ich bekomms nicht zum laufen :cry:
also plugin is neu compiliert, nachdem ich im pfad nur snd-list.cfg eingegeben habe. natürlich hab ich auch snd-list.cfg ins mod (cstrike) verzeichnis getan, aba funzen tuts nicht. mit admin_sound_help bekomm ihc die meldung, dass ich diese wörter sagen kann (sinngemäß), und dann steht da nix :cry: :-?

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 02.11.2002, 21:44 

Registriert: 11.04.2002, 04:36
Beiträge: 188
Wohnort: hannover
ich schätze mal du hast die neuste version?
in der versin gibt es ausser der sma noch eine inc datei die adminmod braucht sonst läufe sank sounds nicht. diese datei muss in den includeordner vom adminmod.

:wink:

_________________
Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 02.11.2002, 23:04 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
die neuste version davon hat nur wavs, win/linus amx, sma und 2 beispiel res dateien. und naürlich die snd-list.cfg und ne readme.
Code:
README.TXT
plugin_sank_sounds
July 9, 2001
FOr AdminMod version 2.50e or newer.
http://www.adminmod.org


Files Included:
===============================================================================
README.TXT - This file.
plugin_sank_sounds.sma - Plugin source.
plugin_sank_sounds.amx - Compiled win32 version.
plugin_sank_sounds_l.amx - Complied linux version.
snd-list.txt - sample file.
awwcrap.wav
awwcrap2.wav
awwman.wav
bud.wav
comeagain.wav
cs_siege.res
de_dust2.res
doh.wav
doh2.wav
doh3.wav
doh4.wav
doh5.wav
doh7.wav
dohnuts.wav
dohoo.wav
doomed.wav
er.wav
haha.wav
ow.wav
weis.wav
woohoo.wav
woohoo2.wav
 27 files.


Plugin Description:
===============================================================================

This plugin will read from a text file keyword/wav file combinations and when a
player says one of the keywords, it will trigger HL to play that wav file to
all players.  It allows reloading of the file without restarting the current
level, as well as adding keyword/wav combinations from the console during
gameplay.  If it finds it can't read the file, it will automagically set
file_access_read to 1 and then set it back to 0 when it's done.

My most deepest thanks goes to William Bateman (aka HunteR)
 http://thepit.shacknet.nu
 huntercc@hotmail.com
For he was the one who got me motivated once again to write this plugin since I
don't run a server anymore. And besides that, he helped write parts of it.

If, after reading this file many times over you are still confused as to how
this plugin works or how to set it up properly, then please go to the adminmod
forums at http://www.adminmod.org   If they fail you, email Bill Bateman.  As
a very last final resort, email me: sank@spu.edu

If you see an error message that says to increase MAX_RANDOM or MAX_KEYWORDS
then you'll have to recompile the plugin.  You can increase these at the top
of the file by just changing the default number to a bigger number.  The side
effect is that the amx file quickly gets very large.  If you only use 1 wav
per keyword, then you can keep MAX_RANDOM to 1 or 2.  If you don't have very
many keywords but each one can play one of 10 different sounds, then you'll
want a small MAX_KEYWORDS but a big MAX_RANDOM.  Be careful not to just set
the values to some obscenely huge number, because then the plugin will use too
much memory and could cause the server to become unstable.

Enjoy!


Plugin Commands:
===============================================================================

admin_sound_add
 Adds a Word/Wav combo to the list.  If it is a valid line in the config
 file, then it is a valid parameter here.  The only difference is you can
 only specify one .wav file at a time with this command.
 Usage: admin_sound_add "<keyword>;<dir\wav>"
 Usage: admin_sound_add "<setting>;<value>"
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)

admin_sound_help
 Instead of using admin_help, which uses static data, admin_sound_help
 always lists the most up-to-date information because the Word/Wav list can
 change in the middle of gameplay.  admin_sound_help lists all admin_sound
 commands and keywords to the user.
 Usage: admin_sound_help
 Access required: ACCESS_ALL

admin_sound_off
 Turns off the playing of the wav files for this plugin only.
 Usage: admin_sound_off
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)

admin_sound_on
 Turns on the playing of the wav files for this plugin only.
 Usage: admin_sound_on
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)

admin_sound_play
 Plays any sound to all players
 Usage: admin_sound_play misc\killchicken.wav
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)

admin_sound_reload
 Reloads the Word/Wav combos from filename.
 Usage: admin_sound_reload [filename]
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)

admin_sound_remove
 Removes a Word/Wav combo from the list. You must specify a keyword, but it
 is not necessary to specify a wav if you want to remove all wavs associated
 with that keyword. Surrounding quotes are required.
 Usage: admin_sound_remove "<keyword>;[wav]"
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)

admin_sound_write
 Saves the current configuration of Word/Wav combos to filename for possible
 reloading at a later time. You cannot overwrite the default file.
 Usage: admin_sound_write <filename>
 Access required: ACCESS_SOUND (both ACCESS_SAY and ACCESS_CONFIG)


Installation Instructions:
===============================================================================

Linux guys be sure to specify the -a flag when unzipping the text files so that
the line ends are converted properly.

1.) Put all of the wav files in your MOD's sound\misc directory, for example,
"..\half-life\cstrike\sounds\misc" or "..\hlserver\%MOD%\sounds\misc"

2.) Put the plugin_sank_sounds.amx (plugin_sank_sounds_l.amx if you run linux)
file in your mod's dlls directory, as described in the AdminMod installation
guide, and modify your plugin.ini file to include the line,
"dlls\plugin_sank_sounds.amx" (plugin_sank_sounds_l.amx if you run linux) also
as described in the AdminMod installation guide.  If you have
plugin_sank_antiflood installed, be sure its entry in the plugin.ini file is on
a line prior to the sounds plugin, or the sounds won't have the flood
protection.  The antiflood plugin actually should be the very first entry in
the plugin.ini file for maximum effectiveness.

3.) Put the snd-list.cfg file in your mod's root directory, for example,
"..\half-life\cstrike\snd-list.cfg" or "..\hlserver\%MOD%\snd-list.cfg"

                        ---------------------

There are two common ways of using custom sounds on your server.  One is to
force everyone to download them when they connect, and the other is to give
them a message when they connect that they need to go download them from your
website.

If you choose to force people to download your custom sounds when they connect,
then read the following installation instruction (4.) otherwise be sure to tell
your players that they need to go download the sound pack.  An easy way to do
this is to use plugin_sank_consgreet.  You can get it at the AdminMod website:
http://www.adminmod.org/ascript/plugin.php

To have players automatically download custom sounds:

4.) The most important thing to know is that just because the sounds are on the
server doesn't mean that the players will hear them.  You have to tell the
clients to download the sounds, which is accomplished with *.res files.  RES
files are simple text files that list which files the client is to download
when the server starts that map.  For maximum effectiveness, each map in your
MOD\maps directory should have a corresponding RES file.  I have included two
examples to help you on your way.  I have approximately half of the wav's in
each RES file, so that the downloading of the sounds does not take forever.
You will want to duplicate these RES files for each map in your mapcycle.

5.) That's It!


Advanced Instructions:
===============================================================================

If you have plugins working already then the addition of this one should be 
fairly simple for you.  Now whenever someone says one of the words in the first
column of your SND-LIST.CFG file, then your server will play one of the sounds
in the second column to all who have the wav downloaded.

The most important part of using this plugin is its spamming and flooding
detection and filtering.  Depending on your config file, there is a maximum
number of sounds a player can use per level. If they say too many sounds, then
they will get kicked.

The included SND-LIST.CFG file should be all you need, but if you still have
questions, here is the how-to guide.


SND-LIST.CFG help guide:
===============================================================================

The script reads in one line at a time. Lines beginning with a '#' or '//' are
ignored. Tokens are always separated by semi-colons (;) and tabs and spaces are
meaningless.

SND_WARN
 Type: integer
 Default: 0
 Defines the number of things a person can say before they are warned.  Setting
 this value to a number bigger than SND_KICK will disable the warnings.
 ex. SND_WARN; 17

SND_KICK
 Type: integer
 Default: 0
 Defines the number of things a person can say before they get kicked.  Setting
 this value to zero will disable the sound quota.
 ex. SND_KICK; 20

SND_JOIN
 Type: filename
 Default: ""
 Defines the path to a wav file, relative to the sound directory, of a sound
 that gets played when a player connects.  Specifying this path to point to a
 file that doesn't exist, or specifying nothing at all will disable the
 playing of a sound when players connect.
 ex. SND_JOIN; "misc\welcome.wav"

SND_EXIT
 Type: filename
 Default: ""
 Defines the path to a wav file, relative to the sound directory, of a sound
 to get played when a player leaves the game.  Specifying this path to point
 to a file that doesn't exist, or specifying nothing at all will disable the
 playing of a sound when players disconnect.
 ex. SND_EXIT; "misc\killChicken.wav"

SND_DELAY
 Type: integer
 Default: 0
 Defines the number of seconds required between sounds being played.
 ex. SND_DELAY; 0

SND_SPLIT
 Type: boolean
 Default: 0
 Defines whether or not alive players will hear sounds from dead players and
 visa-versa. Setting to 1 will split sounds, setting to 0 to play sounds to
 everybody.
 ex. SND_SPLIT; 1

EXACT_MATCH
 Type: boolean
 Default: 1
 Setting this to 1 will make the plugin only trigger on exact matches when
 looking for keywords in chat messages.  Setting this to 0 will look for a
 keyword anywhere within a chat message
 ex. EXACT_MATCH; 1

Keyword; Wav1;Wav2;Wav3...
 Type: Word/Wav combo
 Default: ""
 Keyword defines the keyword for the plugin to pick up on.
 Wav1, Wav2, Wav3... defines the wav files for the plugin to choose
 from. It will randomly pick one from the list when someone says the keyword.
 ex. hello;  misc\hello.wav; misc\welcome.wav; misc\hi.wav; misc\shutup.wav


Troubleshooting:
===============================================================================

If you log an error message "Sound Plugin >> Increase MAX_RANDOM" then you
have specified too many choices for a single keyword.  To fix this, either
remove some of the wav files for that keyword or recompile the script after
increasing the MAX_RANDOM definition at the top.

In a similar manner, if you log an error message "Sound Plugin >> Increase
MAX_KEYWORDS" then you have specified too many keywords for the plugin to
pick up on.  To fix this, either shorten the number of keywords specified in
the SND-LIST.CFG file, or recompile the script after increasing the
MAX_KEYWORDS definition at the top.


That should give you the details to be an expert, if you have any questions or
bug reports, contact info is in the Plugin Description section.

Luke Sankey
sank@spu.edu

aba ich glaube, ich hab alles geaacht wie es da steht. :cry:

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 02.11.2002, 23:48 

Registriert: 11.04.2002, 04:36
Beiträge: 188
Wohnort: hannover
ALSO ICH HABE DIESE VERS: DAMIT KLAPPT DAS SUPER
http://adminmod.battlenation.de/plugins.php

_________________
Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 02.11.2002, 23:56 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
aber:
Code:
Installationanleitung:
----------------------
Eigentlich muss die Zip-Datei einfach nur in den cstrike-ordner ("Pfadangaben verwenden")
entpackt werden (ohne die Ordner Doc und Source) und dann noch Folgendes in der
plugin.ini im cstrike-ordner eingetragen werden: plugins/plugin_sank_sounds.amx !

! Achtung ! : Bei Linux Servern muss die Datei plugin_sank_sounds.amx im Dlls-Ordner
durch die aus dem Unterordner "Linux" ersetzt werden!

Damit steht dann eine etwas erweiterte Standardauswahl von Sounds sofort parat.
Diese können aber durchaus noch erweitert werden: sound.wav ins Verzeichnis 
cstrike\sound\misc und dann in der SND-LIST.CFG im cstrike-dir eintragen.
das is doch voll veraltet, oder? die ordner gibts teilweise nicht und der eintrag in der plugin.ini stimmt auchnicht, oder?
kannst du/irgendjemand mir mal bitte den genauen pfad sagen, wo ich die dateien hinkopieren soll?

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 03.11.2002, 11:17 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
also wirklich noone, Du hast das ganze System irgendwie noch nicht gerafft, oder?

Es ist immer das selbe Schema. Liess mal die Anleitung, wie man ein Plugin richtig installiert. Du musst einfach die neue Pfadstruktur anwenden.

Ja, die Beschreibung ist veraltet. Aber es wird doch ein Leichtes für Dich sein, andere Pfade einzutragen.

:evil:

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 03.11.2002, 11:22 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
du meinst half-life\cstrike\addons\adminmod\scripts
und dann in half-life\cstrike\addons\adminmod\config\plugin.ini:

addons/adminmod/scripts/plugin_sank_sounds.amx

hab ich beim ersten mal auch so gemach und das plugin wurde immer (auch auf die weise, wie es in der readme steht) aktiviert, aba die snd-list.cfg wurde nie gefunden. das heisst, wenn ich in der console admin_sound_help eingab, kam immer (sinngemäß) du kannst diese wörter sagen: und dann nix. mit admin_sound_reload gings auchnicht.
is da nochwas falsch?

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 03.11.2002, 11:30 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
ok. leider ist das Plugin noch nicht upgedatet.

Die snd-list.cfg muss entweder noch in cstrike Verzeichniss oder Du findest hier im Forum auch eine veränderte Sma, wo als Verzeichniss addons/adminmod eingetragen ist, und die snd-list.cfg dort hinkommt.

Wenn Du mal die Logs beobachtest, erscheint am Anfang bei Dir immer Could not find snd-list.cfg

Der Befehl um die logs einzuschalten lautet log on und würde ich zur Fehlersuche auch immer einschalten. (Oder permanent, wenn man Logd verwendet)

Übrigens brauchst Du nicht halflife\cstrike bei der Pfadangabe zu schreiben. Es befindet sich immer relativ zum Mod-Verzeichnis.

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 03.11.2002, 14:17 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
hmm, die gepostete datei hab ich mal gefunden, pfad geändern compiliert und getestet, aba gefunzt hast auchnicht. ich probier nochmal alles von neu, danke erstmal

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 03.11.2002, 15:14 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
hast Du auch in der adminmod.cfg:

allow_client_exec auf 1
file_access_read auf 1
(file_access_write auf 1)

Ohne das wird es nie gehen.

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 03.11.2002, 16:29 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
ja, jetzt sind die werte alle auf "1", doch da problem is immernoch da.
also, ich hab das plugin nochmal neu gesaugt, die windows *.amx ins cstike/addons/adminmod/scripts getan, sounds hatte ich schon, in der cstike/addons/adminmod/config/plugin.ini den eintrag addons/adminmod/scripts/plugin_sank_sounds.amx geadded und cstrike/addons/adminmod/SND-LIST.CFG eingefügt. der fehler is abar immernoch da, hier is n link, wollt das bild nurnicht ins forum posten für die ganzen 56k leute :P


..::Bild::..
----------added----------

hmm, mit admin_sound_reload gibt er son dreck aus:
Couldnt find snd-list.cfg

----------nochmal added----------

so, hab nochmal deine *.sma gezogen und compilier, jetzt funzt es zwar, aba mit admin_sound_help kommt nen neuer fehler, anstatt die lsite mit den wörtern.

..::Bild2::..

mfg Noone

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 04.11.2002, 16:35 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
helft mir please :P

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 04.11.2002, 17:57 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
mach es so:

pro keyword nur eine gewisse Anzahl an Sounds.

Die Zeichen in einer Reihe dürfen nicht >= 100 sein

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 04.11.2002, 19:26 

Registriert: 31.10.2002, 15:52
Beiträge: 90
Wohnort: Nrw => Wuppertal
hmm, schon klar, ich hab auch nur hoechstens 8 oder so (doh), aba erstens, sind 10 erlaubt, und zweitens, sind die ja schon standardmäßig drin. meine hinzugefügten, haben höchstens drei

_________________
Wer Rechtschreibfehler findet, darf sie behalten!Bild


Nach oben
   
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen  Auf das Thema antworten  [ 23 Beiträge ]  Gehe zu Seite 1 2 Nächste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Powered by phpBB® Forum Software © phpBB Limited
Deutsche Übersetzung durch phpBB.de
Original Design von "[ Half-Life Admin Mod © Alfred Reynolds 2000-2003 ] - [ site design by Jägermeister ]"