mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes that Intigracy wanted me to do in addition to the latest stab at fixing character setup.
This commit is contained in:
@@ -7,6 +7,7 @@ CREATE TABLE players (
|
|||||||
ooc_notes TEXT,
|
ooc_notes TEXT,
|
||||||
real_name TEXT,
|
real_name TEXT,
|
||||||
random_name INTEGER,
|
random_name INTEGER,
|
||||||
|
random_body INTEGER,
|
||||||
gender TEXT,
|
gender TEXT,
|
||||||
age INTEGER,
|
age INTEGER,
|
||||||
species TEXT,
|
species TEXT,
|
||||||
@@ -89,8 +90,7 @@ CREATE TABLE limbs (
|
|||||||
|
|
||||||
-- Table: client
|
-- Table: client
|
||||||
CREATE TABLE client (
|
CREATE TABLE client (
|
||||||
ID INTEGER NOT NULL
|
ID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||||
PRIMARY KEY AUTOINCREMENT,
|
|
||||||
ckey INTEGER UNIQUE,
|
ckey INTEGER UNIQUE,
|
||||||
ooc_color TEXT,
|
ooc_color TEXT,
|
||||||
lastchangelog TEXT,
|
lastchangelog TEXT,
|
||||||
@@ -104,14 +104,14 @@ CREATE TABLE client (
|
|||||||
special INTEGER,
|
special INTEGER,
|
||||||
warns INTEGER,
|
warns INTEGER,
|
||||||
warnbans INTEGER,
|
warnbans INTEGER,
|
||||||
usewmp INTEGER,
|
usewmp INTEGER,
|
||||||
usenanoui INTEGER,
|
usenanoui INTEGER,
|
||||||
tooltips INTEGER,
|
tooltips INTEGER,
|
||||||
space_parallax INTEGER,
|
space_parallax INTEGER,
|
||||||
space_dust INTEGER,
|
space_dust INTEGER,
|
||||||
parallax_speed INTEGER,
|
parallax_speed INTEGER,
|
||||||
stumble INTEGER,
|
stumble INTEGER,
|
||||||
attack_animation INTEGER
|
attack_animation INTEGER
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -719,7 +719,7 @@ AND players.player_slot = ? ;"}, ckey, slot)
|
|||||||
to_chat(user, "Created Character")
|
to_chat(user, "Created Character")
|
||||||
else
|
else
|
||||||
q.Add("UPDATE players SET ooc_notes=?,real_name=?,random_name=?,gender=?,age=?,species=?,language=?,med_record=?,sec_record=?,gen_record=?,player_alt_titles=?,disabilities=?,nanotrasen_relation=?,random_body=? WHERE player_ckey = ? AND player_slot = ?",\
|
q.Add("UPDATE players SET ooc_notes=?,real_name=?,random_name=?,gender=?,age=?,species=?,language=?,med_record=?,sec_record=?,gen_record=?,player_alt_titles=?,disabilities=?,nanotrasen_relation=?,random_body=? WHERE player_ckey = ? AND player_slot = ?",\
|
||||||
metadata, real_name, be_random_name, gender, age, species, language, med_record, sec_record, gen_record, altTitles, disabilities, nanotrasen_relation, ckey, slot, be_random_body)
|
metadata, real_name, be_random_name, gender, age, species, language, med_record, sec_record, gen_record, altTitles, disabilities, nanotrasen_relation, be_random_body, ckey, slot)
|
||||||
if(!q.Execute(db))
|
if(!q.Execute(db))
|
||||||
message_admins("Error #:[q.Error()] - [q.ErrorMsg()]")
|
message_admins("Error #:[q.Error()] - [q.ErrorMsg()]")
|
||||||
WARNING("Error #:[q.Error()] - [q.ErrorMsg()]")
|
WARNING("Error #:[q.Error()] - [q.ErrorMsg()]")
|
||||||
|
|||||||
Reference in New Issue
Block a user