Thread: Test version available (2.4.0)
-
March 24th, 2009, 08:25 #11
There's a new build available.
- Fixed a crash that occurred when shared windows were open while selecting the return to launcher option. I'm assuming this is the issue reported, if there's anything more like it, let us know.
- Fixed the issue with imagecontrol.getDatabaseNode.
- Fixed an issue with the launcher occasionally losing the selected extensions for the campaign that was last active.
Tero Parvinen
Fantasy Grounds Guru
-
March 24th, 2009, 08:40 #12
Just a quick observation, cause I was a little confused at first. Should this not be versioned as "Fantasy Grounds v2.4rc1" and now rc2? This would signify that the product is still in the testing faze and not necessarily stable... although as far as I can tell you guys have done a great job, I have had no crashes as of yet.
And a side note, I like the new launcher.
-
March 24th, 2009, 09:36 #13
Hmmm... I am seeing crashes when loading multiple extensions.
A skin and a 2 or 3 more extensions seems to do it. Especially if the skin contains large images for the desktop.
- Obe
-
March 24th, 2009, 18:36 #14
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,541
Thanks for the quick response, Goblin-King.
The challenge with creating an extension is that there is no shared window in the foundation+3.5E ruleset to piggyback off of, so it requires a fair amount of time to recreate all the bits in a new ruleset.
The issue is that tokenfield.populateImageNode returns nil when called in addToken for the tokeninstance just dropped. The code iterates through the window list of a client window that shares tokenfields with the host combat tracker. All other tokens on the map that were previously dropped return a non-nil value. (i.e. last token dropped is not linked, but all others are)
My hypothesis is that the image database is not updated yet, when onTokenAdded is called. I thought this might be related to the fact that tokens sometimes take a few seconds to load after being added.
I'll take a look at building an extension to test, but it's going to take me a little while to figure out the foundation ruleset and how I can build a test case.
Thanks,
JPG
-
March 24th, 2009, 23:40 #15
Here's a problem I noticed: when you maximize the game window and then return to the launcher, there is no clear way to just close the program.
Also, I don't think the little test/release tool worked for me. It seems that I'm stuck in 2.4 now."Resolution One: I will live for God. Resolution Two: If no one else does, I still will."
- Jonathan Edwards
Click here for the latest nWoD ruleset release.
-
March 25th, 2009, 00:06 #16
- Join Date
- Jun 2008
- Posts
- 768
I still get periodic return to launcher crashes....or if it works sometimes it crashes when I connect to the same server (localhost) again.
-
March 25th, 2009, 01:32 #17
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,541
OK, I spent all afternoon building an extension to re-create the situation, and I think I understand what is going on better. (attached)
* Either onTokenAdded handler is triggering on the client before onDragEnd handler triggers on the host
* Or the database fields set in the onDragEnd handler are not propagated to the client before the onTokenAdded handler is called.
Since I can recreate with only the host using this extension, I assume it is the first option. I found a workaround for my situation, so I'm providing the extension for completeness. (Workaround = trigger token re-linking on refid field change, triggered by onDragEnd code)
I will say that using an extension to modify any part of an existing window in a ruleset is very painful, and not something I want to repeat. I think this is especially true for the foundation ruleset, since the windows and scripts are so complex to handle all the possible use cases. Unfortunately, since a client view of the combat tracker isn't one of the use cases, it makes it much more complex to create an extension.
Here are a few things I thought were nice about the version so far:
* Tooltips are a nice way to learn more about the options available. (Would be great to customize by ruleset, especially since mine disable right click reset)
* The fact that the host name is remembered separate from the client name makes ruleset testing one step easier.
* It seems like the reload command is a bit more stable as well. Before, I would get crashes after 6-8 reloads. I had at least 10 this time with no crashes.
* The images passed to the clients seem to load much quicker.
Cheers,
JPG
-
March 25th, 2009, 07:57 #18Originally Posted by moon_wizard
- The onDrop script event is fired. The script has an option of returning true so no further processing is done and the token drop is effectively aborted.
- The token is created on the host and the onTokenAdded function is fired.
- The token is delivered to the clients.
- The onDragEnd function is fired.
Everything on the client will happen after the host has completed all of this.
Originally Posted by moon_wizard
The onTokenAdded handler is triggering on the client before the changes done by triggering onDragEnd on the host are applied on the client.
I would think that it would work by either:- Changing database values in onDrop, and checking them in onTokenAdded
- Setting the refid value in onDragEnd and monitoring the node on the client (this seems to be your workaround)
Originally Posted by moon_wizard
I'll mention this to anyone reading who might come to a similar situation: Whenever a complex situation like this arises, it's relatively complicated for us to come up with a similar situation on our own, and even if we do it's not guaranteed to be the same as the user's. I wasn't suggesting that we demand everything to be based on the foundation ruleset, or that we couldn't just have a look at a work in progress ruleset if it's mailed to our support address and it displays the case clearly. Coming up with a small extension file is helpful in the sense that it makes the environment it's ran in more controlled, and is easier for other community members who might be interested in the issue or willing to help. In many cases simpler than this one, a completely new windowclass with just a couple of controls to demonstrate is enough.Tero Parvinen
Fantasy Grounds Guru
-
March 25th, 2009, 08:12 #19
- Join Date
- Jan 2009
- Posts
- 9
Has anyone tried to run the test version through Wine in Linux?
-
March 25th, 2009, 08:39 #20
- Join Date
- Jul 2008
- Posts
- 812
Originally Posted by PneumaPilot
If you did that and it didn't work then I don't know...Last edited by Leonal; March 25th, 2009 at 09:37.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks