Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rarity Open Mic] Expansion Request #87

Open
murderteeth opened this issue Sep 26, 2021 · 20 comments
Open

[Rarity Open Mic] Expansion Request #87

murderteeth opened this issue Sep 26, 2021 · 20 comments

Comments

@murderteeth
Copy link

murderteeth commented Sep 26, 2021

Rarity Open Mic 馃幎

contract @ FTMScan
contract @ github
rarity-openmic.com
rarity-openmic.com @ github

Rarity Open Mic

A lithe, robed figure takes the stage with a flourish. The bard sings out and a hush sweeps over the rowdy tavern...

Your bard rolls a Perform skill check with these outcomes:

  • Fail the DC, booed off the stage, your bard gets no prize
  • Make the DC, the tavern cheers politely, your bard gets a door prize
  • Roll a nat20, the tavern is an orgy of good vibes, your bard gets a secret mission pass

Requirements

  • Your summoner must be a Bard to perform
  • Level > 1
  • Perform skill > 0
  • Your summoner can only perform once every 7 days

Rewards

  • Door prizes
  • Secret mission passes

Skill check modifiers

How to play

The easiest ways to play Open Mic at the moment are:

Update - Open Mic V2 (October 25 2021)

鈿狅笍 A vulnerability in the Open Mic V1 contract has been identified and patched. A new contract, V2, has been deployed.
The vulnerability allowed arbitrary prize transfers. No V1 prizes were compromised. All V1 prizes have been re-minted in V2. Use the V2 contract from now on:
https://ftmscan.com/address/0x29d51e8736fcc8c2662aa1b2cf46753d5918606f

All of your prizes are intact!

馃悶 The V1 contract minted two NFTs on a critical 20 role. Unfortunately this caused gas to run out for most of you that should have gotten a secret mission pass. V2 only mints a mission pass on crit roles. DM your V1 transaction to me if you think you're missing a mission pass.

馃幉 The V2 contract features an odds(uint256) function. Pass this function your summoner's ID to get odds on winning the perform adventure (just divide the result by 10e18).


Inspired by theRarityForest


Bounty

Love working on this. More coming!

Please send bounties and donations here:
0x8BB5d5A7706Dfd2D25ABE850388e23fe0c54f933

@WilliamOpenshaw
Copy link

Love this direction. Would be happy to contribute text if you feel like going in a Stand Up Comedy direction.

@murderteeth
Copy link
Author

Stand Up !! ...yeah that's interesting. Have ideas on how that would work?

@WilliamOpenshaw
Copy link

Stand Up !! ...yeah that's interesting. Have ideas on how that would work?

Depending on how the player roles, their character will say a role-play game themed version of famous stand up jokes.

20 or above - Murder
15 to 20 - Hilarious
10 to 15 - Funny
5 - 10 - Controversial and not quite funny.
1- 5 Bombing

@PehoJukka
Copy link

Hi!

This is a great idea and would love to try it but I'm not sure if I'm doing it right? I did it on FTMScan with two different Bard's with maxed out Charisma points, but didn't manage to entertain the crowd! :)

This is the Transaction Hash from the second attempt:
0x1254d0529e4b27d9646f5ef3d959855c5d3b7f5889b15b461d589f080f8e8e9d

I have some forest treasures too but how you can give them to a summoner? Stand up would be a hilarious too!

Thanks!

@MeesterGamer
Copy link

MeesterGamer commented Sep 28, 2021

Awesome idea! I'm fairly new to, well, everything!
Managed to write a contract successfully, but I have no idea how to read the outcome
Transaction Hash is:
0xfba6c3902aeaa27a12ab8e5073527907700f7535e7188ce2b4cb6ee9e65eaa49
Looking at the logs it wasn't a success...

@murderteeth
Copy link
Author

Hi!

This is a great idea and would love to try it but I'm not sure if I'm doing it right? I did it on FTMScan with two different Bard's with maxed out Charisma points, but didn't manage to entertain the crowd! :)

This is the Transaction Hash from the second attempt: 0x1254d0529e4b27d9646f5ef3d959855c5d3b7f5889b15b461d589f080f8e8e9d

I have some forest treasures too but how you can give them to a summoner? Stand up would be a hilarious too!

Thanks!

Hi @PehoJukka , looks like your summoner doesn't have any Perform skill points. I verified this by calling get_skills on the rarity skills contract: https://ftmscan.com/address/0x51C0B29A1d84611373BA301706c6B4b72283C80F#readContract

image

The easiest way setup your skill points is by using one of the UIs. Have a look here: https://github.com/andrecronje/rarity#uis

@murderteeth
Copy link
Author

Hi @MeesterGamer, I just checked your summoner as well. Same problem, you don't have any Perform skill points. Try out one of the rarity UIs to setup your skill points: https://github.com/andrecronje/rarity#uis

@MeesterGamer
Copy link

I noticed. I overlooked the skill check in your document. Now I have to wait 7 days for another go...

@murderteeth
Copy link
Author

@MeesterGamer, yes I regret not adding a getOdds function!

It would work like the scout call in the cellar dungeon... that is, it would tell you your odds of winning before calling perform.

Alas... getOdds is on the kanban for Open Mic v2 ;)

@PehoJukka
Copy link

Thanks for your advice! I also rushed to perform without any skills to do so! :)

Now I think I succeeded with another Bard and got the doorprize? When I went to query that ID I get this response:

[ doorPrizes method Response ]
string : Error: Returned error: execution reverted

Transaction: 0xf132d9782b8b3d51babf2335482dc1528305f030cb2803dec504c8b4007df174

You can query the ID's from 1 to 13 and it show's the prizes but after that this same response? I'm sure I'm not understanding how these contracts work and sorry bother with (maybe) silly questions!

When doing a 14. ownerOf query it shows my summoner as an owner still...

Thanks in advance! :)

@murderteeth
Copy link
Author

Hi again @PehoJukka ...your questions aren't silly at all! In fact, I'm quite flattered 馃檹馃榿...

The best way to see your prizes is to use the getPrizes(sommuner) function on the contract. In the case of your second bard, that looks like this:

image

(congrats on your signet ring of the 馃悷!)

@MeesterGamer
Copy link

@MeesterGamer, yes I regret not adding a getOdds function!

It would work like the scout call in the cellar dungeon... that is, it would tell you your odds of winning before calling perform.

Alas... getOdds is on the kanban for Open Mic v2 ;)

Tried it again today with a new Bard. Got a Crate of Goblin Wine! Cheers!

@murderteeth
Copy link
Author

@MeesterGamer, yes I regret not adding a getOdds function!
It would work like the scout call in the cellar dungeon... that is, it would tell you your odds of winning before calling perform.
Alas... getOdds is on the kanban for Open Mic v2 ;)

Tried it again today with a new Bard. Got a Crate of Goblin Wine! Cheers!

Goblin Wine! A true delicacy !! 馃嵎馃槇馃嵎

@murderteeth murderteeth changed the title [Rarity Open Mic] Expansion Bounty Request [Rarity Open Mic] Expansion and UI Bounty Request Oct 9, 2021
@murderteeth
Copy link
Author

Hi @MeesterGamer and @PehoJukka, you can now view your prizes at rarity-openmic.com.

@PehoJukka
Copy link

Hi @MeesterGamer and @PehoJukka, you can now view your prizes at rarity-openmic.com.

Thanks! I went to view the prizes, but I got this message when connected with my MetaMask...

Hey, you don't have any bards... Head over to Rarity Extended and summon a few buddy!

I have some bards.

@murderteeth
Copy link
Author

Thanks @PehoJukka, I'll take a look. What's the public address of the wallet you used to connect to the site?

@PehoJukka
Copy link

PehoJukka commented Oct 11, 2021

Thanks @PehoJukka, I'll take a look. What's the public address of the wallet you used to connect to the site?

0xED8E924735F590572361b52657ABd9A3260F35a0

rarity-openmic

@murderteeth
Copy link
Author

0xED8E924735F590572361b52657ABd9A3260F35a0

Thanks, I can reproduce now. Looks like you have a lot of summoners :) ...Unfortunately I think the frontend code needs to handle that better. That error is happening when the app tries to get all the data about your summoners which currently results in a lot of calls getting pooled together for one really big request. Maybe too big! Not sure yet, but thanks for pointing this out. Let you know.

@murderteeth
Copy link
Author

Hey @PehoJukka , fyi l opened an issue for this in the SDK project: murderteeth/rarity-react#1

@murderteeth murderteeth changed the title [Rarity Open Mic] Expansion and UI Bounty Request [Rarity Open Mic] Expansion Request Oct 26, 2021
@murderteeth
Copy link
Author

murderteeth commented Oct 26, 2021

Update - Open Mic V2

鈿狅笍 A vulnerability in the Open Mic V1 contract has been identified and patched. A new contract, V2, has been deployed.
The vulnerability allowed arbitrary prize transfers. No V1 prizes were compromised. All V1 prizes have been re-minted in V2. Use the V2 contract from now on:
https://ftmscan.com/address/0x29d51e8736fcc8c2662aa1b2cf46753d5918606f

All of your prizes are intact!

馃悶 The V1 contract minted two NFTs on a critical 20 role. Unfortunately this caused gas to run out for most of you that should have gotten a secret mission pass. V2 only mints a mission pass on crit roles. DM your V1 transaction to me if you think you're missing a mission pass.

馃幉 The V2 contract features an odds(uint256) function. Pass this function your summoner's ID to get odds on winning the perform adventure (just divide the result by 10e18).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants