Commit Graph

14 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
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
skull132 a8d9450c7e Initial Commit 2014-03-11 09:03:52 +02:00