Commit Graph

201 Commits

Author SHA1 Message Date
Erthilo
aa7da6f36c Fixes Mods being able to use Subtle messages. Fixes mod panel. Prevents mods from seeing stealthed admins in various places. Fixes mods seeing gibbed messages. Changed colours to be more readable, mod say is now brown. 2012-06-02 21:17:37 +01:00
Erthilo
ae316d58f8 Tweaked Moderators:
* They have their own channel msay, which all mods and admins can use.
* They cannot see or use asay, but they can see and respond to adminhelps and admin PM's.
* Their PM's will come up in maroon and show MOD PM.
* They have a moderator panel that shows name, ckey, IP and CID.
* They can use Set-Play, Set-Observe, Show-Skills, and can read and write Player Info.
* They can Deadmin themselves for the round.

Other Changes:

* Player info now shows the rank of who typed what.
* Admins are messages when player info is modified.
* Tweaks to prevent moderators using some commands.
2012-06-02 20:14:23 +01:00
Erthilo
fe8192ed65 Records system. You can now set your characters Medical and Security records. Remember, these are official NanoTrasen records, and should be written as such. Admins can ban people from using records by selecting 'Records' from the jobban panel. 2012-06-01 03:20:50 +01:00
Erthilo
6e289dabfc TG: Sanitized a large number of input()s.
- Hopefully this will cut down on the server spamming/crashing escapades
happening on other servers. (This wont stop that from happening, this just makes
it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.

Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short.
26's are annoying when they have to be changed and you have to hunt through over
a hundred files and tens of thousands of lines of code to find them all.

Moved uplink_kits.dm to code/game/objects/storage

Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate
dm files but this will do for now.

*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it
gets shown to the user through html or the like.

If it does please sanatize() or strip_html() it. Also use copytext() to cutoff
spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.
Revision: r3652
Author: 	 johnsonmt88
2012-05-26 00:09:56 +01:00
Erthilo
57f1c15f15 Adds feedback for temp whitelisting, added some people to the alien whitelist, update changelog with credits list! 2012-05-22 23:43:15 +01:00
Erthilo
8131287d03 Hopefully fixes the handle_regular_status_updates runtime. Also adds option for admins to allow Taj/Sog for a round on the player panel. This needs to be done before spawning! 2012-05-22 22:14:47 +01:00
cib
79e2cdef86 Updated changelog. Added some bug info to places in the code. 2012-05-22 14:29:01 +02:00
cib
fda676435e Added a specific sleep message, memes now see their points on the status screen, admin-adding a meme now adds them to the meme list. 2012-05-22 13:55:00 +02:00
cib
d887d8ae41 Fixed a few issues with the meme admin stuff. 2012-05-22 13:13:01 +02:00
cib
56b178f396 Implemented #1107. 2012-05-22 11:24:42 +02:00
Albert Iordache
474c6a4a4f Removed the start_vote command, because it can only have 3 buttons and no cancel option. Start it up via the voting command, now. 2012-05-15 10:07:45 +03:00
SkyMarshal
2c18852662 Made req_access work like req_one_access used to; req_combined_access is now used for when you need more than one type of access to be checked together. Adjusted maps to reflect this. 2012-05-14 15:04:38 -07:00
Erthilo
28f7a58905 TG: - Added a rudimentary transformation section to the options panel (show player
panel verb). This allows rudimentary mob type changes to any mob. These are
however generic and non-mob-specific, as they only copy over some of the most
needed variables, such as the three name variables, dna and mind. They do not,
for instance, create a MMI for cyborgs. A note of this is also added to the
player panel.
- Once you click one of the links a popup will appear asking you whether you'd
like to delete the old mob of the player (yes or no) or cancel this
transformation.

Screenshot:
http://www.kamletos.si/options%20panel%20rudamentary%20transformation.PNG
Revision: r3534
Author: 	 baloh.matevz
2012-05-06 21:01:19 +01:00
Erthilo
097b08fa25 TG: - Redesigned the options panel (show player panel verb) to be less terrible.
Screenshot: http://www.kamletos.si/options%20panel.PNG

- Made some changes to admin verbs:
- Rejuvenate verb removed from mobs, is now in the options panel above (heal).
- Drop everything verb moved into view variables, added a confirmation message.
- Mute verb removed from mobs, use the options panel.
- Warn verb removed from mobs, use the options panel.
- Grant full access moved to debug verbs.
- Rejuvanate as a verb also still exists in debug verbs.

These changes were made to make right clicking a mob not show a million unneeded
verbs. They were moved based on the statistics gathered via feedback logging:
http://www.kamletos.si/tgdb/latest_stats.html#adminverbs

Please post any additional feedback on the admin forum.

Renaming mobs by clicking the big name at the top of the view-variables screen
now updates real_name too.

Additionally, if the mob is human, the first ID and PDA found in the mob's
contents which is associated with the original name, will have their details
updated.

Nomore having to edit like, 6 variables everytime somebody names themself
"dicks", "sanic" or "captain" ... etc.

Revision: r3532, r3533
Author: 	 baloh.matevz, 	 elly1...@rocketmail.com
2012-05-06 20:55:16 +01:00
Erthilo
ba81429a22 TG: - Check antagonists is now a verb available to anyone who has access to the
secrets panel. (Admin Candidate and up)
- set ticklag moved to debug verbs, enabled by calling 'debug verbs' as a game
master.
Revision: r3530
Author: 	 baloh.matevz
2012-05-06 19:37:58 +01:00
Erthilo
10924ae90b TG: - Player panel new now has a link to the traitor panel for players, labeled as
TP
- Player panel new will now properly display all antagonists in red
- Added a link to 'check antagonist' to the top of Player panel new.
- Removed some copied, unused files
- Added a default variable to fake insulated gloves for the siemens coefficient.
Do not ever set it to default to null! It will break any place where
initial(var) is used!
Revision: r3528
Author: 	 baloh.matevz
2012-05-06 19:32:40 +01:00
Erthilo
d21cbab61c TG: Fixed dust() and gib() leaving invisible overlays everywhere
Fixed deaths at the end of nuke rounds, optimised the code a little

gib() is now hgib() (ie it's specific to humans). gibs.dm() now only spawns
generic gibs that could be from any mob.
Likewise for dust.
Awaiting generic dust() and gib() animations.

Fixed (hopefully, depends if firewalls block this method) getruntimelog.
GameMasters no longer have the getruntimelog verb. Instead they have
.giverutimelog . This allows them to grant a specific client access to the
server's runtime logs. (they can grant themself access this way too). NOTE:
runtime logs can be used to meta, only grant access to coders or people you
trust. It may also be wise to ensure they do not play in the current round.

Introducing .getserverlog . It allows any admin above moderator to access ANY
archived server/attack logs. Should mkae processing forum ban requests a lot
easier since all admins with ban capabilities now have access.

getruntimelog renamed to .getruntimelog . File-request spam prevention increased
to 60seconds to discourage access serverlogs too much! They can reach sizes of
4Mb sometimes so please be responsible with them admins.

runtime logs should now be saved to /data/logs/runtime/ (you may have to create
this folder yourself)

ummm... fixed gibs appearing below shuttle turfs. Trimmed some uneeded fluff
text from the logs.
Revision: r3509
Author: 	 elly1...@rocketmail.com
2012-05-06 18:50:52 +01:00
CIB
d5f353cf35 Merge pull request #984 from Erthilo/master
TG Updates up to r3502
2012-05-06 01:19:58 -07:00
Albert Iordache
1748661bd0 Merge pull request #980 from CIB/master
Epidemic and bugfixes
2012-05-06 00:20:03 -07:00
Erthilo
afd33125ab TG: - hand tools now fit on your belt slot
- added feedback logging for newscasters
- added feedback logging for admin verbs
- added shuttle timers to escape pods
- added feedback logging to chemical reactions
- clipboard can now fit on your belt
Revision: r3465
Author: 	 baloh.matevz
2012-05-05 21:34:34 +01:00
cib
cd3e8d8ba9 Fixed bug #872 2012-05-05 04:03:56 -07:00
Ren Erthilo
39f6da4c59 TG: Rewrote blackholes (gravitational anomalies) and wormholes to try and optimise
them a little. If you have any concerns about how I've done so just give me a
shout and I'll either rework them or revert my changes back. Wormholes
especially seem a bit faster on my laptop. Smoke has temporarily been removed
from the blackhole event until I get time to investigate why the hell
effect_systems are using so much memory ( spark effects were using 40% of my
processor a second ago D: ). To compensate this I made them a new sprite.

Commented out the authentication system. It was the remnants of the old goon
authentication stuff (or maybe even older) and wasn't actually used in our code
at all (at least not in any useful way, it was merely called and short-circuited
to 1, so all those if(authenticated) were totally pointless. This has removed 3
unused variables from every client, a bunch of unused variables from the config
and two empty text files!

Committed (as a config option) a feature requested by Apoc station. It causes a
'reply to' window to popup when an admin PMs a non-admin player. It's meant to
grab their attention so they can't say "I didn't see your PM". It defaults to
off. To turn it on just uncomment the #POPUP_ADMIN_PM line in config/config.txt

Fixed a derp in isday where it was fetching the month instead of the day.

Removed medal references from Gib()

Removed the medal_hub global variables because they aren't used in any way shape
or form.
Revision: r3444
Author: 	 elly1...@rocketmail.com
Date: 	Apr 12, 2012
2012-05-03 02:22:25 +01:00
Ren Erthilo
f7e4ab6975 TG: Adds randomlly spawning rooms to the mining asteroid that contain various
goodies.  (Among them are a modified traitor beacon, a cloaking device and a
closet full of resources so you can go build your own honk.)
These rooms will spawn at least out of range of space and the explored pathways,
so at the very least some mining is required to even detect them with mesons.
Adds a borg upgrade system. Right now, it just contians a borg reset module that
allows the borg to choose their module again.  Adds some support code to borgs
to suppot flashproofing and renaming.
Adds a few various admin commands like a quick-list of objects (which is
hardcoded) and a command to break the local air group.
Revision: r3415
Author: 	 VivianFoxfoot
2012-05-02 00:21:18 +01:00
Ren Erthilo
e2b21ce916 TG: Runtime fix for paint
Shuttle call/recall announcements are now more noticeable. Removed a few ways
they could be spammed.
Cats and Dogs can see in the dark.
Recommitted some of the poop stuff by Doohl because, hell it's only one day and
I don't hate fun.
Revision: r3382
Author: 	 elly1...@rocketmail.com
Date: 	Mar 31, 2012
2012-05-01 14:09:47 +01:00
Ren Erthilo
8fc2270701 TG: Added the Behemoth and Harvester sprites (By Ausops) and the cult turfs by
Ausops. Committing because putting them all into the DM properly named was a
pain in the ass and don't want to have to redo it for whatever reason.
Revision: r3358
Author: 	 kortgstation
2012-04-30 22:02:58 +01:00
Ren Erthilo
67d1f32883 Adds silent AI transform to player panel/view variables. 2012-04-29 04:21:07 +01:00
Ren Erthilo
2509944849 TG: Adding back in the Traffic Control Console to the telecomms satellite. Let's
hope you guys don't fuck over the server with this!

Committed Nodrak's work on Jobbans. (Thread:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=8082)

Some miscellaneous mapwork and runtime fixes.
Revision: r3283
Author: 	 vageyenaman
2012-04-26 23:09:42 +01:00
Ren Erthilo
2cc2523027 TG: - MAX_EXPLOSION_RANGE is now a variable instead of a #DEFINE
- Added a link to the secrets panel that allows the changing of the bomb cap to:
14, 16, 20, 28, 56, 128

Bomb cap is calculated:
devestation range = bomb cap * 0.25
high damage = bomb cap * 0.5
low damage = bomb cap
flash = bomb cap * 1.5

so the values for the different levels are: (screenshot)
http://www.kamletos.si/bomb%20cap.png

This function is game admin + game master only.
Revision: r3169
Author: 	 baloh.matevz
2012-04-24 19:35:42 +01:00
Ren Erthilo
7d04c9c169 TG: Added Spacevines to the random events. Added a spawn space-vines option to the
secrets panel.
Fixes  issue 250  (borg door bug)
Fixed silicon interactions with engineering equipment.
Fixed access lists for radiation collectors, so locking them actually serves a
purpose. Fixed using crowbars on them.
Borgs can name themselves upon module selection (unless a roboticist has named
them previously by using a pen)
To avoid Borgs griefing and then changing their name by selecting a module,
borgs are now unable to move independently until they choose a module.
New sprites for spacevines are on the way. So you'll have to tolerate my crappy
stand-ins for a bit until he is finished with them.
Revision: r3128
Author: 	 elly1...@rocketmail.com
2012-04-23 21:07:55 +01:00
Ren Erthilo
17d249c2c7 TG: - Replaced a few more conveyor switches with the one-way conveyor switch.
- Added feedback gathering for radio, rc and pda message use. (Only the number
of messages sent is recorded)
- Generalized the 'round_end' time feedback logging into a proc that now also
handles the radio/pda/rc processing at round end. (
blackbox.round_end_data_gathering(), where blackbox is the blackbox recorder
object. )
 Revision: r3111
Author: 	 baloh.matevz
2012-04-22 21:07:45 +01:00
Ren Erthilo
0d74c0e43b Oops, ignore those verbs. 2012-04-19 20:25:43 +01:00
Ren Erthilo
242648c256 Properly adds attack logging to a separate attack log. Also adds logging for flashbangs. Config change too! 2012-04-19 20:18:24 +01:00
Ren Erthilo
8080b4b688 Adds a neat warden hat. Jobbans now display an appeal link. 2012-04-17 02:53:00 +01:00
Ren Erthilo
2749475bcc TG: moving all the git stuff over to this so people who don't want to spend 8 years
figuring out the bass ackward git system can actually run our server code
Revision: r2983
Author: 	 quartz235
2012-04-16 23:13:06 +01:00
Ren Erthilo
6176a3ab3b Fixes a Jooban typo. 2012-04-16 16:11:08 +01:00
Ren Erthilo
c33a00a1b2 Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-04-11 20:49:14 +01:00
Ren Erthilo
ae5ea54af1 Reverts ZAS
This reverts commit fd09ea6ce8. and https://github.com/Baystation12/Baystation12/pull/681
2012-04-10 17:38:44 +01:00
Ren Erthilo
3b22ebee38 TG: Adds logging in the form of an attack log.log (now enabled by default)
You can now drag PDAs onto yourself to open the screen
Disables the fire damage causing husking.
Revision: r2926
Author: VivianFoxfoot

Other misc changes to logging.
2012-04-09 18:15:16 +01:00
Ren Erthilo
61d5eff00a Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-04-09 17:57:12 +01:00
Ren Erthilo
9c3ce6aaf0 TG: Jobbans now ask for a reason each time you try to apply a jobban. Reasons are
displayed in the 'show job bans' panel. r2922
Author: 	 baloh.matevz
2012-04-09 15:34:41 +01:00
Ren Erthilo
ad590fbbc4 Fixes setting status display from comms console. Messages can now be sent to CentCom (admins) using comms console, and the Syndicate (also admins) when emagged. This functions like a prayer. 2012-04-08 12:20:14 +01:00
SkyMarshal
9b1f50bf35 Merge branch 'master' of github.com:Baystation12/Baystation12 into Airlocks 2012-04-04 19:58:59 -07:00
SkyMarshal
9b80544204 Small timestamp change 2012-04-04 19:58:44 -07:00
Ren Erthilo
ebebfaabb3 Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/modules/mob/mob_defines.dm
2012-04-04 20:19:23 +01:00
SkyMarshal
f009f9928c More fixes and improvements. Removed several "src."s, added some proper sorting for mobs on player lists stuff and admin stuff. Added a timestamp to player info/notes, made flavor text play nice with the new examine system. Nerfed stunning against armored targets. 2012-04-03 21:22:21 -07:00
Ren Erthilo
e6b85575f6 TG: brainloss is now only referenced via procs. r2874 2012-03-26 23:20:45 +01:00
SkyMarshal
f45aff1bae Chameleon Jumpsuit now has armor, space tiles now get generated faster, fixed fingerprint runtime, optimized autosay, fixed crates + package wrappers, retired admins are no longer spammed, can now click through blindness, packages and evidence bag contents now count toward traitor objectives, stunning and such stops you instantly, guncode improvements. 2012-03-24 17:21:31 -07:00
toemik
4bbfe821e4 Minor formatting adjustment to Round Duration. Credit: SkyMarshal 2012-03-17 02:15:21 -04:00
toemik
98aa58dd60 Added Round Duration to Game tab. Also fixed extra "0" in Round Duration in Admin > Secrets panel when minutes are in the double-digits 2012-03-16 02:53:10 -04:00
unknown
4861e100be Zoned Atmos System, merged properly from aryn's repo.
- Explosive (de)compression, breaches are much more fun!
- Improved fire
- Faster system, with less splitting

Signed-off-by: unknown <Colm@Blue.(none)>
2012-03-15 22:40:00 +00:00