AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoD:S] TeamManager Source v1.22 + ADDONS! (Multi-Language) (https://forums.alliedmods.net/showthread.php?t=344089)

micmacx 10-01-2023 21:28

[DoD:S] TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
10 Attachment(s)
Original author : FeuerSturm
Original post : https://forums.alliedmods.net/showthread.php?t=76165
Source Files : http://dodsplugins.mtxserv.fr/viewtopic.php?f=4&t=2

Hi,
It work like original post.
I simply updated the plugin with the new programming forms.
Now plugin is version 1.22.
Zip file is compiled with Sourcemod 1.11.0-6502.

DESCRIPTION:

This is a very effective TeamManager for
Day of Defeat: Source that keeps your teams
even and still allows admins to switch when ever
they like! This is just one feature, see "FEATURES"
for a complete list!


FEATURES:


* General Features
complete Multilanguage-Support (en, de, fr, chi & pt already included!)
Modularization! All Addons are optional, don't run what you don't need!
each Addon uses it's own config file that contains all convars within the folder "dod\cfg\dod_teammanager_source" on your gameserver.


As of Version 1.1 the DoD TMS consists of the Base plugin and 10 addons,
you can find a short description of each addon's features below:


* DoD TMS Base Plugin (dod_teammanager_source.sp/.smx)
team join control to keep teams even
automatic team assignment if full team was selected
lock team Spectators for public players
smooth team switch without death for all players
provides/shares natives and functions for all other Addons

* AFK Manager Addon (addon_dodtms_afkmanager.sp/.smx)
moves players that are AFK in Spawn to team Specators
kicks AFK players after definable time
kicks idle players (that connect but don't join a team)
displays menu before sending players to Spec to be sure they aren't active
AFK players can be blinded if Team Spectators is usually blocked
Admin are immune to being kicked for being AFK

* Anti-VoiceCommandSpam Addon (addon_dodtms_antivcmds.sp/.smx)
prevent people from spamming voice commands like "Go! Go! Go!"
maximum number of allowed voice-commands per life can be set
minimum time between voice-command reuse can be specified
Admins can always use as many VCs as they like

* AutoTeamBalance Addon (addon_dodtms_autobalance.sp/.smx)
keeps team size balanced
can switch players on death or after fixed delay time
the same player will not be switched two times in a row to balance
team player difference can be set for balancing
Admins are immune from being team switched to balance

* ClanTag Protection Addon (addon_dodtms_clantagprotect.sp/.smx)
protect your clantag from being abused by public players
choose to rename, kick or even ban offenders
ability to force clantag usage on clanmembers

* ClassRestrictions Addon (addon_dodtms_classrest.sp/.smx)
allow admins to select limited/full classes
lock classes until there's X players on the server
remove classes' primary weapons on death to prevent circumventing the limits
enforce class limits and force players to change class after changing limits
block quick-class-switching within spawn area
Admin can use any class any time

* HighPingKicker Addon (addon_dodtms_highpingkicker.sp/.smx)
checks "Scoreboard"-ping, no faulty ping-calculations!
set maximum allowed ping and checking time
ability to disable ping-checking for constantly low ping players
only kick high pingers if there's X players on the server
Admins are immune from being kicked for high ping

* Player/TeamMenu Addon (addon_dodtms_playerteammenu.sp/.smx)
encourage, slay (even in spawn area) and team switch players by menu
encourage, swap and mix the teams
Admins vs. Public feature
Admins are immune from being target by other admins
Admins can be allowed to self-target

* RoundEnd Events Addon (addon_dodtms_roundendevents.sp/.smx)
automatically swap the teams after X rounds
automatically mix the teams after X consecutive won rounds
displays stats box with casualties for both teams and time needed to win

* SecretSpectate Addon (addon_dodtms_secretspectate.sp/.smx)
join team spectators while still being displayed on your team
observe players in question without them noticing
get back to your team without anyone noticing either

* TK Revenge Addon (addon_dodtms_tkrevenge.sp/.smx)
Spawn-/Melee-/Grenade-/Rampage-TeamKills can be handled different
Revenge Menu can be customized (Forgive/DONT Forgive/Slap/Slay)
TK-count can be saved and loaded through map-changes and even disconnects
Players can be kicked/banned when reaching set max TK-Count
TK-Count can be lowered with capping flags / killing enemies
already dead team killers can be slayed after respawning


Fix 2 bugs:
  1. Bug with bots (rcbot2 or other), plugin make errors in the sourcemod logs.
  2. Bug when you select a weapon that is not authorized, you were in the team and remained displayed as dead, now it work fine.

Improvement :
  1. When you tk a bot (rcbot2 or other), it is not counted as a tk unless it is in the spawn.
  2. Automatic balancing works with bots. It works in 2 steps. First, when a human is dead, it balances the humans, which can create additional imbalance temporarily, then when a bot is dead, it balances the bot.

Facility :
  1. Download Zip file. Do not download the smx files individually, download the zip file.
  2. Unzip this file in your computer.
  3. Upload all file in your server, respect the folder architecture.
  4. Setting all files in forder: dod/cfg/dod_teammanager_source/*.*

Supported Languages :
  • English
  • Spanish
  • French
  • German
  • Brazilian Portuguese
  • Chinese

micmacx 10-01-2023 21:35

Re: DoD TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
5 Attachment(s)
Sorry but i can't post all files source on same post, limit is 10 files.

kroolas 10-05-2023 15:15

Re: DoD TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
I'm getting this error:


"addon_dodtms_tkrevenge.smx ([DoD TMS] Addon - TK Revenge): Native "TMSRegAddon" was not found"

smx is copied correctly

micmacx 10-05-2023 17:05

Re: DoD TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
Hi,
Did you use the zip file for your installation???
If not, read the installation procedure carefully and try again.
The source files (sp files) are set to provide the source code, but the plugin needs the .inc files to compile correctly.
Basically don't download the smx files individually but the zip file.

kroolas 10-06-2023 07:31

Re: DoD TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
Quote:

Originally Posted by micmacx (Post 2811124)
Hi,
Did you use the zip file for your installation???
If not, read the installation procedure carefully and try again.
The source files (sp files) are set to provide the source code, but the plugin needs the .inc files to compile correctly.
Basically don't download the smx files individually but the zip file.

Hi,

Do I have to install/copy all SMXs? I just need addon_dodtms_tkrevenge.smx. So, it's not working standalone?
What did I do it was installing only these two:
-addon_dodtms_tkrevenge.smx
-dod_teammanager_source.smx
If I have to install all of them in order to work can I then disable them in server.cfg using command sm plugins unload?
I only need addon_dodtms_tkrevenge.smx to control TKs. That's all. Have no interest in other functionality.

micmacx 10-06-2023 07:40

Re: DoD TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
Quote:

Originally Posted by micmacx (Post 2811124)
Hi,
Did you use the zip file for your installation???

Hi,
When I ask you a question, can you answer it.
Otherwise how do you expect me to help you.

Have you read the red line?
Do not download the smx files individually, download the zip file.

kroolas 10-06-2023 08:07

Re: DoD TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
Quote:

Originally Posted by micmacx (Post 2811201)
Hi,
When I ask you a question, can you answer it.
Otherwise how do you expect me to help you.

Have you read the red line?
Do not download the smx files individually, download the zip file.



Sorry for misunderstanding. You're right, didn't read the installation procedure correctly.

Thanks for your work!

DNA.styx 12-17-2023 16:25

Re: [DoD:S] TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
> Bug with bots (rcbot2 or other), plugin make errors in the sourcemod logs.

There's something in this bundle that doesn't get on with RCBot2 v1.51-beta2: all but two of my bots stayed in spawn. Went through the .cfg and disable all that is possible: no better. Disabling all the plug in(s) and all goes back to normal.

Moved just dod_teammanager_source.smx and all started working again. Added addon_dodtms_autobalance.smx in as as well and still all good. Did this for a couple of the others and it was only addon_dodtms_classrest.smx that seemed to cause the bots to freeze again.

micmacx 01-17-2024 18:11

Re: [DoD:S] TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
Hi,
You're a good player, i play with you in french servers. ;-)
Thank you for this information, I hadn't really paid attention, I also use Rcbot2 in version 1.3, I thought it was simply a bug in Rcbot2, I had modified an AFK management plugin so that it Automatically kick bots detected as AFK.
Before using TeamManager Source, I was using another class management : DOD:S Class Manager plugin and had the exact same thing.
Knowing a little about Rcbot2 and its configuration of each bot on a fixed weapon, I think that's the problem, is that the bot doesn't choose a weapon based on what's available. So for me it's an incompatibility between Rcbot2 and class limitation.
To try to explain it better, if you block all weapons on server.cfg except bazookas and you create bot profiles that never have the bazooka, the bots will remain blocked.

I will try this on my server...

Edit : Ok, I just tried and my server crash, so for me Rcbot2 has a bug with the class limitation, you must ask to : RoboCop or use an AFK manager this work too if bot is switched to spectator. ;-)

But maybe you also blocked all weapons, here is my configuration for example :

In my server.cfg :
PHP Code:

mp_limit_allies_rifleman "-1"
mp_limit_allies_assault "-1"
mp_limit_allies_support "-1"
mp_limit_allies_sniper "1"
mp_limit_allies_mg "1"
mp_limit_allies_rocket "3"
mp_limit_axis_rifleman "-1"
mp_limit_axis_assault "-1"
mp_limit_axis_support "-1"
mp_limit_axis_sniper "1"
mp_limit_axis_mg "1"
mp_limit_axis_rocket "3" 

In addon_dodtms_classrest.cfg :
PHP Code:

// This file was auto-generated by SourceMod (v1.2.1)
// ConVars for plugin "addon_dodtms_classrest.smx"


// <0/#######> = set classes to restrict until X players are on  -  0 to disable  -  1 Rifleman  -  2 Assault  -  3 Support  -  4 Sniper  -  5 MG  -  6 Rocket
// -
// Default: "456"
// Minimum: "0.000000"
dod_tms_restrictclasses "45"

// <1/0> = enable/disable enforcing class restrictions
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
dod_tms_restrictenforcelimits "1"

// <1/0> = enable/disable Admins being immune from almost all actions
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
dod_tms_restrictimmunity "0"

// <#> = set min players needed to unrestrict restricted classes
// -
// Default: "6"
// Minimum: "0.000000"
dod_tms_restrictminplayers "12"

// <0/#######> = set classes that get their primary weapons removed on death so they cannot be picked up by others  -  0 to disable  -  1 Rifleman  -  2 Assault  -  3 Support  -  4 Sniper  -  5 MG  -  6 Rocket
// -
// Default: "2456"
// Minimum: "0.000000"
dod_tms_restrictremoveweapons "0"

// <1/2/0> = prevent immediate class change in spawnarea - 1 = simply block class change - 2 = simply ignore SpawnArea - 0 = disabled
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "2.000000"
dod_tms_restrictrespawnblock "2" 


INsane_dod 01-18-2024 09:24

Re: [DoD:S] TeamManager Source v1.22 + ADDONS! (Multi-Language)
 
Quote:

Originally Posted by DNA.styx (Post 2814589)
> Bug with bots (rcbot2 or other), plugin make errors in the sourcemod logs.

There's something in this bundle that doesn't get on with RCBot2 v1.51-beta2: all but two of my bots stayed in spawn. Went through the .cfg and disable all that is possible: no better. Disabling all the plug in(s) and all goes back to normal.

It's the RCBot2 (metamod:source) plugin and the way it fills a server.
It does not play well with the standard dod class limit commands.
A lot of the Sourcemod plugins that deal with class restrictions use those commands.

There are workarounds as micmacx showed you, I have some as well that give you a standard set amount and classes for every map on the server. You just manually edit the bot profiles and set "rcbot_change_classes 0" in config.ini .

But... when changing lets say from a large map that can handle 2X MG per side, then on to a small orange map... maybe you don't want any MG's, you are stuck with a fixed class.

If you try to use the standard dod commands you get spammed with errors about respawn times in the console, the bots stay in spawn, often shooting once and staying still as a riflemen class.
Enough time passes and the number of bots doing that...the server crashes.

If you disable any commands that normally fill a server
rcbot config min_bots -1
rcbot config max_bots -1
rcbot_bot_quota_interval -1

Then manually fill the server with the appropriate commands, you can get the bots to stick to a class, but doing that for every bot manually when those map changes come along...is not the answer.

I have a set of files that automates that and using a couple of plugins to release them on a timer via a config file...works.

Its a hell of a lot of work to initially set up, but then so is setting up a server with every map having a map.cfg file, and I have not seen my server fail yet, I get the exact amount of bots and control their class depending on what map it is.

It is best that the RCBot2 plugin... just does not conflict with VALVE's standard commands.

Unfortunately that is where it should be fixed... and it's not easy from what I have seen.

If you use logon and watch the bots join, they are joining, committing suicide....

Code:

unconnected suicided.
L 10/12/2023 - 09:01:20: "[RCB]Fillmore<58><BOT><>" connected, address "none"
L 10/12/2023 - 09:01:20: [RCBOT2] Hook_ClientActive(28, 0)
L 10/12/2023 - 09:01:20: "[RCB]Fillmore<58><BOT><>" entered the game
L 10/12/2023 - 09:01:20: "[RCB]Fillmore<58><BOT><Unassigned>" joined team "Axis"
L 10/12/2023 - 09:01:20: "[RCB]Fillmore<58><BOT><Axis>" committed suicide with "world"
L 10/12/2023 - 09:01:20: "[RCB]Fillmore<58><BOT><Axis>" changed role to "#class_axis_pschreck"
L 10/12/2023 - 09:0:20: "[RCB]Fillmore<58><BOT><Axis>" changed role to "#class_axis_kar98"
#Game_connected
ERRORNAME suicided.
L 10/12/2023 - 09:01:23: "StuckPipe<59><BOT><>" connected, address "none"
L 10/12/2023 - 09:01:23: [RCBOT2] Hook_ClientActive(29, 0)
L 10/12/2023 - 09:01:23: "StuckPipe<59><BOT><>" entered the game
L 10/12/2023 - 09:01:23: "StuckPipe<59><BOT><Unassigned>" joined team "Allies"
L 10/12/2023 - 09:01:23: "StuckPipe<59><BOT><Allies>" committed suicide with "world"
L 10/12/2023 - 09:01:23: "StuckPipe<59><BT><Allies>" changed role to "#class_allied_bazooka"
L 10/12/2023 - 09:01:23: "StuckPipe<59><BOT><Allies>" changed role to "#class_allied_garand"

Its very strange!


All times are GMT -4. The time now is 10:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.