DICE PACKS BUNDLE
Page 174 of 331 First ... 74 124 164 172 173 174 175 176 184 224 274 ... Last
  1. #1731
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Thanks for this Ctmega

    I have added tags for the missing TTF font file in the next build.
    I dont believe that the current build has any visible tags - what version of MoreCore are you using?
    I cant recreate your /myinit error - could you please export and upload the character xml file?

  2. #1732
    Version 1.51

    Attached is my Dragon Age Character sheet template. It is a work in progress but should allow you to replicate the error on Unity. Basically the /myinit roll is tied to a manually defined modifier as (p1). It's basically a 3d6+(p1) roll. Ultimately I tried to drag in the Dex Modifier value and focus (Conditional +2) values for (a) and (b) but could never get it to calculate properly so I went back to having the player enter the calculated value in the provided box.

    Thanks!
    Attached Files Attached Files

  3. #1733

  4. #1734
    Yeah, it seems to work fine in FGC (Doesn't generate errors anyway) and the value gets updated in the linked field on the character sheet as well as the CT.

    On Unity, it doesn't update the linked field because it never calculates the roll. It rolls the dice but never captures the output in chat.

  5. #1735
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by Ctmega View Post
    Here is the output from unity when trying to use the /myinit roll:

    [1/9/2020 8:44:22 PM] [<color="red">ERROR</color>] Script execution error: [string "scripts/manager_custom_init.lua"]:87: attempt to perform arithmetic on field 'result' (a nil value)
    For the moment change the manager_custom_init.lua file

    Ln 86 for k,v in pairs(rRoll.aDice) do

    change it to

    Ln 86 for k,v in ipairs(rRoll.aDice) do

    Thanks for the report.

  6. #1736
    Is 1.51 the most current version, it just seems odd that there hasn't been any changes in 9 months

  7. #1737
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by Jedrious View Post
    Is 1.51 the most current version, it just seems odd that there hasn't been any changes in 9 months
    Are you after something in particular?
    Ive added a lot of functionality for very specific things and various people are testing those.
    For several reasons the new build is waiting some feedback and bug testing but is very close.

  8. #1738
    Quote Originally Posted by damned View Post
    Are you after something in particular?
    Ive added a lot of functionality for very specific things and various people are testing those.
    For several reasons the new build is waiting some feedback and bug testing but is very close.
    Yes, I would like the panels in the MoreData tab to be able to display and use rolls just like the panels in the MoreCore tab

  9. #1739
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by Jedrious View Post
    Yes, I would like the panels in the MoreData tab to be able to display and use rolls just like the panels in the MoreCore tab
    Hi Jedrious

    That is not in my plans for MoreCore.
    You can write an extension to add another Tab for more Rolls or you could overwrite the MoreData tab with your definitions.

    The required code looks like this:

    Code:
    <list_text name="cliroller">
    				<anchored to="cas2">
    					<left offset="10" />
    					<top offset="30" />
    					<right offset="-4" />
    					<bottom offset="-10" />
    				</anchored>
    				<newfocus>name</newfocus>
    				<datasource>.clilist2</datasource>
    				<class>cli_rolls</class>
    				<acceptdrop>
    					<class>cas</class>
    					<class>trackers</class>
    					<field>*</field>
    				</acceptdrop>
    			</list_text>
    			<scrollbar_rolls name="scroll_2">
    				<anchored to="cas2" />
    				<target>cliroller</target>
    			</scrollbar_rolls>

    cliroller is the listname - each list needs a unique name
    cas2 is the parent frame name - each list is typically in a separate frame, each frame has a unique name (in fact all named entities should have unique names)
    .clilist is the node name in the database - each list needs its own node
    the accept drop section is where it tells the list what datatypes to accept - trackers is largely redundant since we combined that functionality into rolls (previously called cas)
    the scrollbar is for lists that overrun the frame length/height

  10. #1740
    screenshot moredata.jpg Just to make sure, the highlighted section is what I would replace, correct?

Page 174 of 331 First ... 74 124 164 172 173 174 175 176 184 224 274 ... Last

Thread Information

Users Browsing this Thread

There are currently 13 users browsing this thread. (0 members and 13 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Merchandise

Log in

Log in