justderb / ror2-vstwitch Goto Github PK
View Code? Open in Web Editor NEWRisk of Rain 2 Mod - Fight Twitch Chat.
Home Page: https://thunderstore.io/package/JustDerb/Vs_Twitch/
Risk of Rain 2 Mod - Fight Twitch Chat.
Home Page: https://thunderstore.io/package/JustDerb/Vs_Twitch/
With new RoR2 patch and expansion installed the VsTwitch mod fails to load. Console shows an error relating to assembly RoR2.Networking.GameNetworkManager, which may be related to R2API being out of date as well.
[Error : Unity Log] TypeLoadException: Could not resolve type with token 010000d6 (from typeref, class/assembly RoR2.Networking.GameNetworkManager, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
Stack trace:
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
RoR2.StreamingAssetsTextDataManager:.ctor()
RoR2.PlatformSystems:Init()```
Update it to point to the REAME.md for a clickable URL. People are trying to hand type the non-clickable URL and it's causing bad config set ups.
Some broadcasters do not have affiliate so they cannot use Bit Events; allow broadcasters to enable them via Channel Points.
IL injection is needed in ArenaMissionController::EndRound()
Each stage of Mithrix kills monsters on the map. That shouldn't happen to bit events.
When opening a multi-shop, nothing happened.
https://www.twitch.tv/videos/880346139?t=05h22m00s
Streamer was using xSpc4OC9Uo
This makes it so no items drop at all. It should just trigger an item vote.
As it says in the title, I want to have an option to remove changing text like Mithrix dialogue or survivor ending words. There's no info on how to remove it, so I assume said feature does not exist
Found this a few days ago after updating. Meant to let you know but forgot.
Here it happened with orange items:
Then here is where it happened with a white drop and didn't with a green drop. Not sure if that's a good clue or not:
These two were with Percentile, but it also happened with MaxVoteRandomTie.
Thanks and I love your mod!
Tried installing it today with r2modman and it appears to be broken. No config file is generated
Any time an equipment drops with Artifact of Command, the hit the ground code makes it transform into the essence and not the item Twitch chose.
The EventsDirector
seems to be working, but when opening chests there is no notification or message to Twitch. It might be that the Twitch integration failed from being open too long???
Not an issue but a question, does Item Voting work for Modded Items?
(Request via https://www.twitch.tv/sionelle)
https://info.tiltify.com/support/solutions/articles/43000011849-adding-incentives-rewards
["20","20","campaign.168110.reward","phx_join",{}]
["20","20","campaign.168110.reward","phx_reply",{"response":{},"status":"ok"}]
[null,null,"campaign.168110.donation","donation",{"amount":10.0,"challenge_id":null,"comment":"idk where to tell you but start next run with cherf","completedAt":1651273334000,"event_id":168110,"id":5871236,"name":"abadvideogamr","poll_option_id":null,"read_at":null,"reward_id":146009,"updatedAt":1651273334000}]
Looks like reward_id
is the key here. But we'll need a way to easy grab that ID from the Tiltify UI.
Hey, at the day of writing this I downloaded this mod to play with around 30-50 viewers, and it was one of the most intense streams I've ever experienced. We used about 80 mods or so, and I was wondering if you could make support for custom mobs such as Ancient and Archaic Wisps, Regigigas, Direseeker, Nemesis Enforcer, Nemesis Commando and Starstorm's Storm event.
I think giving the viewers a heckload of options to choose from, could keep up the stream's fast pace.
Also where can I buy you a coffee? haha
A simple question. I want to use VsTwitch on stream with friends, while also using ShareSuite (so we're not arguing about drop distribution). Before I get them together and set up a stream just to test, I thought I would ask here and possibly save the trouble. What sort of interactions can I expect from a combo of these two mods?
When interacting with Shipping Request Form shops on the map it will trigger the vote event but it still drops the item too. So you effectively get 2 items from these shops currently. The one that drops normally, and the one chat then votes on after the timer expires.
Edit: Link to video clip showing that it gives 2 items. https://www.xbox.com/play/media/2VPMSPA9
Everything except the multistops are taking the money but then not dropping anything and not giving a choice to twitch, is there something that is messed up on my end?
It's the last stage.... And there is no teleporter.
Mod is connected to the channel.
Chat commands like "!roll" work and so does the Item Voting.
didnt had the opportunity to test bits yet. dont want to waste ppls money until i know everything works.
the log doesnt tell me anything either when using channel point rewards.
and yes. they are the same name. copy pasted and double checked
Hello,
When using the mod, the "Percentile" strategy doesn't work if there is more than one vote. The game gives a "Item AACANNON_NAME" item that does nothing and seems broken.
What I tried (with VsTwitch as my only active mod) :
The other methods (Max Votes) does work.
You can see it in this clip : https://clips.twitch.tv/CreativeSuspiciousLlamaFailFish-JXIvtFU8UF8Nlblq
Currently, the mod bypasses Lunar Pods; I've see streams where they wished it rolled for Twitch chat. Let's enable it and get that working (and default a new config option to true
for it)
This needs to support items and equipment pods!
When testing the mod to see if it worked properly, I noticed that if there was no vote for a chest item, it would default the dropped item to be the first one in list.
Pretty niche bug, but still worth mentioning in my opinion.
On maps that are easy to fall off of, Mithrix can die by simply falling off the edge.
Attach a custom component to the monsters and hook into the void field logic to not kill them.
I'm also not sure if this is intended or not, but when opening scavenger bags, chat picks all 10 items that drop, which slows down the stream significantly
Originally posted by @MICAHANIMATRIX in #1 (comment)
If ShareSuit is installed, use the mod for distributing items and whatnot.
https://thunderstore.io/package/FunkFrog-and-Sipondo/ShareSuite/
I'm a huge fan of your work, and was patiently waiting for the dlc update!
I've been streaming it this week and noticed that void cradles (chest that supposed to give you corrupted items) gives the opportunity to void for one or two void items as well as lunar items!
Thank you so much again for your mod!
Line 37 in 1fe9524
This makes it hard when quiting the game/run.
When a vote is tied, the system picks the first vote which is a bit less fun. Although this won't usually happen with larger streamers, it happens often with smaller creators.
My understanding is that the vote resolution happens in RoR2-VsTwitch/ItemRoller/VoteStrategy/MaxVoteStrategy.cs in this bit :
winner = default;
int highestVote = -1;
foreach (var tally in totalVotes)
{
if (tally.Value > highestVote)
{
winner = tally.Key;
highestVote = tally.Value;
}
}
return winner;
Instead of this a list should be created to store all the tied votes then a random element of this list picked. I found a solution to this for the previous version of this mod
public int Apply(List options)
{
Debug.Log("start apply strategy");
var votedValue = 0;
List voted = new List() { options.ElementAt(0) };
foreach (var item in voteCounter)
{
if (item.Value > votedValue)
{
votedValue = item.Value;
voted.Clear();
}
else
{
voted.Add(item.Key);
}
}
//Debug.Log("votedKey: " + votedKey);
var votedKey = voted.ElementAt(UnityEngine.Random.Range(0, voted.Count()));
return options.IndexOf(votedKey);
}
But this version seem a bit different, i don't know if it would work right away
This only seems to happen on Stage 1??
This is a host-only mod. This mod shouldn't attach and run when a client is connecting and has it installed.
I've been messing with this mod for the past day or 2, and I cannot get any of the Channel Points features to work. It seems like it's connected properly to my twitch, and it detects when I redeem a channel point reward, but then nothing happens in game. The console says "[Warning: Unity Log] Could not trigger event for Channel Points Redemption: AllyBeetle" If I use the !allychip command it summons a beetle just fine, but not through channel points. This might be some major user error but I just cannot seem to get this to work right. This is the only mod I have installed at the moment, and I tried to reinstall the game last night to no avail.
[Warning: Unity Log] Could not trigger event for Channel Points Redemption: AllyBeetle
everything else works with the exception of channel points
Issue tracking the greater work towards integrating this mod with a Twitch Extension.
This mod is great, but it's a pity that the fun part of this mod is locked behind having to be a Twitch Affiliate/Partner, which already requires a bit of status on Twitch.
I'd love to suggest that this mod comes with an alternative, that instead of paying bits/channel points, Each 5 minutes in a game Twitch Chat can vote for a random event. In the config, you can then attune how much 'weight' each event has to determine how often it may appear.
Loving this mod! Tried it out on my channel today. It makes the game like 100% more fun for the streamers and the viewers! So cool!
If I could make one suggestion, a way to disable it printing things like item voting and item voting results to chat would be nice. I don't want to miss actual viewers talking to me. We can all see what's happening on screen anyway.
It currently just bugs out the roll manager. It should just drop the Lunar Coins like normal.
Either don't choose the event, or make it wait until the next stage.
They scale per player; which can get super out of hand when the Mountain Shrine scales exponentially. Make it only do a single event per invocation.
I was wondering if under the behavior for the rivals stuff if it really makes sense with multishop terminals? Perhaps have it a toggle where it randomizes like a normal chest, or if it can turn off similarly to how you have it for the lunar buds?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.