mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +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,
|
||||
real_name TEXT,
|
||||
random_name INTEGER,
|
||||
random_body INTEGER,
|
||||
gender TEXT,
|
||||
age INTEGER,
|
||||
species TEXT,
|
||||
@@ -89,8 +90,7 @@ CREATE TABLE limbs (
|
||||
|
||||
-- Table: client
|
||||
CREATE TABLE client (
|
||||
ID INTEGER NOT NULL
|
||||
PRIMARY KEY AUTOINCREMENT,
|
||||
ID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
ckey INTEGER UNIQUE,
|
||||
ooc_color TEXT,
|
||||
lastchangelog TEXT,
|
||||
|
||||
@@ -719,7 +719,7 @@ AND players.player_slot = ? ;"}, ckey, slot)
|
||||
to_chat(user, "Created Character")
|
||||
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 = ?",\
|
||||
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))
|
||||
message_admins("Error #:[q.Error()] - [q.ErrorMsg()]")
|
||||
WARNING("Error #:[q.Error()] - [q.ErrorMsg()]")
|
||||
|
||||
Reference in New Issue
Block a user