Wie schalte ich Spawnprotect und Chatprotect ein?

Hier könnt ihr Fragen stellen und Tipps loswerden.

Wie schalte ich Spawnprotect und Chatprotect ein?

Beitragvon seltsam » 12.10.2010 09:18

liebe gemeinde,

wie und wo schalte ich den spawnprotect ein und gesicht zur wand chattprotection?? keeper funzt einwandfrei))normalität fast wieder hergestellt))) greezz seltsam
Benutzeravatar
seltsam
Primary Master
Primary Master
 
Beiträge: 412
Registriert: 01.09.2010 16:15
Wohnort: Köln

Beitragvon WildCat » 28.10.2010 20:03

Huhu seltsam,
das kommt natürlich auch darauf an, welchen Plugin du dafür verwendest.
Der Spawnprotect unter Sourcemod funktioniert beim Spawn, die Chatfunktion ist aber buggy.

Daher haben wir (ich u. JKAL) wieder den "alten, neuen) sc_protect_3_3_2 genommen.

Bekommen tust du ihn hier:
http://www.esteticas.se/catman.php

(...auch einer aus dem Unitet Cats Clan, miaauu)

In der .ZIP-File ist auch eine ausführliche Install u. Konfig-Anleitung.
--------------------------------------------------------
Yours..... WildCat
Benutzeravatar
WildCat
noch viel viel fleißiger als ein Master
noch viel viel fleißiger als ein Master
 
Beiträge: 187
Registriert: 04.09.2010 13:24

Beitragvon JKaL-raylapa » 28.10.2010 20:32

(mi)jau, der von Catman funzt seit seinem Update wunderbar im Gegensatz zu dem sourceplugin. Das war auch ursprünglich für TF2 entwickelt, vielleicht auch daher der bug mit den 500 HP nach Chatprotect.

Also alles wieder auf Anfang, wie vorher auch.
Suppose the world was only one of Gods jokes, would you work any the less to make it a good joke, instead of a bad one?
— George Bernard Shaw —

Bild
Benutzeravatar
JKaL-raylapa
Ambassador JKaL
Ambassador JKaL
 
Beiträge: 203
Registriert: 31.08.2010 12:06
Wohnort: Freie Republik Hohenlohe

Beitragvon ger_ramses » 29.10.2010 09:25

ggf. kann man mit einigen non-default settings das "Prob" mit den Waffen beim spawnen beheben.

_____________________________________________________

Spawn and Chat Protection
-------------------------
for Half-Life 2 deathmatch by Bernt Nilsson, 2006 - 2010

Some ideas comes from sc-prot-mm-2.0 for HL1 by Jussi Kivilinna

Installation
------------
Windows; put sc_protect.dll, sc_protect.vdf and sc_protect.res into addons.
Linux; put sc_protect.so, sc_protect.vdf and sc_protect.res into addons.
If there is no addons catalog under hl2mp, just create one.
(It will not hurt to extract all of the files in this archive into the game directory,
except a small bit of extra disk space :)

Check http://www.esteticas.se/catman.php for new versions.
Please report bugs via http://www.esteticas.se/concact.php

For more information about our nice servers http://www.games4u.se
and see our old forum at http://forum.games4u.se and
discuss sc_protect in http://forum.games4u.se/viewforum.php?f=27

Thank you all testers!

Control over weapons and ammo (new in 3.3.2)
-----------------------------
Weapons are temporarily stripped during protection.
When a protected player starts to be active different things happen depending
on if the player moves or starts shooting.
If player moves there is a short delay until protection is deactivated
and weapons are restored controled by scp_off_delay.
If player shoots/attacks protection is immediatly deactivated and there is
a short delay until weapons are restored controled by scp_attack_delay.
The difference can be disabled via scp_off_onfire.
How weapons ands ammo is stripped is controled by scp_weapons_mode.

Timeouts
--------
It is possible to set timeouts on the protection. During protection a timeout will
terminate the protection. It will also cause associated commands to run and events to fire.

It is also possible to set timeouts for inactivity. When they timeout associated commands
are run and events are fired.

See "Configuration" variables "scp_*_timeout" for the different types of timeouts.
Also see "Commands" and "Events"

By default no timeouts are not anabled.

Automatic commands
--------
Automatic commands can be configured to run when certain things happen;
When protection starts, when it stops, when something times out or when a user is attacked
during protection.

The commands are exanded with extra information depending on command;
userid, type of protection, reson for stopping protection, who the attacker is.

See "Configuration" variables "scp_*_cmd" for the the different types of commands, and
what is expaned into the commands.

By default no commands are defined.

Events
------
Server events are generated at the same time as the commands may run;
When protection starts, when it stops, when something times out and when a user is attacked.

These events can be used by other server plugins like Huricane, EventScripts and others
to detect what happens in sc_protect.

See the event definition file "addons/sc_protect.res" for details.

Automatic Help
--------------
If a player types in the game chat a combination of the words
"spawn" and "protect" or "chat" and "protect" an automatic
help messages will be shown via the escape menu. Trigger words
and message can be changed in the configuration.

Commands
------
The following command can be used in the servers console to
check the protection status of players;

scp_status

To force players to the unprotected state you can use the following commands.
The first, scp_unprotect, may be usefull if a protected player is blocking a
doorway or such. The identities, <id>..., is a list of the numbers show by scp_status;
The other may be usefull after changing settings, for example;
To temporarily turn protection off; set both scp_spawn_on and scp_chat_on to 0
and then run scp_unprotect_all.

scp_unprotect <id1>...
scp_unprotect_all

Configuration
-------------
For normal operation the default values are usually enough, so
you don't really need to set any of these :-)
If you want to change anything put the corresponding variable
and new value in cfg/autoexec.cfg or cfg/server.cfg

Convar Default Explanation
------ ------- -----------

scp_spawn_on 1 Enable Spawn protection;
0 => off, 1 => all spawn, 2 => only connect
scp_chat_on 1 Enable Chat protection
scp_msg_on 1 Enable messages
scp_help_on 1 Enable auto help
scp_protect_bots 1 If bots should be protected
scp_color 255 0 0 75
Player color/transparence,
red green blue alpa, when protected
scp_render_mode 4 Player rendering mode, 4 -> kRenderTransAlpha

scp_spawn_msg {0 255 0 255}You are spawn protected!
{r g b a} spawn protection on message
scp_chat_msg {0 255 0 255}You are chat protected!
{r g b a} chat protection on message
scp_off_msg {255 0 0 255}Your protection has worn off!
{r g b a}protection off message
scp_msg_level_first 3 first and highest message level to use
scp_msg_level_last 0 last and lowest message level to use,
lower is higher priority

scp_weapon_mode 12 <flags>
How to handle weapons and ammo.
Arithmetically add the wanted values to get the <flags> value;
0 => all flags off,
1 => EXPRIMENTAL, may cause problems, strip weapons during protection,
2 => EXPRIMENTAL, may cause problems, restore weapons after protection,
4 => strip ammo during protection,
8 => restore ammo after protection
scp_off_delay 0.5 Delay in seconds until protection disappears
when starting to move
scp_off_onfire 1 Protection off without delay when fireing and
then scp_attack_delay
scp_attack_delay 0.5 Delay in seconds until weapon/ammo is restored
when starting to shoot

scp_chat_delay 3 Delay until chat protection
scp_chat_wall_dist 32 Distance a player must be within looking at a wall
scp_chat_on_ladders 0 Allow chat protect while on ladders
scp_chat_in_water 0 Allow chat protection under water
scp_chat_wall_recheck 0.5 Minimum time until recheck of facing wall
scp_chat_look_allowed 0 Allow chat protected player to look around
after initialy facing a wall

scp_default_timeout 0 Default for connect, spawn, chat, idle and dead timeouts,
0 to disable, Note: these timers can be used for afk if
used with scp_timeout_cmd
scp_connect_timeout 0 Maximum time for connect spawn protection, 0 to disable
scp_spawn_timeout 0 Maximum time for spawn protection, 0 to disable
scp_chat_timeout 0 Maximum time for chat protection, 0 to disable
scp_idle_timeout 0 Maximum time for inactivity outside any protection,
0 to disable, Note: this timer is only reset by active
gameplay
scp_dead_timeout 0 Maximum time for being dead or spectate, 0 to disable

scp_on_cmd "" Command to run when protection goes on, first %d expands to userid,
second expands type; 0: connect, 1: spawn, 2: chat
scp_off_cmd "" Command to run when protection goes off,
first %d expands to userid,
second expands type; 0: connect, 1: spawn, 2: chat,
3: idle, 4: dead
third expands reason; 0: moved, 1: attacked, 2: timeout
scp_timeout_cmd "" Command to run when protection times out,
first %d expands to userid,
second to type; 0: connect, 1: spawn, 2: chat,
scp_attacked_cmd "" Command to run when player is attacked,
first %d expands to userid, second to attackerid

scp_events_file addons/sc_protect.res
The file that contains scp event definitions

scp_help_words spawn&protect|chat&protect
Word combinations said in chat that trigger help message
scp_help_title Press ESC to view help message
Help message title
scp_help_msg builtin Help message, expands; \\n, \\t, {ConVar},
{ConVar?true:false}


scp_attacker_msg {255 0 0 255}%s is protected!
{r g b a}What to tell an attacker
scp_attacker_punish 10 How much health to remove to punish an attacker
scp_attacker_bots_punish 0 Should attacking protected bots remove health

scp_attack_teleport_interval 1 How long time after attack to continue teleporting back,
0 to disable teleporting

scp_version SCP_VERSION Version of plugin, public Convar


Known problems
--------------
Sometimes messages can hide/be hidden by other messages, including for the autohelp.
The reason is that the message area only can show one message at a time.
The only way to show a new message if an earlier one has not timed out is to give
it a higher priority. The shortest timeout is 10 seconds.
As I have no way of knowing if there already are messages from other plugins showing with
a certain priority, I use a small interval of high priority message levels,
but that will not always solve this. In the future I might add support for using the
chat area.

Change history
Man sollte sich die Ruhe und Nervenstärke eines Stuhles zulegen. Der muss auch mit jedem Arsch klar kommen!
Benutzeravatar
ger_ramses
Primary Master
Primary Master
 
Beiträge: 271
Registriert: 01.09.2010 18:11


Zurück zu Fragen zur Gameserveradministration

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste

cron