Search found 13 matches

by Sunspark
Fri Feb 08, 2013 4:14 pm
Forum: General Discussion
Topic: Odd behavior with evaluated lists in :next:
Replies: 1
Views: 1834

Re: Odd behavior with evaluated lists in :next:

I also tried assigning the result of the roll to a variable to see if assigning it gave it stability. It didn't :( I can only assume that this is something to do with order of assessment behind the scenes. But it's still very odd. <formula> @NUMBERTOCURSE ? #3. @DICETYPES ? @GETDICETYPES(#1, #2, @KA...
by Sunspark
Fri Feb 08, 2013 3:30 pm
Forum: General Discussion
Topic: Odd behavior with evaluated lists in :next:
Replies: 1
Views: 1834

Odd behavior with evaluated lists in :next:

Sorry, this one is a bit long and complicated. Basically, I am trying to pass a rolled list to a function as part of string construction for a :next: call. The rolled list exists, and can be acted upon by Dicenomicon functions, but not javascript functions. Which seems a little odd. <function id="LI...
by Sunspark
Wed Feb 06, 2013 5:55 pm
Forum: General Discussion
Topic: Earthdawn
Replies: 5
Views: 3455

Re: Earthdawn

After a night of chasing bugs and exploring functionality, I now have a procedurally generated step list, which passes to a roll, which is evaluated by a botch check. Yay! I should be able to weave in the curse mechanic (which I've written, but not built in yet) on friday, and make a v0.2 release th...
by Sunspark
Wed Feb 06, 2013 5:09 pm
Forum: General Discussion
Topic: javascript list handling bug
Replies: 0
Views: 2529

javascript list handling bug

dicenomicon 3.1.1 on iPad, iOS 5.1.1 <function id="LISTTOSTRING" language="javascript"> function LISTTOSTRING(arrDieTypes) { 'use strict'; return typeof arrDieTypes; } </function> <formula> @TYPES <- (4,6). @ROLLED <- (2,6). length(@ROLLED) + @LISTTOSTRING(@ROLLED, @TYPES) </formula> // returns '2 o...
by Sunspark
Fri Feb 01, 2013 6:53 pm
Forum: General Discussion
Topic: Earthdawn
Replies: 5
Views: 3455

Re: Earthdawn

So, whilst I can't advocate well-over-proof grain alcohol as an effective coding strategy, it did provide me with a revelation. :next: doesn't just evaluate a string of dice - you can feed an entire formula to it. Including another :next: , or functions, or if/ else - which means you can evaluate th...
by Sunspark
Fri Feb 01, 2013 6:39 pm
Forum: General Discussion
Topic: "Step" Dice
Replies: 1
Views: 1699

Re: "Step" Dice

First up, thank you for having a think about this challenge :) There are some interesting avenues to explore there.. Hadn't thought of using composite dice. Agreed that there are some major issues with generalisation, but are those not the same sort of generalisation shut-downs that you get with dic...
by Sunspark
Fri Feb 01, 2013 2:04 pm
Forum: General Discussion
Topic: Earthdawn
Replies: 5
Views: 3455

Re: Earthdawn

i have now tried a few different things, and am beginning to believe that my dream is out of reach. My current line is to construct a string, detailing all of the dice to be rolled, and then roll it, using the ':next:' function. But I cannot for the life of me find a method to assess that roll after...
by Sunspark
Thu Jan 31, 2013 7:53 am
Forum: General Discussion
Topic: Earthdawn
Replies: 5
Views: 3455

Re: Earthdawn

So, after a lot of reading, a lot of tinkering and a lot of frustration... we have the Earthdawn character sheet version 0.1. It has nothing exept placeholders for pages, and the basic function to roll an entered Step, adding an amount of Karma, in an open fashion. I'll be expanding on this in later...
by Sunspark
Thu Jan 17, 2013 4:32 am
Forum: General Discussion
Topic: Odd treatment of formulae in 3.1.1
Replies: 2
Views: 2225

Re: Odd treatment of formulae in 3.1.1

Thanks for the code update. As part of debugging the previous scripts, I walked through adding one piece at a time to see what broke. Until I got to the end, and nothing had broken. The new typing of the old code worked fine. So I tried the old formulae rolls - they worked. Truly this is the work of...
by Sunspark
Tue Jan 15, 2013 12:00 pm
Forum: General Discussion
Topic: Earthdawn
Replies: 5
Views: 3455

Re: Earthdawn

Now having read a few more things including the Ordo Dicenomicon, the whole endeavour is looking still complicated - so I'm going to think out loud for those that come afterward. Earthdawn - http://en.wikipedia.org/wiki/Earthdawn#Game_mechanics The basic premise of the Earthdawn system is Stat + Ski...
by Sunspark
Sat Jan 12, 2013 5:43 am
Forum: General Discussion
Topic: Earthdawn
Replies: 5
Views: 3455

Earthdawn

I'm looking at creating a character sheet/ step roller for Earthdawn.

It looks pretty complicated, so before I start, does anyone already have one of these?

I have searched this forum, the in-app sharing section, and googled, but haven't found anything.
by Sunspark
Sat Jan 12, 2013 5:40 am
Forum: General Discussion
Topic: Ordo Dicenomicon
Replies: 7
Views: 13749

Re: Ordo Dicenomicon

Seconded - I'd like to start programming this language for my game, and a manual beyond the spellbook (which whilst correct, isn't complete), would be greatly appreciated.
by Sunspark
Sat Jan 12, 2013 5:34 am
Forum: General Discussion
Topic: Odd treatment of formulae in 3.1.1
Replies: 2
Views: 2225

Odd treatment of formulae in 3.1.1

Hi, I'm a longtime user of the app & I love it - thank you for writing it. :D OK, fanboi squee out the way, down to business. I have recently updated my iPad 1 (early adopter!) to iOS 5.1.1, and Dicenomicon to 3.1.1 - The formulae in this thread: http://boards.gandreas.com/viewtopic.php?f=27&t=524&p...