Giter Club home page Giter Club logo

ror2-vstwitch's Issues

Update to RoR2 v1.2.1.0 with Survivors of the Void expansion

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 Oauth token description

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.

Item Roller Duplicates

This is probably an issue that is already well known, but in case it isn't I thought I would make a point of posting this anyways. It's not uncommon for there to be two identical options, and during stream we actually got 3 identical options twice.
20201210171912_1

An option to remove twitch-related ui changes

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

mod doesn't work

Tried installing it today with r2modman and it appears to be broken. No config file is generated

Doesnt Load Channel Point Events

Hey i dont know going but when i launch in the cmd box i get warning for every channel point event that it is unable to load [Warning: Unity Log] Could not register Channel Points event: Ally Beetle
And i cant seem to find how to fix
log

Question

Not an issue but a question, does Item Voting work for Modded Items?

[Tiltify] Support Tiltify rewards as Channel Point rewards

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.

Support for modded creatures and events

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

Issue loading mod

I have uninstalled and re-installed a few times and the mod still isn't connecting and I keep getting the same error. Was wondering if there's something I'm missing? I made sure to fill out all categories as instructed.

image

VsTwitch interaction with ShareSuite

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?

Shipping Request Form Dupe

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

Chests Not Spawning Anything

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?

Channel points not working despite same name.

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

"Percentile" gives broken items

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) :

  • Using the mod alone, offline, with Percentile. When I'm the only one voting, it picks the right item. ๐Ÿ‘
  • Using the mod alone, offline, with Percentile. When I vote with two different Twitch account in the chat, the item is bugged. ๐Ÿ‘Ž
  • Using the mod online on stream, with Percentile. When people votes, the item is bugged. ๐Ÿ‘Ž

The other methods (Max Votes) does work.

You can see it in this clip : https://clips.twitch.tv/CreativeSuspiciousLlamaFailFish-JXIvtFU8UF8Nlblq

2021-08-26 05_02_03-Window

No votes default to first item in list (MaxVoteRandomTie)

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.

DLC : Void cradle spawn lunar items

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!

Tied votes should be picked randomly

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

Channel Points Not Working

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.

SUGGESTION: Add 'Events' as a timed randomizer as option

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.

A Way To Prevent Spamming My Twitch Chat

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.

Multishop Terminal

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.