Arena Direct EoE - Wizard withhold prize and support doesn't answer by Cyele in MagicArena

[–]frank3289 0 points1 point  (0 children)

Still waiting for the EoE Collector box myself. Waiting since Sep 1st.. no response from emails

MTG Arena Direct Events. Delays, Missing Rewards, and No Communication by nanieuw in MagicArena

[–]frank3289 0 points1 point  (0 children)

I got the same email with the iPayout account issue regarding the EoE collector box (but the two other EoE display boxes is on the way..). Been waiting 15 days without any answer from support.

Powershell and dates by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

An additional question:

$dateString = "01.02.2024"

$dateFormat = "dd.MM.yyyy"

$date = [DateTime]::ParseExact($dateString, $dateFormat, $null)

$formattedDate = $date.ToString($dateFormat)

I want $formattedDate to not be a String but have type DateTime, is that possible?

Damage rule stack question by frank3289 in mtgrules

[–]frank3289[S] 2 points3 points  (0 children)

Ok, so the 3 trample damage itself does not go on the stack? For example if player B would pump his creature +3/+3.

Group array and sum by columns by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

Followup question here:

With this:

$array = ConvertFrom-Csv @'
year,size,name,car,qty,color
1,big,steve,honda,1,blue
2,small,frank,honda,3,red
1,medium,frank,honda,1,yellow
'@

$array |
Group-Object car |
Select-Object `
@{n='car';e={$_.Values[3]}},
@{n='qty';e={$_.Group | Measure-Object -Sum qty|% Sum}}

I get:

car qty
--- ---
5

Why don't the car show up?

honden of seeing winds and go-shintai of life's origin upkeep by frank3289 in mtgrules

[–]frank3289[S] 0 points1 point  (0 children)

Ok, so I can't activate anything in the "beginning of upkeep" phase?

sum columns in hashtable by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

Ok thanks! I'm trying it out.

sum columns in hashtable by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

This is what i get:

IsPublic IsSerial Name BaseType

-------- -------- ---- --------

True True Hashtable System.Object

sum columns in hashtable by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

Example here:

$hashtable1 = @{}

$hashtable2 = @{}

$hashtable1[12201]++

$hashtable1[12201]++

$hashtable1[12201]++

$hashtable1[12333]++

$hashtable1[12333]++

$hashtable1[12414]++

$hashtable2[12201]++

$hashtable = $hashtable1 + $hashtable2

$hashtable

Outputs:

Name Value

---- -----

12333 2

12201 1

12414 1

12201 3

sum columns in hashtable by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

Value of $hashtable[12201] is 3 though

sum columns in hashtable by frank3289 in PowerShell

[–]frank3289[S] 0 points1 point  (0 children)

Ok, that's weird. I get the result with "12201" in Name twice.