C
C#2y ago
dawn (she)

❔ CS0103: The name 'HudController' does not exist in the current context

I am using the package SpiderHeck.GameLibs 1.25.0-r.4 from https://nuget.modweaver.org. My IDE (Rider) can resolve the reference just fine. I do own the NuGet & the package, so I can make modifications if required
28 Replies
Pobiega
Pobiega2y ago
Not enough context. Where are the docs/source for that library?
dawn (she)
dawn (she)OP2y ago
It's a game SpiderHeck on steam
Pobiega
Pobiega2y ago
Again, where are the docs and/or source?
dawn (she)
dawn (she)OP2y ago
There's neither
Pobiega
Pobiega2y ago
Then it doesnt seem like the library authors want anyone to use it.
dawn (she)
dawn (she)OP2y ago
It's not a library It's literally a game's code
Pobiega
Pobiega2y ago
Still.
dawn (she)
dawn (she)OP2y ago
(stripped + publicised) I'm writing as many docs as I can on it
Pobiega
Pobiega2y ago
Are you the author of the game?
dawn (she)
dawn (she)OP2y ago
No I do however run a modding community for it In which the author is involced
Pobiega
Pobiega2y ago
Is modding explicitly allowed?
dawn (she)
dawn (she)OP2y ago
Yes
Pobiega
Pobiega2y ago
Show the explicit proof.
dawn (she)
dawn (she)OP2y ago
The author is in the modding discord I can send you an invite?
Pobiega
Pobiega2y ago
No, I need an official message from the author in some form where they say "modding is allowed"
dawn (she)
dawn (she)OP2y ago
Or I can send a ss from the official discord with the modding channel in it
Pobiega
Pobiega2y ago
The official game discord has a modding channel? Not your modding community?
dawn (she)
dawn (she)OP2y ago
Yes
Pobiega
Pobiega2y ago
Alright, thats official enough
dawn (she)
dawn (she)OP2y ago
Sorry there was a pfp in there Which I'd rather hide
Pobiega
Pobiega2y ago
¯\_(ツ)_/¯
dawn (she)
dawn (she)OP2y ago
The author's username is neverjam if you want to message them
Pobiega
Pobiega2y ago
I don't. So, can you show some code? That is indeed the full game library code, without any namespaces or anything. Fun. You'll likely want to use Harmony for any modding, since its a unity project I recommend $unity and/or whatever place harmony developers hang out
dawn (she)
dawn (she)OP2y ago
Yeah, I just want to call a method Which is HudController.instance.EnableModsButton() It only seems to error when building for net35, doesn't for netstandard2.0 or 2.1
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
dawn (she)
dawn (she)OP2y ago
Unity discord isn't much help
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?