|
|
@ -80,6 +80,7 @@ namespace NightmareCoreWeb2.Pages |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
ViewData["Title"] = "All Characters"; |
|
|
|
ViewData["Title"] = "All Characters"; |
|
|
|
|
|
|
|
this.CharacterListType = ViewData["Title"]; |
|
|
|
string sql = "select username,name,level,race,class from characters.characters join auth.account on characters.characters.account = auth.account.id"; |
|
|
|
string sql = "select username,name,level,race,class from characters.characters join auth.account on characters.characters.account = auth.account.id"; |
|
|
|
QuerySQL(sql); |
|
|
|
QuerySQL(sql); |
|
|
|
return; |
|
|
|
return; |
|
|
@ -150,7 +151,6 @@ namespace NightmareCoreWeb2.Pages |
|
|
|
try |
|
|
|
try |
|
|
|
{ |
|
|
|
{ |
|
|
|
Account a = new Account(Username); |
|
|
|
Account a = new Account(Username); |
|
|
|
AccountAccess access = a.Access[0]; |
|
|
|
|
|
|
|
Console.WriteLine($"Account already exists {Username}"); |
|
|
|
Console.WriteLine($"Account already exists {Username}"); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception) |
|
|
|
catch (Exception) |
|
|
|