ZG loots and hide admin roles when registering
This commit is contained in:
@@ -1,22 +1,23 @@
|
|||||||
[36m[2020-03-29T12:12:03.477] [DEBUG] Admin#makeKnex - [39mMaking new knex: {
|
[36m[2020-04-12T02:46:02.286] [DEBUG] Admin#makeKnex - [39mMaking new knex: {
|
||||||
client: 'sqlite3',
|
client: 'sqlite3',
|
||||||
connection: {(node:1085628) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
|
connection: {
|
||||||
Terminated
|
filename: '/home/cake/nitowa.xyz/frontcraft/admin/data/frontworkAdmin.sqlite'
|
||||||
npm ERR! code ELIFECYCLE
|
},
|
||||||
npm ERR! errno 143
|
migrations: {
|
||||||
npm ERR! frontcraft@1.0.0 launch: `node lib/src/backend/Launcher.js > log.txt "-"`
|
directory: '/home/cake/nitowa.xyz/frontcraft/admin/migrations',
|
||||||
npm ERR! Exit status 143
|
extension: 'ts'
|
||||||
npm ERR!
|
},
|
||||||
npm ERR! Failed at the frontcraft@1.0.0 launch script.
|
useNullAsDefault: true
|
||||||
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
|
}
|
||||||
|
[36m[2020-04-12T02:46:02.426] [DEBUG] Admin#startWebsocket - [39mWebsocket up on 20000
|
||||||
npm ERR! A complete log of this run can be found in:
|
[36m[2020-04-12T02:46:02.427] [DEBUG] UserManager#initialize - [39msetting up permissions
|
||||||
npm ERR! /home/cake/.npm/_logs/2020-03-29T10_12_28_351Z-debug.log
|
skipping spec insertion
|
||||||
s loaded
|
[36m[2020-04-12T02:46:02.613] [DEBUG] Admin#start - [39m6 components initialized
|
||||||
[32m[2020-03-29T12:12:04.535] [INFO] Admin#startWebserver - [39mAdmin panel listening for HTTP on *8080
|
[32m[2020-04-12T02:46:03.296] [INFO] Admin#startWebserver - [39mFrontend from /home/cake/nitowa.xyz/frontcraft/admin/dist/server.js loaded
|
||||||
[36m[2020-03-29T12:12:17.689] [DEBUG] UserManager#checkConnection - [39m{
|
[32m[2020-04-12T02:46:03.297] [INFO] Admin#startWebserver - [39mAdmin panel listening for HTTP on *8080
|
||||||
|
[36m[2020-04-12T02:46:42.194] [DEBUG] UserManager#checkConnection - [39m{
|
||||||
celinda: {
|
celinda: {
|
||||||
connections: { '59288': [Socket] },
|
connections: { '45536': [Socket] },
|
||||||
auth: { token: [Object], user: [Object], port: 20001 },
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
user: {
|
user: {
|
||||||
id: 3,
|
id: 3,
|
||||||
@@ -30,4 +31,108 @@ s loaded
|
|||||||
Naxx: 1
|
Naxx: 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} [ '1563eebe-9da2-4b31-b4ef-ef3aaa7e23b1' ]
|
} [ 'cfa202ff-5f2c-4e4e-9fa5-9a45233ab0e0' ]
|
||||||
|
[36m[2020-04-12T02:49:29.208] [DEBUG] UserManager#closeHandler - [39m{
|
||||||
|
celinda: {
|
||||||
|
connections: {},
|
||||||
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
|
user: {
|
||||||
|
id: 3,
|
||||||
|
username: 'celinda',
|
||||||
|
rank: 'Officer',
|
||||||
|
MC: 1,
|
||||||
|
BWL: 0,
|
||||||
|
ZG: 1,
|
||||||
|
AQ20: 1,
|
||||||
|
AQ40: 1,
|
||||||
|
Naxx: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} [ 'cfa202ff-5f2c-4e4e-9fa5-9a45233ab0e0' ]
|
||||||
|
[36m[2020-04-12T02:49:31.572] [DEBUG] UserManager#checkConnection - [39m{
|
||||||
|
celinda: {
|
||||||
|
connections: { '46948': [Socket] },
|
||||||
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
|
user: {
|
||||||
|
id: 3,
|
||||||
|
username: 'celinda',
|
||||||
|
rank: 'Officer',
|
||||||
|
MC: 1,
|
||||||
|
BWL: 0,
|
||||||
|
ZG: 1,
|
||||||
|
AQ20: 1,
|
||||||
|
AQ40: 1,
|
||||||
|
Naxx: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} [ 'cfa202ff-5f2c-4e4e-9fa5-9a45233ab0e0' ]
|
||||||
|
[36m[2020-04-12T02:49:37.031] [DEBUG] UserManager#closeHandler - [39m{
|
||||||
|
celinda: {
|
||||||
|
connections: {},
|
||||||
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
|
user: {
|
||||||
|
id: 3,
|
||||||
|
username: 'celinda',
|
||||||
|
rank: 'Officer',
|
||||||
|
MC: 1,
|
||||||
|
BWL: 0,
|
||||||
|
ZG: 1,
|
||||||
|
AQ20: 1,
|
||||||
|
AQ40: 1,
|
||||||
|
Naxx: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} [ 'cfa202ff-5f2c-4e4e-9fa5-9a45233ab0e0' ]
|
||||||
|
[36m[2020-04-12T02:49:38.886] [DEBUG] UserManager#checkConnection - [39m{
|
||||||
|
celinda: {
|
||||||
|
connections: { '47044': [Socket] },
|
||||||
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
|
user: {
|
||||||
|
id: 3,
|
||||||
|
username: 'celinda',
|
||||||
|
rank: 'Officer',
|
||||||
|
MC: 1,
|
||||||
|
BWL: 0,
|
||||||
|
ZG: 1,
|
||||||
|
AQ20: 1,
|
||||||
|
AQ40: 1,
|
||||||
|
Naxx: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} [ 'cfa202ff-5f2c-4e4e-9fa5-9a45233ab0e0' ]
|
||||||
|
[36m[2020-04-12T02:49:44.132] [DEBUG] UserManager#closeHandler - [39m{} []
|
||||||
|
[36m[2020-04-12T02:52:10.916] [DEBUG] UserManager#checkConnection - [39m{
|
||||||
|
celinda: {
|
||||||
|
connections: { '48390': [Socket] },
|
||||||
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
|
user: {
|
||||||
|
id: 3,
|
||||||
|
username: 'celinda',
|
||||||
|
rank: 'Officer',
|
||||||
|
MC: 1,
|
||||||
|
BWL: 0,
|
||||||
|
ZG: 0,
|
||||||
|
AQ20: 1,
|
||||||
|
AQ40: 1,
|
||||||
|
Naxx: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} [ '7a8bbb51-412a-4bee-9e0e-9b7cbaef82d8' ]
|
||||||
|
[32m[2020-04-12T02:52:47.682] [INFO] process#SIGINT - [39mShutting down from SIGINT (Ctrl-C)
|
||||||
|
[36m[2020-04-12T02:52:47.684] [DEBUG] UserManager#closeHandler - [39m{
|
||||||
|
celinda: {
|
||||||
|
connections: {},
|
||||||
|
auth: { token: [Object], user: [Object], port: 20001 },
|
||||||
|
user: {
|
||||||
|
id: 3,
|
||||||
|
username: 'celinda',
|
||||||
|
rank: 'Officer',
|
||||||
|
MC: 1,
|
||||||
|
BWL: 0,
|
||||||
|
ZG: 0,
|
||||||
|
AQ20: 1,
|
||||||
|
AQ40: 1,
|
||||||
|
Naxx: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} [ '7a8bbb51-412a-4bee-9e0e-9b7cbaef82d8' ]
|
||||||
|
|||||||
@@ -281,6 +281,12 @@ export const T2:string[] = [
|
|||||||
"Sabatons of Wrath"
|
"Sabatons of Wrath"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
export const ZGMounts = [
|
||||||
|
"Swift Zulian Tiger",
|
||||||
|
"Swift Razzashi Raptor",
|
||||||
|
"Primal Hakkari Idol"
|
||||||
|
]
|
||||||
|
|
||||||
export type AllItems = {
|
export type AllItems = {
|
||||||
[tier in Tiers] : string[]
|
[tier in Tiers] : string[]
|
||||||
}
|
}
|
||||||
@@ -288,7 +294,7 @@ export type AllItems = {
|
|||||||
export const allItems : AllItems = {
|
export const allItems : AllItems = {
|
||||||
MC: T1,
|
MC: T1,
|
||||||
BWL: T2,
|
BWL: T2,
|
||||||
ZG:[],
|
ZG: ZGMounts,
|
||||||
AQ20: [],
|
AQ20: [],
|
||||||
AQ40: [],
|
AQ40: [],
|
||||||
Naxx: []
|
Naxx: []
|
||||||
|
|||||||
@@ -142,7 +142,6 @@ export type User = {
|
|||||||
username: string
|
username: string
|
||||||
pwhash: string
|
pwhash: string
|
||||||
rank: Rank
|
rank: Rank
|
||||||
currency?: number
|
|
||||||
} & {
|
} & {
|
||||||
[currency in Tiers]? : number
|
[currency in Tiers]? : number
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
<nb-card>
|
<nb-card>
|
||||||
<nb-card-body>
|
<nb-card-body>
|
||||||
<nb-checkbox [(ngModel)]="showApplication" name="amMember" #checkbox><!--I am already a member-->I understand this is super beta and things might not work or are not very pretty</nb-checkbox>
|
<nb-checkbox [(ngModel)]="showApplication" name="amMember" #checkbox><!--I am already a member-->By creating an account I am okay with cookies on my machine</nb-checkbox>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<span > <!--*ngIf="showApplication"-->
|
<span > <!--*ngIf="showApplication"-->
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export class RegisterComponent implements OnInit{
|
|||||||
race: "Night Elf"
|
race: "Night Elf"
|
||||||
}
|
}
|
||||||
|
|
||||||
ranks = _Rank
|
ranks = _Rank.splice(5) //remove admin, gm, officer
|
||||||
classes = _Class
|
classes = _Class
|
||||||
races = _Race
|
races = _Race
|
||||||
selectedClass : Class = "Warrior"
|
selectedClass : Class = "Warrior"
|
||||||
|
|||||||
Reference in New Issue
Block a user