Auto-enable OOC during pre- & end-round

A place to record your ideas for the game.
Locked
Limeliz
Joined: Sun Jun 22, 2014 6:22 am

Auto-enable OOC during pre- & end-round

Post by Limeliz » #15130

Add a feature so OOC is automatically enabled during pregame (before round starts) and during endgame (when round ended and server waits to restart). Then when the round starts again OOC should be muted (if this is the setting of the server). This will enable players to talk about the last rounds adventures, something that at least I really enjoy!
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Auto-enable OOC during pre- & end-round

Post by paprika » #15131

What. This is already the case on NT, and it's a bug.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
rosello
Joined: Fri Apr 18, 2014 6:10 pm

Re: Auto-enable OOC during pre- & end-round

Post by rosello » #15149

paprika wrote:What. This is already the case on NT, and it's a bug.
I thought that was fixed? Last time I went on Artyom it didn't happen.
wake me up before you jojo
Marshall/Mira Mudskipper, Bethan/Renni Ashbird, Trish/Susan Gecko, Mia Karp/K.A.R.P, Elliot Spark, Adriana/Octavia Spiral, Mimi Mime, Violet Caterpillar, Eve Steel, Bethan Butterfly
Giacom
Joined: Sat Apr 19, 2014 8:49 pm
Byond Username: Giacomand

Re: Auto-enable OOC during pre- & end-round

Post by Giacom » #15155

It is a config feature which works fine on tgcode.
Check out my MiniStation map, for low population servers. http://tgstation13.org/wiki/MiniStation
miggles
Joined: Fri Apr 18, 2014 9:02 am
Byond Username: Miggles
Contact:

Re: Auto-enable OOC during pre- & end-round

Post by miggles » #15234

It's an issue with SoS' config.
dezzmont wrote:I am one of sawrge's alt accounts
dezzmont wrote:sawrge has it right.
Connor wrote:miggles is correct though
scaredofshadows
In Game PermaBanned
Joined: Thu Apr 17, 2014 3:36 am
Location: Michigan, USA

Re: Auto-enable OOC during pre- & end-round

Post by scaredofshadows » #15726

miggles wrote:It's an issue with SoS' config.
Here's the current config.txt on Artyom. Pay attention to this option:
## Comment this out to disable automuting
#AUTOMUTE_ON

Code: Select all

## Server name: This appears at the top of the screen in-game. In this case it will read "tgstation: station_name" where station_name is the randomly generated name of the station for the round. Remove the # infront of SERVERNAME and replace 'tgstation' with the name of your choice
SERVERNAME Artyom

# Lobby time: This is the amount of time between rounds that players have to setup their characters and be ready.
LOBBY_COUNTDOWN 120

## Add a # infront of this if you want to use the SQL based admin system, the legacy system uses admins.txt. You need to set up your database to use the SQL based system.
ADMIN_LEGACY_SYSTEM

## Add a # infront of this if you want to use the SQL based banning system. The legacy systems use the files in the data folder. You need to set up your database to use the SQL based system.
#BAN_LEGACY_SYSTEM

## Unhash this entry to have certain jobs require your account to be at least a certain number of days old to select. You can configure the exact age requirement for different jobs by editing
## the minimal_player_age variable in the files in folder /code/game/jobs/job/.. for the job you want to edit. Set minimal_player_age to 0 to disable age requirement for that job.
## REQUIRES the database set up to work. Keep it hashed if you don't have a database set up.
## NOTE: If you have just set-up the database keep this DISABLED, as player age is determined from the first time they connect to the server with the database up. If you just set it up, it means
## you have noone older than 0 days, since noone has been logged yet. Only turn this on once you have had the database up for 30 days.
USE_AGE_RESTRICTION_FOR_JOBS

## log OOC channel
LOG_OOC

## log client Say 
LOG_SAY

## log admin actions
LOG_ADMIN

## log client access (logon/logoff)
LOG_ACCESS

## log game actions (start of round, results, etc.)
LOG_GAME

## log player votes
LOG_VOTE

## log client Whisper
LOG_WHISPER

## log emotes
LOG_EMOTE

## log attack messages
LOG_ATTACK

## log pda messages
LOG_PDA

## log prayers
LOG_PRAYER

## log lawchanges
LOG_LAW

## log all Topic() calls (for use by coders in tracking down Topic issues)
# LOG_HREFS

## log admin warning messages
##LOG_ADMINWARN  ## Also duplicates a bunch of other messages.

## disconnect players who did nothing during 10 minutes
# KICK_INACTIVE

## Comment this out to stop admins being able to choose their personal ooccolor
#ALLOW_ADMIN_OOCCOLOR

## If metadata is supported
ALLOW_METADATA

## allow players to initiate a restart vote
ALLOW_VOTE_RESTART

## allow players to initate a mode-change start
#ALLOW_VOTE_MODE

## min delay (deciseconds) between voting sessions (default 10 minutes)
VOTE_DELAY 6000

## time period (deciseconds) which voting session will last (default 1 minute)
VOTE_PERIOD 600

## autovote initial delay (deciseconds) before first automatic transfer vote call (default 120 minutes)
VOTE_AUTOTRANSFER_INITIAL 72000

## autovote delay (deciseconds) before sequential automatic transfer votes are called (default 60 minutes)
Vote_AUTOTRANSFER_INTERVAL 36000

## prevents dead players from voting or starting votes
# NO_DEAD_VOTE

## players' votes default to "No vote" (otherwise,  default to "No change")
# DEFAULT_NO_VOTE

## disable abandon mob
NORESPAWN

## disables calling del(src) on newmobs if they logout before spawnin in
# DONT_DEL_NEWMOB

## set a hosted by name for unix platforms
HOSTEDBY scaredy

## Set to jobban "Guest-" accounts from Captain, HoS, HoP, CE, RD, CMO, Warden, Security, Detective, and AI positions.
## Set to 1 to jobban them from those positions, set to 0 to allow them.
# GUEST_JOBBAN

## Uncomment this to stop people connecting to your server without a registered ckey. (i.e. guest-* are all blocked from connecting)
GUEST_BAN

## Set to jobban everyone who's key is not listed in data/whitelist.txt from Captain, HoS, HoP, CE, RD, CMO, Warden, Security, Detective, and AI positions.
## Uncomment to 1 to jobban, leave commented out to allow these positions for everyone (but see GUEST_JOBBAN above and regular jobbans)
# USEWHITELIST

## set a server location for world reboot. Don't include the byond://, just give the address and port.
# Don't set this to the same server, BYOND will automatically restart players to the server when it has restarted.
# SERVER ss13.example.com:2506

## forum address
FORUMURL http://tgstation13.org

## Wiki address
WIKIURL http://tgstation13.org/wiki/Main_Page

## Ban appeals URL - usually for a forum or wherever people should go to contact your admins.
BANAPPEALS http://tgstation13.org/phpBB/viewforum.php?f=7

## In-game features
##Toggle for having jobs load up from the .txt
# LOAD_JOBS_FROM_TXT

##Remove the # mark infront of this to forbid admins from possessing the singularity.
FORBID_SINGULO_POSSESSION

## Remove the # to show a popup 'reply to' window to every non-admin that recieves an adminPM. 
## The intention is to make adminPMs more visible. (although I fnd popups annoying so this defaults to off)
#POPUP_ADMIN_PM

## Remove the # to allow special 'Easter-egg' events on special holidays such as seasonal holidays and stuff like 'Talk Like a Pirate Day' :3 YAARRR
ALLOW_HOLIDAYS

##Remove the # mark if you are going to use the SVN irc bot to relay adminhelps
#USEIRCBOT

##Defines the ticklag for the world.  0.9 is the normal one, 0.5 is smoother.
TICKLAG 0.9

## Defines if Tick Compensation is used.  It results in a minor slowdown of movement of all mobs, but attempts to result in a level movement speed across all ticks.  Recommended if tickrate is lowered.
TICKCOMP 0

## Comment this out to disable automuting
#AUTOMUTE_ON

Here's the current game_options.txt on Artyom. Pay attention to this option:
### OOC DURING ROUND ###
#Comment this out if you want OOC to be automatically disabled during the round, it will be enabled during the lobby and after the round end results.
OOC_DURING_ROUND

Code: Select all

### HEALTH ###

# level of health at which a mob becomes unconscious (crit)
HEALTH_THRESHOLD_CRIT 0

# level of health at which a mob becomes dead
HEALTH_THRESHOLD_DEAD -100


### REVIVAL ###

# whether pod plants work or not
REVIVAL_POD_PLANTS 1

# whether cloning tubes work or not
REVIVAL_CLONING 1

# amount of time (in hundredths of seconds) for which a brain retains the "spark of life" after the person's death (set to -1 for infinite)
REVIVAL_BRAIN_LIFE -1

### RENAMING ###

# Whether cyborgs can rename themselves at roundstart or when built.  Has no effect on roboticists renaming cyborgs the normal way.  Set to 0 to disable self-renaming.
RENAME_CYBORG 1

### OOC DURING ROUND ###
#Comment this out if you want OOC to be automatically disabled during the round, it will be enabled during the lobby and after the round end results.
OOC_DURING_ROUND

### MEMORY ###

# Whether cyborgs remember their past lives, 1 = Remember, 0 = Don't remember
BORG_REMEMBERS 0

### MOB MOVEMENT ###

## We suggest editing these variables ingame to find a good speed for your server.
## To do this you must be a high level admin. Open the 'debug' tab ingame.
## Select "Debug Controller" and then, in the popup, select "Configuration". These variables should have the same name.

## These values get directly added to values and totals ingame.
## To speed things up make the number negative, to slow things down, make the number positive.

## These modify the run/walk speed of all mobs before the mob-specific modifiers are applied. 
RUN_DELAY 1
WALK_DELAY 4

## The variables below affect the movement of specific mob types.
HUMAN_DELAY 0
ROBOT_DELAY 0
MONKEY_DELAY 0
ALIEN_DELAY 0
SLIME_DELAY 0
ANIMAL_DELAY 0


### NAMES ###
## If uncommented this adds a random surname to a player's name if they only specify one name.
#HUMANS_NEED_SURNAMES

## If uncommented, this forces all players to use random names !and appearances!.
#FORCE_RANDOM_NAMES


### ALERT LEVELS ###
ALERT_GREEN All threats to the station have passed. Security may not have weapons visible, privacy laws are once again fully enforced.
ALERT_BLUE_UPTO The station has received reliable information about possible hostile activity on the station. Security staff may have weapons visible, random searches are permitted.
ALERT_BLUE_DOWNTO The immediate threat has passed. Security may no longer have weapons drawn at all times, but may continue to have them visible. Random searches are still allowed.
ALERT_RED_UPTO There is an immediate serious threat to the station. Security may have weapons unholstered at all times. Random searches are allowed and advised.
ALERT_RED_DOWNTO The self-destruct mechanism has been deactivated, there is still however an immediate serious threat to the station. Security may have weapons unholstered at all times, random searches are allowed and advised.
ALERT_DELTA The station's self-destruct mechanism has been engaged. All crew are instructed to obey all instructions given by heads of staff. Any violations of these orders can be punished by death. This is not a drill.


### EXPLOSIONS ###

## Unhash this to use recursive explosions, keep it hashed to use normal style explosions.
## Recursive explosions react to walls, airlocks and blast doors, making them look a lot cooler
## than the boring old circular explosions. They require more CPU and are (as of March 2013) experimental.
## The default map is generally designed for the old style explosions in terms of security.

#USE_RECURSIVE_EXPLOSIONS


### GAME MODES ###

## Probablities for game modes chosen in 'secret' and 'random' modes.
## Default probablity is 1, increase to make that mode more likely to be picked.
## Set to 0 to disable that mode.

PROBABILITY TRAITOR 5
PROBABILITY TRAITORCHAN 4
PROBABILITY DOUBLE_AGENTS 2
PROBABILITY NUCLEAR 2
PROBABILITY REVOLUTION 2
PROBABILITY CULT 2
PROBABILITY CHANGELING 1
PROBABILITY WIZARD 3
PROBABILITY MALFUNCTION 1
PROBABILITY BLOB 2
PROBABILITY METEOR 0
PROBABILITY EXTENDED 1

## You probably want to keep sandbox off by default for secret and random.
PROBABILITY SANDBOX 0

## Uncomment to make rounds which end instantly (Rev, Wizard, Malf) continue until
## the shuttle is called or the station is nuked.
## Malf and Rev will let the shuttle be called when the antags/protags are dead.
#CONTINUOUS_ROUND_REV
#CONTINUOUS_ROUND_WIZ
#CONTINUOUS_ROUND_MALF


## Variables calculate how number of antagonists will scale to population.
## Used as (Antagonists = Population / Coeff)
## Set to 0 to disable scaling and use default numbers instead.
TRAITOR_SCALING_COEFF 6
CHANGELING_SCALING_COEFF 7

## Uncomment to prohibit jobs that start with loyalty
## implants from being most antagonists.
PROTECT_ROLES_FROM_ANTAGONIST

## If late-joining players have a chance to become a traitor/changeling
ALLOW_LATEJOIN_ANTAGONISTS

## Uncomment to allow players to see the set odds of different rounds in secret/random in the get server revision screen. This will NOT tell the current roundtype.
#SHOW_GAME_TYPE_ODDS

### RANDOM EVENTS ###

## Comment this to disable random events during the round.
ALLOW_RANDOM_EVENTS


### AI ###

## Allow the AI job to be picked.
ALLOW_AI



### AWAY MISSIONS ###

## How long the delay is before the Away Mission gate opens. Default is half an hour.
## 600 is one minute.
GATEWAY_DELAY 18000


### ACCESS ###
## Comment this out if you wish to use the setup where jobs have more access.
## This is intended for servers with low populations - where there are not enough
## players to fill all roles, so players need to do more than just one job.
## Also for servers where they don't want people to hide in their own departments.
#JOBS_HAVE_MINIMAL_ACCESS

## Uncomment to give assistants maint access.
ASSISTANTS_HAVE_MAINT_ACCESS

## Uncoment to give security maint access. Note that if you comment JOBS_HAVE_MINIMAL_ACCESS security already gets maint from that.
#SECURITY_HAS_MAINT_ACCESS

## Uncomment to give everyone maint access.
#EVERYONE_HAS_MAINT_ACCESS

## Comment this to make security officers spawn in departmental security posts
SEC_START_BRIG


### GHOST INTERACTION ###
## Uncomment to let ghosts spin chairs. You may be wondering why this is a config option. Don't ask.
#GHOST_INTERACTION

### NON-VOCAL SILICONS ###
## Uncomment to stop the AI, or cyborgs, from having vocal communication.
#SILENT_AI
#SILENT_BORG

### SANDBOX PANEL AUTOCLOSE ###
## The sandbox panel's item spawning dialog now stays open even after you click an option.
## If you find that your players are abusing the sandbox panel, this option may slow them down
## without preventing people from using it properly.
## Only functions in sandbox game mode.
#SANDBOX_AUTOCLOSE

### ROUNDSTART SILICON LAWS ###
## This controls what the AI's laws are at the start of the round.
## Set to 0/commented for "off", silicons will just start with Asimov.
## Set to 1 for "custom", silicons will start with the custom laws defined in silicon_laws.txt. (If silicon_laws.txt is empty, the AI will spawn with asimov and Custom boards will auto-delete.)
## Set to 2 for "random", silicons will start with a random lawset picked from (at the time of writing): P.A.L.A.D.I.N., Corporate, Asimov. More can be added by changing the law datum paths in ai_laws.dm.
DEFAULT_LAWS 0
miggles
Joined: Fri Apr 18, 2014 9:02 am
Byond Username: Miggles
Contact:

Re: Auto-enable OOC during pre- & end-round

Post by miggles » #15773

I'm sorry. That's what Giacom said the issue probably was.
dezzmont wrote:I am one of sawrge's alt accounts
dezzmont wrote:sawrge has it right.
Connor wrote:miggles is correct though
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Auto-enable OOC during pre- & end-round

Post by paprika » #15933

Why is there two different configs for the same option? One in game_options and one in config?

Also, the server doesn't automute OOC if you run a local server of the updated codebase, so something on your end is fucked scaredy :/

Also, LOBBY_COUNTDOWN should be set to 180.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
Giacom
Joined: Sat Apr 19, 2014 8:49 pm
Byond Username: Giacomand

Re: Auto-enable OOC during pre- & end-round

Post by Giacom » #15939

AUTOMUTE_ON is something different.
Check out my MiniStation map, for low population servers. http://tgstation13.org/wiki/MiniStation
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Auto-enable OOC during pre- & end-round

Post by paprika » #16058

Oh right, for spamming or what have you.

Still, that doesn't explain how the porting messed up, the code for ooc automuting is identical for both NT and TG. And scaredy just proved the config txt is set up properly too. Bizarre. Should I just comment the code out?
Oldman Robustin wrote:It's an established meme that coders don't play this game.
Giacom
Joined: Sat Apr 19, 2014 8:49 pm
Byond Username: Giacomand

Re: Auto-enable OOC during pre- & end-round

Post by Giacom » #16107

Probably if you don't have the time to investigate.
Check out my MiniStation map, for low population servers. http://tgstation13.org/wiki/MiniStation
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Auto-enable OOC during pre- & end-round

Post by paprika » #16209

It's fixed. Apparently all the server needed was an update after saucy added it to his config. Giacom never did anything wrong because he is the flawless god-king of coding and it was our fault all along.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
Locked

Who is online

Users browsing this forum: No registered users