[cv6] Dice Roller

[cv6] Dice Roller 2.3.1

No permission to download

Hoffi

Well-known member
I got this error:
  • ErrorException: Template error: [E_USER_WARNING] Template admin:cv6_style_fa_icon is unknown
  • src/XF/Template/Templater.php:689
On which page? I will change the bahavior, that an Icon is not neccesary.
 

Morrus

Member
Ah yes. MS Edge and Safari can't play webm without plugin, and iPhone and iPad can't do it.
Just a note 6 months later, still can't view the video. If you could use a less restricted format, that would be great. Maybe whack it up on YouTube so everybody can see it? Takes a minute or so.
 

osieorb18

Active member
Can you please check if the wireset has still dice assigned? I just found this during a test upgrade that the die selection can be vanish during setup. Will check the update process.

I had manually made the wireset; no wireset existed, but I'll double check.
 
I get the following error when trying to roll dice from 2.1.0 RC2:
XF\Db\Exception: MySQL query error [1048]: Column 'result_sum' cannot be null in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 79
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 220
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1514
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1246
  7. XF\Mvc\Entity\Entity->save() in src/addons/cv6/DiceRoller/ControllerPlugin/Roller.php at line 215
  8. cv6\DiceRoller\ControllerPlugin\Roller->performSaveRoll() in src/addons/cv6/DiceRoller/ControllerPlugin/Roller.php at line 160
  9. cv6\DiceRoller\ControllerPlugin\Roller->actionSaveRollThread() in src/addons/cv6/DiceRoller/ControllerPlugin/Roller.php at line 54
  10. cv6\DiceRoller\ControllerPlugin\Roller->actionRoll() in src/addons/cv6/DiceRoller/XF/Pub/Controller/Thread.php at line 70
  11. cv6\DiceRoller\XF\Pub\Controller\Thread->actionRoller() in src/XF/Mvc/Dispatcher.php at line 352
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
  16. XF\App->run() in src/XF.php at line 524
  17. XF::runApp() in index.php at line 20
I get this error when trying to roll dice from 2.1.0. RC1:
InvalidArgumentException: Attempted to convert NULL to integer [result_sum] in src/XF/Mvc/Entity/Entity.php at line 763
  1. XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 641
  2. XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 743
  3. XF\Mvc\Entity\Entity->bulkSet() in src/addons/cv6/DiceRoller/ControllerPlugin/Roller.php at line 207
  4. cv6\DiceRoller\ControllerPlugin\Roller->performSaveRoll() in src/addons/cv6/DiceRoller/ControllerPlugin/Roller.php at line 160
  5. cv6\DiceRoller\ControllerPlugin\Roller->actionSaveRollThread() in src/addons/cv6/DiceRoller/ControllerPlugin/Roller.php at line 54
  6. cv6\DiceRoller\ControllerPlugin\Roller->actionRoll() in src/addons/cv6/DiceRoller/XF/Pub/Controller/Thread.php at line 67
  7. cv6\DiceRoller\XF\Pub\Controller\Thread->actionRoller() in src/XF/Mvc/Dispatcher.php at line 352
  8. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  9. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  10. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  11. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
  12. XF\App->run() in src/XF.php at line 524
  13. XF::runApp() in index.php at line 20
2.0.7 works fine for me, so I keep using that.
 

Tri@de

Member
Hi
i updated the addon but when i make a new wireset i have this error

ErrorException: [E_WARNING] Invalid argument supplied for foreach() in src/addons/cv6/DiceRoller/Admin/Controller/Wiresets.php at line 111
  1. XF::handlePhpError() in src/addons/cv6/DiceRoller/Admin/Controller/Wiresets.php at line 111
  2. cv6\DiceRoller\Admin\Controller\Wiresets->wiresetSaveProcess() in src/addons/cv6/DiceRoller/Admin/Controller/Wiresets.php at line 150
  3. cv6\DiceRoller\Admin\Controller\Wiresets->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
  4. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  5. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  6. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  7. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
  8. XF\App->run() in src/XF.php at line 465
  9. XF::runApp() in admin.php at line 13
 

Tri@de

Member
Ok now works, but if i add "sum up with"
on the result i don't have it
if i roll a 1d6 and i get 5 (and i added 3)
i get 5 in the result, not 8
 
Top