Commit Graph

402 Commits

Author SHA1 Message Date
SkyMarshal
d4393c482d Removed a duplicate proc. Pimped out the Blueprints. 2012-06-13 17:05:43 -07:00
SkyMarshal
d9fd228c68 Some nice fixes for ZAS. 2012-06-07 10:36:43 -07:00
SkyMarshal
1059311b5b Debugged ZAS. Removed another duplicate proc. Made sure turf changes are added to the air_master to be updated. Fixed errors on the map causing problems. Added different sized packages. Airflow readded. 2012-06-07 01:15:14 -07:00
Erthilo
c5ef488150 Fixes every having TK. As a side effect, nerfs TK back to match TG. 2012-06-03 03:34:35 +01:00
Erthilo
8d1f93fc49 TG: Updated toilets, urinals, and showers with NEW features.
The shower path has changed!
From /obj/structure/shower to /obj/machinery/shower

Made bookcases appear empty if they have no books, and fill up as more books are
placed in them.

Updated do_after() to have an extra var that determines if the user is required
to keep the item in the active hand. This is only used in swirlies at the
moment.
Revision: r3684
Author: 	 petethegoat
2012-06-01 23:28:13 +01:00
Mloc
fbb67b2e42 Huge commit! Standardizes var definitions in most places.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-29 16:26:48 +01:00
Albert Iordache
604f7c417d Merge branch 'master' of https://github.com/Aryn/Baystation12 into Aryn-master
Conflicts:
	icons/mob/screen1_Midnight.dmi
	icons/mob/screen1_Orange.dmi
2012-05-29 08:50:58 +03:00
petethegoat@gmail.com
f2f3c6bebf Updated toilets, urinals, and showers with NEW features.
The shower path has changed!
From /obj/structure/shower to /obj/machinery/shower

Made bookcases appear empty if they have no books, and fill up as more books are placed in them.

Updated do_after() to have an extra var that determines if the user is required to keep the item in the active hand. This is only used in swirlies at the moment.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3684 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 16:31:08 +00:00
Aryn
6f00258376 I accidentally ALL THE THINGS! But yeah, ZAS is updated. 2012-05-26 02:01:26 -06: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
baloh.matevz@gmail.com
c2c7a3bcda - Variable declaration standardization. Big commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3671 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 19:26:36 +00:00
johnsonmt88@gmail.com
fd529891ca 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.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3652 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 19:34:04 +00:00
cib
bc782cb575 Merge github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-19 19:42:30 +02:00
cib
e57851fbaf Fixed a few bugs with meme. 2012-05-19 16:47:09 +02:00
Albert Iordache
33f18717ad Fixed Get-Mob, #1038 2012-05-17 12:32:40 +03:00
cib
41a2b60520 Merge github.com:Baystation12/Baystation12 2012-05-14 17:55:19 +02:00
cib
e408cad967 Fixed a bug where memes wouldn't be added to their host's parasite list. 2012-05-12 21:41:56 +02:00
johnsonmt88@gmail.com
6951ec37ed Committed for Sieve:
Reverted dismemberment
- This is the majority of the files

Reverted the gun change
- You wont shoot yourself putting your gun away
- You don't have to fire off all of your shots before hitting someone with your gun

Reverted Tarajans
- As requested

Hotfix for the Holodeck.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3574 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-11 02:21:00 +00:00
Erthilo
8aae642d83 TG: Some fixes for topic calls and inputs.
There's like 1001 things to fix so some of this is somewhat crude for now.

new helper proc located in procs/helpers.dm
reject_bad_text(var/text)
just feed any text in and it will either return the original text or null (if it
contains odd characters such as \ / < > or characters reserved by BYOND. It also
rejects if there are no non-whitespace characters)
Revision: r3571
Author: 	 elly1...@rocketmail.com
2012-05-10 03:02:56 +01:00
elly1989@rocketmail.com
15bf7ea10a Some fixes for topic calls and inputs.
There's like 1001 things to fix so some of this is somewhat crude for now.

new helper proc located in procs/helpers.dm
reject_bad_text(var/text)
just feed any text in and it will either return the original text or null (if it contains odd characters such as \ / < > or characters reserved by BYOND. It also rejects if there are no non-whitespace characters)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3571 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-09 11:34:11 +00:00
Erthilo
026074d6c5 TG: (Might very possibly be broken. Didn't port most of the stuff due to it having been rewritten. - Erthilo)
Adds BS12 dismemberment.  Not all features of it are implemented yet, but it
should be equal to our previous system.
Adds greater changeling code, but doesn't change the genome count yet on it.
Renames registered to registered_name on IDs because bs12 had it and it seemed
like a good idea to do last night.  For some reason.
Adds an afterattack to mobs that can be used.  (In fairness, lots of shit in
attack_hand should be in there instead, like stungloves and stuff, to minimize
duplicated code)
Revision: r3537
Author: 	 VivianFoxfoot
2012-05-06 22:53:39 +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
246e503bc6 TG: AIs and Juggernauts/Wraiths/Artificers should no longer have random names when
they ghost.

Fixed a typo in the borg manual
Remove ripley_construct.dmi as it was unused.
Revision: r3521
Author: 	 kortgstation
2012-05-06 19:01:01 +01:00
cib
d625d9c912 Started work on Meme. 2012-05-06 10:49:24 -07:00
Erthilo
1ed9e2ae07 TG: (Does not actually change guns)
Guns with ammo no longer melee at point-blank range.   They now fire normally.
Guns without ammo you bash with.
Revision: r3506
Author: 	 VivianFoxfoot
2012-05-06 18:29:47 +01:00
VivianFoxfoot@gmail.com
a657fa5e9b Fixes guns some. Can't shoot yourself as easily anymore. You can now aim at body parts with your gun. I think the reason you couldn't before was just the failure to pass the def_zone up to the parent, not sure if that was intensional or not.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3554 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-04 05:10:00 +00:00
Ren Erthilo
b3420a9518 Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-05-02 00:37:35 +01:00
Ren Erthilo
b952f90a6e Remote viewing and TK are now mutually exclusive. Also fixes emagging doors. 2012-05-01 22:27:59 +01:00
VivianFoxfoot@gmail.com
4dfe439b1a Adds BS12 dismemberment. Not all features of it are implemented yet, but it should be equal to our previous system.
Adds greater changeling code, but doesn't change the genome count yet on it. 
Renames registered to registered_name on IDs because bs12 had it and it seemed like a good idea to do last night.  For some reason.   
Adds an afterattack to mobs that can be used.  (In fairness, lots of shit in attack_hand should be in there instead, like stungloves and stuff, to minimize duplicated code)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3537 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-01 15:33:29 +00: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
6c98b2048c TG:
Removes poo. XSI and co. weren't very fond of it, and the last thing I would do
is make them uncomfortable and challenge their leadership by keeping poo in.

An experimental lagfix, which removes a couple THOUSAND unnecessary machines
from the machine processing list. Please report any unresponsive machinery (as
result of this commit) as HIGH PRIORITY issues. I'm not quite sure how much lag
this will kill, but I'm confident that it will be at least slightly noticeable.

More work on step_triggers. The escape shuttle should no longer blast things
forever and give them infinite momentum.

Runtimes goin down for the count
Lookin at the ground
I think they a hater
Revision: r3370 r3371
Author: vageyenaman quartz235
2012-05-01 00:36:20 +01:00
Ren Erthilo
e9dcbd5916 TG: - Fixed one of the ways the Core R&D Computer can lock up and become completely
unusable. If it gets stuck from using this method, just close the window and
click on the computer again. Fixes  issue 316 .

- Vaccine bottles from the panD.E.M.I.C. now auto-name. There was a bug where
you could very quickly create a ton of bottles which could cause clients to
crash. Fixes  issue 326 .

- Changed various ASSERT()'s to sanity ifs. ASSERT should really only be used
during debugging, not in release. Runtime prevention.
Revision: r3368
Author: 	 johnsonmt88
2012-05-01 00:17:29 +01:00
Ren Erthilo
5f316b525a TG: Adds a isDay() function and isAprilFools() macro function which uses isDay() to
determine if it is month 4 day 1. GET BUSY.

Other shenanigans.
Revision: r3361
Author: 	 vageyenaman
2012-04-30 23:12:14 +01:00
baloh.matevz@gmail.com
a9365d38e1 - 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.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3532 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-30 03:13:04 +00:00
Ren Erthilo
c467b4f84e TG: Adds Halloss as a damage type weapons can do. Halloss can be healed by
sleeping.  Halloss now effects the interface more fully.
Adds a holodeck to fitness!
Tensioner now respects antagonist preferences (Mmph.  More antagonist for me.)
More flailing attempts to fix the tensioner assigning braindead people.  (How?)
Revision: r3342
Author: 	 VivianFoxfoot
2012-04-29 23:16:02 +01:00
Ren Erthilo
2b96fec3f1 TG: Bugfixes for NTSL. AIs can now use script consoles. Fixes crashes.
Buffs metroid magic. More core uses!
Revision: r3334
Author: 	 vageyenaman
2012-04-29 22:41:02 +01:00
kortgstation@gmail.com
8fee7b7240 AIs and Juggernauts/Wraiths/Artificers should no longer have random names when they ghost.
Fixed a typo in the borg manual

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3521 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-27 01:56:21 +00:00
VivianFoxfoot@gmail.com
a3bfd6ca3f Guns with ammo no longer melee at point-blank range. They now fire normally. Guns without ammo you bash with.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3506 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-25 19:56:48 +00:00
Ren Erthilo
577669920f TG: Borg radios now work while they're recharging
MMIs/pAIs/lockers in the dark can now hear.  This was done by changing the area
check for hearing to a range instead of view, and then doing a line of sight
calculation for each mob that can't hear naturally and checking if it's clear.
Revision: r3180
Author: 	 VivianFoxfoot
2012-04-24 20:28:38 +01:00
Ren Erthilo
2d7c9354d7 TG: - All PM links are now tied to clients and not mobs. What this means is that all
PM links (the links admins get in admin messages which lead to a PM) should now
point directly to the client, if one still exists or report them as
disconnected. This means that there should no longer be problems with clients
which swap mobs.
- Made the player-side admin pm message more visible and obnoxious. Some players
might find it annoying but at least it will not leave much room to complain
about "missing PM-s"
Screenshot:
http://www.kamletos.si/admin%20message%20format.PNG
- Fixed that awkward X in asay messages, which moved whatever mob you were in to
the location of the person who said the message. Replaced it with JMP, which
does the same as the JMP in adminhelps - makes a ghost and moves that ghost to
the location:
Screenshot:
http://www.kamletos.si/admin%20say.PNG
- Ghosts which find themselves locked in any form of container (closets most
commonly) will now (FINALLY) exit the container (and it is any container!) after
they click one of the arrow keys.
 Revision: r3121
Author: 	 baloh.matevz
2012-04-22 23:05:25 +01:00
Ren Erthilo
010d200fd1 Hotfix for newscasters with odd characters not working. 2012-04-21 18:32:42 +01:00
VivianFoxfoot@gmail.com
518fbfaa0a Intercoms now work in the darkness
Adds job selection randomization by Randomone

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3484 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-21 14:30:52 +00:00
quartz235@gmail.com
1b74952dd0 Fixes some runtimes, involving do_mob, observe, send_status on mulebots, check_gas_mixture, the explosion cinematic, sleeper get_reagents_amount, and a possible (albeit unlikely) fix for throw_at
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3478 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-19 00:14:56 +00:00
Ren Erthilo
2cf4c2878a Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-04-18 20:04:17 +01:00
CaelAislinn
2a82b40740 files for alpha version of rust fusion reactor.
rust integrated into antiqua, no breakroom.
lots of fusion bugs, missing features and imbas but it works.

Signed-off-by: CaelAislinn <cael_aislinn@yahoo.com.au>
2012-04-19 01:20:35 +10:00
Ren Erthilo
841105e1f5 TG: Widespread grammar fixes! Still loads I've yet to fix. It'll take forever.
Resolved  Issue 333 : The plastic flaps on the mining station now actually block
air-flow. http://code.google.com/p/tgstation13/issues/detail?id=333
Fix for runtime in  issue 332  until getrev is fixed.
https://code.google.com/p/tgstation13/issues/detail?id=332
Resolved  Issue 331  https://code.google.com/p/tgstation13/issues/detail?id=331
Resolved  Issue 304  https://code.google.com/p/tgstation13/issues/detail?id=304
Removed a lever I found randomly placed within the asteroid rock.
Revision: r3021
Author: 	 elly1...@rocketmail.com
2012-04-17 22:11:45 +01:00
Ren Erthilo
ccc5c217b7 TG: More SQL injection patches. Added a standardized method of SQL sanitization
[sanitizeSQL()].
Corrected a href list vulnerability that let players spawn Arcane Tomes from
non-e-magged library computers.
Tweaked and disabled forum_activation.dm. Way too many SQL vulnerabilities to
justify keeping it around.
Revision: r3012
Author: 	 only.lurking
2012-04-17 21:19:35 +01:00
Ren Erthilo
1c860e4184 Recommits Cael's fix for mechs interacting with occupants items. 2012-04-16 14:27:52 +01:00
Ren Erthilo
99c8e8a948 Revert "Fixes admin jumping. Done by reverting some changes here: https://github.com/Baystation12/Baystation12/pull/786"
This reverts commit 44797c33db.
2012-04-16 12:37:05 +01:00
Ren Erthilo
44797c33db Fixes admin jumping. Done by reverting some changes here: https://github.com/Baystation12/Baystation12/pull/786 2012-04-15 20:06:05 +01:00