Page 8 of 9

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Sun Mar 25, 2012 12:21 am
by Dead_Jim
Hey everyone, first off, this framework is really awesome. That being said I'm having trouble with two things that I haven't been able to figure out.

1. Using the disguise macro to change a token's displayed artwork. Mainly I'm trying to use doppelgangers and I want be able to make them appear as different people.

2. Undead. Mainly how pathfinder treats hit points and fort saves without having a Con score.

Thanks for any help you can give.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Sun Mar 25, 2012 11:39 am
by jsharen
Guys, if I could get a little help that would be awesome.

I've recently started getting crashes in Maptools using the pathfinder FW.

Here is an example that I got just starting up the FW. I am using 1.3.B87 of Maptools.
Spoiler
ava.lang.NullPointerException
at net.rptools.maptool.client.ui.zone.ZoneView.calculateVisibleArea(ZoneView.java:393)
at net.rptools.maptool.client.ui.zone.ZoneView.getVisibleArea(ZoneView.java:63)
at net.rptools.maptool.client.ui.zone.ZoneRenderer.renderZone(ZoneRenderer.java:956)
at net.rptools.maptool.client.ui.zone.ZoneRenderer.paintComponent(ZoneRenderer.java:680)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$700(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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.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)

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Sun Mar 25, 2012 7:44 pm
by aliasmask
Dead_Jim wrote:Hey everyone, first off, this framework is really awesome. That being said I'm having trouble with two things that I haven't been able to figure out.

1. Using the disguise macro to change a token's displayed artwork. Mainly I'm trying to use doppelgangers and I want be able to make them appear as different people.

2. Undead. Mainly how pathfinder treats hit points and fort saves without having a Con score.

Thanks for any help you can give.
The disguise macro in b88 is broken (but not severely). What you do is have your original token. Click Disguise. This will save the image asset to token. Now change the image to a new image and click Disguise. Now the second image is added to menu and you can switch back and forth. Now if you're doing this as a gm outside of the game, this won't help your players see the image because the asset is in your cache, and not theirs. What you can do is drop all the relevant images to a map where they can't see it. You can then create a campaign repository so the assets will now be accessible to them. I have some other ideas that may work, but I can't really test because I only have one computer. (I suppose I can create another account on my computer and try that... nah... do the repository. So much better for many reasons.)

If CON is at 0, then you need to add those HP back "[HD]d12 + 5 * Level" for max hp. You put in value of HD.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Sun Mar 25, 2012 10:55 pm
by jsharen
A second issue I've been facing recently is out of memory errors. I have 8 gigs of memory on my system and am running windows 7 64 bit.

I'm set up to run 8 meg stack size, min mem 64 and max mem 1100. Almost constantly I'm getting out of memory errors now.

Can I change anything to help?

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Mon Mar 26, 2012 3:23 am
by aliasmask
jsharen wrote:A second issue I've been facing recently is out of memory errors. I have 8 gigs of memory on my system and am running windows 7 64 bit.

I'm set up to run 8 meg stack size, min mem 64 and max mem 1100. Almost constantly I'm getting out of memory errors now.

Can I change anything to help?
Well, if you're running the 64bit version of java, you can up your mem to much higher, but I work with 16 meg maps and 100's of image assets and you really only need about 1000, but the more the better.. win 32 systems can handle 1400 for max mem. Your real problem is with large stack numbers. I usually only use 2 (some players need 3), but that depends on the framework being run and how efficient the code is. For example, one comment inside of a loop could blow up your stack or doing multiple string operations with in a single line on large data sources.

There are some very specific tweaks to use for Window 7 64bit which include modifying the mt.cfg or batch files and installing the correct version of java. Do a search for javaw in forums for details on modifying mt.cfg for windows 7.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Mon Mar 26, 2012 10:18 am
by jsharen
Two questions :)

Everytime I try to go higher then 1100 megs of ram Maptools refuses to start for me. How do I resolve that?

Second question, I thought lmarkus' framework required a minimum of 4 or 6 megs to run with the spell manager from Plo? If I can turn that down I will, but I encountered the memory errors and upped the stack size thinking that would resolve the problem.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Mon Mar 26, 2012 11:39 am
by aliasmask
Well, I've been using this framework for a couple of years now and this is my current mt.cfg

Code: Select all

MAXMEM=1024
MINMEM=64
STACKSIZE=2
JVM=javaw
PROMPT=false
I use the MapToolLauncher.exe to start. I'm using Windows XP. If I were using Windows 7 it would look like this:

Code: Select all

MAXMEM=1024
MINMEM=64
STACKSIZE=2
JVM=C:\Program Files\Java\jre6\bin\javaw
PROMPT=false
I would verify I'm using java 6 Update 31 by going here. Did you install MT with the webstart or the download page? I would not use the b88 version because it has some serious bugs, at least for building maps. I don't know if Windows 7 has other memory issues, but you shouldn't need more than a stack of 3 which some of my players use. They don't have memory issues. I am using the latest version of Plo's spell manager, but not the latest version of this framework, so things may be different now. I'm using core1 with my own mods and tweaks.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Mon Mar 26, 2012 12:29 pm
by jsharen
Ok I updated my mt.cfg file with your settings. I'll try it out and see if it clears up my problems.

Thanks for the help

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Fri Mar 30, 2012 9:18 pm
by Dead_Jim
Thanks for the help aliasmask! It worked out beautifully. This framework just seems to have so many little tricks to learn and figure out to run it smoothly.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Mon Apr 09, 2012 3:08 pm
by dungeon.daydreamer
Hi there
I'd really like to use this framework but I'm a beginner with maptools and coding so its all going over my head a bit. I don't suppose there is a guide to this framework anywhere is there? It would be a lot of help. The 3.5 token properties are really confusing me!

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Mon Apr 09, 2012 3:50 pm
by neofax
dungeon.daydreamer wrote:Hi there
I'd really like to use this framework but I'm a beginner with maptools and coding so its all going over my head a bit. I don't suppose there is a guide to this framework anywhere is there? It would be a lot of help. The 3.5 token properties are really confusing me!
With most frameworks you do not manipulate the token properties directly by hand. There are macros that update all of those properties. If you need help, send me a email at neofax99 <AT> gmail dot com and we can jump on ventrilo and I can start a server and walk you through whatever you need/want to know, that is if I know how (which is like 99% of the framework).

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Tue Apr 17, 2012 12:41 am
by SpecialK
neofax wrote: With most frameworks you do not manipulate the token properties directly by hand. There are macros that update all of those properties. If you need help, send me a email at neofax99 <AT> gmail dot com and we can jump on ventrilo and I can start a server and walk you through whatever you need/want to know, that is if I know how (which is like 99% of the framework).
I don't suppose there's a screencast of that walkthrough... hint, hint? I've figured out a lot of stuff, but the framework is massive, and just a couple of walkthroughs would be exceedingly helpful. I just barely figured out that if you drop one of Imarvintpa's tokens (or other pregenerated) on the map, that in order for the macros to work, you have to go to edit the token, then config, then set properties to DnD35.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Wed May 30, 2012 10:43 pm
by Dead_Jim
So I am once again in need of help. I'm not sure this is the right place but since it's the framework I'm using I figure y'all might be able to point me in the right direction. We've run a few sessions with nothing going wrong but now I'm getting an error message on two different computers whenever anyone who is connected even moves their screen. I am connected as a player.
Here is the error message
Spoiler
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeLo(Unknown Source)
at java.util.ComparableTimSort.mergeAt(Unknown Source)
at java.util.ComparableTimSort.mergeForceCollapse(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at net.rptools.maptool.client.ui.zone.FogUtil.calculateVisibility(FogUtil.java:81)
at net.rptools.maptool.client.ui.zone.ZoneView.calculateLightSourceArea(ZoneView.java:142)
at net.rptools.maptool.client.ui.zone.ZoneView.calculateLightSourceArea(ZoneView.java:127)
at net.rptools.maptool.client.ui.zone.ZoneView.getLightSourceArea(ZoneView.java:109)
at net.rptools.maptool.client.ui.zone.ZoneView.getVisibleArea(ZoneView.java:241)
at net.rptools.maptool.client.ui.zone.ZoneView.calculateVisibleArea(ZoneView.java:429)
at net.rptools.maptool.client.ui.zone.ZoneView.getVisibleArea(ZoneView.java:63)
at net.rptools.maptool.client.ui.zone.ZoneRenderer.renderZone(ZoneRenderer.java:956)
at net.rptools.maptool.client.ui.zone.ZoneRenderer.paintComponent(ZoneRenderer.java:680)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$700(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$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)
Any help would be appreciated.
DJ

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Wed May 30, 2012 10:54 pm
by aliasmask
Did you recently update to Java 7? Also, lock movement in the init panel when checked has a bug.

Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)

Posted: Thu May 31, 2012 12:36 am
by Dead_Jim
I did recently update/install Java 7.4, my main desktop is using java 7.0 and has no problems. This is also the first time we have had a problem with locked movement and it's only two machines that are getting this error. Do I just need to use an older java?