pixeldesu / cloudburst Goto Github PK
View Code? Open in Web Editor NEWMods for Risk of Rain 2
License: MIT License
Mods for Risk of Rain 2
License: MIT License
Examples include:
These probably just need to be handled properly in PingTextBuilder
.
This stems from the fact that we usually don't know the content of a PurchaseInteraction
and thus use the CostType
instead of an item to get the tier from. For the item exchanges the tier is always lower than the actual item returned, so the red/green wells are white/green instead.
Most of the pinged shrines have some cost value, but it's not displayed in the ping text.
I guess to quickly make a choice between picking something up or leaving it, having a item tier highlighted with the color of the ping (instead of default yellow) would be quite useful.
This is already pretty much planned and I already did that once, I just need to reimplement it, now that I split up the code better.
The plugin fails to start on systems where the decimal point is not "." when parsing a color, some countries use a different decimal point separator and it's making the plugin crash.
The exception I get when starting the game:
[Error : Unity Log] FormatException: Input string was not in a correct format.
Stack trace:
System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options,
System.Globalization.NumberFormatInfo numfmt) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Glob
alization.NumberFormatInfo info) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
System.Single.Parse (System.String s) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
System.Array.ConvertAll[TInput,TOutput] (TInput[] array, System.Converter`2[TInput,TOutput
] converter) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
Pingprovements.Extensions.ToColor (System.String colorString) (at <2c90838e5b43455a9dddee7
f0b2d3518>:0)
Pingprovements.PingerController..ctor (Pingprovements.Pingprovements plugin) (at <2c90838e
5b43455a9dddee7f0b2d3518>:0)
Pingprovements.Pingprovements.Awake () (at <2c90838e5b43455a9dddee7f0b2d3518>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
RoR2.SkinDef:Awake()
At the moment there is no way to tell what hotkeys are available in terms of sending messages, so having some ingame UI for this would be preferable.
I imagine two cases that would be fine.
I'am sorry, can this be fixed? I don’t know much about this, but I would really like to play with this mod.
I have already seen a similar problem with non-English languages, in a issues, but i really don't know how ti fix it
Here is the error in the console:
[Info : BepInEx] Loading [Pingprovements 1.5.1]
[Error : Unity Log] FormatException: Input string was not in a correct format.
Stack trace:
System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
System.Single.Parse (System.String s) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
System.Array.ConvertAll[TInput,TOutput] (TInput[] array, System.Converter`2[TInput,TOutput] converter) (at <2fa7a6a452ca43df998f07fd1486c0df>:0)
Pingprovements.Extensions.ToColor (System.String colorString) (at <2c90838e5b43455a9dddee7f0b2d3518>:0)
Pingprovements.PingerController..ctor (Pingprovements.Pingprovements plugin) (at <2c90838e5b43455a9dddee7f0b2d3518>:0)
Pingprovements.Pingprovements.Awake () (at <2c90838e5b43455a9dddee7f0b2d3518>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
RoR2.SkinDef:Awake()
To reduce visual clutter of pings a bit, aside of already removing the text from offscreen pings, it'd be an additional improvement to slightly fade out pings up to a certain threshold the further they are away from the screen center.
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.