Eloazy / TMB

a system to help and optimise some things on torn
0 stars 0 forks source link

Key verify #1

Open Eloazy opened 1 month ago

Eloazy commented 1 month ago

Ned a key ferification

Eloazy commented 1 month ago

[!CAUTION] key verification returning {error: {code: 2, error: 'incorrect key'}}

[!important] Make the awaysTest option obrigatory!

the return value is breaking the verify code, and starting the program normaly

another thing, lock permissions to awatsTest: true solving child errors future errors.

DevMode, disable the awaysTest [prevent spam calls to servers for mass tests]

to make this functional, until the JSON editor not be implemented, use a vbs and a critical error exception in error.mjs case the key is not valid