atomizer / muledump

all your mules are belong to you
84 stars 144 forks source link

No accounts show up when I add the Kongregate credentials #86

Closed Loudoan closed 8 years ago

Loudoan commented 8 years ago

Every Kabam account shows up on Muledump, but as soon as I add the credentials to accounts.js nothing shows up anymore and it gives me this error on muledump: "Uncaught SyntaxError: Unexpected token <"

Nightfirecat commented 8 years ago

I'm assuming you're using the latest code, as well as following the instructions in the Kabam tutorial?

Can you bring up your browser console, and check what line number of what file the error occurs at? That would greatly help in debugging this issue.

Loudoan commented 8 years ago

accounts.js:2 That's the line I pasted the credentials.

atomizer commented 8 years ago

Looks like you broke syntax. Make sure both GUID and secret are in quotes. Here is an example of a correct JSON object.

Loudoan commented 8 years ago

I don't think that's the problem, but here's what it looks like if you want to see for yourself: [link removed -atom]

atomizer commented 8 years ago

First of all, please go and change your kongregate password - you shouldn't have posted a screenshot with your account data unedited.

After you did that: It might be not clear from instructions, but you need to take the text from between <GUID> and </GUID> and put it below (on line 10) instead of e-mail (keep the quotes!). Same for <Secret> part - put it in there as password. Also remove the other example lines if you are not using them. What it should look like:

accounts = {
  'kongretage:yournumbers': 'yoursecret'
}
Loudoan commented 8 years ago

Looks like I just didn't understand the tutorial, thanks for the help!