Commit Graph
1361 Commits
Author SHA1 Message Date
skull132 b58337167a species_statistics logging fix
Apparently feedback_set and feedback_set_details are two different procs. Who knew!
2016-01-08 19:28:00 +02:00
FelisCorax 8959977dfa Fixes #814 2016-01-08 11:00:32 -05:00
skull132 57c652573a cycle_db_connection() Proc
Adds a proc to force a db disconnect, and to re-establish it. As it stands, can only be called through advanced proc-call.
2016-01-08 13:37:08 +02:00
skull132 a15019183c Logging Species Played Onto Feedback Database 2016-01-08 12:18:56 +02:00
FelisCorax 2b687e1b38 Fixes #815 2016-01-07 22:07:00 -05:00
FelisCorax 97bd822df1 Fixes #817 2016-01-07 22:06:36 -05:00
skull132 627a3fe384 Consistent SQL ErrorMsg() logging & parseArguments Fix
Adds an automatic check for DBQuery.ErrorMsg() every time a DBQuery.Execute() proc is called. This makes hunting down unknown DB errors way easier. Also makes working with database functions less frustrating.

Fixes my dungoof with the DBQuery.parseArguments() function as well. The string is now properly updated in the for() loop.
2016-01-08 00:53:15 +02:00
skull132 2797ce8336 Merge pull request #819 from skull132/maglock-update
Maglock update
2016-01-04 16:02:10 +02:00
skull132 212c4e433b Merge pull request #820 from skull132/bug-fixes-Jan2016
Bug fixes jan2016
2016-01-04 16:01:56 +02:00
skull132 82cbfe3f95 Remove Borers From HealthHUDs
Having a borer in you will no longer flag you as special on a healthHUD.
2016-01-04 15:58:34 +02:00
skull132 7bf23fcef5 Vampires Sucking Bloodpacks
Vampires can now drain blood from bloodpacks by attacking themselves with it. Note that only total blood is given, not usable blood.
2016-01-04 15:45:57 +02:00
skull132 8d165145f9 Adrenalin Implants For Syndies
Traitors and syndies will now gain access to an adrenalin implant box. The implant is a one-use tool for getting yourself unstunned and off the ground.

Also makes the adrenalin implants work with the pain-based stuns.
2016-01-04 15:45:25 +02:00
skull132 01bececd55 Loyalty Implant Fixes
Fixes the duplicate definition of the implanted() proc. Head revolutionaries can no longer be implanted, normal revolutionaries will actually lose their rev status when implanted, and lings will be informed of the fact that they can avoid the implant's effects.
2016-01-04 15:30:30 +02:00
skull132 52de48dd0a Enthralling Loyalty Implanted People
Vampires can no longer enthrall loyalty implanted people, and will be informed as such.
2016-01-04 15:29:05 +02:00
skull132 dcd5e6d427 Vaurca Fixes
* Should make their eyes get damaged with flases proper now
* Makes them actually resistant to electric shock and walking on glass
2016-01-01 18:20:54 +02:00
skull132 13181c38b1 Door Bracers to Magnetic Locks
Renames the entire deal. Also gives a powercell to the maglocks, making them last about 16 minutes with a high capacity powercell. Cell can be replaced by unscrewing the front, and crowbarring it.
2016-01-01 18:09:39 +02:00
skull132 2ffe755e07 Merge pull request #813 from skull132/database-updates
Database Fixes
2015-12-30 22:31:24 +02:00
skull132 7f194bb235 whitelist.dm - While v For
This was silly of me. Replaces a for() loop with a while() loop.
2015-12-30 20:43:59 +02:00
skull132 dd3b1abcb3 dbcore.dm Fix
Changes how parseArguments works. It now returns a text string that is the cleaned SQL query. This is necessary. But also enables the usage of different lists on the same query, as the original sql query, with the unformatted placeholders, is still retained.
2015-12-30 20:43:10 +02:00
skull132 bd01f86cf3 Merge pull request #811 from skull132/database-updates
Database updates
2015-12-30 19:15:58 +02:00
skull132 6f0ecfbd64 Database Updates - Round 2
Because I fucked up the Git processes.

Adds:
* Variable and automatic sanitization to SQL queries (read up on dbcore.dm)
* Whitelist handling through SQL
2015-12-30 19:11:38 +02:00
Michael Abbey e0611edac3 Fixes Airlocks losing pressure (Baystation Fix) And fixes the icon pathing
-Allows your code to be easily used by fixing the forensics icon
pathing.
-Ports a fix from Baystation's 12 Developer atlantiscze
(As well as testing done by Dennok on BS12 and Mango and Myself for
testing on Aurora Code)
2015-12-30 11:55:53 -05:00
skull132 01f2b1c088 Merge pull request #807 from Aurorastation/development
Backend Updating & Fuel Fires Fix
2015-12-30 18:00:36 +02:00
skull132 ddd86015dd Merge pull request #806 from skull132/database-updates
Database updates
2015-12-30 17:51:51 +02:00
skull132 2c07141d60 Revert "Database updates" 2015-12-30 17:43:25 +02:00
skull132 4776d6daea Whitelist Through SQL
Adds a new configuration option: whitelists_on_sql. If enabled, it starts looking through the client's whitelist_status var to see if a person is whitelisted for heads of staff (always a bit value of 1), or an alien (values stored in the ss13_whitelist_statuses table).
2015-12-30 17:35:35 +02:00
skull132 cdc3283649 Fixes the Forensics.dmi errors
How did this suddenly stop working anyways? It shouldn't be a situational error :l
2015-12-27 13:47:54 +02:00
skull132 14b99501a1 Fixes Fuel Fires
Code update courtesy of @mwerezak from Baystation12.
2015-12-22 12:44:50 +02:00
skull132 1cef93657b dbcore.dm - parseArguments() Addition
A function that automatically sanitizes input for your SQL query, should you wish to use it. Can be called up on its own, or through the Execute() function by adding the argument list as the first parametre.
2015-12-21 11:19:46 +02:00
skull132 3f81cef604 dbcore.dm - Ledgibility Update
Makes the code more readable and more spaced out.
2015-12-20 23:40:11 +02:00
SoundScopes 7b55f97b9c Merge pull request #795 from skull132/secret-santa
Secret santa - More Fixes
2015-12-19 21:06:28 +00:00
skull132 73096e3eed Secret Santa - More Sanitization
Fuck you, PHP and your magical PDO. Or fuck you, DM, and your lack of PDO or somethign similar.
2015-12-19 23:02:32 +02:00
skull132 782de7656f Secret Santa - Logic Fixes
Actually fixes the assignment function.
2015-12-19 22:55:07 +02:00
SoundScopes 91b7d4c3e2 Update brain_item.dm 2015-12-18 20:06:53 +00:00
SoundScopes 39c06f4cfa Merge pull request #790 from skull132/secret-santa
Secret santa - Fixes
2015-12-17 10:47:27 +00:00
skull132 ed4481cd70 Secret Santa - Assinging People + Fixes
Everything works now! Also has a function to assign everyone a mark. It will failtrain if you have an uneven amount of people on the database, though.
2015-12-16 12:05:47 +02:00
SoundScopes 5184591658 Merge pull request #788 from skull132/organ-fixes
Fixing Transplants
2015-12-16 08:06:17 +00:00
SoundScopes 88246dbbb4 Merge pull request #787 from skull132/map-fixes-for-travis
Map fixes for travis
2015-12-16 08:05:54 +00:00
SoundScopes 31c52466a2 Merge pull request #786 from skull132/secret-santa
Secret Santa - SQL Query Fix
2015-12-16 08:05:47 +00:00
skull132 2fba522072 Organ Transplant Fix
I managed to fuck a series of if-checks, resulting in only robot organs being transplantable.
2015-12-13 22:49:11 +02:00
skull132 5eac61d641 Secret Santa - SQL Query Fix
Because people have snowflakey names. Grr.
2015-12-11 21:37:25 +02:00
SoundScopes c16a578e38 Lost Custom Items 2015-12-09 12:36:45 +00:00
SoundScopes cdee2cca88 More Vaurca things
Well one thing
2015-12-08 18:45:04 +00:00
SoundScopes f624938ef1 AI hologram custom things
Custom Sprites.txt is the strangest file I have dealt with, and this
might not work
2015-12-08 10:32:10 +00:00
SoundScopes 092653287f Vaurca 2015-12-08 09:46:19 +00:00
SoundScopes f527efceed Merge pull request #56 from Aurorastation/development
Development
2015-12-08 02:35:36 +00:00
SoundScopes a5fbdacda3 Merge pull request #778 from skull132/door-bracer
Door bracer
2015-12-08 02:34:36 +00:00
SoundScopes 12750e5db5 Merge pull request #780 from skull132/secret-santa
Secret santa
2015-12-08 02:33:40 +00:00
skull132 905abf6aae Secret Santa - Icon Fix
Because underscores > dashes
2015-12-07 12:21:43 +02:00
skull132 c75fbb3765 Secret Santa - Icons 2015-12-05 22:50:35 +02:00