Commit Graph

537 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
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
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
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
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
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
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
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
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
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
ba81429a22 TG: - Check antagonists is now a verb available to anyone who has access to the
secrets panel. (Admin Candidate and up)
- set ticklag moved to debug verbs, enabled by calling 'debug verbs' as a game
master.
Revision: r3530
Author: 	 baloh.matevz
2012-05-06 19:37:58 +01:00
Erthilo
10924ae90b TG: - Player panel new now has a link to the traitor panel for players, labeled as
TP
- Player panel new will now properly display all antagonists in red
- Added a link to 'check antagonist' to the top of Player panel new.
- Removed some copied, unused files
- Added a default variable to fake insulated gloves for the siemens coefficient.
Do not ever set it to default to null! It will break any place where
initial(var) is used!
Revision: r3528
Author: 	 baloh.matevz
2012-05-06 19:32: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
241dcc742e TG: - Fixed "Check Plumbing" and added "Check Power".
These two verbs can be accessed by using the 'debug verbs' verb, which is
accessible to game masters. The first checks for unconnected atmos machinery,
pipes and manifolds, the 2nd checks for suspicious powernets. Both are intended
to help mappers find wrongfully placed wires and pipes.
Revision: r3508
Author: 	 baloh.matevz
2012-05-06 18:33:39 +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