Introduction
Moderators: dorpond, trevor, Azhrei
Introduction
Hi,
I'd like to contribute to Maptool's code. (You wouldn't guess, how long it took me to get out this first sentence. It' the first impression that counts, but still...
I downloaded the SVN-latest a few weeks ago and after my vacation implemented a sample feature to get a hold on the project: autodetect toplogy. You mark a rectangle and the code looks for walls, etc. in it. This works (best) for maps that differentiate opaque objects as black on a white background. That is true for most maps I use in gaming where topology matters. I'd say it is ready for alpha-testing (even beta-testing).
Since it contains new classes and an icon, Eclipse doesn't properly generate a patch (at least I couldn't get it to include the new pieces). How would you want this to be sent in? Is there anything else you'd like to know, for instance, about me?
Michael
I'd like to contribute to Maptool's code. (You wouldn't guess, how long it took me to get out this first sentence. It' the first impression that counts, but still...
I downloaded the SVN-latest a few weeks ago and after my vacation implemented a sample feature to get a hold on the project: autodetect toplogy. You mark a rectangle and the code looks for walls, etc. in it. This works (best) for maps that differentiate opaque objects as black on a white background. That is true for most maps I use in gaming where topology matters. I'd say it is ready for alpha-testing (even beta-testing).
Since it contains new classes and an icon, Eclipse doesn't properly generate a patch (at least I couldn't get it to include the new pieces). How would you want this to be sent in? Is there anything else you'd like to know, for instance, about me?
Michael
Re: Introduction
Welcome to RPTools! We're glad to have you join us.
First, you'll want to send a PM to jfrazierjr so that you can be added to the Testers forum; it's a great place to get people to try out new code.
Second, patches should be generated by right-clicking on the "maptool" project and choosing Team > Create patch... That way the proper context is set up for the generated patch file.
We are currently in a feature freeze for 1.3 so we won't be adding anything new. That means if you want to contribute to the current version, bug fixes are probably better targets. I can provide a list of high priority ones, if you like.
First, you'll want to send a PM to jfrazierjr so that you can be added to the Testers forum; it's a great place to get people to try out new code.
Second, patches should be generated by right-clicking on the "maptool" project and choosing Team > Create patch... That way the proper context is set up for the generated patch file.
We are currently in a feature freeze for 1.3 so we won't be adding anything new. That means if you want to contribute to the current version, bug fixes are probably better targets. I can provide a list of high priority ones, if you like.
Re: Introduction
Thanks for the welcome.
First, I tried. But I get "We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more to be able to use this feature." I assume I need to keep bothering you then for now.
Second, I knew that. That's what I did. I haven't worked too much with Patches & Eclipse yet, so I might be doing something wrong, but it seems to be omitting new files (the one I created).
When I checked out SVN, I assume I got the last of 1.3 and not 1.4, right? The code I added can be disabled by commenting out one line, so no worries. I will keep it in my private version. In case any of "my" bug fixes touch the same classes, we'll see. That may well be when 1.4 comes out Okay, give me a list of bugs you think me capable of solving.
First, I tried. But I get "We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more to be able to use this feature." I assume I need to keep bothering you then for now.
Second, I knew that. That's what I did. I haven't worked too much with Patches & Eclipse yet, so I might be doing something wrong, but it seems to be omitting new files (the one I created).
When I checked out SVN, I assume I got the last of 1.3 and not 1.4, right? The code I added can be disabled by commenting out one line, so no worries. I will keep it in my private version. In case any of "my" bug fixes touch the same classes, we'll see. That may well be when 1.4 comes out Okay, give me a list of bugs you think me capable of solving.
Re: Introduction
Yeah, we required two approved posts before allowing unmoderated posts or any PMs. That was in your welcome/activation email. This helps prevent spammers.username wrote:You may have just registered here and may need to participate more to be able to use this feature.
Hm, nothing comes to mind as an option that would cause that. I can create new classes and they show up when I choose Create Patch...it seems to be omitting new files (the one I created).
Yep. We'll be using Git for 1.4 so the SVN tree will stay clean.When I checked out SVN, I assume I got the last of 1.3 and not 1.4, right?
Heh. Well, I don't know what you're capable of. There's a list linked to from the wiki's ChangeLog page (I've removed the ones I plan to do myself). Warning: each fix needs to be a separate patch file. This is a pain to manage on your end, I know (I've been there!) but I want a commit comment that defines what the patch does so I prefer one-patch-per-bug-fix and one-fix-per-patch.Okay, give me a list of bugs you think me capable of solving.
- Loading campaign doesn't always draw the screen correctly on the first refresh of the map (maybe only for older campaigns?)
- Moving seems to clear fog for all players, while Meta-I only clears for the selected token(s).
- Add build.xml target for clearing the version.txt to get back to DEVELOPMENT
- Add Help menu option that displays Java SystemProperties for debugging purposes (Java version, user.dir, other information from SysInfo?)
- Add startup check that grabs notes from rptools.net for display to user (used for things like version notes, update notes, etc)
- Review feedback on SVN 5769 http://forums.rptools.net/viewtopic.php?f=60&t=19195
- Dropping first token doesn't use Preferences setting for Filename vs. Creature name? http://forums.rptools.net/viewtopic.php ... 92#p202692
- Movement metrics need to be displayed above hard fog
- If statsheet is being displayed, map rendering should be clipped out of that area (on OSX I get token vision outline drawn on top of statsheet)
- Right-click menu on tokens sometimes is above or under the statsheet (seems to be based on renderTokens() being called repeatedly while popup menu is being shown)
- When I draw VBL with the Poly Line tool and try to start a new line where the last line ended, it won’t work. I have to literally draw the line somewhere else and then go back to that point.
- Using the # in campaign properties should imply the *, but without the * actually showing up in the list
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: Introduction
Umm err what? I thought you changed the movement code so that a token could not be dragged through hard FOW? if that's the case, is there any point to this?Azhrei wrote:
- Movement metrics need to be displayed above hard fog
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..
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..
Re: Introduction
So, I'll wait until I get these posts through without explicit approval and then I'll mail him. Unless he already entered me into that list, because he read this thread.Azhrei wrote: Yeah, we required two approved posts before allowing unmoderated posts or any PMs. That was in your welcome/activation email. This helps prevent spammers.
I don't understand this either, because it should be standard fare for Eclipse. But it just creates one "patch.txt".Hm, nothing comes to mind as an option that would cause that. I can create new classes and they show up when I choose Create Patch...
I'll start with these two. The second is pretty easy to do. For the first, can you supply a campaign file that exhibits that problem? (Preverably in reduced form.) Mine don't have it.Heh. Well, I don't know what you're capable of. There's a list linked to from the wiki's ChangeLog page (I've removed the ones I plan to do myself). Warning: each fix needs to be a separate patch file. This is a pain to manage on your end, I know (I've been there!) but I want a commit comment that defines what the patch does so I prefer one-patch-per-bug-fix and one-fix-per-patch.
- Loading campaign doesn't always draw the screen correctly on the first refresh of the map (maybe only for older campaigns?)
- Add Help menu option that displays Java SystemProperties for debugging purposes (Java version, user.dir, other information from SysInfo?)
Or maybe you can explain what the "first refresh" refers to. Maybe it's correct on initial display and a "refresh" from, say, another window moving across it fails. Then doing so again, corrects it?
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Introduction
I have a campaign file that has this bug reliably, but it isnt in any way reduced. You would have to reduce it yourself.For the first, can you supply a campaign file that exhibits that problem? (Preverably in reduced form.)
You can - if interested - download it here: http://www.peoplecoveredinfish.de/_medi ... _b75.cmpgn
Its a campaign file created late in 2009 and updated ever since (since this is my framework development file). The map contains of a bunch of large tiles. On campaign load the tokens are not displayed. Zooming in or out fixes that.
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: Introduction
Yes, thats correct.. all source files will be included in the single patch file... However... note that binary files will need to be done via email/post/etc since patch format won't work with the binaries...username wrote: I don't understand this either, because it should be standard fare for Eclipse. But it just creates one "patch.txt".
If thats NOT the issue, it's perhaps due to selection level within your project/workspace thats the issue as you make the patch...
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..
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..
Re: Introduction
That's correct. This is because if you drag a token with a wall of hard fog immediately to the south of it, the token labels and movement metrics are drawn underneath the fog. Which of course means they're not visible.jfrazierjr wrote:I thought you changed the movement code so that a token could not be dragged through hard FOW? if that's the case, is there any point to this?Azhrei wrote:
- Movement metrics need to be displayed above hard fog
That's probably fine for GM movement (since the GM's hard fog is semitransparent anyway) but it's a bummer when players are moving their own tokens. Not sure but I think any player-owned token should have its labels displayed above the hard fog...
Re: Introduction
Somebody wrote in AppActions.java:
One lightning coming up. While adding some debug prints I found a concurrency violation on Zone.tokenOrderedList in here. Whether this is the root cause of the problem, I don't know yet. Too late for a fix today anway
Code: Select all
// I'm going to get struck by lighting for writing code like this.
// CLEAN ME CLEAN ME CLEAN ME ! I NEED A SWINGWORKER!
Re: Introduction
Adding SwingWorkers usually isn't too tough, it's just no one has sat down to do it yet. If you need examples, there are other places in the code that do create SwingWorkers to do off-thread processing.
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: Introduction
Azhrei wrote:That's correct. This is because if you drag a token with a wall of hard fog immediately to the south of it, the token labels and movement metrics are drawn underneath the fog. Which of course means they're not visible.jfrazierjr wrote:I thought you changed the movement code so that a token could not be dragged through hard FOW? if that's the case, is there any point to this?Azhrei wrote:
- Movement metrics need to be displayed above hard fog
That's probably fine for GM movement (since the GM's hard fog is semitransparent anyway) but it's a bummer when players are moving their own tokens. Not sure but I think any player-owned token should have its labels displayed above the hard fog...
Hmm... something in the back of my head is flashing a warning sign here.. but I can't for the life of me remember why... I guess Dorpond and Phergus would need to test the patch well before it's commited to SVN....
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..
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..
Re: Introduction
All I know is that what it does now is definitely wrong. As a player I can't move my token throw a corridor that's only one grid cell wide and see my movement distance. That's obviously incorrect.jfrazierjr wrote:Hmm... something in the back of my head is flashing a warning sign here.. but I can't for the life of me remember why... I guess Dorpond and Phergus would need to test the patch well before it's commited to SVN....
At a minimum, the person moving the token should see their movement metric above the hard fog, but I see no reason why other people shouldn't be able to see it as well. (Of course, the GM moving an NPC can/should stay hidden from players.)
Re: Introduction
I decided to synchronize the access methods. That helped. Unfortunately, that did not fix the root cause.Azhrei wrote:Adding SwingWorkers usually isn't too tough, it's just no one has sat down to do it yet. If you need examples, there are other places in the code that do create SwingWorkers to do off-thread processing.
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: Introduction
But that's the thing... SOME (crazy ) people let Players control tokens of type NPC.... I understand what your saying though, it's just one of those things that I don't think has a "good" solution in 1.3Azhrei wrote:At a minimum, the person moving the token should see their movement metric above the hard fog, but I see no reason why other people shouldn't be able to see it as well. (Of course, the GM moving an NPC can/should stay hidden from players.)
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..
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..