Commit Graph

11 Commits

Author SHA1 Message Date
Matt Atlas
b7e97fd358 Fixes prefs not saving. (#18630)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
2024-03-10 22:46:39 +00:00
Werner
6287f394d3 Fix Death Tracking again (#18181)
* Fixes SQL Death Tracking again

Removes the foreign key constraint from the ckeys.
-> Ckeys can have different values i.e. when someone dies while aghosted the ckey becomes @ckey

Ensurs that the char_id is set to null and not 0 -> To make sure the foreign key constraint there actually works

* Simpler changelog

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2024-01-08 22:42:47 +00:00
Werner
f68f33da5e Connection Logging Overhaul (#18101)
* Connection Logging Overhaul

Changes how/where the connections are logged to the database

* Add logging of admin bypass connections

* Rebase to latest master

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2024-01-06 15:16:58 +00:00
Werner
9c18c99c37 Death Stats Fix (#18100)
* Death Stats Fix

Changes how the coordinates for the death stats are stored.
-> One column for x,y,z instead of all mashed into one column

* Add missing GLOB

* convert indentation

* Rebase to latest master

* Adds the attackers char id aswell.

* Slight reformatting and add constraint

* Fix indentation

* Adds another check

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2024-01-06 15:16:25 +00:00
Werner
bff569a6da Updates Loadout Backend (#18095)
* Updates Loadout Backend

Updates the loadout backend to store gear data in a separate table.

This might enable us to increase the number of loadout points available

* Bump MariaDB Version to 10.11

* Update editorconfig for SQL

* Fix update_character_gear

* tgui_alert and TOPIC_NOACTION

* Fix missing sur

* Actually, its user

* Adds a CHECK_TICK, just in case

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2024-01-02 21:54:49 +00:00
Werner
29913f3ac5 Fixes invalid sql datatype (#17901)
The suit sensors pr used INT as datatype to store text -> That didnt work for obvious reasons.

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-12-07 20:45:56 +00:00
Wowzewow (Wezzy)
5ad3c00da2 A Reasonable Suit Sensor Rebalance (#17607)
* A Reasonable Suit Sensor Rebalance

* discombobulate

* weird ahh

* HAPPY WHEELS

* SQL

* this will work hopefully

* damn me dumb

* please work

* Apply suggestions from code review

* Rename V004_suit_sensors.sql to V004__suit_sensors.sql

* remove sensor lock

* dmdocs + fixes

* Update code/modules/clothing/under/jobs/civilian.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

* Update SQL/migrate-2023/V004__suit_sensors.sql

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

* Update code/modules/clothing/clothing.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

* Update code/modules/clothing/clothing.dm

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>

* Update code/modules/clothing/clothing.dm

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>

* Update code/modules/clothing/clothing.dm

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>

* Update code/modules/clothing/clothing.dm

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>

* changes

---------

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
2023-12-06 18:41:46 +00:00
Matt Atlas
54dc8a0860 Adds TGUI say and TGUI input. (#17471)
* i alone am the honoured one

* THROUGHOUT HEAVEN AND EARTH I ALONE AM THE HONOURED ONE

* hollow point

* nanana

* ssss

* tgsay final touches

* stuff

* tgui inputs

* help

* carpal tunnel syndrome

* ffff

* again and again and again and again

* hehehehe

* dsada

* readd sanitize

* whoops

* dsad

* nah fuck that

* sd

* fix

* ow

* remove prefs for testmerging

* oops

* oops 2

* fix that

* f

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-10-11 23:26:59 +02:00
Fluffy
7947ffd0a9 asfas (#17421) 2023-09-24 00:27:59 +02:00
HanSolo1519
6a761fcc8f Economic Status: Ruined (#17227)
* Update mobs.dm

* Update game_mode.dm

* Update job.dm

* Update job.dm

* Update mobs.dm

* Update code/game/gamemodes/game_mode.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

* Add files via upload

* Update HanSolo1519-PR-#17227.yml

* Update code/game/gamemodes/game_mode.dm

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>

* Add files via upload

* Update and rename V075_ruined_economic_status.sql to V002__ruined_economic_status.sql

* Delete SQL/migrate/V002__ruined_economic_status.sql

* Add files via upload

* Fix PR Number

---------

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
2023-09-23 22:53:36 +02:00
Werner
a69a7316ab Condense Database Migrations (#17103)
* Condense Database Migrations

Condenses the Database Migrations into a new initial schema.
Also adds some instructions to the Database Readme for existing setups.

* Update readme/delete changed migrations since pr creation

* Reworks a bit how the previous migrations are handled and updates the instructions accordingly

* Expand the readme with baseline/migrate

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-08-19 22:32:13 +02:00