MapTool 1.3 Development Build 47

New build announcements plus site news and changes.

Moderators: dorpond, trevor, Azhrei, Craig

User avatar
Rumble
Deity
Posts: 6235
Joined: Tue Jul 01, 2008 7:48 pm

Post by Rumble »

Hawke wrote:Do we know if this soft-fog-mouseover bug is present in b45?
Far as I can tell, it is not present in b45.

ddrewitz
Kobold
Posts: 11
Joined: Wed Nov 19, 2008 10:10 pm

Post by ddrewitz »

Has anyone looked at the issue with the health bars? When changing it so everyone can't view the bars, it also shuts off it so the owner can't view it either.

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

fyi I'm working on the label issue on the soft fog
Dreaming of a 1.3 release

User avatar
palmer
Great Wyrm
Posts: 1367
Joined: Sat Sep 06, 2008 7:54 pm

Post by palmer »

BUG: Changing token image

Sometimes (this is intermittent) when I drag an rptok onto the board, I want to change the token image, mix things up etc.

So I double click, then hit the little green + next to the pic and choose a new token.

Sometimes, when I do this... the OK button stops working.
It clicks. It depresses, changes color... but has no effect. Dialog doesn't close, changes are not saved, etc.

I have to Cancel or X out, which loses the change. Re-editing the token, choosing the same pic, will then work.

It mostly seems to happen with one specific token I have... the effect is fairly consistent.

I'm including the rptok here so you can figure out the cause, maybe.

STEPS TO REPRODUCE:
1: Drag token onto map. Can be from file manager or Resource library
2: Double click token
3: Hit green + to change image
4: Choose any other image and hit ok
5: Once back to the basic "Edit Token" window, click OK, nothing happens.

I am able to consistently reproduce the behaviour using this one token, have not yet identified other affected tokens.

The behaviour is campaign-independent. I was able to start a brand new session, on the default grasslands, and reproduce this.

User avatar
Hawke
Great Wyrm
Posts: 2261
Joined: Sat Apr 21, 2007 12:12 am
Location: Albuquerque, NM

Post by Hawke »

Rumble wrote:
Hawke wrote:Do we know if this soft-fog-mouseover bug is present in b45?
Far as I can tell, it is not present in b45.
Ran into the mouseover today's game in b45. Funnily enough I didn't mention it in case it was there and quickly one of my players said "There's 5 guys in that room."

"How do you know"

"I don't know, I moved my mouse and saw them... sorry... I'll try not to do that again."

----

Also, It'd be nice if the labels/healthbar wouldn't be visible if the token cell wasn't visible. Overall b45 is somewhat stable for my group, eager to try out b48! :-)

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Post by Phergus »

palmer wrote:BUG: Changing token image

Sometimes (this is intermittent) when I drag an rptok onto the board, I want to change the token image, mix things up etc.
Your token has a Macro with an null command. The replaceMacroList() method in Token.java tries to reference the null command and goes boom. (Running MT from a batch file using "java.exe" would have revealed the exception message the first time you hit it.)

The question that needs to be answered is whether or not a null command string should be considered an error and trapped or left as is.

In any case, took less than a minute to find it in Eclipse and will take about the same to fix it.

User avatar
palmer
Great Wyrm
Posts: 1367
Joined: Sat Sep 06, 2008 7:54 pm

Post by palmer »

Phergus wrote:Your token has a Macro with an null command. The replaceMacroList() method in Token.java tries to reference the null command and goes boom. (Running MT from a batch file using "java.exe" would have revealed the exception message the first time you hit it.)
That's bizzare, considering I set that macro up using drag-copy from other tokens. I've identified another token which had a null macro and it exhibited the same behaviour. Fixed them now.

The part I'm curious about is that the first time, the OK button wouldn't work. But if I cancelled and did it again, it would work.

This makes me wonder about that error trapping, as it's not doing it all the time.

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Post by Azhrei »

This argues strongly for better logging in MT. :(

I'm a little familiar with Log4J (and the "official" Java Logging API, since they're the same :)), but I think that would take a lot of work to log exception output, right? Or is it as easy as opening a file, creating a PrintWriter, and storing that into System.{out,err} ?

It would be great if, at startup, MT could check and if the file already exists and has more than a couple lines in it (to account for the LAF messages) it would rename it to a permanent name that won't be overwritten in the future... And then put a message box on the screen letting the user know there is a log file with crash information in it. :)

User avatar
syntruth
Giant
Posts: 241
Joined: Mon Aug 18, 2008 7:15 pm
Location: Michigan, USA

Post by syntruth »

I was -just- looking over the source for my first time...and yeah, I was kinda surprised by all the printStackTrace()'s in there...but, then again, I guess that is why it's _b_47, right? ^.^ Still, it would be nice to have a log somewhere, since I -do- play launched from a script, so stdout/err are gone off to /dev/null. Or, perhaps, have a logging chat tab option eventually.

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Post by Phergus »

palmer wrote:That's bizzare, considering I set that macro up using drag-copy from other tokens.
Then my guess is the drag-copy of macros is probably broken as well.
palmer wrote:The part I'm curious about is that the first time, the OK button wouldn't work. But if I canceled and did it again, it would work.
The first time through it tries to copy the macros but fails when it gets to the macro with a null command. Any that came before it are preserved. In your example case the first one is null so all are lost. After that it has an empty macro list and doesn't try to copy them them.

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Post by Phergus »

Azhrei wrote:This argues strongly for better logging in MT.
Better logging would certainly be helpful. Might result in more useful bug reports.

The log4j libs are already included with MapTool though it doesn't use it directly.

User avatar
palmer
Great Wyrm
Posts: 1367
Joined: Sat Sep 06, 2008 7:54 pm

Post by palmer »

IRRITATION: Right click delete missing

I can no longer right click a Common Macro and delete it. This is what I would do when I needed to update a macro across the board. Delete them all, add new with update, drag-copy to all.

Pursuant to that, could we just have the ability to edit a Common Macro (which are by definition identical) and have that change propagate to all selected?

User avatar
applekor
Giant
Posts: 154
Joined: Thu Jul 03, 2008 3:52 pm
Location: Not Here

Post by applekor »

palmer wrote:IRRITATION: Right click delete missing

I can no longer right click a Common Macro and delete it. This is what I would do when I needed to update a macro across the board. Delete them all, add new with update, drag-copy to all.

Pursuant to that, could we just have the ability to edit a Common Macro (which are by definition identical) and have that change propagate to all selected?
If Lindharin isn't already looking into it, I will, but what you're asking for isn't quite as straightforward as you might think at first blush. I can't guarantee that I would have it ready for b48, but I'll try.

Speaking of which, do you have a ETA for b48 yet, trevor? (Just so I know how much I would need to rush this for next release.)
"Should" is the biggest word in the English language.

"Just" is the second biggest word in the English language.

What I'm working on

Lindharin
Dragon
Posts: 668
Joined: Sat Apr 21, 2007 4:51 pm

Post by Lindharin »

applekor wrote:If Lindharin isn't already looking into it, I will, but what you're asking for isn't quite as straightforward as you might think at first blush. I can't guarantee that I would have it ready for b48, but I'll try.
Real life is interfering this week (business travel), so I won't be able to look at that until at least next week. So if you have the chance and the interest to fix that, applekor, feel free! :D

Post Reply

Return to “Announcements”