RPTools.net

Discussion and Support

Skip to content

It is currently Wed May 24, 2017 10:14 pm 




Forum rules


Discussion regarding lmarkus001's framework only. Other posts deleted without notice! :)



Reply to topic  [ 132 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next

Previous topic | Next topic 

  Print view

Author Message
 Offline
Cave Troll
 
Joined: Sat Mar 24, 2012 11:05 pm
Posts: 25
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Sat Mar 24, 2012 11:21 pm 
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.


Top
 Profile  
 
 Offline
Giant
 
Joined: Tue Feb 05, 2008 3:39 pm
Posts: 196
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Sun Mar 25, 2012 10:39 am 
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.

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)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7699
Location: Bay Area
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Sun Mar 25, 2012 6:44 pm 
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.

_________________
Downloads:


Top
 Profile  
 
 Offline
Giant
 
Joined: Tue Feb 05, 2008 3:39 pm
Posts: 196
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Sun Mar 25, 2012 9:55 pm 
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?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7699
Location: Bay Area
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Mar 26, 2012 2:23 am 
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.

_________________
Downloads:


Top
 Profile  
 
 Offline
Giant
 
Joined: Tue Feb 05, 2008 3:39 pm
Posts: 196
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Mar 26, 2012 9:18 am 
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.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7699
Location: Bay Area
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Mar 26, 2012 10:39 am 
Well, I've been using this framework for a couple of years now and this is my current mt.cfg

Code:
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:
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.

_________________
Downloads:


Top
 Profile  
 
 Offline
Giant
 
Joined: Tue Feb 05, 2008 3:39 pm
Posts: 196
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Mar 26, 2012 11:29 am 
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


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Sat Mar 24, 2012 11:05 pm
Posts: 25
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Fri Mar 30, 2012 8:18 pm 
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.


Top
 Profile  
 
 Offline
Kobold
 
Joined: Fri Apr 06, 2012 7:01 pm
Posts: 3
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Apr 09, 2012 2:08 pm 
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!


Top
 Profile  
 
 Offline
Great Wyrm
 
Joined: Tue May 26, 2009 7:51 pm
Posts: 2060
Location: Philadelphia, PA
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Apr 09, 2012 2:50 pm 
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


Top
 Profile  
 
 Offline
Kobold
 
Joined: Sun Mar 11, 2012 7:54 pm
Posts: 15
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Mon Apr 16, 2012 11:41 pm 
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.


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Sat Mar 24, 2012 11:05 pm
Posts: 25
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Wed May 30, 2012 9:43 pm 
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
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


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7699
Location: Bay Area
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Wed May 30, 2012 9:54 pm 
Did you recently update to Java 7? Also, lock movement in the init panel when checked has a bug.

_________________
Downloads:


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Sat Mar 24, 2012 11:05 pm
Posts: 25
 Post subject: Re: MT1.3b86.03 Campaign Framework (LATEST VERSION)
PostPosted: Wed May 30, 2012 11:36 pm 
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 132 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  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