-
October 15th, 2019, 01:57 #11
error extension.png
The problem repeat in all character sheets on my campaign, action tab.
-
October 15th, 2019, 02:04 #12
Zealot
- Join Date
- Aug 2017
- Posts
- 62
That is the downside of extension making from what I can see, at least I have not seen another way to do it. This is my first though
In the action tab, all character sheets broken in the scripts, i remove the extension and the problem is solved.
-
October 15th, 2019, 02:06 #13
Look my error uploaderror extension.png
-
October 15th, 2019, 02:13 #14Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
October 15th, 2019, 02:16 #15
You can minimize the impact by overriding only the ActionAttack functions that you've changed. This won't make it 100% change proof, but might minimize the possibility of ruleset changes breaking the extension.
Unfortunately (probably fortunately for most users) I plan on doing a lot of ruleset changes over the coming months, so the chances of extensions breaking and needing fairly regular updating will be high. Sorry.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
October 15th, 2019, 03:55 #16
Zealot
- Join Date
- Aug 2017
- Posts
- 62
I can duplicate that if I open a char and use the attack as DM before I open the CT and use the buttons. I will look deeper into it.
That appears to be the issue. It is not initializing the buttons in the window until the window has been opened. So, I will have to look
for a way to initialize those.
As a workaround until I get a fix in place you can open the CT first, as this only affects the GM, the players will not see the error.Last edited by hehaub; October 15th, 2019 at 04:36.
-
October 15th, 2019, 04:00 #17
Zealot
- Join Date
- Aug 2017
- Posts
- 62
-
October 15th, 2019, 10:30 #18
-
October 15th, 2019, 14:21 #19
You won't be able to initialize them without the window being open as the windowinstance container isn't there.
But, you don't really need to initialize them, you just need to check to see if the window exists.
Try the following:
Code:if User.isHost() then if rRoll.sType == "attack" then buttonWindow = Interface.findWindow("combattracker_host","combattracker"); if buttonWindow ~= nil then buttonWindow["ATT_MULTI_2"].setValue(0); buttonWindow["ATT_MULTI_3"].setValue(0); end end end
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
October 15th, 2019, 14:53 #20
Zealot
- Join Date
- Aug 2017
- Posts
- 62
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks