MT1.3b86.03 Campaign Framework (Old Version)

Discussion concerning lmarkus' campaign framework for D&D3.x and Pathfinder.

Moderators: Azhrei, dorpond, trevor, giliath, Gamerdude, jay, Mr.Ice, lmarkus001

Forum rules
Discussion regarding lmarkus001's framework only. Other posts deleted without notice! :)
Dead_Jim
Cave Troll
Posts: 25
Joined: Sun Mar 25, 2012 12:05 am

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

Post 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.

jsharen
Giant
Posts: 196
Joined: Tue Feb 05, 2008 3:39 pm

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

Post 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)[/spoiler]

User avatar
aliasmask
Deity
Posts: 8578
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

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

Post 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.

jsharen
Giant
Posts: 196
Joined: Tue Feb 05, 2008 3:39 pm

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

Post 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?

User avatar
aliasmask
Deity
Posts: 8578
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

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

Post 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.

jsharen
Giant
Posts: 196
Joined: Tue Feb 05, 2008 3:39 pm

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

Post 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.

User avatar
aliasmask
Deity
Posts: 8578
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

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

Post 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.

jsharen
Giant
Posts: 196
Joined: Tue Feb 05, 2008 3:39 pm

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

Post 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

Dead_Jim
Cave Troll
Posts: 25
Joined: Sun Mar 25, 2012 12:05 am

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

Post 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.

dungeon.daydreamer
Kobold
Posts: 2
Joined: Fri Apr 06, 2012 8:01 pm

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

Post 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!

neofax
Great Wyrm
Posts: 1694
Joined: Tue May 26, 2009 8:51 pm
Location: Philadelphia, PA
Contact:

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

Post 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).
Image
Time-Zone information UTC -5

SpecialK
Kobold
Posts: 15
Joined: Sun Mar 11, 2012 8:54 pm

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

Post 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.

Dead_Jim
Cave Troll
Posts: 25
Joined: Sun Mar 25, 2012 12:05 am

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

Post 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)[/spoiler]
Any help would be appreciated.
DJ

User avatar
aliasmask
Deity
Posts: 8578
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

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

Post by aliasmask »

Did you recently update to Java 7? Also, lock movement in the init panel when checked has a bug.

Dead_Jim
Cave Troll
Posts: 25
Joined: Sun Mar 25, 2012 12:05 am

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

Post 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?

Post Reply

Return to “[D&D3.5 + Pathfinder] Campaign Macros”