Tremulous Forum

Mods => Mod Releases => Non-Gameplay Changing => Topic started by: Smokey on January 08, 2007, 03:53:27 am

Title: !warn admin addition.
Post by: Smokey on January 08, 2007, 03:53:27 am
This adds !warn functionality. It displays a message in the middle of the players screen.

Usage: !warn [name|#] [reason]

Defaults to level 2+. Can be allowed with the "w" flag.

http://upload.arena-zone.com/32176

My .patch file sucks, ill make a new one later. Props to gate for making it, i take no credit at all.

Screenshot:
(http://upload.arena-zone.com/images/548589shot0002.jpg)
Title: !warn admin addition.
Post by: vcxzet on January 08, 2007, 05:09:03 am
I wonder how useless commands can get
Title: Not to useless
Post by: lagged-pride on January 08, 2007, 05:32:55 am
It isn't as useless as you think, I think slap is alot worse then this, you lose 5 HP, and it just says Somebody slapped you. Here you can give a reason, everyone knows that newbies never look at the chat and they continue to "misbehave" after they're shouted at, or some who don't even have the chat open, true you could PM, but if you want to humiliate them, heh, this's the way to go.
 :dretch:
Title: !warn admin addition.
Post by: Risujin on January 08, 2007, 05:45:00 am
Actually I could add a reason argument to the slap command...
Title: !slap other reason.
Post by: lagged-pride on January 08, 2007, 05:57:11 am
I'd like to hear it
Title: !warn admin addition.
Post by: gatewarstrek on January 08, 2007, 09:13:40 pm
!warn is useful because it provides a way to have the admin logfile show that someone was warned before kicking banning. It also prints nice colorful print to the screen to tell ppl to stop whatever they are doing.
Title: !warn admin addition.
Post by: vcxzet on January 08, 2007, 09:37:13 pm
Quote from: "gatewarstrek"
!warn is useful because it provides a way to have the admin logfile show that someone was warned before kicking banning. It also prints nice colorful print to the screen to tell ppl to stop whatever they are doing.

you mean cp
Title: !warn admin addition.
Post by: Paradox on January 08, 2007, 11:32:15 pm
Actually, it is only to one client, so it is cpx.
Title: !warn admin addition.
Post by: Rawr on January 09, 2007, 06:03:42 am
can someone post a screenie of how the warn system looks or something?
Title: !warn admin addition.
Post by: raf on January 09, 2007, 04:29:53 pm
i guess it will look like all the other centerprint msgs ("The Overmind ..." ; "Our base is under attack" ...)
Title: !warn admin addition.
Post by: Smokey on January 09, 2007, 09:41:58 pm
Quote from: "bazuka_poo"
can someone post a screenie of how the warn system looks or something?


It looks like a cprint, with some color. Ill get you a screenshot ASAP. :)

Edit: Added screenshot to first post.
Title: ??????????????
Post by: [evilz]Sedda on January 18, 2007, 06:03:40 pm
But where i must copy in the .patch file. :(
Title: !warn admin addition.
Post by: vcxzet on January 18, 2007, 06:05:19 pm
your hud sucks
Title: !warn admin addition.
Post by: PHREAK on January 18, 2007, 06:19:51 pm
Hey!
That's my HUD.  :wink:

I like the idea since it gets logged.
Currently I use PM  to warn a player in a similar fashion.
PM is great IMO but it isn't logged in the admin log.
While that isn't an issue on the server I admin on, I imagine it would be and issue somewhere else.
Title: !warn admin addition.
Post by: n00b pl0x on January 18, 2007, 10:17:50 pm
warn is really useless. if a noob doesnt look at chat logs and quit what theyre doing they deserve to be kicked. we dont need to make it bright and in the center of the screen because if they dont read chat they probably wont read it either.
Title: !warn admin addition.
Post by: Caveman on January 18, 2007, 10:52:32 pm
Oh right, we don't need another cp-msg, because we all can read a warning in the chat-lines, even when some idiots spam...

Nomen es omen, ehy pl0x?
Title: !warn admin addition.
Post by: n00b pl0x on January 18, 2007, 11:05:50 pm
1. if youre running a recent qvm on your server you would know you cant chat spam anymore
2. i dont speak retard
Title: !warn admin addition.
Post by: Paradox on January 18, 2007, 11:31:33 pm
This would be a great addition to Risjuns, or he could just add slap reasons.
Title: !warn admin addition.
Post by: Vector_Matt on January 18, 2007, 11:39:32 pm
Quote from: "Paradox"
This would be a great addition to Risjuns, or he could just add slap.
/!slap noob 999 spamming :evil grin:
Title: !warn admin addition.
Post by: Caveman on January 19, 2007, 12:15:53 am
Quote from: "n00b pl0x"
1. if youre running a recent qvm on your server you would know you cant chat spam anymore
2. i dont speak retard


1) Do I realy have to explain the difference between singular and plural to you?
2) You just owned yourself.
Title: !warn admin addition.
Post by: jmonteiro on January 25, 2007, 03:58:43 pm
Thanks for this command. It will be really usefull in my server.

Hope Risujin put it in Risujin's game.qvm patch :)
Title: !warn admin addition.
Post by: Risujin on January 25, 2007, 05:29:37 pm
Quote from: "jmonteiro"
Thanks for this command. It will be really usefull in my server.

Hope Risujin put it in Risujin's game.qvm patch :)

Hey, no trouble for me. I'm infamous for "bloated" code and feature spam.
Title: !warn admin addition.
Post by: -:GoDz:-Devil on January 28, 2007, 09:22:49 pm
Would it be to hard to ask, but how would I go about patching the server with that .patch file, sorry for asking but I have been trying to figure all this out for a while now.

Very much appreciate it if you help.
Title: !warn admin addition.
Post by: Smokey on January 28, 2007, 10:50:04 pm
patch -p0 < build.patch

thats for linux, for windows..find a patch tool or something.
Title: !warn admin addition.
Post by: -:GoDz:-Devil on January 29, 2007, 12:11:19 am
A patch tool, damn.. Well the fuck would I find one of them, I mean I would be using google like crazy trying to find what I need..

Someone please help me out.
Title: !warn admin addition.
Post by: tuple on February 09, 2007, 01:02:53 pm
Devil, I HIGHLY recommend you ask these types of questions in IRC too.  There are typically people who can and are willing to help, and the flaming is much more fulfilling  :wink:

irc.quakenet.org
#tremulous
Title: !warn admin addition.
Post by: n00b pl0x on February 09, 2007, 09:31:34 pm
Quote from: "Caveman"
Quote from: "n00b pl0x"
1. if youre running a recent qvm on your server you would know you cant chat spam anymore
2. i dont speak retard


1) Do I realy have to explain the difference between singular and plural to you?
2) You just owned yourself.

yes
if you say so