atomizer / muledump

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

Gray Screen #112

Closed IronTailed closed 7 years ago

IronTailed commented 7 years ago

When I try to open the .html file, I get this screen: screen shot 2016-10-04 at 7 40 48 pm

Is this because I am on an non-personal computer? Please help me.

Nightfirecat commented 7 years ago

Can you open your browser console (in Chrome this is done with Ctrl + Shift + I), choose the "Console" tab, then refresh the page? Please paste whatever appears there so we can take a look at it.

IronTailed commented 7 years ago

screen shot 2016-10-05 at 8 00 39 am

atomizer commented 7 years ago

You are using fancy quotes, they are not a valid delimiter in javascript. Replace them with regular (vertical) ones. Try using a different editor.

IronTailed commented 7 years ago

I'm using textedit on Mac(default program). Could you show me what regular quotes look like compared to fancy ones?

IronTailed commented 7 years ago

Do you have any text editors that you would like to recommend?

atomizer commented 7 years ago

Here is a regular quote: ' I can recommend Sublime Text.

IronTailed commented 7 years ago

Still doesn't work. I'm on an organizational computer that blocks ROTMG, would that affect anything? With the fancy quotes, it wouldn't work at home when ROTMG was unblocked.

Nightfirecat commented 7 years ago

It shouldn't matter if you're on an organizational computer; the issue is that you have an incorrectly-formatted accounts.js file. You can paste the contents of your accounts.js file into a linter like http://jshint.com/ to see where there are errors. (You can ignore warnings about undefined variables or missing semicolons)

IronTailed commented 7 years ago

screen shot 2016-10-05 at 2 03 21 pm

It says unrecoverable syntax error

Nightfirecat commented 7 years ago

That sounds bad. Can you copy+paste line 10 here? (replacing your email and password with dummy values)

IronTailed commented 7 years ago

'yep@yep.net': 'yep',

IronTailed commented 7 years ago

That's line 10

Nightfirecat commented 7 years ago

I don't see anything wrong with that... I am, of course, assuming your password doesn't have any single-quotes in it (') of course, because that would cause problems.

Side-note, we need to think of a better way to troubleshoot accounts.js problems in cases like these... Not having easy access to the files (because of account credentials) makes debugging a big hassle.

MarvNC commented 7 years ago

saw someone with a similar issue recently, did you remember to rename accounts_sample.js to accounts.js? just makin sure

IronTailed commented 7 years ago

yes

IronTailed commented 7 years ago

Unrelated fact: Rotmg gets stuck on 100% loading for some reason (in browser)

IronTailed commented 7 years ago

// editor with syntax hilighting is recommended (for example, notepad++ or textmate)

accounts =

// Put your data here as shown below. Don't forget the commas and quotes! // If your emails or passwords contain single quotes, // escape them with backslashes () like this: 'pass\'word'

'123@123.net': '123',

}// don't delete this line!

// how many characters are displayed in each row (within one account) rowlength = 7

// change to 1 to switch to testing testing = 0

// change to 1 to enable price display in tooltips prices = 0

// change to 1 to enable one-click login (run lib/mulelogin.au3 first) mulelogin = 0

// 0 = use smart layout (fill empty spaces) // 1 = show account boxes row by row nomasonry = 0

This is my accounts.js.

Nightfirecat commented 7 years ago

Line 3 should read as follows: (you are missing the open curly bracket — {)

accounts = {

See line 3 of the sample file.

IronTailed commented 7 years ago

Alright, now it works