Raised This Month: $208 Target: $400
 52% 

Auto All Talk


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   v3x (159)
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 06-28-2006 , 16:01   Auto All Talk
Reply With Quote #1

Hi there

This is my first plugin to be released.
What i does ?
It turns Alltalk on and off, if there is more or less than x playeres on the server (default is 4).

I find it usefull on serveres where most people know eachother, because they can talk and stuff while playing a small number of players.

You can determine how many players online before turning alltalk off by changeing 4 to the number you like in this line:
Code:
tempPlay = register_cvar("autoalltalk_limit","4")

It is coded for AMX 1.75, and wont work on earlier versions because of the PCVAR.

And a big thanks to SweatyBanana for helping remove a bug and uptimize the code.

If anybody like to they are more than welcome to test it on other than CS and CZ, just rember to post here wheter or not it works
Attached Files
File Type: sma Get Plugin or Get Source (AutoAllTalk.sma - 1840 views - 2.0 KB)
File Type: zip AutoAllTalk.zip (3.2 KB, 937 views)

Last edited by L0neW0lf; 06-28-2006 at 17:15.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-28-2006 , 17:00   Re: Auto All Talk
Reply With Quote #2

Quote:
Originally Posted by L0neW0lf
Code:
tempPlay = register_cvar("amx_how_many","4")
No.

Rename that CVAR. At the very least it needs to give an indication of what plugin it's for. As an aside, you really don't need to preface it with "amx".
__________________
Brad is offline
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 06-28-2006 , 17:16   Re: Auto All Talk
Reply With Quote #3

CVAR renamed to AutoAllTalk
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 06-28-2006 , 19:47   Re: Auto All Talk
Reply With Quote #4

This is a very USEFUL plugin... however... I have one suggestion which you may find helpful:

1. Add a CVAR that chooses to detect whether or not it checks for the max number of players on the server, or only for players who are alive

Add that because sometimes people sit in spectate and aren't playing. In this case they would still be counted, but not really playing in the server. There are already plugins to handle AFK's if people want to handle those, but at the very least have an option to only check for players who are alive. This will prevent spectators from being counted if the server owner chooses to do so. Then this plugin would be useful to people like me who want that option.

Other than that one suggestion, great plugin idea and I may very well use this myself to set the default at 4.


Oh yes one more suggestion that just came to mind which I may use also if you add it.

1. (again with the 1. I know I know)... Add an optional Chat message to display when the server turns alltalk off so that the players are aware when alltalk has been turned off so they don't continue to think they can talk to the other team. This notification is important for people like me who prefer to inform people when the server performs an action. I like to keep players updated with what is going on using chat displays with plugins I use.

If you can add these options I would definetly use the plugin.. almost for certain.

Good work/idea!
SubStream is offline
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 06-30-2006 , 05:10   Re: Auto All Talk
Reply With Quote #5

Working on the msg part right now
How would it be preferred ?
print_chat or print_center ?

Or maby more than one option ?

On the todo list:
Rename vars
Adding option for only ingame players or all players

Last edited by L0neW0lf; 06-30-2006 at 05:41.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 06-30-2006 , 23:50   Re: Auto All Talk
Reply With Quote #6

sonds good looking forward to those updates.

Post back when you got them up so I can check it out. Sounds promising!
SubStream is offline
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-01-2006 , 19:35   Re: Auto All Talk
Reply With Quote #7

I have added the msg option, right now i am renaming the CVARS......

EDIT: Found a minor bug in the msg part, going to correct it now
__________________
Enjoy getting older - The only alternative is death!

Last edited by L0neW0lf; 07-01-2006 at 19:39.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 07-01-2006 , 19:54   Re: Auto All Talk
Reply With Quote #8

Good job dude it's approved!
k007 is offline
Send a message via MSN to k007
Special
Member
Join Date: Jan 2005
Old 08-17-2006 , 12:29   Re: Auto All Talk
Reply With Quote #9

Nice plugin. I use it in combination with deadchat, so dead people can ccontinue chatting with other dead people.

Maby you can make the limit a cvar so it can be changed in the server.cfg?
__________________
Special is offline
mazmaajinsh
Senior Member
Join Date: Apr 2005
Location: Latvia
Old 02-25-2007 , 14:06   Re: Auto All Talk
Reply With Quote #10

could you make that nonadmins SPECTATORS see what writes alive and dead people and spec people, but alive peoples see only what types alive peoples. BUT admins see ALL messeges.. like specs but team chats too
__________________
Ahujena
mazmaajinsh is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:18.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode