Commit Graph

2607 Commits

Author SHA1 Message Date
Cael Aislinn
785a67e6df Merge pull request #306 from Nodrak/paperfix
Removes the null attack_verb from paper.
2013-04-06 23:19:15 -07:00
Nodrak
c8cc7f0646 Removes the null attack_verb from paper.
This should fix the "Victim has been  in the chest with the paper by Attacker!" message.
2013-04-06 10:59:33 -04:00
Cael Aislinn
2f2bda3adf Merge pull request #302 from Nodrak/parrot_fixes
Parrot fixes
2013-04-06 07:29:35 -07:00
Nodrak
c29a358d85 Moves the copy/pasted code into a function. 2013-04-06 09:45:03 -04:00
Cael Aislinn
ca871ad80e Merge pull request #305 from Giacomand/ViroFix
Disease Fix
2013-04-06 06:07:14 -07:00
Giacomand
ae0058b23c * Fixes diseases using the data of the same reference, meaning disease data won't overwrite everything.
* Created a new reagent proc called on_new(). It will be called after a disease is created in add_reagent().
 * Made vaccines copy the data they use, instead of referencing it.
2013-04-06 13:58:26 +01:00
Cael Aislinn
5d06d12848 Merge pull request #223 from Tastyfish/master
Fixed the inventory UI glitch for borgs on low power
2013-04-06 01:06:41 -07:00
Nodrak
570d6d3a7a Parrot fixes
- Parrots will now reset to wander after being stuck for long enough.

- Attacking a parrot will no longer give the attacker a "you have nothing to drop" message, that was a typical 'usr' error, woops.

- Fixed some typos in the comments.. What? That's totally commit log material!
2013-04-05 21:08:48 -04:00
Cheridan
8a314e7cd2 Shunted AI Tracking
-When an AI shunts into an APC, the pinpointer will begin tracking it. When the AI returns to its core, the pinpointer will go back to locating the nuke disc.
2013-04-05 16:16:23 -05:00
errorage
42ea6ef6b3 Merge branch 'adminbans' of https://github.com/errorage/-tg-station 2013-04-05 16:50:24 +02:00
errorage
3da9741500 Update to latest version of tgstation + resolves a conflict 2013-04-05 16:02:02 +02:00
Cael Aislinn
eef0731531 Merge pull request #218 from Carn/Issue207
Minor optimisation for my camera fix for issue #207
2013-04-04 16:22:02 -07:00
Tastyfish
2480e4f485 Fixed robots having a low charge getting their equipment state and UI out of sync. 2013-04-04 15:04:20 -04:00
errorage
2f132126e9 - Makes it impossible for admins to varedit the ckey or key value of client objects. This is to prevent admin log spoofing. 2013-04-04 20:33:23 +02:00
carnie
1511e0618c Minor optimisation for my camera fix for issue #207 2013-04-04 02:33:13 +01:00
Pete Goodfellow
33e9dca33a Added two if(stat == CONSCIOUS) checks and a comment to human_defense.dm. Stops dead/unconscious people giving 'x was knocked unconscious' style messages. 2013-04-04 00:20:25 +01:00
errorage
5f9bddd998 Removed a comment I should have removed before the previous commit. 2013-04-04 00:54:49 +02:00
errorage
096a9cf563 - Added an extra variable to determine the behavior of bans when they are applied. The variable is kickbannedckey. It is used to determine whether the bans, which are handled by db_ban kick the mob or not, if he is connected, that is. Some ban types, such as permaban and tempban, do not use this, as it is handled by legacy ban code. 2013-04-04 00:40:30 +02:00
errorage
912815f1d1 Admin bans
- Adds two new types of bans: admin tempbans and admin permabans. These ban types are in reaction to the rising number of banworthy admin issues. The original intent was to make admins unbannable ingame, so players could not spoof admin computer ids to get admins banned, with the assumption that admin issues will be rare and a big deal when they happen. They have however started becoming ever more common, so some tools are required to allow for admin self-policing.
- Each admin can have a maximum of one active admin ban (temporary or permanent) logged to their name. This is to prevent rogue admins from just banning everyone who could ban them. These bans are also not intended to be 'permanent-permanent'. They are intended to serve as a temporary fix, to get rid of rogue admins until the server host or another admin with rdp access (or +PERMISSIONS if you use DB_Admin) can deal with the rogue admin's removal. Once that is done, a normal permaban or tempban can be applied, and the admin permaban/tempban removed, restoring the banning admin's 1 allowed admin ban.
- Admin bans are considered a big deal, so they also send a message to irc, when they are applied.
- NOTE: Admin bans only check the connecting person's ckey. The risk of computer id spoofing still exists, so it's better not to have them check ips and computer ids. The admin abilities are given based on ckey anyway, so a ckey ban should be enough in most cases.

Other changes to bans
- Added a few variables to the funciton that adds a ban: maxadminbanchec (which is for admin bans and checks how many bans the admin can still apply); announceinirc and blockselfban (which prevents admins from applying the ban type on themselves. Currently applied for permaban, tempban, admin permaban, admin tempban)
- Changed the appearance ban database constant from APPEARANCE_BAN to APPEARANCE_PERMABAN, to make it more compatible with the ban log at http://www.ss13.eu/tgdb/banoverview.php
- Added a missing sanity check to topic.dm for appearance bans
- Renamed appearance bans to identity bans in admin panels (as per Pete's request)
2013-04-03 23:28:24 +02:00
Cael Aislinn
5c53a7a36f Merge pull request #208 from Carn/Issue114
Closes Issue #114 - Placing paper/pda to a camera will now print a link ...
2013-04-03 03:03:53 -07:00
carnie
78b2a6182f Fixes Issue #207 - Taking photos with obj/item/device/camera, no longer create 9 /mob to check which turfs are visible. It now uses hear() with no mob spawning. 2013-04-03 10:30:13 +01:00
carnie
6c44ab7130 Closes Issue #114 - Placing paper/pda to a camera will now print a link to AI's chat, where they can view the message.
This is far from the best solution, but it was all I could think of.
2013-04-03 08:35:34 +01:00
Cael Aislinn
bdfc088f91 Merge pull request #181 from Carn/Issue105
Partial solution to #105. Will fix a bunch of mislinks in admin toolpanels + PM system.
2013-04-02 19:05:47 -07:00
Cael Aislinn
7e660bb167 Merge pull request #201 from Cheridan/master
Hair Update Attempt 2
2013-04-02 17:34:31 -07:00
Cael Aislinn
a8528510d5 Merge pull request #202 from Giacomand/Pandemic_Href_Fix
Pandemic Href Exploit Patch
2013-04-02 17:24:17 -07:00
Giacomand
0eadef42f9 * Fixed an exploit with the Pandemic which could let you create any disease you want. 2013-04-02 21:27:44 +01:00
Cheridan
255fe983dd Hair Update Attempt 2
makes some hairs look better
adds fiveoclock shadow beard
2013-04-02 12:15:39 -05:00
Cael Aislinn
7b110f177b Merge pull request #199 from Carn/Issue197
IMPORTANT: Fixes Issue #197 - "Camera Range Display" verb now uses obj/machinery/ca...
2013-04-01 22:40:01 -07:00
carnie
d972a60ecc Fixes Issue #197 - "Camera Range Display" verb now uses obj/machinery/camera/proc/can_see() to calculate which turfs are visible by cameras.
Each turf in camera-range is marked with a maptext number indicating how many cameras can see that turf.

IMPORTANT: Changed the default fonts of the skinfile. This works around an issue with byond, where certain font-faces can cause HUGE increases in memory usage client-side, giving the illusion of lag, or severe crashes.
Before changing the font-face to 'Arial': using the camera range display verb would cause dream-seeker's memory usage to climb from 146,000 K to 800,000 K (and greater, but that is the limit of my laptop's pagefile, hence crashing my entire system)
After changing the font-face to 'Arial': using the same verb (with same code) resulted in negligible memory usage increase in dreamseeker, and works absolutely fine.

Status displays and such were not affected by this bug as they use a different font to the default set in the skinfile.
It did however affect stuff such as mining satchels, and may explain why some users found the game extremely 'laggy' or crashy
2013-04-02 06:21:19 +01:00
Cael Aislinn
d9bd0f8379 Merge pull request #196 from Aranclanos/First
Fixes circuit printers not accepting acid
2013-04-01 18:56:53 -07:00
Aranclanos
e016f9a3c9 Fixes circuit printers not accepting acid. Their afterattack() was being ignored. 2013-04-01 22:32:24 -03:00
Cael Aislinn
861084061e Merge pull request #167 from Petethegoat/implantdiskfix
Cavity implant disk fix, steal objective finding fixes
2013-04-01 10:32:17 -07:00
Cael Aislinn
d1db9d4abf Merge pull request #177 from Petethegoat/janicart
Replaces the janicart with the janitorial cart.
2013-04-01 10:21:46 -07:00
Cael Aislinn
fd2343dc56 Merge pull request #187 from Carn/Issue145
Resolve issue #145 - using reload_admins() will now tell other admins th...
2013-04-01 10:04:03 -07:00
Cael Aislinn
91c15c13dc Merge pull request #173 from Petethegoat/runtime_fixes
Runtime fixes
2013-04-01 09:56:25 -07:00
Pete Goodfellow
842d9028d3 Merge branch 'master' of github.com:tgstation/-tg-station
Conflicts:
	code/modules/mob/new_player/new_player.dm
2013-04-01 16:29:36 +01:00
Pete Goodfellow
98b37444d0 Merge branch 'underwear' of git://github.com/Carn/-tg-station into carnunderwear 2013-04-01 15:52:35 +01:00
carnie
7803301b90 Resolve issue #145 - using reload_admins() will now tell other admins the key_name() of the person who called it...rather than character name. 2013-04-01 05:01:32 +01:00
carnie
92a6929e85 Typofix 2013-04-01 02:56:33 +01:00
carnie
d2988fcf8a Hair and facial hair styles are now randomized when changing gender in preferences setup. Thanks Pete
Added some very basic tools for modifying/printing savefiles as plaintext (for testing).
2013-04-01 00:42:01 +01:00
Pete Goodfellow
6831ab046c Added a configuration option to force random names. This replaces the gameticker var/random_players. The 'Make everyone random' verb works as it did before. 2013-04-01 00:17:15 +01:00
carnie
8c489f662b Muting now uses uses a ckey in its href rather than a mob reference.
You can now mute admins.
2013-03-31 23:06:56 +01:00
Pete Goodfellow
adbd33e918 Merge branch 'underwear' of git://github.com/Carn/-tg-station into carnunderwear 2013-03-31 21:30:50 +01:00
carnie
66e6a2dbf0 Mobs each now have a unique tag which are not after they are deleted (unlike byond's \ref[] macro)
Since tag replaces the output of the \ref[] macro, this means that menus which use hrefs with \ref[mob] will no longer be able to accidentally link to the wrong mob.
The tags are of the form "mob_475" etc

Admin_pms now use ckey instead of client-reference. This means that PMs will no longer accidentally get sent to the wrong people.
There is no risk of players using hrefs to send adminhelps to known admin ckeys to see if they are online (as I'd already changed the PM system to not tell non-admin users whom received their message).

key_name() now accepts text input (key or ckey) - it is slightly more efficient to feed it a client or mob however!
This functionality is provided to allow certain admintools to become more robust when we want to talk about e.g. a griefer whom has just DCed whom no-longer has a corpse (no client/mob...just a ckey reference).
key_name() now reports DCed players properly.
2013-03-31 11:26:22 +01:00
Pete Goodfellow
fa37559c82 Fixes cable.dm. Cheri!! 2013-03-30 17:51:27 +00:00
Pete Goodfellow
2f57e16541 Merge branch 'master' of github.com:tgstation/-tg-station into janicart 2013-03-30 17:34:00 +00:00
Pete Goodfellow
32732d302f Merge pull request #178 from Cheridan/master
Janitor/Wire/Hydroponics Sprite Stuff
2013-03-30 10:30:42 -07:00
Cheridan
2dd68fc86d Janitor/Wire/Hydro Sprite Stuff.
-Adds janitor cart sprites for pete. Removes trash.dmi and merges it with janitor.dmi.
-Moves the 8 separate wire .dmis and puts them in their own folder.
-Moves plants.dmi into the flora folder.
-Adds sprites in hydroponics-related .dmis for my upcoming project. Greatly cleans up hydroponics.dmi
2013-03-29 23:33:40 -05:00
Pete Goodfellow
29e92f59cd Adds an exception for the janitorial cart to spray bottles. 2013-03-30 04:18:03 +00:00
Carnie
36bf4a35cf Merge pull request #174 from Petethegoat/suitnames
Fixes capitalisation of all suit names.
2013-03-29 12:11:22 -07:00