Commit Graph

21 Commits

Author SHA1 Message Date
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 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 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
skull132 2c07141d60 Revert "Database updates" 2015-12-30 17:43:25 +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
skull132 d6b539c9d2 SQL Backend Update 2
Updating all table names referenced in the code to match a more suitable
structure.
2015-06-21 20:57:40 +03:00
skull132 fce65e8e42 SQL backstage update
Since Aurora only has one SQL database, I've removed the old database
proc and object (dbcon_old). It'll make everything connect to the same
database, and be less of a hassle with the config files.
2015-06-21 17:34:28 +03:00
skull132 2c8137a419 Merge pull request #330 from skull132/development
Skull's Fixes, 24DEC2014
2014-12-24 22:50:25 +02:00
skull132 51aba39ee4 SQL Statistics Logging
Now for better consistency!
2014-12-24 13:51:50 +02:00
SoundScopes 4f7eeb5775 bst death logs 2014-12-21 22:02:34 +00:00
SoundScopes 6d8350d545 Organ code
Needs a map edit
I can't wait to see the errors from this
2014-12-18 11:27:58 +00:00
SoundScopes ea0abc0fba Turf entering proc change thing 2014-12-11 15:35:29 +00:00
Zuhayr a721eb3abb Ports Xenobotany from Bay. Does not compile due to map faults; hence untested. 2014-11-21 18:29:35 +10:30
SoundScopes 153123c9b7 Now 2014-11-06 12:46:38 +00:00
skull132 3c04d7199d Bay Merge 05NOV2014
Known errors:

* A set of errors tied to updating the fire overlays.
* A single error related to a dischephency between new and old slime
code
* A set of errors related to the recharging of stun batons
* A single error due to old machinery code coming from your grav
generator file
* A single error error from your space cooler code, due to old
atmopsherics code
* A playerpanel warning
* An error tied to extinguishing and old atmos code.
2014-11-05 23:58:05 +02:00
Duck- aef81d9d14 Various things
Restores glass shard throwdamage to 15 because it should never have been
reduced in the first plaaaace.

Slightly buffs bombsuits-- you'll still die if hit by epicenter, but if
you have a suit, reduces damage taken from heavy explosions.  Was 90+15
+ whatever pressure does to you while you're out to 60 + 1 + whatever
pressure does to you while you're out.  Significantly increases odds of
survival, I think.  Can easily be tweaked further.

Fixes ipcs being affected by cloneloss-- check was placed after damage
was applied so it terminated after damage was applied.
Fixes tasers piercing through godmode.  Now properly calls the proc
instead of applying direct damage like everything else.
Makes pain-immune races immune to halloss.  Because pain damage doesn't
really make sense against things that feel no pain.
Nerfs chloral to stun for ~4 seconds + metabolism duration as opposed to
40 seconds + metabolism duration.  that can go and die.
Painkillers now rapidly remove halloss.  If you have tramadol running in
you, it will take rapid consecutive taser hits to bring you down.  If
you have oxy, it'll most likely take multiple people tasing you
simultaneously to down you.  stun batons and lasers still work just as
well though.
2014-10-17 14:25:37 -04:00
skull132 bd85415034 Bay Update 26JUN2014 2014-06-26 16:51:39 +03:00
skull132 f95ab265c1 Bay Update 02 2014-06-04 18:20:49 +03:00
skull132 6d192181ea Baystation Update Merge 01
Mahoosive update. A lot of things.
2014-04-16 23:54:43 +03:00
skull132 a8d9450c7e Initial Commit 2014-03-11 09:03:52 +02:00