Commit Graph

148 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Albert Iordache
324a024d52 Commented out the no name check for mobs in proc/getmobs(). Too annoying 2012-04-06 23:52:12 +03:00
SkyMarshal
5b3ad2a925 Made transformations between mobs with organs work better. Destroying a limb removes implants. Implants now go where you select. Fixed some runtimes and retardedness. 2012-04-05 21:55:41 -07:00
SkyMarshal
e8f5e13bd2 Further improved stuff for dealing with associative lists. You can now modify the contents of an associative list. Removed static background noise. Added CarbonCopy command from oldcode. 2012-04-04 23:02:24 -07: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
SkyMarshal
9e694e545b Some more changes/improvements. Proper torso sprite for monkeys 2012-04-02 21:52:30 -07:00
SkyMarshal
a90173c628 Part one of bugfixes for the new damage system. 2012-03-31 22:01:21 -07:00
Ren Erthilo
089e844be9 A large amount of groundwork for /tg/ code. Comes with some gameplay changes.
* + You now take severe brute damage in environments over 750kPA. A new HUD icon warns you when it's above 500kPA. Space suits block this.
* > Welding fuel tanks explode when shot.
* > Riot shields prevent you from being pushed.
* > People cannot be shoved when being pulled and handcuffed.
* > The internals button on the hud now works for tanks in almost any area, such as your pocket.
* > No more popups when you insert your ID into your PDA. There's a link in the PDA menu to update info.
* - Removed photo system from ID's as it doesn't work.
2012-03-26 03:16:01 +01:00
SkyMarshal
0d2b327ded Chemicals now react in mobs, old reaching restrictions, fixed a give bug, tried to fix a resting bug. 2012-03-18 11:35:52 -07:00
unknown
fd09ea6ce8 ZAS bugfixes.
Signed-off-by: unknown <Colm@Blue.(none)>
2012-03-16 09:06:55 +00:00
Hawk-v3
bdff096c4c Subject: [PATCH 086/285] TG UPDATES:
- Simple event dispatch system.
- atom.forceMove() proc. Ignores density and other Move()restrictions, but calls Exited() and Entered()
- var/emagged moved to /obj/machinery class - anyprob() helper proc.
- Mecha internal damage varsencapsulated.
- Mech Fabricators now require robotics ID to operate. Emag removes this restriction.
- Added Odysseus Medical Exosuit and it's parts. Has integrated Medical Hud and ability to mount medical modules.
- Added Sleeper Medical module for medical exosuits. Similar to common sleepers, but no ability to inject reagents.
- Added Cable Layer module for exosuits. Load with cable (attack cable with it), activate, walk over dismantled floor.
- Added another exosuit internal damage type - short circuit. Short-circuited exosuits will drain powercell charge and power relay won't work.
- You should be able to send messages to exosuit operators using Exosuit Control Console
- Gygax armour and module capacity nerfed.
- Exosuit weapon recharge time raised.
- Bugfix: EMP actually drains exosuit cell and damages it
2012-03-01 20:50:19 +00:00
petethegoat@gmail.com
175875fc87 TG Update: do_after() now does its checks every tick, thus preventing people from fucking off for the duration, and coming back just before it finishes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2770 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-01 18:46:41 +00:00
CIB
27fd036c87 Merge pull request #539 from SkyMarshal/master
Fixed lasers, balanced nuke, removed stupid code, removed Karma, improved admin panel.
2012-02-28 00:44:06 -08:00
SkyMarshal
b653c615be Replaced a lot of stupid from the wardrobes and package wrap, they now use an afterattack call instead of specific code for them in EVERY OTHER ITEM.
Improved the admin panel.
Removed Karma.
2012-02-28 00:11:15 -07:00
Hawk-v3
ef02499eec Commit for Patch 23 2012-02-26 23:47:26 +00:00