question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Treasure Box / WebcastEnvelopeMessage

See original GitHub issue

Hi!

First I like to say thanks for your great work, it’s very helpful for me right now!

For the project I’m working on I need to receive infos, if someone gifted a treasure box, that everyone in the room can open and may receive some coins. This box is unfortunately not part of the gift list. Is there a way to retrieve infos about it?

After scanning the raw Webcast I think, the WebcastEnvelopeMessage may contain the searched infos, but i’m too dumb to get the raw data decoded… 😕

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
zerodytrashcommented, Jun 11, 2022

Thanks @ThanoFish I have added your work to the latest release.

1reaction
ThanoFishcommented, May 11, 2022

I believe I’ve managed to make this. I don’t think this is the best or most efficient way to do it, but it works from my testing (except the profile picture url thing, which always seems to be undefined).

I’ve added the ‘treasureBox’ event, which returns this object:

{ userId: ‘7092344136195916805’, // data of user who gave the treasure box starts here

uniqueId: ‘teamcj17’,

nickname: ‘⚽️ CJ ⚽️’,

profilePictureUrl: undefined, // not sure why this is undefined

followRole: 0,

userBadges: [], // data of user who gave the treasure box ends here

coins: 20, // coins in the box

canOpen: 16, // how many people can open the box

timestamp: Long { low: 1652283961, high: 0, unsigned: true } // timestamp of the box being given

}

I’ve forked this project and added these things to the fork, it would be great if someone can test it out and see if there are any issues other than the pfp thing which I’m trying to fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Treasure Box (2021) - IMDb
Treasure aka Princess is Daddy's main girl that holds the house and the girls down but her past secrets haunt her as a...
Read more >
Travel Treasure Box
A quarterly subscription box meant to inspire the wanderlust in you delivered directly to your front door!
Read more >
and that's how treasure box works! #xyzcba #fyp ... - TikTok
TikTok video from Treasure box (@treasurebox.live): "and that's how treasure box works! #xyzcba #fyp #fypシ #treasureboxlive #1k #fypシ #treasurebox".
Read more >
Arrg! Don't Touch Me Treasure! Treasure Chest Box Puzzle!
Check out this amazing 3d printed puzzle! The Treasure Chest Puzzle Box is great fun and a solution that keeps you guessing!
Read more >
YG Treasure Box | Kpop Wiki - Fandom
YG Treasure Box (YG 보석함) was a survival show produced by YG ... The show determined YG's future boy group TREASURE, with 29...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found