Thread: MoreCore Ruleset
-
February 26th, 2021, 04:55 #2761Zealot
- Join Date
- Oct 2018
- Location
- Salinas, CA
- Posts
- 61
-
February 26th, 2021, 06:22 #2762
The original MoreCore sidebar font will be restored in an update over the weekend.
It is both larger and white.
-
February 26th, 2021, 13:07 #2763
-
March 7th, 2021, 08:22 #2764
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
-
March 12th, 2021, 00:02 #2765Devotee
- Join Date
- Mar 2020
- Posts
- 8
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?
-
March 12th, 2021, 00:08 #2766
-
March 12th, 2021, 00:10 #2767Devotee
- Join Date
- Mar 2020
- Posts
- 8
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?
-
March 14th, 2021, 03:01 #2768
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?
-
March 14th, 2021, 08:12 #2769
Added some support for * and / in the [math] syntax.
Added /unidamage #d#x# roll. Multiples #d# by x#. Uses Defense as Damage Reduction.
-
March 14th, 2021, 10:03 #2770
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.
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)


Reply With Quote

Bookmarks