Commit Graph

149 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
cib
3a74270e29 Merge github.com:Baystation12/Baystation12
Conflicts:
	code/modules/mob/mob.dm
	code/modules/projectiles/projectile/change.dm
2012-05-29 13:43:20 +02:00
cib
0799cddb4b Cleanup of all the update_clothing() calls.
Mostly I replaced them with rebuild_appearance() or update_body_appearance() where suitable.

I also reorganized the new update_clothing() code a bit.
2012-05-27 20:43:52 +02: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
Uristqwerty
fb51e184f2 Yep, thee was a bug. 2012-05-24 02:29:54 -04:00
Uristqwerty
01b038ff27 Introducing Uristrunes!
Built crom components, each cult word gets it's own unique appearance,
that it adds to the final rune. Correct combinations will glow ever so
slightly, the others remain a single colour.

The system behind them is a bit more powerful, supporting a full 1023
combinations, although far fewer can be reached in-game (as the system
doesn't care about word order, and you can't use enough words to have
more than three of the components as part of any rune).


With this commit, it compiles, but I haven't quite tested anything
in-game, so there might be a followup bugfix. Or there may not.
2012-05-24 01:34:35 -04:00
SkyMarshal
58570a0f65 As many bugfixes as I could cram into here. 2012-05-20 14:23:10 -07:00
SkyMarshal
502c66664c Some more work on FEA, WIP FEA/ZAS work, does not effect the game currently. 2012-05-11 18:06:21 -07:00
Erthilo
08191c824d Merge branch 'DetectiveWork' of https://github.com/SkyMarshal/Baystation12 into SkyMarshal-DetectiveWork
Notes:
Fucking hell. Makes the detective backend shit non-retarded. <3 Hashtables.
Map changes. Some improvements/adjustments to code to work with the map changes.

Conflicts:
	baystation12.dme
2012-05-10 16:48:01 +01:00
Erthilo
9b334464df TG: Cooldown on book printing actually works and is simplified.
Revision: r3569
Author: 	 quartz235
2012-05-10 02:55:25 +01:00
Erthilo
165b516949 TG: Fixes a pAI requests runtime caused by clients disconnecting.
Fixes a host of runtimes caused by lag delaying "transmissions" between
telecomms machines. Various objects were being deconstructed during this lagtime
resulting in a bunch of weird null errors. Tested for 24hours on another server.
Seems to be all ok.

Added some rudimentary checks to advanced proccall. Calling procs owned by
objects is now a little less prone to runtimes. still a bunch of stuff to do to
get it safe enough though.
Revision: r3542
Author: 	 elly1...@rocketmail.com

Ported over BS12's piano code. I say ported, it's not like it's anything but a
copy/paste though.
Also changed the icon to the minimoog, to reflect on how FUTURISTIC it is.
Revision: r3543
Author: 	 petethegoat
2012-05-10 00:16:09 +01:00
SkyMarshal
ef7f71a963 Fucking hell. Makes the detective backend shit non-retarded. <3 Hashtables. 2012-05-09 12:01:27 -07: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
Erthilo
a40b911ce5 TG: Shades, Juggernauts, Wraiths, Artificers all now have minds.
If a cultist builds a construct, that construct will be a cultist. This means
they can see cultists finally (and will probably count for the escape objective,
so that might need changing numbers wise)

Fixed some typos in the cult runes (godamnit Urist) and the blind rune can no
longer be made into a talisman, cause a handheld, instant, AoE blind that lasts
20 seconds with no counter is retarded.
Revision: r3507
Author: 	 kortgstation
2012-05-06 18:32:39 +01:00
Erthilo
f2777aa65f TG: Tonnes of stuff, please check the changelog.
In short: massive updates to security, the library, hydroponics, the kitchen and
the bar, by Flazeo and Ikarrus
Massive updates to the PA, with Invisty's new sprites, done by Sieve
New sprites for field gens too, also by Invisty
Borg and battery updates by Sieve
Fake gloves by Sieve
I messed around with some pressure_resistance stuff on Dumpdavidson's suggestion
(only in paperwork)

PROBABLY A BUNCH OF OTHER SHIT
Revision: r3505
Author: 	 petethegoat
2012-05-06 18:26:41 +01:00
Ren Erthilo
3cb1acecf9 TG: Tossed Doohl’s bible delay into the book printing to prevent server crashing
spam.
Revision: r3418
Author: 	 mport2004
2012-05-02 00:34:57 +01:00
Ren Erthilo
f6b22b9d2c Adds null rod properly. Removes effects from bible. 2012-04-22 05:05:54 +01:00
Ren Erthilo
23cb47f0b1 TG: The armoured construct is now known as the Juggernaut. Its health was lowered
and it takes massive damage from being hit with a bible. The Juggernaut has a
lesser version of force wall.

Added the Wraith construct, a faster, more fragile construct which has a lesser
version of Ethereal Jaunt. It too is vulnerable to bibles.

The Chaplain is now immune to blood boil, stun talismans, and cult blind/deafen

Constructs are finally creatable by using a full soulstone on an empty construct
shell. The creator will be able to choose which kind of construct is created.

Cultists can get construct shells from their supply talisman

Wizards now get the spell "Artificer" which allows them to create construct
shells for free when they select the soulstone belt.

Medical Borgs are now relentless to prevent them losing hold of incapacitated
patients.

Added the Artificer (conjure construct shell), Phase Shift (lesser jaunt), and
Shield (lesser forcewall) spells
Revision: r3054
Author: 	 kortgstation
2012-04-21 20:49:59 +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
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
Tastyfish
f697c82919 disabled books ever using sql 2012-04-14 16:31:38 -04:00
SkyMarshal
d03228bc6e Adds in limb replacement surgery, robolimbs, and all the crap for them. They can take more damage, require wires and welder to repair, but malfunction when they get more damaged, and explode when destroyed. 2012-04-11 15:42:54 -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
9e694e545b Some more changes/improvements. Proper torso sprite for monkeys 2012-04-02 21:52:30 -07:00
Ren Erthilo
946464432c TG: Soul Stones can now summon Shades.
Soul Stones can now capture Shades (which heals them)

Soul Stones capturing a soul will now be imprinted with that shade, and be
unable to capture new souls/other shades

Added ectoplasm object/sprites. As of now it has no uses.

Shades now delete on death and leave ectoplasm behind.

Soulstones can be bought with the wizards spellbook (as a set of six) and from
the cultist supply talisman.

The Chaplain has a single soulstone in his office (mostly for testing/so it will
get used often and I can get feedback)

Speaking of items on the map for testing, Reactive Teleport Armour no longer
spawns in the RD's office (because Urist will murder me if I have to retarded
test items out at once)

Removed some no longer needed code regarding soulstones from the suicide verb.

Updated the changelog r2821
2012-03-26 18:09:35 +01:00
Miniature
cf53a0cc7a Attack logging (finally)
there might be some things I missed, and feel free to change the messages if you want
2012-03-08 15:16:54 +10:30
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
kortgstation@gmail.com
748c1b8990 TG Updates: Sprited/added the blue magus and red magus robes
The blue version functions as wizard robes and spawns on the wizard's shuttle, the red versions replace the old cultist robe sprites.

Cultists now each start with join/blood/self instead of one random word each.

Cultist supply talisman now has five uses and can spawn armor talismans.

Updated the changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2749 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-01 02:59:33 +00:00
quartz235@gmail.com
4689c6e7f3 TG UPDATE: stop finding ways to centcom god damnit
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2729 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-27 00:15:12 +00:00
SkyMarshal
a36982a677 DNA and chooseable disabilities! Yaaay! 2012-02-17 19:38:30 -07:00
Tastyfish
7149b98a9d improved library code 2012-02-15 20:06:24 -05:00
SkyMarshal
ffb142abae Secure Airlock update!
4 new wires, completely randomised! (2nd bolt wire, 2 only-drop-bolts wires, and an AI alert wire that alerts an AI 20% of the time, when messed with)
Emags have a limited number of uses, between 3 and 7, and cost 5 TC
Hacktools are more useful than they were, and have a lower chance of alerting the AI
(This is unmapped ATM)
2012-02-08 12:07:12 -07:00
SkyMarshal
85ee6ae562 Fixed a warning with meteors, HAWK: COMPILE DAMMIT
Blood now works properly.
2012-02-05 11:52:42 -07:00
Albert Iordache
ec77e9da19 Revert "More fingerprint fixes"
This reverts commit c11502eb53 due to a bug where blood appears on objects when the blood_DNA variable is not null.
2012-02-05 16:22:48 +02:00
SkyMarshal
c11502eb53 More fingerprint fixes 2012-02-04 23:12:53 -07:00
CIB
2ff681d8c4 Merge pull request #358 from SkyMarshal/master
Fixes for *custom v/h emotes, as well as some other stuff.
2012-02-04 13:23:10 -08:00
SkyMarshal
7a4b21382e Fixes for *custom v/h emotes
Blood type is now a variable of the DNA datum
Fixed runtime from blood
Fixed the AI prompt being missed.
Added breath holding.
2012-02-04 14:17:17 -07:00
Albert Iordache
f11876662e Fix for a book related runtime error. 2012-02-04 12:12:22 +02:00
Tastyfish
98bebf0460 Merge remote-tracking branch 'upstream/master' 2012-02-01 19:15:23 -05:00
Tastyfish
5f3a6455f9 photos, pages in books, binder much better, books show author ckey 2012-02-01 19:14:30 -05:00
SkyMarshal
6648061dcb MAJOR UPDATE: Detective/Fingerprints update
bugfix for wardrobes
blood type is now handled by datum/dna, and blood_DNA for atoms is a list of list, each sub list containing DNA and blood-type. (This allows multiple blood splatters)
added BS12 give command and explosives
Map update to remove blob spawn.
2012-01-31 02:01:38 -07:00
SkyMarshal
5dba3ccf88 WIP on detective work overhaul
Give command ported, with more sanity checks (It works, now!)
Added BS12 c4 in addition to TG c4
Fixed server air alarm
Book length increased 3 fold.
Blood and gibs now maintains DNA
Fixed evidence bags
Ported the awesome BS12 handcuff stuff, with flavor text.
2012-01-31 02:01:37 -07:00
SkyMarshal
cd5e2476bd Added a new object, for storing premade outfits, that is in clothing closets.
Added clothing closets for several new jobs (Chef, Bartender, Virologist, etc.) and outfitted them.
Paper can now be burned, and acts as a hotspot and a light source when it is on fire.
Tweaked the Allinone broadcasters
Nerfed electrical storms
Response Team leader gets a special assignment/title.
Remapped to add Copiers, Filing Cabinets, and wardrobes
2012-01-26 22:19:33 -07:00
cib
40ae6b8340 Made the dialog for when there are too many runes and there's a chance you'll be gibbed a little more clear. 2012-01-22 17:05:08 -08:00
SkyMarshal
94c38b8206 Fixed book titles not showing up properly in some instances, Death alarm is now labeled as such, robot lighter works right. 2012-01-20 16:40:55 -07:00
Tastyfish
f404ea91d6 Merge pull request #260 from SkyMarshal/master
Disposal updates + map fix, traitor objective fix, Cult teleport talisman now teleports grabs
2012-01-10 20:38:14 -08:00
SkyMarshal
3b57d309cc Disposals are now much more robust, with sorters being program-able, food able to be packaged, people able to flush closets, proper construction of sorters, and a function on taggers to use a custom tag.
In addition:
Made teleport talismans more amusing.
Fixed duplicate traitor objectives.
2012-01-10 21:21:52 -07:00
Tastyfish
ffe6ac7935 Merge remote-tracking branch 'upstream/master' 2012-01-06 16:41:52 -05:00
Tastyfish
c4f5429857 furthur work on bones 2012-01-06 16:41:47 -05:00