RPTools.net

Discussion and Support

Skip to content

It is currently Sat May 18, 2013 11:14 pm 






Reply to topic  [ 144 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 10  Next

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Sat Dec 29, 2007 6:01 pm
Posts: 17
Location: Chicago
 Post subject: Re: MapTool 1.3 Development Build 48
PostPosted: Thu Dec 04, 2008 11:38 pm 
snex wrote:
Rumble wrote:
I just checked by setting up a server and a local client - I do not see token labels on mouseover in either full fog or soft fog. It appears to be fixed as far as I can tell.


i just loaded up a brand new map and it does work - however when i open up a campaign that ive been working on in previous versions i can still mouseover the fogged tokens/objects.


i wonder if we are referring to the same thing here? i am talking about the fact that if you hover over an object with notes in it, the cursor changes to a hand and you can click it and view the notes. players should not be able to do this for objects that are not visible to them.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Jul 01, 2008 6:48 pm
Posts: 6235
 Post subject:
PostPosted: Thu Dec 04, 2008 11:46 pm 
Ah, okay, there were two issues in the last build:

1. If you had NPC tokens that were not visible (blocked by topology or hidden in fog), by mousing over them you could see their name/label. This has been fixed.

2. If you hover over an object on the map, you would see the cursor turn to a hand and the notes are visible. I didn't check that when I tried it, but I can confirm that this has not been fixed.


Top
 Profile  
 
 Offline
Kobold
 
Joined: Fri Dec 05, 2008 12:45 am
Posts: 5
 Post subject:
PostPosted: Fri Dec 05, 2008 12:48 am 
please please please fix the z-order issues with stamps.

As soon as I host a server with a stamped map, half of my stamps forget thier z-order. It makes stamped maps unplayable. If I load my map up locally it shows up fine. As soon as I host a server the bug comes back.

The only way I have been able to fix it is by reloading the campaign each time a player connects.


Top
 Profile  
 
User avatar  Offline
RPTools Team
 
Joined: Thu Jun 01, 2006 1:05 pm
Posts: 5478
Location: Buffalo, NY
 Post subject:
PostPosted: Fri Dec 05, 2008 7:25 am 
badhex wrote:
please please please fix the z-order issues with stamps.


I sent Trevor my XML file and he identified what is happening. He says he has a plan so I would expect this to get fixed soon.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1586
Location: Layfayette Hill, PA
 Post subject:
PostPosted: Fri Dec 05, 2008 11:01 am 
trevor wrote:
The "Macros can do what ?!" build

Build 48 (12/2/08)
* Fix bug: memory usage explodes when zooming into tokens with image based health bar or statuses


Minor Bug: Deep zoom on visible image state

This is 99% fixed (I put it in the functional enough to use category) however there is still one outstanding issue to keep aware of.

If a token has an image state active on it, and you try to zoom "through" (zoom in really really really close) that token, you will get one of two effects. One, if a bit of the token that does not have the state image on the screen is zoomed in on, you will get a slowdown in processing. Two, if you try to zoom into the state image on the token, memory will start to become consumed (this is a slower rate that the B47 issue).

You can zoom in to your heart's content anywhere else on the map as long as a token with visible image state is not in the active view.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 11622
Location: Tampa, FL
 Post subject: BUG: "free size" drag image doesn't propagate mou
PostPosted: Sat Dec 06, 2008 1:18 am 
If I set an object to Free Size and zoom out, the free size gadget in the bottom right corner doesn't scale, so it soon becomes larger than the image itself. But because the gadget eats up any mouse events that it doesn't understand, I can't right-click on the object to access the ontext menu. Instead, I have to zoom up until some portion of the image is available, do the right-click function, then zoom back out.

Help?!

_________________
Interested in Time Magazine's Best Invention of 2008 Unix-powered laptop? No crashes or lockups. In fact, that series of articles has two such machines. The other is a Dell netbook. :)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject:
PostPosted: Sat Dec 06, 2008 10:32 am 
Right-click in the Map Explorer works.

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Jul 01, 2008 6:48 pm
Posts: 6235
 Post subject:
PostPosted: Sat Dec 06, 2008 11:06 am 
Question:

I'm seeing some dialog-drawing issues now and again with my macros (as well as with the token properties dialog). Basically, it will sometimes pop up as a blank frame, and will not draw in the buttons or fields. Usually, canceling out and reopening a couple times brings the dialog up as expected.

I don't recall having this issue before, but I also have vastly more complex macros, so it might just be a memory issue or screen redraw problem on my end (at least for macro-generated dialogs and input()'s). However, if it's not - or if others are seeing the same thing - I wanted to raise it to the devs' attention.


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Thu Sep 11, 2008 1:04 pm
Posts: 923
 Post subject:
PostPosted: Sat Dec 06, 2008 12:33 pm 
Rumble wrote:
Question:

I'm seeing some dialog-drawing issues now and again with my macros (as well as with the token properties dialog). Basically, it will sometimes pop up as a blank frame, and will not draw in the buttons or fields. Usually, canceling out and reopening a couple times brings the dialog up as expected.

I don't recall having this issue before, but I also have vastly more complex macros, so it might just be a memory issue or screen redraw problem on my end (at least for macro-generated dialogs and input()'s). However, if it's not - or if others are seeing the same thing - I wanted to raise it to the devs' attention.


Yea several people have has this issue with any of the pop up windows in the past. If you switch to another window then back to MT it should display the window without the need to keep reopening it. As for what causes it I don't know.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Jul 01, 2008 6:48 pm
Posts: 6235
 Post subject:
PostPosted: Sat Dec 06, 2008 4:03 pm 
Ah. I find it usually draws if you expand the border of the dialog slightly.

However, I think I now have some other bug. In the campaign linked below, I have observed unusual behavior. For background:

Each token has a set of string properties that contains the relevant information about their powers. This information is read by a number of different macros (used for attacking, etc.).

Now, when I open the campaign and edit a token, I sometimes see the collection of token properties, including the property strings called Power0, Power1, and so forth. They are properly filled out (in the format "powername=Great Cleave; action=standard; usage=encounter;" etc. etc.)

At least, in some cases.

For some tokens - especially after I run the short rest macro - the token's properties appear to be wiped out. However, if I run a macro (such as "Power Use Tracker") that reads and manipulates those properties, it still works.

I can't figure it out, but there's some sort of display issue here. As far as I can tell, the properties still exist, but they are not visible in the token editing screen - and they don't ever come back, even when MapTool is closed and reopened. They exist somewhere, but are not editable in the token properties screen.

Any thoughts?

http://www.houseofgenius.com/files/dd4e-template3.cmpgn


Edit: forgot to add, I'm running MapTool b48 (obviously), starting from the 1G batch file, and I have the stack size set to 1M.

Edit again: removing the "setProperty" lines from the short rest macro in the campaign sometimes prevents the disappearing properties thing, but not always.


Top
 Profile  
 
 Offline
Great Wyrm
 
Joined: Sun Jun 22, 2008 6:53 pm
Posts: 1960
Location: Melbourne, Australia
 Post subject:
PostPosted: Sat Dec 06, 2008 6:46 pm 
Rumble wrote:

Edit again: removing the "setProperty" lines from the short rest macro in the campaign sometimes prevents the disappearing properties thing, but not always.


Running setProperty() for a token property that exists for that token type will cause problems for the token property editor dialog if you set the value to a number. The value is still there, just the token property editor will not display it.

A fix has already been created.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Jul 01, 2008 6:48 pm
Posts: 6235
 Post subject:
PostPosted: Sat Dec 06, 2008 7:00 pm 
Craig wrote:
Rumble wrote:

Edit again: removing the "setProperty" lines from the short rest macro in the campaign sometimes prevents the disappearing properties thing, but not always.


Running setProperty() for a token property that exists for that token type will cause problems for the token property editor dialog if you set the value to a number. The value is still there, just the token property editor will not display it.

A fix has already been created.


Well that'll explain it right thar. Thank you - I had missed any previously posted information on that. That is a bit of a relief, actually.


Top
 Profile  
 
 Offline
Kobold
 
Joined: Mon Jul 07, 2008 1:50 pm
Posts: 12
 Post subject:
PostPosted: Sun Dec 07, 2008 12:35 pm 
Rumble wrote:
Question:
I'm seeing some dialog-drawing issues now and again with my macros (as well as with the token properties dialog). Basically, it will sometimes pop up as a blank frame, and will not draw in the buttons or fields. Usually, canceling out and reopening a couple times brings the dialog up as expected.

I hit this problem quite frequently on Ubuntu 8.04 (Sun JDK 1.0.6_06) with that past several version of MapTool. It will happen randomly with any dialog in the program. Closing and reopening the dialog usually fixed this. The only error I get is on program startup.
Code:
'Default.theme' not found - using YQ default theme.

I will try to recreate the problem with an strace.

Edit: Okay, found the fix. It's a problem with Compiz/Beryl and Java Swing. To fix you just have to add the following to your .bashrc/.profile
Code:
export AWT_TOOLKIT="MToolkit"

Reference here


Top
 Profile  
 
 Offline
Great Wyrm
 
Joined: Sun Jun 22, 2008 6:53 pm
Posts: 1960
Location: Melbourne, Australia
 Post subject:
PostPosted: Sun Dec 07, 2008 8:03 pm 
Update on the "Big Macro go BOOM!" problems.

I have identified many areas where complex macros are causing the regex expressions to error which causes the problem where the macro does not run at all and you are just left with the macro text in the input box.

I have fixes for some which will appear in a patch some time. Some of the others are proving to be more difficult and will take longer to fix.

In the mean time if you want to try avoid the problems these are the steps you should take (in the order of what is most likely to blow up).
  • Keep {} to a minimum in a macro.
    The more sets of {} in the macro the more likely it is to blow up. This is not referring to fact that you can only have two levels {} deep, but sequential {} blocks, the more you have the more likely it is to blow up. This limit is per macro so calling multiple macros with a small amount of {} blocks will not case the problem.
  • Prefer " quotes over '. Both can blow up but ' will do so faster (you really need a LOT of strings to have a problem with ").


There are likely to be more conditions that cause the issue that I havent found yet but these are the most common, it is probably a good practice to split your macros up and call them with [macro(): ] where you can


Top
 Profile  
 
 Offline
Dragon
 
Joined: Sat Apr 21, 2007 3:51 pm
Posts: 670
 Post subject:
PostPosted: Sun Dec 07, 2008 10:13 pm 
One more step you can take to avoid macros going boom was announced/discussed in this thread in the MapTools forum.

If you are having trouble with your macros going boom and can't solve it by streamlining code like Craig described, try downloading MapTools instead of using the webstart, and edit the batch file to something like this:

java -Xmx512M -Xss1M -jar maptool-*.jar run

The -Xss1M is the part that affects macro boomage, and setting it to this value should be good enough to run all the common macros we've seen so far on the forums.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 144 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 10  Next

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman