Fixes that Intigracy wanted me to do in addition to the latest stab at fixing character setup.

This commit is contained in:
Rob Nelson
2017-06-30 23:11:48 -07:00
parent c70619de41
commit 56d5f2898d
2 changed files with 6 additions and 6 deletions

View File

@@ -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,
@@ -104,14 +104,14 @@ CREATE TABLE client (
special INTEGER,
warns INTEGER,
warnbans INTEGER,
usewmp INTEGER,
usewmp INTEGER,
usenanoui INTEGER,
tooltips INTEGER,
tooltips INTEGER,
space_parallax INTEGER,
space_dust INTEGER,
parallax_speed INTEGER,
stumble INTEGER,
attack_animation INTEGER
attack_animation INTEGER
);

View File

@@ -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()]")