Auto-Alltalk
1 Attachment(s)
Auto-Alltalk
Version 1.0 By: ferret! Description This plugin will automatically adjust the value of sv_alltalk based on the number of connected players. It can work both ways, either turning on OR off. Please be aware that when running this plugin you will lose control of sv_alltalk, as the plugin will automatically reset the convar to what it believes should be the value. You can stop this by setting the limit to 0. Cvars
Post bugs here. I do not plan to make any major changes to this plugin or heavily support it. As long as it works, it works. If it breaks, I'll fix it. |
Re: Auto-Alltalk
This plugin compiles. I wrote it at lunch out of boredom. I'm 99.9999999999% confident that it works, but it hasn't actually been tested. It's not exactly rocket science, just fulfilling a small request:
http://forums.alliedmods.net/showthread.php?t=64938 |
Re: Auto-Alltalk
Thanks ferret
|
Re: Auto-Alltalk
as I have already said in my request thread for this, thank you, this helps a lot, i love having fun in small groups, but i also love talking to the team in large groups
Edit: Uploaded it to my server, and may I make a suggestion for a possible update, shouldn't be hard, but mabe make something that flashes up in the 3 admin chat display areas saying something to the tune of "18 Players Reached. Alltalk Will Now Be Turned Off." or something to that accord when the players is reached for it to be turned on or off. Also, I would put a toggle in the admin menu to turn this script on and off so that admins can override it ;) |
Re: Auto-Alltalk
If someone wants to make a more advanced version, they are welcome to take this as a start and add to it. I may add a message saying whether or not Alltalk has been turned on/off.
|
Re: Auto-Alltalk
I'm working on this now, using as an excuse to learn sourcepawn.
Rather than hijack this thread, I started another thread. I'll appreciate your input. http://forums.alliedmods.net/showthread.php?p=571089 Also, in OnClientDisconnect, the SetConVarBool sets alltalk to mode, shouldn't it be !mode? |
Re: Auto-Alltalk
Hello "Ferret". Any idea what this error means?
Code:
L 01/09/2008 - 20:59:38: [SM] Plugin encountered error 8: Not enough space on the stack |
Re: Auto-Alltalk
Code:
L 01/19/2008 - 13:48:56: SourceMod error session startedthx for the nice plugin ferret, doesnt crash my server and works like a charm, but if you have time, take a look at these errors :) no idea what it means ^^ oh btw is it possible to add a PrintToAllChat saying sv_alltalk has been turned off or on , just so players know when that happens i didnt even know when alltalk was on or off, i kept on talking with the idea of having the other state of alltalk lol |
Re: Auto-Alltalk
another thing is that sometimes it doesn't turn it off either, so it will hit 20 players (my trigger) and then 6 people will drop off and it will stay with alltalk on...
|
Re: Auto-Alltalk
Quote:
this auto-alltalk doesnt change on-the-fly, whenever there is a mapchange it checks for how many players are connecting (status) and will force sv_alltalk to that value you have set fot that amount of players. So whenever the sv_alltalk value should change during the same map, it won't, until mapchange occurs. You also cannot override sv_alltalk with admin power, the script keeps overriding the value that the admin wants to change. (So atm you just need to turn of the plugin or unload it if you want to override) |
| All times are GMT -4. The time now is 05:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.