Page 54 of 61
Posted: Sun May 06, 2018 11:24 pm
by Keychain
test test
Posted: Sun May 06, 2018 11:24 pm
by Keychain
test test
Posted: Wed May 09, 2018 6:03 pm
by mastina
So this should work, but I need confirmation.
- A
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- B
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- C
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- D
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- E
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- F
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- G
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- H
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- I
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- J
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- K
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- L
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- M
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- N
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- O
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- P
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- Q
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- R
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- A
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- B
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- C
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- D
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- E
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- F
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- G
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- H
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- I
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- J
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- K
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- L
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- M
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- N
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- O
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (2) = 2
- P
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- Q
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
- R
Spoiler: Dicey
Original Roll String: 1d2
1 2-Sided Dice: (1) = 1
Let's see if it looks as I think it will.
Posted: Wed May 09, 2018 6:05 pm
by mastina
Okay so I forgot that I needed a line break after the floats for the "let's see if this works as I expect", but yes.
It did in fact work the way I thought it would.
(What is this? This is me testing something out for modding, it'll be involved in my role randomization process.)
Posted: Sat May 12, 2018 3:08 am
by Pine
Need to figure out tables.
| |
- Red
- Blue
- Yellow
- Green
- Orange
- Purple
| |
Posted: Sat May 12, 2018 3:15 am
by Alisae
In post 1329, Pine wrote:Need to figure out tables.
| |
- Red
- Blue
- Yellow
- Green
- Orange
- Purple
| |
Pine you should read this!
Posted: Sat May 12, 2018 3:17 am
by Pine
I'm actually finishing up a better version in the relevant thread, which you have access to. I'd appreciate feedback once I'm done.
Posted: Fri Jun 08, 2018 6:34 pm
by Kison
Posted: Fri Jun 08, 2018 6:36 pm
by Kison
Kison wrote:
Here is a quote tag
Posted: Fri Jun 08, 2018 6:47 pm
by Kison
Code: Select all
public List<List<ProductCategory>> getProductCategoryChains(Connection connection, Collection<Integer> bottomLevelProductCategoryIds) throws SQLException {
List<List<ProductCategory>> productCategoryChains = new ArrayList<List<ProductCategory>>();
Map<Integer, List<List<ProductCategory>>> currentCategoryIdToChainMap = new HashMap<Integer, List<List<ProductCategory>>>();
Set<Integer> currentProductCategoryIds = new HashSet<Integer>();
for(int productCategoryId : bottomLevelProductCategoryIds) {
List<ProductCategory> productCategoryChain = new ArrayList<ProductCategory>();
productCategoryChains.add(productCategoryChain);
miscUtil.pushToListMap(productCategoryId, currentCategoryIdToChainMap).add(productCategoryChain);
currentProductCategoryIds.add(productCategoryId);
}
while(!currentProductCategoryIds.isEmpty()) {
Map<Integer, ProductCategory> productCategoryMap = getProductCategoryMap(connection, currentProductCategoryIds);
Set<Integer> nextProductCategoryIds = new HashSet<Integer>();
for(ProductCategory productCategory : productCategoryMap.values()) {
List<List<ProductCategory>> tempProductCategoryChains = currentCategoryIdToChainMap.get(productCategory.getId());
tempProductCategoryChains.forEach(chain -> chain.add(0, productCategory));
if(productCategory.getParentId() != null) {
nextProductCategoryIds.add(productCategory.getParentId());
if(currentProductCategoryIds.contains(productCategory.getParentId()))
currentCategoryIdToChainMap.remove(productCategory.getId());
miscUtil.pushToListMap(productCategory.getParentId(), currentCategoryIdToChainMap).addAll(tempProductCategoryChains);
}
}
currentProductCategoryIds = nextProductCategoryIds;
}
return productCategoryChains;
}
Posted: Fri Jun 08, 2018 6:51 pm
by Kison
Original Roll String: 10d10+5
10 10-Sided Dice: (8, 4, 7, 5, 7, 9, 8, 6, 8, 2)+5 = 69
sds
Posted: Fri Jun 08, 2018 6:55 pm
by Kison
VOTE: Kison
UNVOTE: Kison
Vote: Kison
Underline
Italics
Posted: Fri Jun 08, 2018 6:59 pm
by Kison
Posted: Sat Jun 09, 2018 7:19 am
by MathBlade
Getting tired of going back to my old post.
Spoiler: VoteCount Settings2
priorVCNumber=
url=
viewtopic.php?f=83&t=76448
playerList=NotAJumbleOfNumbers,Not_Mafia,vulcan logician,TheRampage,FireBringer,PenguinPower,123456789,Blackstar
replacementList=NotAJumbleOfNumbers:Something_Smart
moderatorNames=Korina,Nexus
dayStartNumbers=1
cleanDay=true
deadline=2018-06-18 16:04:00 -5.00
dayviggedPlayers=Firebringer-283,123456789-283
voteOverrides=
Code: Select all
[spoiler=Day 1]
[color*=grey][Jun 18, 2018 17:40][/color] [b][color*=#FF80FF]NotAJumbleOfNumbers[/color][/b] ~ [b][color*=blue]Unvote[/color][/b][post=#1928088]255[/post]
[color*=grey][Jun 18, 2018 17:40][/color] [b][color*=#FF80FF]Something_Smart[/color][/b] ~ [b][color*=blue]Unvote[/color][/b][post=#1928088]256[/post]
[color*=grey][Jun 18, 2018 17:40][/color] [b][color*=#FF80FF]Not_Mafia[/color][/b] ~ [b][color*=blue]Unvote[/color][/b][post=#1928088]257[/post]
[color*=grey][Jun 18, 2018 17:40][/color] [b][color*=#FF80FF]PenguinPower[/color][/b] ~ [b][color*=blue]Unvote[/color][/b][post=#1928088]258[/post]
[/spoiler*]
Spoiler: Day 1
[color*=grey][Jun 20, 2018 17:40][/color]
[color*=#FF80FF]ScionessnSajj[/color]
~
[color*=blue]Asuka[/color]
406
Spoiler: VoteCount Settings
priorVCNumber=10
url=
viewtopic.php?f=2&t=76567
playerList=Dunnstral,Srceenplay,Joral,Fumuki,Pine,Creature,Kublai Khan,WhemeStar,Hopkirk,Edosurist,Ausuka,Lalendra,EspeciallyTheLies,Lovebird,JarJarDrinks,Osuka,Andriod18,Texcat,ArcAngel9,Charles510,Wavemode,TheRampage,Myloninja13,Scioness Sajj,FlavorLeaf
replacementList=Joral:Almost50,Fumuki:Golden Robster,Charles510:Vaxkiller,Srceenplay:Performer
moderatorNames=Ircher,Not Known 15
dayStartNumbers=72
cleanDay=true
deadline=2018-06-30 20:00:00 -4.00
deadList=
voteOverrides=
Code: Select all
[spoiler=Day 1][color*=grey][Jun 20, 2018 17:40][/color] [b][color*=#FF80FF]Scioness Sajj[/color][/b] ~ [b][color*=blue]Ausuka[/color][/b][post=#1928088]406[/post][/spoiler*]
Posted: Sun Jun 10, 2018 5:17 am
by Kison
<!--1234567-->
Posted: Sun Jun 10, 2018 5:28 am
by Kison
Original Roll String: 5d5
5 5-Sided Dice: (2, 3, 3, 1, 5) = 14
Posted: Sun Jun 10, 2018 3:39 pm
by BNL
13d5058
Posted: Sun Jun 10, 2018 3:40 pm
by BNL
Wait so dice tags don’t work for 5058? Looks like we need a new way to generate roles for GIM
Posted: Wed Jun 20, 2018 4:15 pm
by BNL
[countdown]0.00[/countdown]
Posted: Wed Jun 20, 2018 4:16 pm
by BNL
(expired on 2018-06-21 12:00:00)
Posted: Sat Jun 23, 2018 1:07 pm
by Kison
Posted: Sun Jun 24, 2018 4:14 pm
by Ircher
In post 1342, BNL wrote:Wait so dice tags don’t work for 5058? Looks like we need a new way to generate roles for GIM
Nope!
Maybe:
Original Roll String: 50d500-50
50 500-Sided Dice: (214, 393, 98, 51, 108, 87, 479, 344, 344, 218, 199, 46, 61, 191, 300, 218, 432, 128, 471, 164, 423, 231, 477, 366, 328, 103, 215, 169, 273, 464, 71, 76, 254, 426, 459, 393, 106, 367, 98, 261, 9, 484, 472, 433, 253, 266, 248, 341, 27, 50)-50 = 12639
Original Roll String: 1d59-1
1 59-Sided Dice: (18)-1 = 17
Posted: Wed Jul 25, 2018 6:10 am
by Ircher
Original Roll String: 2d6*2
2 6-Sided Dice: (5, 5)*2 = 20
Original Roll String: 1d4*2
1 4-Sided Dice: (1)*2 = 2
Posted: Fri Jul 27, 2018 7:50 am
by Ircher
Original Roll String: 1d50 (STATIC)
1 50-Sided Dice: (29) = 29
Original Roll String: 1d50*2 (STATIC)
1 50-Sided Dice: (29)*2 = 58
Edit:
Original Roll String: 1d50*2
1 50-Sided Dice: (2)*2 = 4
Original Roll String: 1d50+2
1 50-Sided Dice: (33)+2 = 35
Posted: Fri Jul 27, 2018 5:13 pm
by BNL
Original Roll String: 1d50*50
1 50-Sided Dice: (42)*50 = 2100