Skip to content

Instantly share code, notes, and snippets.

View sebastientromp's full-sized avatar

Sébastien Tromp sebastientromp

View GitHub Profile
@sebastientromp
sebastientromp / gist:978f1efb27184562285a47017a9cce0e
Created November 5, 2024 19:03
Kil'jaeden creating itself - logs
D 19:19:52.3142499 GameState.DebugPrintPower() - BLOCK_START BlockType=POWER Entity=[entityName=Kil'jaeden id=20 zone=HAND zonePos=2 cardId=GDB_145 player=1] EffectCardId=System.Collections.Generic.List`1[System.String] EffectIndex=0 Target=0 SubOption=-1
D 19:19:52.3142499 GameState.DebugPrintPower() - META_DATA - Meta=OVERRIDE_HISTORY Data=0 InfoCount=1
D 19:19:52.3142499 GameState.DebugPrintPower() - Info[0] = [entityName=Kil'jaeden id=20 zone=HAND zonePos=2 cardId=GDB_145 player=1]
... remove from deck stuff here
D 19:19:52.3142499 GameState.DebugPrintPower() - TAG_CHANGE Entity=122 tag=1068 value=1
D 19:19:52.3142499 GameState.DebugPrintPower() - TAG_CHANGE Entity=122 tag=1068 value=0
D 19:19:52.3142499 GameState.DebugPrintPower() - TAG_CHANGE Entity=122 tag=ZONE value=PLAY
D 19:19:52.3142499 GameState.DebugPrintPower() - TAG_CHANGE Entity=[entityName=Rexxar id=64 zone=PLAY zonePos=0 cardId=HERO_05 player=1] tag=DEMON_PORTAL_DECK value
@sebastientromp
sebastientromp / rules.md
Last active August 25, 2024 05:52
Rules for which trinkets can be offered offered

When discovering trinkets, 3 main rules seem to apply:

  • some trinkets are only offered if you are "in" a type, meaning you control at least 2 minions of that type on your board
  • some trinkets are only for menagerie, which means 3+ different types
  • there are a few special rules, which are more case-by-case

Being "in" a type

I'm trying to build a list of what trinkets work based on this rule. There is no official list anywhere, so I'm trying to get feedback and see what I have missed, or errors I have in my list.
The list is code, but should be human-readable:

This file has been truncated, but you can view the full file.
D 15:54:08.3064962 GameState.DebugPrintPowerList() - Count=138
D 15:54:08.3064962 GameState.DebugPrintPower() - CREATE_GAME
D 15:54:08.3064962 GameState.DebugPrintPower() - GameEntity EntityID=1
D 15:54:08.3064962 GameState.DebugPrintPower() - tag=CARDTYPE value=GAME
D 15:54:08.3064962 GameState.DebugPrintPower() - tag=ZONE value=PLAY
D 15:54:08.3064962 GameState.DebugPrintPower() - tag=ENTITY_ID value=1
D 15:54:08.3064962 GameState.DebugPrintPower() - tag=937 value=2
D 15:54:08.3064962 GameState.DebugPrintPower() - tag=SPAWN_TIME_COUNT value=1
D 15:54:08.3064962 GameState.DebugPrintPower() - tag=GAME_SEED value=520481431
D 15:54:08.3064962 GameState.DebugPrintPower() - Player EntityID=2 PlayerID=1 GameAccountId=[hi=144115198130930503 lo=32311514]
@sebastientromp
sebastientromp / duels-buckets-diff.json
Created September 28, 2022 15:07
Very early data of the changes in buckets with 24.4. Because of how buckets data is collected, you need to wait for at least 3 days to have accurate new data
[
{
"bucketId": "PVPDR_Duels_Buckets_Deathrattl",
"bucketName": "Deathly Minions",
"bucketClasses": [
"HUNTER"
],
"cards": [
{
"cardId": "MAW_011",
@sebastientromp
sebastientromp / gist:aa3636de27e801e474fd4c1f7af025d1
Created August 18, 2022 14:49
Opponent players Gone Fishing and picked card is logged
D 16:45:58.6280281 PowerTaskList.DebugPrintPower() - BLOCK_START BlockType=POWER Entity=[entityName=Gone Fishin' id=48 zone=PLAY zonePos=0 cardId=TSC_916 player=2] EffectCardId=System.Collections.Generic.List`1[System.String] EffectIndex=0 Target=0 SubOption=-1
D 16:45:58.6280281 PowerTaskList.DebugPrintPower() - META_DATA - Meta=SLUSH_TIME Data=7000 InfoCount=1
D 16:45:58.6280281 PowerTaskList.DebugPrintPower() - Info[0] = [entityName=Gone Fishin' id=48 zone=PLAY zonePos=0 cardId=TSC_916 player=2]
D 16:45:58.6280281 PowerTaskList.DebugPrintPower() - META_DATA - Meta=OVERRIDE_HISTORY Data=0 InfoCount=1
D 16:45:58.6280281 PowerTaskList.DebugPrintPower() - Info[0] = [entityName=Gone Fishin' id=48 zone=PLAY zonePos=0 cardId=TSC_916 player=2]
D 16:45:58.6280281 PowerTaskList.DebugPrintPower() - FULL_ENTITY - Updating [entityName=UNKNOWN ENTITY [cardType=INVALID] id=100 zone=SETASIDE zonePos=0 cardId= player=2] CardID=
D 16:45:58.6280281 PowerTaskList.DebugPrintPower()
@sebastientromp
sebastientromp / partial_power.log
Created August 7, 2022 16:49
Log showing the creation of a Collossal Entity's appendages before the main body's entity
D 16:11:50.9635613 GameState.DebugPrintPower() - BLOCK_START BlockType=TRIGGER Entity=[entityName=Kobold Illusionist id=125 zone=PLAY zonePos=1 cardId=LOOT_412 player=2] EffectCardId=System.Collections.Generic.List`1[System.String] EffectIndex=0 Target=0 SubOption=-1 TriggerKeyword=DEATHRATTLE
D 16:11:50.9635613 GameState.DebugPrintPower() - TAG_CHANGE Entity=[entityName=Humongous Owl id=116 zone=PLAY zonePos=2 cardId=AV_704 player=2] tag=ZONE_POSITION value=2
D 16:11:50.9635613 GameState.DebugPrintPower() - BLOCK_START BlockType=TRIGGER Entity=139 EffectCardId=System.Collections.Generic.List`1[System.String] EffectIndex=0 Target=0 SubOption=-1 TriggerKeyword=TAG_NOT_SET
D 16:11:50.9635613 GameState.DebugPrintPower() - TAG_CHANGE Entity=[entityName=Humongous Owl id=116 zone=PLAY zonePos=2 cardId=AV_704 player=2] tag=ZONE_POSITION value=3
D 16:11:50.9635613 GameState.DebugPrintPower() - FULL_ENTITY - Creating ID=140 CardID=TID_712t
D 16:11:50.9635613 GameState.Debu
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 7 columns, instead of 3 in line 5.
creationDate,adventureType,playerDecklist,option1,option2,option3,chosenOptionIndex
"2022-07-25 14:50:12",duels,AAEBAf0EFZ+YA5+bA/yjA9a+A8fOA9TqA9LsA9jsA4jtA5vwA5v3A8uBBNiBBKCKBOafBMOgBPWiBNurBOG5BPHTBJ6CBQTLBJYFne4Dqd4EAA==,PVPDR_SCH_Active10,ULDA_008,PVPDR_SCH_Active51,1
"2022-07-25 14:49:57",paid-duels,AAEBAZICHED3A+YFuQafsAKhwgKR0AKe0gKb6ALf+wLJpQOIsAPmwwOPzgOK4AOo7wOvgATLgQTagQSJiwSpkQTWkQSunwSlrQSNsgSQtQSKtwT/gAUEoLAE9r0E8L8ErsAEAA==,PVPDR_SCH_Active17,PVPDR_SCH_Active44,PVPDR_SCH_Active01,3
"2022-07-25 14:48:13",paid-duels,AAEBAZICHEBWX+kBvqsCvq4CuZQDr6ID+cwDm84DwNADpeEDpuEDiuQDj+QDwuwDk/YDhPcDtIUEiYsE56QEsKUEv6sEuL4E8L8Em8kE8u4E2qEFAAA=,PVPDR_BAR_Passive11,LOOTA_845,PVPDR_SW_Passive_09,3
"2022-07-25 14:47:46",paid-duels,AAEBAf0GGt0PuKwC+NACsP0CgJoD1LoDrMsD1+0D2O0D6+0D8e0D8u0Die8DlfcDyPkDxYAE34AE5oEErIUErpEE8ZEE56AE4aQE5qsE/KwEiLAEAbGfBAHT+QMF,PVPDR_SCH_Active58,PVPDR_SCH_Active27,PVPDR_SCH_Active29,1
"2022-07-25 14:49:12",paid-duels,AAEBAaIHHLQByAPSA8YF1AXuBogHxg+m7wKL0APz3QOu6wPQ+QO3+wPQgQSmigStoASvo
The new Twitch extension has been released!
Battlegrounds
- gets rid of the buddies
- adds a bouton that shows you a recap of all the players in the lobby on mouse over (similar to hitting the Tab key while you're playing)
- darken the stream's background when mousing over a player on the leaderboard
Constructed
- shows related cards when mousing over a card in the tracker (constructed)
- removes the debug state that would show some random BG info when connecting to the stream for the first time (not sure how this is related to an issue where the extension shows BG stuff instead of constructed one)
@sebastientromp
sebastientromp / cards-buckets-230.json
Created April 8, 2022 07:11
List all cards found in each bucket in duels (casual + heroic) for 23.0 (2 days in)
[
{
"bucketName": "The Best Defense...",
"bucketClass": "hunter",
"cardNames": [
"Al'ar",
"Animal Companion",
"Arcane Shot",
"Auctionmaster Beardo",
"Baited Arrow",
@sebastientromp
sebastientromp / card-buckets.json
Created February 21, 2022 15:54
List all cards found in each bucket in duels (casual + heroic)
[
{
"bucketName": "Iron and Steel",
"bucketClass": "warrior",
"cardNames": [
"Alley Armorsmith",
"Armored Goon",
"Armorsmith",
"Bash",
"Blastmaster Boom",