Search found 124 matches

by hanelyp
Mon May 23, 2016 7:39 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [DEV] hanelyp fancy dice

Extension Name: hanelyp fancy dice roller Author: hanely Extension Description: process [dice]<spec>[/dice] bbcode extension to produce a dice roll. Extension Version: 0.9 BETA Requirements: N/A Features: Fancy in the sense of supporting a wide variety of dice, including non-numeric. ACP code in cu...
by hanelyp
Mon May 23, 2016 7:38 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [DEV] hanelyp fancy dice

Derky wrote:Unlocked per author's request.
Thankyou.
by hanelyp
Mon Feb 01, 2016 9:23 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [DEV] hanelyp fancy dice

I've been otherwise occupied recently. Other than a vague guess of an API change I don't even know what broke.
by hanelyp
Mon Jan 04, 2016 9:06 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [DEV] hanelyp fancy dice

Thank you Roberto Moreno (Rampmaster), Spanish language translation added to github.
by hanelyp
Fri Dec 04, 2015 10:35 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [DEV] hanelyp fancy dice

If it's a matter of annotation, any text not matching a macro or spec syntax should be quietly ignored. so rolling "attack 1d20+5" should act just like "1d20+5" but with an annotation in the roll spec. Per user macros would be nice, but need to be handled in a way that everyone else can see how they...
by hanelyp
Wed Dec 02, 2015 5:27 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

In the control panel you could define attack as [1:20] and then roll "attack+5", presuming attack is always 1d20 and the bonus varies between players. The pseudo-random seed is based on 'user_lastpost_time' and 'user_email_hash', among other factors. I'm not familiar with the alias plugin corycubbag...
by hanelyp
Mon Nov 23, 2015 4:38 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

Sorry about the delay, but when I stopped getting update notices I thought traffic had come to a stop. There is an update to the security issue in gethub. for the fate dice a dice spec of [-1,-1,0,0,1,1] should math that description. If someone wants to code an update for the roller to handle the > ...
by hanelyp
Sun Nov 08, 2015 4:41 pm
Forum: Extensions in Development
Topic: [RC] Captcha Jigsaw Puzzle
Replies: 3
Views: 585

Re: [RC] Captcha Jigsaw Puzzle

-There is an update in gethub in response to a bug report that the phpbb admin sent me. I haven't heard back from them about it, despite a great deal of time passing.-
edit:
oops, thought this was about my other 3.1 extension. No updates.
by hanelyp
Mon Jul 27, 2015 4:49 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

3.1.5 would be the phpbb version. I'm running a test board with that version.

Looking a bit deeper, phpbb3.1 requires php 5.3.3 or later, but my code was using an option that wasn't available until php 5.4. Patch in github.
by hanelyp
Sun Jul 26, 2015 3:57 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

CGbiv, what version of php is installed on your system? The error message you report is inconsistent with documentation at http://php.net/manual/en/function.preg-match-all.php
by hanelyp
Tue Jul 14, 2015 10:40 pm
Forum: Extension Writers Discussion
Topic: app.php and templates
Replies: 2
Views: 130

app.php and templates

Is there a 3.1 version of https://wiki.phpbb.com/Adding_pages somewhere? Specifically I need to know how to process a template into a string. My code so far foreach ($data as $record) { $template->assign_block_vars('postrow', $record ); } return new \Symfony\Component\HttpFoundation\Response($templa...
by hanelyp
Mon Jul 13, 2015 2:32 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

I wasn't able to get the shoutbox extension to work.
by hanelyp
Mon Jul 06, 2015 4:44 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

How could I add something like 3d6k2, where "k" means keep 2 highest of the 3 rolled dice? Not supported by the current dice engine. Ah. Cool. If I'm able to code that upgrade, can I email you the changes or check it into github? I'll want to double check the code before it goes into gethub, but I'...
by hanelyp
Mon Jul 06, 2015 4:20 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

How could I add something like 3d6k2, where "k" means keep 2 highest of the 3 rolled dice? Not supported by the current dice engine. Also, is it possible to add a checkbox (boolean/bit field) the to definition table for whether or not to total the results? For more complicated dice systems (like FF...
by hanelyp
Thu Jul 02, 2015 3:32 pm
Forum: Abandoned Extensions
Topic: [ABD] hanelyp fancy dice
Replies: 192
Views: 20572

Re: [BETA] hanelyp fancy dice

4+d6 yields 4d6 That is expected behavior with the way the dice parser works. "d" is not a primitive operator but a macro that takes the previous and following values, previous value becoming 1 if not defined. "+" is a token delimiter, not a token in itself. I suppose the parser could be modified s...

Go to advanced search