❔ 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
Pobiega17mo ago
Not enough context. Where are the docs/source for that library?
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
It's a game SpiderHeck on steam
Pobiega
Pobiega17mo ago
Again, where are the docs and/or source?
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
There's neither
Pobiega
Pobiega17mo ago
Then it doesnt seem like the library authors want anyone to use it.
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
It's not a library It's literally a game's code
Pobiega
Pobiega17mo ago
Still.
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
(stripped + publicised) I'm writing as many docs as I can on it
Pobiega
Pobiega17mo ago
Are you the author of the game?
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
No I do however run a modding community for it In which the author is involced
Pobiega
Pobiega17mo ago
Is modding explicitly allowed?
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
Yes
Pobiega
Pobiega17mo ago
Show the explicit proof.
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
The author is in the modding discord I can send you an invite?
Pobiega
Pobiega17mo ago
No, I need an official message from the author in some form where they say "modding is allowed"
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
Or I can send a ss from the official discord with the modding channel in it
Pobiega
Pobiega17mo ago
The official game discord has a modding channel? Not your modding community?
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
Yes
Pobiega
Pobiega17mo ago
Alright, thats official enough
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
Sorry there was a pfp in there Which I'd rather hide
Pobiega
Pobiega17mo ago
¯\_(ツ)_/¯
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
The author's username is neverjam if you want to message them
Pobiega
Pobiega17mo 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
Ecorous [she/her]
Ecorous [she/her]OP17mo 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
Accord17mo 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.
Ecorous [she/her]
Ecorous [she/her]OP17mo ago
Unity discord isn't much help
Accord
Accord17mo 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.
Want results from more Discord servers?
Add your server