Commit Graph

150 Commits

Author SHA1 Message Date
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
ffeb9a958a TG: Fixes some mix-up with what hand was lost
Regenerate admin verb now restores limbs/lost blood
Fixes power_loss proc to actually respect the electrical channel something is
on.
Revision: r3539
Author: 	 VivianFoxfoot
2012-05-09 23:29:06 +01:00
Erthilo
ea78585d1d Comments out weird Geas stuff. 2012-05-09 23:10: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
Erthilo
7685e6bef9 TG: Adds tickcomp, an attempt to make mob movement speeds level across all
tickrates.  Works pretty well.
Adds a (disabled) framework for making people drop where they're stunned without
waiting for the next tick
Shuffles sleeping and resting, making them cause effects of their own rather
than just relying on 2 ticks of paralysis or whatever.
You now stand up before being able to move again (called in canmove)
Reduces slip chance from 50 to 0 when knocked out (more in line with the
comments in the code, and it just makes more sense)
Revision: r3503
Author: 	 VivianFoxfoot
2012-05-06 17:56:28 +01:00
Erthilo
bec822a049 TG: Rewrote the cinematic system to be centralised and controlled by the gameticker,
rather than handled per mob with like, 3 loops and a seperate process for each
mob.dmPlease report any bugs/derps to me asap. I've tested it as much as I can
locally, but because it relates to events that require a large number of players
it's very hard to test.

TODO: I was intending to use dust to kill players off on a nuclear-loss. However
dust() is very very broken. So I've hardcoded everything to die until I can fix
dust().

Added an adminverb for 'Game Master's. It was a debug verb so I could test
cinematics but I've left it in as it might be handy for events, especially if we
get more cinematics. To access it type "cinematic" in full into the input bar as
a Game Master, then follow the prompts. At the moment, it only handles nuclear
stuff (that's all there is anyway). You can choose where the nuke detonated 0=
on station; 1= near station but in space; 2= off the z-level. You can also force
a cinematic from another game-mode to play with the prompt after that one.

Note: All mobs are buckled to a bed located inside the gameticker (odd I know)
whilst a cinematic is playing. The bed is deleted afterwards releasing all
players. If off_station=0 then all mobs will be killed too. This is to stop
people running around and doing stuff during the cinematic. I really didn't want
to add more variables/checks to mobs.
Revision: r3481
Author: 	 elly1...@rocketmail.com
2012-05-05 22:28:05 +01:00
Erthilo
1a5d772ae5 TG: 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
Revision: r3478
Author: 	 quartz235
2012-05-05 22:13:20 +01: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
9c40ed3e9f TG: Fixing dem runtimes:
Temp-fix for mob/say.dm It's being sent null from Tcomms, so I'll leave it to
somebody with experience with that.

Fix for items bein  in your inventory and on the floor

Fix to stop people pulling themselves and causing runtimes (lol)

Fixes a bunch of stuff in the flash code. EMPs will now cause flashes to flash
their holder. They don't runtime when flashing cadavers. They don't runtime when
being EMPed. They will (hopefully) rev those select few buggy people who weren't
getting reved previously. (I can't fix that totally without playing with a bunch
of mind stuff)

Fix for throwing nothing. :P

Fix for removing tanks that don't exist from transfer valves.
Revision: r3441
Author: 	 elly1...@rocketmail.com
2012-05-02 23:58:53 +01:00
Ren Erthilo
a4e04d2915 TG: Runtime fixes for:
runtime error: Cannot modify null.layer. proc name: done
(/obj/effect/equip_e/human/done) usr: Ramona Fawkes (/mob/living/carbon/human)
src: the human (/obj/effect/equip_e/human)
call stack: the human (/obj/effect/equip_e/human): done() the human
(/obj/effect/equip_e/human): process()

runtime error: Cannot execute null.use(). proc name: attackby
(/obj/structure/barricade/wooden/attackby) usr: Jeffery Long
(/mob/living/carbon/human) src: the wooden barricade
(/obj/structure/barricade/wooden) call stack: the wooden barricade
(/obj/structure/barricade/wooden): attackby(null, Jeffery Long
(/mob/living/carbon/human)) the wooden barricade
(/obj/structure/barricade/wooden): DblClick(the floor (159,129,1)
(/turf/simulated/floor), "mapwindow.map", "icon-x=15;icon-y=12;left=1;scr...")

Rewrote wielded weapons to be their own weapon subclass. There was no point
having a var/wielded var/twohanded var/force_unwielded var/force_wielded for
every damn item when there is only 1 wield-able weapon anyway. All the wield-
able stuff is now in twohanded.dm

Changed the adminhelpsound to some creative commons sound I pinched. Until
somebody can get a better one. I'm sick of MAAAAAAAAOOOOOOW.

All PMs trigger the adminhelp sound. That means when you OM a player they get
the sound, if a admin is PMed they only hear it if their adminhelp sounds are
enabled. This should allow people to get eachother's attention when t he chat is
busy.

Fixed some bad code with poddoors (which is used for the shutters in QM)
Revision: r3435
Author: 	 elly1...@rocketmail.com
2012-05-02 23:09:19 +01:00
Ren Erthilo
59762d4207 TG: An attempt to make the master controller more robust. This shouldn't cause
terrible additional lag, given that the master controller doesn't actually fire
that often, and can also give us a clue as to what part of the controller has
died in case of failure
Modifies do_after to something that fires a lot less, and is hopefully more
robust against infinite loops. It is now theoretically possible to run around
and then come back to the same place and have it complete, but that's only
really valid for extremely long times (like handcuff removal) and if you get
lucky and dodge one of the timed checks.
Revision: r3421
Author: 	 VivianFoxfoot
2012-05-02 21:39:41 +01:00
Ren Erthilo
e1c69ed8a1 Commented out metadata and some other non-sensical stuff. 2012-05-02 21:22:19 +01:00
Ren Erthilo
ba68248ab6 TG: Re-adds metadata support.
Adds ghost sight as its own verb to see all emotes in the world.
Revision: r3419
Author: 	 VivianFoxfoot
2012-05-02 00:35:39 +01:00
Ren Erthilo
61cf24f087 Fixes custom item name. 2012-05-01 02:59:20 +01:00
Ren Erthilo
e429c57816 Ported respawn timer. Allows respawn after 30 minutes for all modes except meteor and epidemic. Config change to allow respawn on all modes. 2012-05-01 02:06:08 +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
1fa9b6a848 TG: Committing fixes to code for examining mobs. Burn damage wasn't showing properly
on some mobs. Fixed grammar, icons and stuff.
Added some  stylesheet classes. Approved by Urist. If you're adding game text,
please use the class that best describes the text. This way all the text
formatting can be edited from the stylesheet rather than traipsing through the
code like I am.
Cyborg names reflect their module choice.
Cyborgs can no longer drop their module-items on conveyor belts.
Please remember to add the line: gender = PLURAL to any new item defines if the
item is plural, ie metal rods and such.
Much more to come. ;-; Just need to check them and merge... why did I start
climbing this mountain?
 Revision: r3232
Author: 	 elly1...@rocketmail.com
Date: 	Mar 2, 2012
2012-04-25 02:06:30 +01:00
Ren Erthilo
fc6e9e6114 TG: Buckling to chairs no longer causes you to drop anything.
Added Nodrak's Jump to Mob verb.
Added Sieve's lantern fix. Commented out the silicate recipe.
Added Skaer's sec cartridge box to the armoury.

Moved the check_if_buckled() proc to mob/living, rather than having it repeated.
Revision: r3168
Author: 	 petethegoat
2012-04-24 18:58:33 +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
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
8080b4b688 Adds a neat warden hat. Jobbans now display an appeal link. 2012-04-17 02:53:00 +01:00
Ren Erthilo
e2bd08a336 TG: Fixed a few runtimes.
Moved the all player mobs death check into the parent death proc.
Revision: r2940
Author: 	 mport2004
2012-04-15 17:00:51 +01:00
SkyMarshal
f0490787ef Merge pull request #819 from Erthilo/TGUpdates
TG Updates up to r2928
2012-04-11 11:36:41 -07:00
SkyMarshal
2b619a2dd5 Made bans automatically show the address for the appeal forum, if set in config. 2012-04-10 23:52:28 -07:00
Ren Erthilo
4a39151e9e TG: Renamed the prisoner computer's file to prisoner and added a sanity check.
The singularity is now able to eat things like signs and chameleon projectors'
projections.
A few other misc runtime fixes. r2916
2012-04-09 13:28:45 +01:00
Ren Erthilo
c8fca21dab TG: Blob ending number of blobs is now a var.
The nuke now properly checks to see if its on the station when it explodes and
most of the derp var has been removed from the bomb code. r2913
2012-04-09 12:54:15 +01: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
SkyMarshal
5b20f6a2fd Adds dismemberment to Tajarans and Monkeys. Added some sanity checks to prevent you from punching you when they are missing hands. Fixed more wound stuff. Some examine fixes. Adds a hasorgans proc which checks if the given argument is a mob with organs. Fixed pathing for guncode. 2012-04-02 19:44:43 -07:00
Ren Erthilo
ae57f8db64 Merging SkyMarshal's stuff. 2012-03-30 16:26:04 +01:00
SkyMarshal
0c34286018 Fixes errors from last commit. 2012-03-29 20:44:11 -07:00
Ren Erthilo
dd2b3cc816 TG: Added two new variables, "canstun" and "canweaken". They can be modified in
runtime to prevent mobs from ever being weakened and stunned by
tasers/batons/electrified doors.

Xenos are immune to stunning and weakening. This basically means you cannot run
up to a xeno and shoot them with a taser and game over. This makes them a lot
more dangerous. To compensate, I've added in a xeno-exclusive variable
controlling movement delay addition. When a xeno is stunned, its movement speed
goes down. The speed is recovered in the life() proc.

Modifications to critter.dmi (manhacks). Added a new lighting icon, floor
lights. Possible implementation later. r2886
2012-03-26 23:51:00 +01:00
SkyMarshal
7534154fa2 Cleaned up some code, fixed a bug with dead/sleeping people seeing you talk into headsets, reworked guncode some, readded point-blank shooting, removed disposal space cannon, hacktool works on windoors and secure closets, now. 2012-03-05 12:27:55 -07:00
SkyMarshal
ee9146cda4 Added more sanity checks to the gun code. 2012-03-01 22:15:03 -07:00
Hawk-v3
88390a0010 [PATCH 056/285] TG UPdates: fingerprints on cans now log on any attackby() that isn't a wrench/analyzer/pda/tank; added a 2 minute
countdown var to humans/monkeys that resets when move() is called;(for an actual fix to the cuffbreak bug(NOPE, NOT ACTUALLY IN ~Hawk.)) changed a typo in security levels

committed a gib animation fix for Sieve (todo: make custom gib animations for simple_animals/metroids)
2012-03-01 03:16:34 +00:00
Tastyfish
373dc5937d Merge pull request #551 from SkyMarshal/master
TG updates, improved nuke.
2012-02-28 17:36:12 -08:00
SkyMarshal
66f38fb34b TG UPDATE: Updates to telecomms, bug&runtime fixes, manifest for all, improved nuclear bomb.
All PDA's can access the manifest.
Nuclear bomb now works on realtime.
Telecomms not mapped yet.
Numerous Runtime Fixes
2012-02-28 18:24:43 -07:00
Hawk-v3
ef02499eec Commit for Patch 23 2012-02-26 23:47:26 +00:00
SkyMarshal
7631f9c32c Fixed #460, #456, and #478
Cleanbot autopatrols now
Ghosts can see PDA messages, a PDA will show you the fingerprints if it is complete enough (Security scanner)
Display case can be repaired.
More update_clothing() calls
Disabilities have their own window, now.
Removed the genetics scanner, go use yer penlights!
2012-02-21 18:58:28 -07:00
SkyMarshal
a36982a677 DNA and chooseable disabilities! Yaaay! 2012-02-17 19:38:30 -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
d2eff85c17 Porting much of Aryn's stuff
-Sounds
-Detective Work
-Hallucinations
Tweaked server air alarm
Tweaked gibs
Working on de-derping surgery
Ported some BS12 stuff (stunned radio and adminwho)
Player's mind datum now holds their antagonist preferences.
2012-01-31 02:01:36 -07:00
Miniature
c9a20d7a12 another runtime 2012-01-04 16:57:40 +10:30
Albert Iordache
39b6dd57e0 Removed and commented out the last traces of goon auth. code 2011-12-30 23:28:14 +02:00
uporotiy
ab396f50ac TG update: Added stun, weaken and paralysis-related procs in place of directly editing the vars. Hulk is 5% chance now due to being completely immune to any sort of stunning (will nerf more later). Think that's all but not entirely sure.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2683 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-26 23:39:45 +02:00
Mister Fox
2dffc6d00d Merge branch 'master' of git://github.com/Baystation12/Baystation12 2011-12-20 06:43:08 -05:00
Mloc
d906d1358f Removed wizard gib spell, make gibbing and dust-ing drop everything on the person.
Signed-off-by: Mloc <mloc@mloc.netii.net>
2011-12-20 10:12:51 +00:00
Mister Fox
35b68d10e1 Automatic guest kicking
Signed-off-by: Mister Fox <traitor.foxy.brown@live.com>
2011-12-19 08:30:15 -05:00
Uristqwerty
74c2b7c55b Stealth PM fix: hide stealthmin names in the input box title. 2011-12-07 12:50:05 -05:00
Tastyfish
c208332942 added Anchorshag's examination flavor text thingy 2011-12-04 15:26:46 -05:00