Commit Graph

1356 Commits

Author SHA1 Message Date
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
elly1989@rocketmail.com
d7c9e72a29 Added a new logging system that can be used for various things in the game (such as the singularity engine, AI interactions, anything-else that may be suggested to me :P).
At the moment it only logs some singularity things. Please let me know if there are any important methods of singulo-grief which I may have missed.

The "Investigate" verb is available to everyone of rank "Admin observer" and upwards. Just type "Investigate" and select the subject you'd like to see logs for. Typing "Investigate singulo" will also work as a shortcut.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3679 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 01:31:57 +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
Erthilo
bb747b2b7b TG: Adds admin memos. It allows admins to leave all the other admins little messages
which they can see when they log in. It is available to Game Admin rank and
upwards.

type "memo" to access the memo features:
>write: write a memo
>show: shows memos from all admins
>delete: delete your own. (Game Masters may delete other admins' memos)
Typing "memo write" etc works too.

Feature can be disabled by defining ENABLE_MEMOS as 0

MOTD moved to new_player/Login so peole don't see that big motd everytime they
DC
Revision: r3650
Author: 	 elly1...@rocketmail.com
2012-05-25 22:45:27 +01:00
Erthilo
29ccf28948 TG: Added confirmation prompt for admin gibself verb. For Breadstrong
Revision: r3648
Author: 	 ericgfw...@hotmail.com
2012-05-25 22:26:59 +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
elly1989@rocketmail.com
86149b1c0b Adds admin memos. It allows admins to leave all the other admins little messages which they can see when they log in. It is available to Game Admin rank and upwards.
type "memo" to access the memo features:
>write: write a memo
>show: shows memos from all admins
>delete: delete your own. (Game Masters may delete other admins' memos)
Typing "memo write" etc works too.

Feature can be disabled by defining ENABLE_MEMOS as 0

MOTD moved to new_player/Login so peole don't see that big motd everytime they DC

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3650 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 17:53:38 +00:00
ericgfwong@hotmail.com
f5b0817bc0 Added confirmation prompt for admin gibself verb. For Breadstrong
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3648 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 03:36:55 +00:00
Erthilo
2c00f71bb3 TG: The cbeck antags verb now logs correctly.
Revision: r3639
Author: 	 petethegoat
2012-05-23 17:48:07 +01:00
Erthilo
57f1c15f15 Adds feedback for temp whitelisting, added some people to the alien whitelist, update changelog with credits list! 2012-05-22 23:43:15 +01:00
petethegoat@gmail.com
df13f6cf8b The cbeck antags verb now logs correctly.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3639 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-22 22:07:13 +00:00
Erthilo
8131287d03 Hopefully fixes the handle_regular_status_updates runtime. Also adds option for admins to allow Taj/Sog for a round on the player panel. This needs to be done before spawning! 2012-05-22 22:14:47 +01:00
cib
615871b0ce Merge github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-22 14:50:00 +02:00
cib
79e2cdef86 Updated changelog. Added some bug info to places in the code. 2012-05-22 14:29:01 +02:00
cib
fda676435e Added a specific sleep message, memes now see their points on the status screen, admin-adding a meme now adds them to the meme list. 2012-05-22 13:55:00 +02:00
cib
d887d8ae41 Fixed a few issues with the meme admin stuff. 2012-05-22 13:13:01 +02:00
cib
56b178f396 Implemented #1107. 2012-05-22 11:24:42 +02:00
Erthilo
b7b33fc91a /obj/item/weapon/spacecash change to /obj/item/weapon/money
Can now split and stack money properly.

Fixes genetics/research access door and also money path changes.
2012-05-21 23:56:48 +01:00
caelaislinn
1587ad0abc Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-05-19 20:00:05 +10:00
CIB
165ddcb414 Merge pull request #1096 from Uristqwerty/Minimap
Minimap
2012-05-19 02:07:26 -07:00
Uristqwerty
1ce3bce266 Turns out last minute capitalization changes break compiling. 2012-05-18 20:46:29 -04:00
Uristqwerty
68edf99569 Finishing the minimap:
- Removed test verb
 - Added verbs for admins, ghosts, and AIs
 - If you open the minimap before it finishes initializing, it will try to update you with missing sections as they become available
2012-05-18 20:12:38 -04:00
caelaislinn
453ffce556 added WIP birdmen, tweaked / cleaned up gas turbine gens, tweaked lockdown computers and poddoors.
Signed-off-by: caelaislinn <cael_aislinn@yahoo.com.au>
2012-05-19 03:22:42 +10:00
caelaislinn
afc7e796b6 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-05-18 04:10:14 +10:00
Albert Iordache
33f18717ad Fixed Get-Mob, #1038 2012-05-17 12:32:40 +03:00
Cael Aislinn
a625c23cc3 test
Signed-off-by: Cael Aislinn <cael_aislinn@yahoo.com.au>
2012-05-17 16:13:03 +10:00
Erthilo
7de0918d3e TG: Random button added to traitor uplinks.
- All traitor items are available in the random button so long as you have the
crystals to purchase it.
- This means it's possible (though very unlikely) to get 5 sets of revolver
ammo.
- It's RANDOM, don't expect great stuff every time.

Made startSinglo() a game-master only verb in the debug tab.
- It is incredibly useful and time saving when testing stuff out before
committing.

Added borgs, AIs and dead players to the list of protected paths in the delete
all verb.
- Unless someone can give me a valid reason as to why an admin would delete all
ghosts.
Revision: r3595
Author: 	 johnsonmt88
2012-05-15 23:53:35 +01:00
Albert Iordache
474c6a4a4f Removed the start_vote command, because it can only have 3 buttons and no cancel option. Start it up via the voting command, now. 2012-05-15 10:07:45 +03:00
johnsonmt88@gmail.com
d336b65d1b Random button added to traitor uplinks.
- All traitor items are available in the random button so long as you have the crystals to purchase it.
- This means it's possible (though very unlikely) to get 5 sets of revolver ammo.
- It's RANDOM, don't expect great stuff every time.

Made startSinglo() a game-master only verb in the debug tab.
- It is incredibly useful and time saving when testing stuff out before committing.

Added borgs, AIs and dead players to the list of protected paths in the delete all verb. 
- Unless someone can give me a valid reason as to why an admin would delete all ghosts.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3595 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-15 00:32:26 +00:00
SkyMarshal
2c18852662 Made req_access work like req_one_access used to; req_combined_access is now used for when you need more than one type of access to be checked together. Adjusted maps to reflect this. 2012-05-14 15:04:38 -07:00
CIB
d357e41fd6 Merge pull request #1050 from Erthilo/TGUpdates
Fix for brig timer spacing. Minor grammar fixes. Fix for logged out people not staying asleep.
2012-05-14 08:51:37 -07:00
SkyMarshal
be6368b71c Bugfixes for some temperature sharing, added variable editing by reference, fixed up some wound stuff. 2012-05-13 23:18:02 -07:00
Erthilo
9d5f0cce5c Fix for brig timer spacing. Minor grammar fixes. Fix for logged out people not staying asleep. 2012-05-13 23:50:27 +01:00
SkyMarshal
893529c69e Fixes some FEA stuff, for a general improvement to how well the system runs. 2012-05-11 18:19:00 -07:00
SkyMarshal
15d72e3b0e Improves how gas mixture datums are handled, reduces proc calls, commenting. Removed ghost-heating from cryo and "oxygen_agent_b" gas type. 2012-05-11 18:02:30 -07:00
Miniature
2a7336f61f Merge branch 'master' of github.com:Baystation12/Baystation12
Conflicts:
	config/config.txt
2012-05-12 00:52:42 +09:30
Miniature
77987f76f5 Made banned people who aren't banned under the same key they are trying to log in as show what key they were banned as to admins
turned on the thing to show where to go to appeal
2012-05-12 00:48:17 +09:30
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
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
d5abd91800 TG: 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.
Revision: r3554
Author: 	 VivianFoxfoot
2012-05-10 01:53:17 +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
Erthilo
e6f8e87b6e Somehow unreverted a previous commit. 2012-05-09 03:34:19 +01:00
Erthilo
3f8be1e819 Switches normal cell drain for more module drain for cyborgs. Deactivate your modules people! Fixes cyborg law issues. Adds a note to the bar about shotgun usage. 2012-05-09 03:29:16 +01:00
Erthilo
8c0ff6564c Adds logging for AI uploads somewhat, makes rolling pin a normal weapon (seriously that thing is silly), hacky fix for hiding stealthmin names in PMs 2012-05-09 03:07:25 +01:00
petethegoat@gmail.com
e89e7acdb3 Fixed issue 411. (Thanks Yvarov- http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=8651)
Added Invisty's new field generator sprites.

Added a button to check antagonists that stops the world from automatically restarting at round end.
It's toggleable, but once the round ends with it on, you'll need to reboot the world manually. (It's under check antagonists because that's where the shuttle stuff is, let me know if I should move it.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3565 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-07 13:02:42 +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
0505efb4c4 TG: - Additional admin verbs and links will now display an ingame message to admins
when used:

- rudimentary transformations from the player panel
- give spell
- make sound
- kill air
- make alien
- make metroid
- grant full access
- assume direct control
- select equipment
- spawn xeno
- gib will now log even when gibbing yourself
- gibself
- change view range
- call shuttle
- cancel shuttle

- Also removed the 'stabilize atmos' verb. I noticed it had all of it's code
commented out, so it literlaly did not do anything.
Revision: r3535
Author: 	 baloh.matevz
2012-05-06 21:09:08 +01:00
Erthilo
28f7a58905 TG: - Added a rudimentary transformation section to the options panel (show player
panel verb). This allows rudimentary mob type changes to any mob. These are
however generic and non-mob-specific, as they only copy over some of the most
needed variables, such as the three name variables, dna and mind. They do not,
for instance, create a MMI for cyborgs. A note of this is also added to the
player panel.
- Once you click one of the links a popup will appear asking you whether you'd
like to delete the old mob of the player (yes or no) or cancel this
transformation.

Screenshot:
http://www.kamletos.si/options%20panel%20rudamentary%20transformation.PNG
Revision: r3534
Author: 	 baloh.matevz
2012-05-06 21:01:19 +01:00