Raised This Month: $51 Target: $400
 12% 

[CS:GO] TTT - Trouble in Terrorist Town


Post New Thread Reply   
 
Thread Tools Display Modes
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 07-01-2018 , 04:53   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #671

Quote:
Originally Posted by slurmdog View Post
Is there a cvar to globally enable/disable TTT? I want to run this on a server alongside other modes and want to enable this mode manually. Is that possible? Thanks!
No, but it should possible with map configs to unload all plugins that related to TTT.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-01-2018 , 13:03   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #672

Quote:
Originally Posted by slurmdog View Post
Is there a cvar to globally enable/disable TTT? I want to run this on a server alongside other modes and want to enable this mode manually. Is that possible? Thanks!
Use Ultimate map chooser and load mods each map differently, unload TTT mod when it's not ttt gamemode ofc cvars for TTT needed too, so use umc_mapcycle.txt like this

Code:
	"Trouble in Terrorist Town"
	{
		"command"	"exec _config/funserver-ttt.cfg"
		"display-template"	"[TTT] {MAP}"

		"ttt_67thway_v7_csgo_fixed" {
			"display"	"[TTT] 67th Way"
		}
	}
	"Basebuilder"
	{
		"command"	"exec _config/funserver-basebuilder.cfg"
		"display-template"	"[ZM Basebuilder] {MAP}"

		"bb_amisu" {
			"display"	"[ZM Basebuilder] Amisu"
		}
	}
etc
Code:
// Shop items
sm plugins unload "block_messages"
sm plugins unload "ttt/csgo_gunmenu"
sm plugins unload "ttt/ttt_tripmines"
sm plugins unload "ttt/ttt_tactical_shield"
sm plugins unload "ttt/ttt_parachute"
sm plugins unload "ttt/ttt_dronescameras"
sm plugins unload "ttt/ttt_futuristicgrenades"
sm plugins unload "ttt/ttt_turret"
sm plugins unload "tripmines"
sm plugins unload "tacticalshield"
sm plugins unload "AdvancedParachute"
sm plugins unload "cameras-and-drones"
sm plugins unload "futuristicgrenades"
sm plugins unload "turret_core"
sm plugins unload "ttt/ttt_blackout"
sm plugins unload "ttt/ttt_buyRoles"
sm plugins unload "ttt/ttt_c4_jihad"
sm plugins unload "ttt/ttt_crashcatcher"
sm plugins unload "ttt/ttt_decoy_body"
sm plugins unload "ttt/ttt_decoy_teleport"
sm plugins unload "ttt/ttt_dnascanner"
sm plugins unload "ttt/ttt_fakebody"
sm plugins unload "ttt/ttt_glow"
sm plugins unload "ttt/ttt_grabbermod"
sm plugins unload "ttt/ttt_healthshot"
sm plugins unload "ttt/ttt_iceknife"
sm plugins unload "ttt/ttt_id"
sm plugins unload "ttt/ttt_knockout"
sm plugins unload "ttt/ttt_martydom"
sm plugins unload "ttt/ttt_poison_smoke"
sm plugins unload "ttt/ttt_random_teleport"
sm plugins unload "ttt/ttt_silent_awp"
sm plugins unload "ttt/ttt_stations"
sm plugins unload "ttt/ttt_tagrenade"
sm plugins unload "ttt/ttt_taser"
sm plugins unload "ttt/ttt_teleporter"
sm plugins unload "ttt/ttt_tracer"
sm plugins unload "ttt/ttt_wallhack"
// new
sm plugins unload "ttt/ttt_dropWeapons"
sm plugins unload "ttt/ttt_shop_discount"
sm plugins unload "ttt/ttt_nightvision"
// other?
sm plugins unload "ttt/ttt_traitordoors"
sm plugins unload "ttt/ttt_weapons"
sm plugins unload "ttt/ttt_talk_override"
sm plugins unload "ttt/ttt_sprint"
sm plugins unload "ttt/ttt_spec_menu"
sm plugins unload "ttt/ttt_res"
sm plugins unload "ttt/ttt_radio"
sm plugins unload "ttt/ttt_radar"
sm plugins unload "ttt/ttt_playerhud"
sm plugins unload "ttt/ttt_overlay"
sm plugins unload "ttt/ttt_hide_radar"
sm plugins unload "ttt/ttt_icon"
sm plugins unload "ttt/ttt_models"
sm plugins unload "ttt_shop_discount"
sm plugins unload "ttt/ttt_shop"
sm plugins unload "ttt/ttt_sql"
sm plugins unload "ttt/ttt"
__________________

Last edited by iGANGNAM; 07-01-2018 at 16:36.
iGANGNAM is offline
slurmdog
Junior Member
Join Date: Jul 2018
Old 07-02-2018 , 03:41   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #673

Thanks Bara and iGANGNAM. I was able to do it with the mapconfigs plugin. For anyone looking to do the same, here's what I did:

1. Create two config files load_ttt.cfg and unload_ttt.cfg. Put all the load and unload commands in the respective files. Here's what my load_ttt.cfg looks like:

Code:
say "Loading TTT plugins"

sm plugins load "block_messages"
sm plugins load "CustomPlayerSkins"
sm plugins load "no_weapon_fix"
sm plugins load "tripmines"
sm plugins load "turret_core"

sm plugins load "ttt/ttt"
sm plugins load "ttt/ttt_blackout"
sm plugins load "ttt/ttt_buyRoles"
sm plugins load "ttt/ttt_c4_jihad"
sm plugins load "ttt/ttt_crashcatcher"
sm plugins load "ttt/ttt_decoy_body"
sm plugins load "ttt/ttt_decoy_teleport"
sm plugins load "ttt/ttt_dnascanner"
sm plugins load "ttt/ttt_dropWeapons"
sm plugins load "ttt/ttt_fakebody"
sm plugins load "ttt/ttt_glow"
sm plugins load "ttt/ttt_grabbermod"
sm plugins load "ttt/ttt_healthshot"
sm plugins load "ttt/ttt_hide_radar"
sm plugins load "ttt/ttt_iceknife"
sm plugins load "ttt/ttt_icon"
sm plugins load "ttt/ttt_id"
sm plugins load "ttt/ttt_knockout"
sm plugins load "ttt/ttt_martydom"
sm plugins load "ttt/ttt_models"
sm plugins load "ttt/ttt_nightvision"
sm plugins load "ttt/ttt_overlay"
sm plugins load "ttt/ttt_playerhud"
sm plugins load "ttt/ttt_poison_smoke"
sm plugins load "ttt/ttt_radar"
sm plugins load "ttt/ttt_radio"
sm plugins load "ttt/ttt_random_teleport"
sm plugins load "ttt/ttt_res"
sm plugins load "ttt/ttt_shop"
sm plugins load "ttt/ttt_shop_discount"
sm plugins load "ttt/ttt_silent_awp"
sm plugins load "ttt/ttt_spec_menu"
sm plugins load "ttt/ttt_sprint"
sm plugins load "ttt/ttt_sql"
sm plugins load "ttt/ttt_stations"
sm plugins load "ttt/ttt_tactical_shield"
sm plugins load "ttt/ttt_tagrenade"
sm plugins load "ttt/ttt_talk_override"
sm plugins load "ttt/ttt_taser"
sm plugins load "ttt/ttt_teleporter"
sm plugins load "ttt/ttt_tracer"
sm plugins load "ttt/ttt_traitordoors"
sm plugins load "ttt/ttt_tripmines"
sm plugins load "ttt/ttt_turret"
sm plugins load "ttt/ttt_wallhack"
sm plugins load "ttt/ttt_weapons"

sm plugins load "ttt/ttt_dronescameras"
sm plugins load "ttt/ttt_futuristicgrenades"
sm plugins load "ttt/ttt_parachute"
2. Put "exec unload_ttt.cfg" in your server.cfg so that TTT is not loaded by default.

3. Load TTT for ttt_* maps by using the mapconfigs plugins. You will need to load the plugins multiple times because there's dependencies that fail the first couple of times. I also put the CVARS in here.
Here's what my "ttt_.cfg" file looks like:

Code:
say "Load TTT plugins in multiple tries to resolve dependencies"
say "Load TTT plugins - TRY 1"
exec load_ttt.cfg
say "Load TTT plugins - TRY 2"
exec load_ttt.cfg
say "Load TTT plugins - TRY 3"
exec load_ttt.cfg

say "Setting TTT CVARS"
bot_quota 0

mp_afterroundmoney 0
mp_autoteambalance 0
mp_backup_round_file 0
mp_backup_round_file_last 0
mp_backup_round_file_pattern 0
sm_cvar mp_footsteps 1
mp_free_armor 0
mp_freezetime 1
mp_ignore_round_win_conditions 1
mp_join_grace_time 30
mp_limitteams 0
mp_match_restart_delay 5
mp_maxmoney 0
mp_maxrounds 10
mp_playercashawards 0
mp_playerid 0
mp_playerid_delay 0.1
mp_playerid_hold 0.3
mp_radar_showall 0
mp_roundtime 5
mp_startmoney 0
mp_teamcashawards 0
mp_teammates_are_enemies 1
mp_timelimit 30
mp_warmuptime 0
mp_weapons_allow_heavyassaultsuit 1

sv_allow_thirdperson 1
sv_allow_votes 0
sv_allow_wait_command 0
sv_alltalk 1
sv_deadtalk 0
sv_holiday_mode 0
sv_ignoregrenaderadio 1

weapon_reticle_knife_show 1
slurmdog is offline
slurmdog
Junior Member
Join Date: Jul 2018
Old 07-02-2018 , 03:59   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #674

Also, is there a guide that describes the shop items and other gameplay aspects? We have many questions like, why isn't the Silenced Awp silent, or why sometimes when spectating the traitor isn't identified. Also what are all the commands available to players? I'm hoping there's a guide or readme to explain all these details.

Last edited by slurmdog; 07-02-2018 at 04:47.
slurmdog is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-02-2018 , 17:03   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #675

you don't need to load plugins, they will load automatically each map (they are not in disabled (folder) and in disabled it crashes server anyway if loaded manually), you just need to make sure that they are unloaded when not needed
__________________

Last edited by iGANGNAM; 07-02-2018 at 17:04.
iGANGNAM is offline
slurmdog
Junior Member
Join Date: Jul 2018
Old 07-03-2018 , 04:45   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #676

Quote:
Originally Posted by iGANGNAM View Post
you don't need to load plugins, they will load automatically each map (they are not in disabled (folder) and in disabled it crashes server anyway if loaded manually), you just need to make sure that they are unloaded when not needed
This is what I wanted to do, but the problem is then I have to create mapconfigs for all possible maps. Even with the mapconfigs plugins that's tedious, and if I add a new map or mode to the server, I have to go create a config for it. Also, once a plugin is unloaded, is it automatically loaded on map change? I thought not.

One issue though is that when the ttt plugin is loaded manually, it does not read the config files. I just fixed this by using mapconfigs to load the configs that I modified. Might this be something that needs to be fixed inside the plugin?
slurmdog is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-03-2018 , 06:17   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #677

Quote:
Originally Posted by slurmdog View Post
This is what I wanted to do, but the problem is then I have to create mapconfigs for all possible maps. Even with the mapconfigs plugins that's tedious, and if I add a new map or mode to the server, I have to go create a config for it. Also, once a plugin is unloaded, is it automatically loaded on map change? I thought not.

One issue though is that when the ttt plugin is loaded manually, it does not read the config files. I just fixed this by using mapconfigs to load the configs that I modified. Might this be something that needs to be fixed inside the plugin?
if using mapconfigs plugin use map prefixes like ttt_.cfg
__________________
iGANGNAM is offline
slurmdog
Junior Member
Join Date: Jul 2018
Old 07-03-2018 , 13:03   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #678

Quote:
Originally Posted by iGANGNAM View Post
if using mapconfigs plugin use map prefixes like ttt_.cfg
That's what I'm already doing.
slurmdog is offline
bmsmod
Junior Member
Join Date: May 2015
Old 09-15-2018 , 20:35   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #679

Are tripmines and silent awp supposed to be working? Have zero clue how to deploy a tripmine. Also are traitor doors supposed to make maps with doors designed for T's function? Have not had luck yet with that.
bmsmod is offline
BuTaJIuK
New Member
Join Date: Nov 2017
Old 10-04-2018 , 14:30   Re: [CS:GO] TTT - Trouble in Terrorist Town
Reply With Quote #680

Hello
He's crash the server, when players they're shooting at each other.
Version 1.8, no errors in the logs.
What to do?

0 server.so + 0x9ecac6
1 server.so + 0x9fccec
2 game.cstrike.ext.2.csgo.so!DetourTerminateRou ndClass:etourTerminateRound [forwards.cpp:193 + 0xf]
3 bintools.ext.so!CallWrapper::Execute [CallWrapper.cpp:128 + 0xa]
4 game.cstrike.ext.2.csgo.so!CS_TerminateRound [natives.cpp41 + 0x1d]
BuTaJIuK is offline
Reply



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 10:05.


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