AJS-development / OpenAgar

An open source web game
Other
45 stars 20 forks source link

Invalid key #61

Closed freaky767 closed 7 years ago

freaky767 commented 7 years ago

So I have generated my key, then have putted the key into the key.txt, saved it, ran index.js and it says that it is a invalid key. why?

segg21 commented 7 years ago

@freaky767 Make sure you entered the key correctly in the key file. Meaning make sure there's no spaces within your key,

And you never said you copied and pasted the key. I recommend it.

segg21 commented 7 years ago

Remember,

You can always generate another key as long as you disable the one that's enabled. Mistakes happens. Eventually, it will manually delete after no in-activity. Get me or @Andrews54757 if the invalid key error persist.

freaky767 commented 7 years ago

i have put the original key into the key.txt. I have removed the "Put the key here" text and replaced it with the key.

freaky767 commented 7 years ago

There are no spaces or anything, it is just the key.

freaky767 commented 7 years ago

and also im not able to generate another key even if i disable the other one

Andrews54757 commented 7 years ago

@freaky767 What is in the key.txt file?

Andrews54757 commented 7 years ago

@freaky767 I tested your system. Your key generation is fine

freaky767 commented 7 years ago

ok but my key is not working

freaky767 commented 7 years ago

in the key.txt file it is only the key, that is it.

Andrews54757 commented 7 years ago

Tell me the key

Andrews54757 commented 7 years ago

Ok, so does the header show up?

Thats the header


___                      _                    
/ _ \ _ __   ___ _ __    / \   __ _  __ _ _ __ 
| | | | '_ \ / _ \ '_ \  / _ \ / _` |/ _` | '__|
| |_| | |_) |  __/ | | |/ ___ \ (_| | (_| | |   
\___/| .__/ \___|_| |_/_/   \_\__, |\__,_|_|   
|_|                      |___/            
OpenAgar - An open source web game
Also by the AJS Development team
[OpenAgar] Server listening on port 8080
freaky767 commented 7 years ago

nope

Andrews54757 commented 7 years ago

Paste the console output for me please.

freaky767 commented 7 years ago

just says Invalid key and then it shows the id to make the key

freaky767 commented 7 years ago

the id is always the same

Andrews54757 commented 7 years ago

Hmn. okay, so lets regenerate your ID.

  1. Delete a file called _mcuid (In home directory)
  2. Delete a file called _backup (In OpenAgar directory)
Andrews54757 commented 7 years ago

I will delete your old id on the website for you

freaky767 commented 7 years ago

ok im on windows tho

Andrews54757 commented 7 years ago

So. Use the search

freaky767 commented 7 years ago

on the c: drive?

Andrews54757 commented 7 years ago

Just search

freaky767 commented 7 years ago

ok

freaky767 commented 7 years ago

_mcuid is in openagar-master/source/core

freaky767 commented 7 years ago

i deleted it

Andrews54757 commented 7 years ago

Re-run it, register the new id, paste the key, and run again

freaky767 commented 7 years ago

Finally thank you it works

ZitroDev commented 7 years ago

same problem type your solving

segg21 commented 7 years ago

@ZitroAgario well, you have the solution to fix.

ghost commented 7 years ago

Also the same problem... First, I registered a key and put it in the key.txt But when I ran index.js it said invalid key And then I tried to delete _mcuid and _backup these two files, and ran index.js again After I registered another new key on the website and put it into key.txt, it still showed invalid key1 Please help me out, Thanks keys

segg21 commented 7 years ago

@uy304 You have to wait until our next update, since we no longer own our hard-coded domain.

ghost commented 7 years ago

On Wed, 31 May 2017 at 11:28 PM ᦖєgιт notifications@github.com wrote:

@uy304 https://github.com/uy304 You have to wait until our next update, since we no longer own our hard-coded domain.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AJS-development/OpenAgar/issues/61#issuecomment-305401038, or mute the thread https://github.com/notifications/unsubscribe-auth/AYH0y3oDWmCo5ppSo7jOV9wwW4toGzaRks5r_loggaJpZM4L_rLV .

How long?....

segg21 commented 7 years ago

@uy304 it depends. Maybe after our client is finished.

ghost commented 7 years ago

On Wed, 31 May 2017 at 11:31 PM ᦖєgιт notifications@github.com wrote:

@uy304 https://github.com/uy304 it depends. Maybe after our client is finished.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AJS-development/OpenAgar/issues/61#issuecomment-305401461, or mute the thread https://github.com/notifications/unsubscribe-auth/AYH0y9zf_WCqpLFCUwWm_D_nB9EMk9iwks5r_lq8gaJpZM4L_rLV .

OK I will wait then. Thanks for responsing me.

fayizan commented 7 years ago

: | How to get a key now ?

SharkFinPro commented 7 years ago

http://login.opnagar.us/ Login and go to keys @fayizan

SharkFinPro commented 7 years ago

oops! Sorry legit...wrong button

Andrews54757 commented 7 years ago

Revamped key system. This should no longer happen