Die roller error in real roll but not test roll

If you need support for dice roller or the forums, post here.
Post Reply
Message
Author
User avatar
Zhym
Rider of Rohan
Rider of Rohan
Posts: 20567
Joined: Fri Jul 26, 2013 1:14 am

Die roller error in real roll but not test roll

#1 Post by Zhym »

I just tried to set up the following macro:

Dual-wield rapier & dagger: R: [1d20] [1d6] (S/M) [1d8] (L); D: [1d20-1] [1d4] (S/M) [1d3] (L)

If I click the die to test-roll, I get a result. But if I go to the "Roll the dice" page and try it, I get a "Microsoft Cursor Engine error '80004005'" error.

I'm just curious why this would have a problem with real rolls but not the test roller.

User avatar
ToniXX
Site Admin
Site Admin
Posts: 3225
Joined: Sat Sep 19, 2009 5:21 pm
Location: Long Beach, CA

Re: Die roller error in real roll but not test roll

#2 Post by ToniXX »

Without doing some testing, I think I know what's going on. When writing the results to the database, the result string is too long. The field it is trying to write too can only accept so many characters. Try remving one or more of the dice expressions, and/or remove some of the literal text at the start of the macro.
"Sir, our research shows that the bird is equal to or greater than the word."

User avatar
Zhym
Rider of Rohan
Rider of Rohan
Posts: 20567
Joined: Fri Jul 26, 2013 1:14 am

Re: Die roller error in real roll but not test roll

#3 Post by Zhym »

That makes sense about it being something in writing the results. I shortened it to this, which still gives an error on a real roll:

[1d20] [1d6] (S/M) [1d8] (L); [1d20-1] [1d4] (S/M) [1d3] (L)

Maybe it's something about the number of dice being rolled?

User avatar
Alethan
POWAH!
POWAH!
Posts: 14356
Joined: Thu Oct 21, 2010 6:50 pm
Location: Midwest
Contact:

Re: Die roller error in real roll but not test roll

#4 Post by Alethan »

You can only roll five at a time.
Dragon foot. Bamboo pole. Little mouse. Tiny boy.

User avatar
ToniXX
Site Admin
Site Admin
Posts: 3225
Joined: Sat Sep 19, 2009 5:21 pm
Location: Long Beach, CA

Re: Die roller error in real roll but not test roll

#5 Post by ToniXX »

The limit of five isn't explicit, but it does make the results bump up against the character limit. This is something that I've been aware of but it hasn't really been an issue. Maybe I can work on it in a week or two once I'm officially unemployed! It can't come soon enough!!!
"Sir, our research shows that the bird is equal to or greater than the word."

User avatar
Zhym
Rider of Rohan
Rider of Rohan
Posts: 20567
Joined: Fri Jul 26, 2013 1:14 am

Re: Die roller error in real roll but not test roll

#6 Post by Zhym »

Hooray for unemployment? ;)

User avatar
Dram
Rider of Rohan
Rider of Rohan
Posts: 5261
Joined: Tue Sep 09, 2014 1:41 am
Location: Michigan
Contact:

Re: Die roller error in real roll but not test roll

#7 Post by Dram »

I had the same problem today with one of my characters. It had worked till today. I cut it knocking the fire damage off it. Gonna have to put in a different Macro.

+3 Flaming L. Sword to Hit [1d20+5], to Dam sm [1d8+5], to Dam lg [1d12+5], norm fire dam [1d6], fire vs cold [2d6]
Current Characters/Games
Grakluse Longleaf-A Candle in the Darkness
Jacxor Ironforge-Dungeon of the Mad Mage (5e)
Kreed Oaken-Chaos halls
Xlore Strongoak-B11 King's Festival & B12 Queen's Harvest - AD&D 2e

User avatar
ToniXX
Site Admin
Site Admin
Posts: 3225
Joined: Sat Sep 19, 2009 5:21 pm
Location: Long Beach, CA

Re: Die roller error in real roll but not test roll

#8 Post by ToniXX »

I haven't had time to work on this as I'm still employed. But, I may have time soon to see if I can make a change that effectively allows for dice macros that are double the current allowable length.
"Sir, our research shows that the bird is equal to or greater than the word."

Post Reply

Return to “Help and Support”