This commit is contained in:
unexp 2023-02-17 23:14:41 -03:00
parent 1dc50c7cc5
commit fe4c081591
No known key found for this signature in database
GPG Key ID: BF66F09641C584C8
1 changed files with 12 additions and 12 deletions

View File

@ -18,7 +18,7 @@ class RenderJob extends Job {
if (!this.client) await this.CreateClient()
logger.info(`${chalk.gray(`[${this.id}]`)} Headshot RenderJob started for ${id}`)
logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Headshot RenderJob started for ${id}`)
const result = await this.OpenJobEx({
name: this.id,
@ -39,7 +39,7 @@ class RenderJob extends Job {
},
}).catch((e) => false)
logger.info(`${chalk.gray(`[${this.id}]`)} Headshot RenderJob finished for ${id}`)
logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Headshot RenderJob finished for ${id}`)
if (!result) return false
return result[0]?.OpenJobExResult?.LuaValue[0]?.value
@ -54,8 +54,8 @@ class RenderJob extends Job {
if (!this.client) await this.CreateClient()
if (three_d) logger.info(`${chalk.gray(`[${this.id}]`)} 3D Bodyshot RenderJob started for ${id}`)
else logger.info(`${chalk.gray(`[${this.id}]`)} Bodyshot RenderJob started for ${id}`)
if (three_d) logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} 3D Bodyshot RenderJob started for ${id}`)
else logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Bodyshot RenderJob started for ${id}`)
const result = await this.OpenJobEx({
name: this.id,
@ -76,8 +76,8 @@ class RenderJob extends Job {
},
}).catch((e) => false)
if (three_d) logger.info(`${chalk.gray(`[${this.id}]`)} 3D Bodyshot RenderJob finished for ${id}`)
else logger.info(`${chalk.gray(`[${this.id}]`)} Bodyshot RenderJob finished for ${id}`)
if (three_d) logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} 3D Bodyshot RenderJob finished for ${id}`)
else logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Bodyshot RenderJob finished for ${id}`)
if (!result) return false
return result[0]?.OpenJobExResult?.LuaValue[0]?.value
@ -92,8 +92,8 @@ class RenderJob extends Job {
if (!this.client) await this.CreateClient()
if (three_d) logger.info(`${chalk.gray(`[${this.id}]`)} 3D Asset RenderJob started for ${id}`)
else logger.info(`${chalk.gray(`[${this.id}]`)} Asset RenderJob started for ${id}`)
if (three_d) logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} 3D Asset RenderJob started for ${id}`)
else logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Asset RenderJob started for ${id}`)
const result = await this.OpenJobEx({
name: this.id,
@ -115,8 +115,8 @@ class RenderJob extends Job {
},
}).catch((e) => false)
if (three_d) logger.info(`${chalk.gray(`[${this.id}]`)} 3D Asset RenderJob finished for ${id}`)
else logger.info(`${chalk.gray(`[${this.id}]`)} Asset RenderJob finished for ${id}`)
if (three_d) logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} 3D Asset RenderJob finished for ${id}`)
else logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Asset RenderJob finished for ${id}`)
if (!result) return false
return result[0]?.OpenJobExResult?.LuaValue[0]?.value
@ -136,7 +136,7 @@ class RenderJob extends Job {
if (!this.client) await this.CreateClient()
logger.info(`${chalk.gray(`[${this.id}]`)} Place RenderJob started for ${id}`)
logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Place RenderJob started for ${id}`)
const result = await this.OpenJobEx({
name: this.id,
@ -157,7 +157,7 @@ class RenderJob extends Job {
},
}).catch((e) => false)
logger.info(`${chalk.gray(`[${this.id}]`)} Place RenderJob finished for ${id}`)
logger.info(`${chalk.gray(`${chalk.gray(`[${this.id}]`)}`)} Place RenderJob finished for ${id}`)
if (!result) return false
return result[0]?.OpenJobExResult?.LuaValue[0]?.value