RPTools.net

Discussion and Support

Skip to content

It is currently Tue Apr 25, 2017 1:41 am 






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

Previous topic | Next topic 

  Print view

Author Message
 Offline
Cave Troll
 
Joined: Sat Oct 31, 2009 4:24 pm
Posts: 63
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Thu Jun 09, 2011 7:03 pm 
I have gotten the Error message:

java.lang.NullPointerException
at net.rptools.maptool.client.tool.PointerTool.mouseMoved(PointerTool.java:585)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at net.rptools.maptool.client.swing.MapToolEventQueue.dispatchEvent(MapToolEventQueue.java:38)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
It seems that it is only when players move there tokens when not on there turn, any way to fix this.???


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5391
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Thu Jun 09, 2011 7:20 pm 
Arimmus wrote:
I have gotten the Error message:

java.lang.NullPointerException
at net.rptools.maptool.client.tool.PointerTool.mouseMoved(PointerTool.java:585)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at net.rptools.maptool.client.swing.MapToolEventQueue.dispatchEvent(MapToolEventQueue.java:38)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
It seems that it is only when players move there tokens when not on there turn, any way to fix this.???


Go back and ready through this post, it has been discussed and the answers are here..

_________________
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..


Top
 Profile  
 
User avatar  Offline
Giant
 
Joined: Thu Jun 17, 2010 1:50 pm
Posts: 123
Location: Maine
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sun Jun 26, 2011 9:22 pm 
...no news...?

_________________
---------------------------------------------------------------------------
Now using Dolby Axon for RPG sessions.
(Forget Skype. Put your players into a 3D sound environment.)
---------------------------------------------------------------------------


Top
 Profile  
 
User avatar  Offline
RPTools Team
 
Joined: Thu Jun 01, 2006 1:05 pm
Posts: 5522
Location: Buffalo, NY
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Mon Jun 27, 2011 9:38 am 
LeopoldVonRanke wrote:
...no news...?

Phergus has been busy making patches (thanks bro!). Testers can learn more here:
viewforum.php?f=60

As far as a release, not sure; Azhrei has been very busy with real life. You know, the stuff that pays the bills - LOL :lol:


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Sun Aug 27, 2006 8:19 pm
Posts: 1164
Location: Atlanta
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Mon Jun 27, 2011 10:52 pm 
We're going to have to dock him a weeks pay again, aren't we? :?

_________________
I cast firecube! ~4E


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12064
Location: Tampa, FL
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Tue Jun 28, 2011 11:22 am 
I posted in the Testers forum (that dorpond mentioned) that Phergus' patches have been checked in. When someone has tested them and reports that they work -- or when I get home this coming week -- I'll do a build. I have next week off (no travel, no work) so I should be able to get a build done assuming I can get motivated. ;)

I'd particularly like to get it done so it can go on the CD that Paul Gross is doing for the PCGen booth at GenCon...


Top
 Profile  
 
User avatar  Offline
Giant
 
Joined: Thu Jun 17, 2010 1:50 pm
Posts: 123
Location: Maine
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Thu Jun 30, 2011 1:37 pm 
Azhrei wrote:
I posted in the Testers forum (that dorpond mentioned) that Phergus' patches have been checked in. When someone has tested them and reports that they work -- or when I get home this coming week -- I'll do a build. I have next week off (no travel, no work) so I should be able to get a build done assuming I can get motivated. ;)

I'd particularly like to get it done so it can go on the CD that Paul Gross is doing for the PCGen booth at GenCon...



Dorpond, thanks for pointing out the testing forum comments!
Sounds like this time it's the real deal... if these patches work (especially if the Player view bug is fixed), the remaining bugs should be declared features, declare 1.3 golden, and get it onto that CD :D

Who could check whether the patches work?


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon Nov 22, 2010 8:42 am
Posts: 85
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sun Jul 03, 2011 12:08 pm 
How did the test go? Anyone look at it?

-Avotas


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12064
Location: Tampa, FL
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sun Jul 03, 2011 2:16 pm 
We have a grand total of... one report. From MadJoker. It's a very good write up of his experiences. It looks like there are still a couple of things to look into before we do b87.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7677
Location: Bay Area
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sun Jul 10, 2011 10:09 pm 
Any way we can fix this bug? Here's my test code:

Code:
[H: conditions = json.set("{}","range",json.set("{}","token",currentToken(),"upto",20,"metric","NO_GRID"))]
[R: tokens = getTokens("json",conditions)]

Basically, if I use gridless with both tokens not having snap to grid on, it does the distance calculation correctly. But if I have a source token that is bigger than medium on a square grid, it uses the center of the upper left corner to calculate the distance rather than the center of the token. I figure a simple offset based on the token size would fix this.

I'm doing this to see if the center of a larger than medium token is with in a certain range of another token. Since DnD areas are based on the vertices I can't use a medium token because the center appears in the middle of a square, so I go with large tokens where the center is on the grid crossing. But using the distance with no_grid uses the center of the upper left corner to calculate distance rather than the center of the footprint. If I use my usual 1_2_1 metric, distance is skewed because the edge of the token is slightly closer which can't be corrected by subtracting a constant number like 5 from the variable radius of the effect. It'll grab more cells than the official DnD ruling on area of effect.

I thought I recall this being mentioned before, but I don't know what happened. Was it overlooked, or abandoned for another reason? Same problem on hex map too, uses center of upper left hex for measuring from larger than medium tokens (eventhough the center movement line is in the correct place).

The upper left token is in area, but the token in lower right is not.
Attachment:
Image1.jpg
Image1.jpg [ 52.51 KiB | Viewed 2645 times ]

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7677
Location: Bay Area
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sat Jul 16, 2011 5:35 pm 
Here's another possible bug. I'm not sure if I can work around it, but it's worth noting here.

Here's the error message:
Quote:
java.lang.NullPointerException error executing expression json.type(a).

And the code:
Code:
[H: a = '[r: test = "text"]']
[R: json.type(a)]

My guess is because it starts and ends with [] it begins to assume an array, but then it blows up afterwards returning null instead of "UNKNOWN".

edit: btw, here is the work around I came up with:

Code:
[H: a = '[r: test = "text"]']
[H: jType = json.append("",a)] <!-- this needs to be on separate line in order to work -->
[H: jType = json.type(json.get(jType,0))]
[R: jType]


edit: I think I found another super minor bug. This was sort of fixed before, but not quite. If a token is imported to new campaign with type X and type X doesn't exist, it will default to Basic in the menu, but Wiki: getTokenType() still shows the old token type. This can be worked around by going to the token config tab, re-select Basic and click Okay to save.

edit: One more bug. When calling Wiki: oldFunction(), the roll.count is set to 1 each time. So, if you're in a [count:] loop and you call a function that calls oldFunction, it messes up the counter. One work around is doing this:

Code:
[H: temp = roll.count]
[H: result = oldFunction(args)]
[H: roll.count = temp]
[H: macro.return = result]

_________________
Downloads:


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon Nov 22, 2010 8:42 am
Posts: 85
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Thu Jul 28, 2011 6:39 pm 
I wanted to poke my head up and look around. Any headway?


-Avotas


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sat Nov 15, 2008 2:28 pm
Posts: 820
Location: The City of Roses, Oregon
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sat Aug 20, 2011 4:27 am 
Any news on a final FINAL release?

_________________
I am a special snowflake!


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Sat Aug 20, 2011 6:18 am 
I'm no dev, so this is just my observation and summary of what I read in the forum:

there is a build 87 that is currently in testing. This might be out soon, depending on how the testing goes.

There are bugs left on the to-fix-list so there probably will be a build 88 - but that might take a while.

That would be a nice build number to call it done :) but we'll have to see what bugs appear and which ones can be fixed.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
 Offline
Giant
 
Joined: Sat May 22, 2010 10:16 pm
Posts: 129
 Post subject: Re: MapTool 1.3 Final, patch03 (build 86)
PostPosted: Tue Aug 23, 2011 2:26 pm 
Very cool that you're working these final bugs out. Looking forward to b87!


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 101 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7  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 are 3 users online :: 1 registered, 0 hidden and 2 guests (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: Google [Bot] and 2 guests





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

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman