Commit Graph

731 Commits

Author SHA1 Message Date
elly1989@rocketmail.com
0200ddb9a0 Added href logging as a config option. Log can be viewed via "investigate hrefs". If on, it logs every link clicked. It may be useful for 'debugging' and spotting malicious clients.
Anti-spam delay raised to 7 ticks. A little over half a second.

Admins can no longer be banned except by deadminning them or banning through the host's pager.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3722 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-02 12:57:39 +00:00
elly1989@rocketmail.com
5ff9a92a26 Fix for getFlatIcon runtimes. I think when I changed DamageIcons from a list to a single image, I may have caused it. Basically, null was getting put in the overlays var at round start.
Fix for  view-vars refreshing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3721 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-02 02:08:42 +00:00
SkyMarshal
770e09ce5d Merge pull request #1191 from Mloc/varfix
Huge commit!  Standardizes var definitions in most places.
2012-05-30 11:07:27 -07:00
Aryn
354d023a4b Optimized HUD images. 2012-05-30 01:37:52 -06: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
Mloc
7da503e2c5 Merge pull request #1188 from sick-trigger/master
Fixes teleporting with an active chamelion projector
2012-05-29 06:46:04 -07:00
sick-trigger
83e37be057 Allows you to teleport while disguised as a banana. 2012-05-29 20:31:36 +10:00
elly1989@rocketmail.com
1e476623d9 Ban moved into IsBanned so that people whom are banned can actually see -why- they are banned. Another perk of using IsBanned and not client/New() is that we now disconnect potential clients before they are given a client object and start downloading any resources...which is like a 30Mb saving per failed login (after each server update).
Tidied up the Login and Logout procs for mobs. Moved the sandbox buildmode stuff to mob/living/login.dm so you shouldn't have to log-out and back in to enable build mode.

Removed the logged_in variable for mobs as it was the most pointless thing ever.

Made the multikeying checks a separate proc. People are checked the second they get a new_player mob. Its notices are also less spammy.

Changed AllowUpload from the default. It now restricts uploads of over 1Mb to prevent admins uploading massive .Oggs and lagging the server to hell whilst it sends the ogg to 40+ players. Feel free to change the limit.

Moved some of the core client procs into one folder; they should really be together and not in /modules/mob/mob.dm and various other places. I will be giving the client stuff a belated spring-clean over the next few commits, just got to iron out some of the kinks.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3694 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 07:36:01 +00:00
vageyenaman@gmail.com
49647d329a There's a metric assload of stuff here, mostly in preparation to my massive traitor expansion, so I'll try to be brief:
- I added in the foundations for traitor factions. See factions.dm for all the different faction datums. They don't do anything yet.

- I completely ported mob/var/mutations from a bitfield to a generic list. Mutation enumerated-identifiers are added into this list. For instance, TK = 1, COLD_RESISTANCE = 2, XRAY = 3, etc... The purpose of this was because bitwise operations could not actually be used after a certain size (because BYOND is stuck in the 16bit era).

- I've added in completely-functional nano-augmentations. Check under implantnanoaug.dm for a list of implants and implaners. As mentioned previously, they are completely functional but may be slightly OP. Among these nanoaugs are Super Strength, Psionic Radar, Electric Hands, Energy Blade/Sword Synthesizer, Rebreather, Dermal Armor, Combat Reflexes, and Regenerative Nanorobots. I won't go into detail as to what they do, but hopefully they should be self-explanitory. If not, check out their descriptions in the file previously mentioned.

- Added in a future traitor item, the Mind Batterer. Along with it a new .ogg file.

- New telecomms bus mainframe sprite, thanks to WJohnston.

- New holdable shield, sprites courtesy of Muncher (i had to mangle the side sprites because of a technical little issue. I'll change it back to the original soon). It can be retracted and expanded. Probably only going to be given to traitors.

- A couple of minor bugfixes here and there, along with some code tidying.


Hope this isn't too large a commit. I intended it to be MUCH larger, but I've decided to split up my Traitor Factions expansion into smaller commits.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3692 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 03:16:47 +00:00
elly1989@rocketmail.com
c4d7073fea A very simple anti link-spam thingy.
I've tried to set it as high as possible without it being uncomfortable. But if text-links seem unresponsive just lower TOPIC_SPAM_DELAY. It's currently set to half a second. That means that a client can only click one link every half-second rather than upwards of 10 a second. So about a 80% reduction.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3682 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 04:34:50 +00:00
Erthilo
7e3a28bb82 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	baystation12.dme
2012-05-26 13:46:06 +01: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
cib
b6c1c0e214 Temp. 2012-05-24 23:49:45 +02:00
cib
2c58ab416e Added Crew Transfer Shuttle to the restart vote. 2012-05-24 23:00:47 +02: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
Thrain
c1ca3d58de Added a "Initiate Crew Transfer" option to the Communications computers.
This will call the shuttle, which will start the round reboot. shuttle
starts with a 90 minute refuel timeq.
2012-05-24 02:09:34 -07:00
cib
615871b0ce Merge github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-22 14:50:00 +02:00
cib
56b178f396 Implemented #1107. 2012-05-22 11:24:42 +02:00
Uristqwerty
45bde63206 Temp 2012-05-21 13:29:27 -04:00
Erthilo
56db1fdff8 Adds Soghun/Tajaran whitelisting. Stick key and race into alienwhitelist.txt like so 'byondguy - Soghun' to allow soghun, etc. 2012-05-20 20:51:38 +01: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
Erthilo
3c9b734c2f TG: - Runtime fix for admins using the traitor panel before the round starts
Revision: r3570
Author: 	 johnsonmt88
2012-05-10 02:55:59 +01:00
Erthilo
b86f71dc71 TG: Adds the framework for randomlly loading an additional external z-level at
server start.  Loading during the game should also be possible.
Fixes assorted bugs
Revision: r3559
Author: 	 VivianFoxfoot
2012-05-10 02:12:12 +01:00
Erthilo
ad95edc954 TG: Wraiths now have their own jaunt animation, courtesy of Ausops.
Revision: r3551
Author: 	 kortgstation
2012-05-10 01:49:04 +01:00
Erthilo
a3089f9017 TG: Changed the way facial scarring works. Instead of setting your real_name to
"Unknown" it uses the disfigured variable of a human's head organ to dictate the
human's name variable.

This means real_name is now somewhat back to being a reliable source of the
mob's actual name. It should eliminate a lot of the "cloning as unknown" bugs.

It also means I could simplify that god-awful name updating stuff into a nice
and simple helper proc.

Some original_name stuff was added here and there,  mainly during cloning. A lot
of the "getting random ghost names" should  be fixed now. Still loads to do
though, particularly with transforms and such. >_>

Fixed a runtime with Tajarans trying to use a variable that doesn't exist for
PDAs. Removed that variable from IDs as it's only used by furries.
Revision: r3546
Author: 	 elly1...@rocketmail.com
2012-05-10 00:53:05 +01:00
Erthilo
844dd4c7f8 Heads and Security can now be set as Revs/Cultists from the traitor panel. (Why you would assign a Head as a Rev I have no idea.) 2012-05-09 16:07:28 +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
johnsonmt88@gmail.com
13dc140188 - Updated jobban panel to reflect the recent R&D changes
- Runtime fix for admins using the traitor panel before the round starts

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3570 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-09 07:23:44 +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
VivianFoxfoot@gmail.com
f1696eb47c Adds the framework for randomlly loading an additional external z-level at server start. Loading during the game should also be possible.
Fixes assorted bugs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3559 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-06 18:04:31 +00: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
265dd6e888 TG: Adds a forum and wiki button to the game interface.
Set the urls within config.txt. Both buttons do nothing by default, you have to
set the urls yourself.

Removed two unused txt files that I forgot to remove.
Revision: r3502
Author: 	 elly1...@rocketmail.com
2012-05-06 01:22:29 +01:00
Erthilo
98ef1bdb18 TG: Changes rev objectives to use the proper objective so heads being off station
actually works
Changelings faking death can no longer have their brains cut out.
Revision: r3501
Author: 	 VivianFoxfoot
2012-05-06 00:54:50 +01:00
Erthilo
8f5fd4321a TG: Adds ticklag to be a config setting.
Revision: r3491
Author: 	 VivianFoxfoot
2012-05-05 22:56:13 +01:00
Erthilo
1f3b52f84f TG: - Assume direct control moved to view variables
- "Mapping debug" verb renamed to "Debug verbs"

- assume direct control, jump to dead group, startup singulo verbs removed from
admins. You can enable them by calling the verb 'debug verbs'. 'debug verbs'
remains game-master only, as it is just for debugging stuff. For a non-game
master to use the 'assume direct control' verb, they have to use view variables
- it was added to the drop-down.

Some procs were moved around. Please code things in the locations which make
sense! If you are making a verb for /mob/living, then don't put it in mob.dm,
put it in mob/living.dm. Thanks.
Revision: r3461
Author: 	 baloh.matevz
2012-05-05 21:02:40 +01:00
kortgstation@gmail.com
fcd37a3924 Wraiths now have their own jaunt animation, courtesy of Ausops.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3551 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-03 19:20:35 +00:00
Ren Erthilo
0554a4627c Revert "TG: Added the foundations of a special-day events system. It's a bit more robust,"
This reverts commit d92495a2b0. Does not revert tank alert changes.
2012-05-03 19:30:29 +01:00
elly1989@rocketmail.com
d835287ddf Changed the way facial scarring works. Instead of setting your real_name to "Unknown" it uses the disfigured variable of a human's head organ to dictate the human's name variable.
This means real_name is now somewhat back to being a reliable source of the mob's actual name. It should eliminate a lot of the "cloning as unknown" bugs.

It also means I could simplify that god-awful name updating stuff into a nice and simple helper proc.

Some original_name stuff was added here and there,  mainly during cloning. A lot of the "getting random ghost names" should  be fixed now. Still loads to do though, particularly with transforms and such. >_>

Fixed a runtime with Tajarans trying to use a variable that doesn't exist for PDAs. Removed that variable from IDs as it's only used by furries.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3546 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-03 14:30:42 +00:00
elly1989@rocketmail.com
4a21640c85 The revision number the server is running (fetched by getrev.dm at startup) is now output to the world.log (and hence any runtimes people may be logging).
This'll help with bug reporting/fixing and such.

Credits go to Pete for informing me about world.log :P

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3544 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-03 06:45:01 +00:00
Ren Erthilo
d92495a2b0 TG: Added the foundations of a special-day events system. It's a bit more robust,
tidy and efficient than calling isDay everywhere. It defaults to disabled. It
can be enabled by uncommenting ALLOW_HOLIDAYS in config/config.txt

I've added no content just the foundations. All it does is give the station a
holiday themed name and say "Happy [Holiday] Everybody!" at the round-start.

Added a .Set Holiday verb for GM and GA Admins. I'd rather people didn't use it
for now (there's not much point as there's no content yet anyway). It's mainly
for bugtesting.

Foundations are there to create holiday random events and round-start stuff so
we can keep everything together. Check out code/game/gamemodes/events/holidays !

NOTE: This is intended for easter eggs! Little trinkets and such to make these
days special. It IS NOT for spawning grief items and game-changing stuff. If you
REALLY want to add stuff like that, please speak to the project heads. If it's
used for spawning bullshit like poop or grief items I'll just remove my code.
Thanks.

Happy Friday 13th :)

Other Fixes:
Oxygen tanks no longer spam BEEPBEEPBEEPBEEP at everybody nearby. That only
happens for the person holding them.
Revision: r3450
Author: 	 elly1...@rocketmail.com
Date: 	Apr 13, 2012
2012-05-03 03:17:00 +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
VivianFoxfoot@gmail.com
10656c239b Adds a config flag that keeps people from being Tajaranized.
Fix for people's bodies not being updated when they spawn.  

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3541 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-01 23:51:00 +00:00
Ren Erthilo
4077f00143 TG: Removes the ERP system because it has bugs in it/generates runtimes and I don't
feel like maintaining/expanding it.  If any of the other coders want to, they
can re-add it.
Converts the metadata system into its own thing
Makes ghost_ears hear emotes as well as a test.
 Revision: r3392
Author: 	 VivianFoxfoot
2012-05-01 19:41:36 +01:00
Ren Erthilo
8d605c33d5 TG: Minor fixes to the tensioner, changes to the borg deathsquad from 6->3 and fixes
their cell
Changes changling unstun time to 45 from 25
Fix for the datumvars file which had spaces instead of tabs
Adds the starts of a rather robust erping system!  In time, we can make SS13 as
realistic an ERP simulator as it is an atmos one.
Adds metadata support for clients, mostly to hold ERPing notes.  This is
included in the savefile.
Adds code support for a parrot in!  Just needs a sprite
Bugfix to the 'resist' button, unless I don't understand how it works.  I don't
see how it could have ever worked before.
Preferences are now attached to a mob
Revision: r3386
Author: 	 VivianFoxfoot
2012-05-01 18:42:23 +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
0218f2c41a TG: View variables now properly displays the contents of an associative list (ie
stuff like list("ballnumber" = 2)).

Changed around a few access levels; only jobs who need to do maintenance have
access to maintenance tunnels. Also the heads and detective.

Removed the radio mode toggle verb, as telecomms has long left the
"experimental" stage.

Messed with sec huds. Their readings are far more reliable. Officers can now use
huds to modify humans' criminal statuses on the go. To do this, simply examine a
human and at the end should be a clickable link to change the status. Uses
/mob/living/carbon/human/Topic().

Added some new sprites from the forums, including those spider sprites and the
new, more feline-looking cat.

Dat changelog
Revision: r3383
Author: 	 vageyenaman
2012-05-01 14:23:35 +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