skull132
3f1c460632
Fix dbcon.IsConnected() runtimes
...
Passes an empty DBConnection object whenever no config exists. This way, you don't need the config to be defined to run the server without runtime spam.
2016-04-03 20:03:32 +03:00
skull132
7d21c400cf
Fix World Status
...
Now displays fun things.
2016-04-02 23:38:18 +03:00
skull132
202b216092
More reworking of DB handling
...
sqllogging depracted in favour of config.sql_enabled. Database loading is done through /hook/startup/proc/load_databases, with initialize_database_object() being a generalized proc to read any generic database config file. (TODO: config examples in relaiton to last remark.)
2016-03-04 01:41:44 +02:00
skull132
8383f1c03b
Generalizing establish_db_connection() and setup_database_connection()
...
Both procs are now generalized, and accept a DBConnection object as an argument. Due to this generalization, all instances of `establish_db_connection()` must be renamed to `establish_db_connection(dbcon)`.
Also added variable `failed_connections` to the definition of DBConnection.
2016-03-04 00:53:37 +02:00
skull132
d46499a310
DBConnection object modifications
...
Renames the variables of the DBConnection object to make differentiating them easier.
Reworks the `DBConnection/New()` and `Connect()` methods to allow for the automatic creation of the dbi handler string. Adds a con_database variable to DBConnection to enable this. DBConnection objects now also house the current database they're using for this purpose.
Moves the constructor for dbcon under `/hook/startup/proc/connectDB()`, as it needs to be called after the SQL config has been read by `datum/global_init/New()`
2016-03-03 06:55:18 +02:00
skull132
44f2121042
Remove forumdb
...
Unused object and vars. Cleans them up, as well as removes the config file.
2016-03-02 22:44:00 +02:00
skull132
233bd98838
More World.dm Update
...
Adds a few more commands.
2016-02-16 23:33:31 +02:00
skull132
fa51e0b4bd
World.dm hotfix
...
Rephrases how it sends things.
2016-02-16 21:33:43 +02:00
skull132
4c31e6ec4a
World.dm quick fix
...
Changes one of the received keys.
2016-02-16 18:24:21 +02:00
skull132
29150a1909
More Remote Commands
...
Adds a whole bunch more remote commands to be used. Also adds a safet catch for when the key is unset.
2016-02-16 17:31:22 +02:00
skull132
179431115b
Merge remote-tracking branch 'Aurorastation/development' into SQL-backend-import
...
# Conflicts:
# code/modules/admin/admin.dm
# code/modules/admin/admin_verbs.dm
All conflicts cleared. Wind funciton needs a quick redo as a result.
2016-02-01 16:00:54 +02:00
PsiOmegaDelta
6089ccccea
Makes events global.
...
Greatly decreases the number of objects that need to be created (currently 3 event handlers in total vs basically 3 per datum)
The price is a slower lookup of listeners but on a per round basis it should still be much less than the current startup time penalty.
2016-01-26 13:12:37 +01:00
Mloc
ead90b7f77
new, safer algorithm for gameids
...
Signed-off-by: Mloc <colmohici@gmail.com >
2016-01-22 12:39:33 +00:00
Mloc
f6c1e37d2a
add a little ID to uniquely identify rounds in logs and to players
...
Signed-off-by: Mloc <colmohici@gmail.com >
2016-01-21 21:19:16 +00:00
skull132
09a6c86180
Remove dbcon_old
...
Removes the redunant SQL database and swaps the core mechanics over to using one database for all the things.
2016-01-13 15:56:57 +02:00
PsiOmegaDelta
95d73b8b71
Makes the floor wetness proc use the scheduler instead of sleeping.
2016-01-13 10:37:31 +01:00
ccomp5950
fe981a8928
Removes outdated information.
...
The define is no longer kept in that location.
2016-01-10 00:33:33 -05:00
PsiOmegaDelta
a4d9220bfa
Converts unit testing checks into #ifdef and #ifndef.
...
As per Mloc's comment in #11917 .
2016-01-06 22:09:33 +01:00
Chinsky
d2940ce1f6
Merge pull request #11808 from Ccomp5950/unit_tests
...
Unit Tests Framework
2016-01-06 07:38:50 +03:00
Ccomp5950
7dc9b3487a
Merge pull request #11739 from PsiOmegaDelta/151214-ObserveThis
...
Qdel() tweaking and a bonus
2016-01-01 23:58:29 -05:00
ccomp5950
4d24790c2e
Unit Tests now sets some config options if they aren't already set.
2015-12-31 13:08:05 -05:00
ccomp5950
997a6c66fd
Adds Supply Shuttle Unit Tests.
...
Moves the Supply Shuttle and tests air in both locations.
turned the air test into a "helper" proc.
Changed the world.dm message when unit testing is enabled so folks aren't caught off guard when the server shutsdown after testing.
2015-12-31 11:18:16 -05:00
ccomp5950
6633fb4e08
Unit Tests
...
Adds an example, edits Travis to run them.
2015-12-31 11:18:15 -05:00
PsiOmegaDelta
6ed13d884c
Merge pull request #11812 from Baystation12/dev-freeze
...
Dev.
2015-12-29 14:28:54 +01:00
PsiOmegaDelta
dbe840b32e
Merge pull request #11811 from Baystation12/master
...
Dev-freeze.
2015-12-29 14:13:28 +01:00
GinjaNinja32
3dfb821eed
add revision topic call
2015-12-28 17:25:37 +00:00
PsiOmegaDelta
a4545f8ded
Scheduler, observation, and New() tweaks.
...
Corrects a number of places where New() did not call ..(), and implements similar changes to attempt to ensure New()/initialize() complete running before qdel() runs.
Cuts down on the number of created items during server start.
2015-12-27 17:44:53 +01:00
PsiOmegaDelta
4d9b1ffcd0
Adds the missing cargo department to the world Topic() manifest request.
2015-12-11 21:13:49 +01:00
PsiOmegaDelta
009dd07a32
Merge pull request #11531 from Baystation12/dev-freeze
...
Dev
2015-11-28 11:56:08 +01:00
PsiOmegaDelta
554af8e9ca
Merge pull request #11530 from Baystation12/master
...
Dev-f
2015-11-28 11:48:39 +01:00
GinjaNinja32
b15497aa51
info topic improvements
2015-11-26 20:27:51 +00:00
PsiOmegaDelta
96a90bb5e7
Merge remote-tracking branch 'upstream/dev-freeze' into dev
2015-10-04 17:41:02 +02:00
PsiOmegaDelta
f4be4c0ad9
Merge pull request #11238 from Baystation12/master
...
Dev-freeze
2015-10-04 17:31:44 +02:00
GinjaNinja32
5ef5f40cbe
add 'info' topic command to get information on a character
2015-10-02 12:45:19 +01:00
GinjaNinja32
2341d2afa9
Merge remote-tracking branch 'upstream/dev-freeze' into dev
2015-08-22 15:44:02 +01:00
GinjaNinja32
4e56b82ec0
Merge remote-tracking branch 'upstream/master' into dev-freeze
2015-08-22 15:28:49 +01:00
GinjaNinja32
aff57029e2
add manifest status command
2015-08-22 11:33:25 +01:00
Zuhayr
56131e1053
Merge branch 'dev-freeze' of https://github.com/Baystation12/Baystation12 into devupdate
...
Conflicts:
code/modules/clothing/clothing.dm
2015-08-22 03:17:16 +09:30
Zuhayr
3c477dfa5e
Merge branch 'master' of https://github.com/Baystation12/Baystation12 into dev-freeze
...
Conflicts:
code/game/jobs/access.dm
code/modules/mob/living/carbon/brain/brain_item.dm
code/modules/mob/living/carbon/human/update_icons.dm
code/modules/organs/organ_icon.dm
2015-08-22 03:11:53 +09:30
GinjaNinja32
c2cdf9d237
add round duration to status reply
2015-08-21 06:28:44 +01:00
Zuhayr
a8dc3a282b
Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into turfs
2015-08-18 12:06:53 -07:00
Zuhayr
71214d859e
Merge with master.
2015-08-18 11:31:10 -07:00
GinjaNinja32
f0c8db3d0f
Adds settable rank to IRC messages, changes it so non-admins can see who on IRC is messaging them, and adds the name of the original sender to reply PMs
2015-08-18 02:16:50 +01:00
Zuhayr
c8baafed2a
Removed turf_animation for now, ported vg hasproximity optimisation. Rewrite and refactor of how turfs handle icon updates, edge smoothing and
...
construction/deconstruction. Major map rework/changes.
2015-08-16 06:05:21 -07:00
PsiOmega
3a08e2884a
Merge remote-tracking branch 'upstream/master' into dev-freeze
...
Conflicts:
code/game/objects/structures/crates_lockers/largecrate.dm
code/modules/mob/living/carbon/human/life.dm
code/modules/mob/living/silicon/ai/ai.dm
code/modules/research/circuitprinter.dm
2015-08-15 10:52:17 +02:00
GinjaNinja32
74f47de0e5
'fixes' spacestation13.com's server banner
...
they appear to just use the 8th field of the reply for the player count, rather than parsing the reply; this moves player count back to being the 8th entry
2015-08-15 03:18:40 +01:00
PsiOmegaDelta
93e914f021
Merge remote-tracking branch 'upstream/dev-freeze' into dev
...
Conflicts:
code/setup.dm
2015-07-30 10:49:37 +02:00
PsiOmegaDelta
b6bd51828a
Merge remote-tracking branch 'upstream/master' into dev-freeze
...
Conflicts:
code/game/objects/items/robot/robot_upgrades.dm
code/modules/admin/admin_verbs.dm
code/modules/reagents/Chemistry-Holder.dm
code/modules/reagents/Chemistry-Recipes.dm
code/modules/reagents/reagent_containers/syringes.dm
2015-07-30 10:38:44 +02:00
GinjaNinja32
2cf4f6e4db
Change Topic() 'status' command to make more sense
2015-07-29 06:39:03 +01:00
PsiOmegaDelta
c6f4f7fcee
Merge remote-tracking branch 'upstream/dev-freeze' into dev
2015-07-12 15:14:43 +02:00