Page 6 of 27

Re: Elfcrusher's Journeyometer

Posted: Mon Jun 02, 2014 12:08 am
by Glorelendil
James,

When you are clicking the Choose File button, does your screen look this:
Image

If so, the problem is that you have a security feature enabled. But don't change anything...I'll fix it later tonight so that it works even with that feature on.

Re: Elfcrusher's Journeyometer

Posted: Mon Jun 02, 2014 1:01 am
by Glorelendil
Ok, try it again now.

(For those who are interested: I was linking to various .js and .css files from their hosts; I suspect his security settings, or anti-ad filter, was not letting web pages load files from different domains, so those files weren't getting loaded. One of them, d3.js, is critical. So I made them all local instead of remote.)

P.S. This morning I just pushed a fix to the travel roll computation. I'm still not getting exactly the same results as the Erebor to Beorn's House sample in the LG, but it's pretty close. The difference may just be the difference between estimating cell counts from a freehand line and clicking on discrete cells.
- I also finally fixed the direction problem: it now assumes that whichever cell is closest to the first cell you selected is the beginning of the journey. The "reverse direction" button remains.
- Also made the control panel switch automatically to the Journey tab when you start selecting cells. If this is annoying instead of helpful I will disable.

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 2:25 am
by Morgoth
I've been doing some more testing, and it seems quite nice. I'm glad you fixed the direction problem. I think I prefer the auto-journey tab switching, but I don't think it's a huge deal either way.

I was wondering, are you going to enable the dates in the shire calendar?

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 7:15 am
by jamesrbrown
No, my screen doesn't look like that. Right after pressing "Choose File", my screen looks like this:

Image

In this shot, I am about to choose my Adventurer's Map jpeg. After I choose it, I get the error. Interestingly, after I press the "Ok" on the error window, the map never shows up, but the file name appears in your window like I've chosen it. Like this:

Image

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 10:08 am
by Rich H
Silly question James, but have you tried it with the Loremaster Map? Sorry if you've already stated that upthread somewhere.

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 2:04 pm
by jamesrbrown
Yes. I've tried different pictures, both jpeg and png, including the Loremaster's Map. Theoretically, shouldn't you be able to open any jpeg by choosing file? It seems like a simple process, but there is something in the coding that my laptop doesn't quite like.

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 2:19 pm
by jamesrbrown
Ok. I got it to work with Google Chrome as a browser. Very cool! So, the issue is with Safari. I am going to make sure that I have the latest version of Safari and see if that fixes things. Otherwise, that's where the bug is.

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 2:26 pm
by shipwreck
Two quick questions from a newb:

1) Any way to get good jpeg of the Adventurer's Map besides scanning it in?
2) Is this calculator out of date? I know Elfcrusher's is superior but this one works nicely on my tablet (which is easier to keep at the table than a lappy)

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 2:27 pm
by Glorelendil
Ok, I disabled the try/catch block that was throwing that error, so that it will actually hit the error deeper in the code.

Go into Preferences, clicked the Advanced Tab, and at the bottom check "Show Develop menu in menu bar".

Now go to the menu that just appeared and click "Show Error Log".

Now try to reload the application and load your image; in the error log it should give you the same error you've been seeing, but with a filename and line of where the error is happening.

One more question, though....what version of Safari are you using? It just occurred to me that the File protocol I'm using has not been a standard for very long.

Re: Elfcrusher's Journeyometer

Posted: Tue Jun 03, 2014 2:30 pm
by Glorelendil
shipwreck wrote:Two quick questions from a newb:

1) Any way to get good jpeg of the Adventurer's Map besides scanning it in?
2) Is this calculator out of date? I know Elfcrusher's is superior but this one works nicely on my tablet (which is easier to keep at the table than a lappy)
Unfortunately, scanning the image will almost definitely give you the wrong scale. I had to hard code some numbers to make the grid lines calibrate perfectly. In the "some day" feature hopper is a calibration tool so that you can use your favorite map, but that's a ways off.

I sent you a PM with some things to try, though.