DICE PACKS BUNDLE
Page 277 of 331 First ... 177 227 267 275 276 277 278 279 287 327 ... Last
  1. #2761
    Quote Originally Posted by CarlPalmer View Post
    If you want to change the default button and are willing, you can easily unzip the extension, go into graphics/frames folder and replace the default button or edit it in photoshop and then rezip the contents and rename it to .ext.
    Ooh, that worked - thanks! That'll do for me, for now.

  2. #2762

  3. #2763

  4. #2764
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by damned View Post
    frostbyte can you have a think on this one...
    If you include 2 sets of [math] in the string it screws up because i think it is taking the first [ and the last ] and then it gets all funky inside that.
    If you get any time to put towards tightening up the logic that would be amazing!
    This math handler that you built is very handy.
    frostbyte I have modified this code to do Addition, Subtraction, Multiplication and Division.
    Ill release it soon.
    I think the code is simpler and it handles the other two.
    I have yet to try and tackle the two sets of math in the one dice string issue

    Code:
    			sSTCValue1, sSTCValue2 = sStringToCalc:match("(.+)[+-/%*](.+)");
    			sSTSCOp = sStringToCalc:match(".+([+-/%*]).+");
    			local sSTCValue3;
    			if sSTSCOp == "+" then
    				sSTCValue3 = tonumber(sSTCValue1) + tonumber(sSTCValue2);
    			elseif sSTSCOp == "-" then
    				sSTCValue3 = tonumber(sSTCValue1) - tonumber(sSTCValue2);
    			elseif sSTSCOp == "/" then
    				sSTCValue3 = tonumber(sSTCValue1) / tonumber(sSTCValue2);
    			elseif sSTSCOp == "*" then
    				sSTCValue3 = tonumber(sSTCValue1) * tonumber(sSTCValue2);
    			end

  5. #2765
    PLEASE HELP! When i try to load more core i get this error
    [ERROR] Handler error: [string "scripts/manager_desktop.lua"]:437:attempt to index local 'c' (a nil value)

    Can someone help me resolve this?

  6. #2766
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by Jystdave View Post
    PLEASE HELP! When i try to load more core i get this error
    [ERROR] Handler error: [string "scripts/manager_desktop.lua"]:437:attempt to index local 'c' (a nil value)

    Can someone help me resolve this?
    Please update to the current version.

  7. #2767
    and when I run another extension I also get

    [ERROR] font: Missing TTF tag for font (diemod). [ForbiddenLands] [graphics/graphics_fonts.xml]
    and
    [ERROR] font: Missing TTF tag for font (DIERESULT). [ForbiddenLands] [graphics/graphics_fonts.xml]

    Can someone please help me?

  8. #2768
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Someone posted a fix for the Target info overlapping Rolls info but I cant find it and somehow I have overwritten that fix sometime more recently... Anyone able to point me to it?

  9. #2769
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Added some support for * and / in the [math] syntax.
    Added /unidamage #d#x# roll. Multiples #d# by x#. Uses Defense as Damage Reduction.

  10. #2770
    Quote Originally Posted by damned View Post
    Someone posted a fix for the Target info overlapping Rolls info but I cant find it and somehow I have overwritten that fix sometime more recently... Anyone able to point me to it?
    OK, that was me, but you didn't break it the same way anyhow.
    Edit your template_ct.xml file.
    Delete template "string_ctentry_targets" (Line 121 - 125)
    This will default to the Core version of that template which does work properly.
    Or, you can fix your template "string_ct_summary_spacing" which anchors to "name" but should anchor to "active_spacer_top". But at that point, you are just recreating "string_ct_summary" from Core's template_ct.xml. I recommend just deleting both to rely off of Core for simplicity's sake, since you don't seem to be changing anything about them.

Page 277 of 331 First ... 177 227 267 275 276 277 278 279 287 327 ... Last

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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
  •  
Refer a Friend

Log in

Log in