C
C#2y ago
Nightmare

❔ hello, can you help me with one problem

how to fix this problem, I'm just learning how to make plugins for terraria in C# and I can't solve it in any way
45 Replies
Nightmare
NightmareOP2y ago
Nightmare
NightmareOP2y ago
"Command" does not contain a definition for "ChatCommands"
anita
anita2y ago
What‘s not clear about the error?
Nightmare
NightmareOP2y ago
yes
anita
anita2y ago
Where does „command“ come from, is it your own class, or a package?
Nightmare
NightmareOP2y ago
I just make this plugin according to the guide, and it doesn't work for me
anita
anita2y ago
Can you share the guide?
Nightmare
NightmareOP2y ago
Creyess
YouTube
TShock Plugin Development Tutorial: Getting Started (#1)
Concepts Introduced: Setting up a plugin, utilizing hooks, and creating a command. More will be introduced in later episodes. Today's episode will be a bit different. In this video, I go over the basics of creating a TShock plugin. Throughout the video we take a look at the following: 00:00 - Brief Intro 01:19 - Installing Visual Studio 01:30 ...
Nightmare
NightmareOP2y ago
this code is at 21:23
anita
anita2y ago
And the video itself? To fix the second error, you have to remove the dot after the new
Nightmare
NightmareOP2y ago
and what to do with it?
Nightmare
NightmareOP2y ago
"ChatCommands"
anita
anita2y ago
.
Nightmare
NightmareOP2y ago
Sorry, I didn't understand what you were talking about
anita
anita2y ago
You need to send the guide.
Nightmare
NightmareOP2y ago
Creyess
YouTube
TShock Plugin Development Tutorial: Getting Started (#1)
Concepts Introduced: Setting up a plugin, utilizing hooks, and creating a command. More will be introduced in later episodes. Today's episode will be a bit different. In this video, I go over the basics of creating a TShock plugin. Throughout the video we take a look at the following: 00:00 - Brief Intro 01:19 - Installing Visual Studio 01:30 ...
Nightmare
NightmareOP2y ago
this is the guide i am learning I'm sorry if I didn't explain it to you clearly
anita
anita2y ago
Well you just need to copy the video It is commands not command There is an s
Nightmare
NightmareOP2y ago
ok, I'll try thanks do you know how to add the definition of "ChatCommands" to "Command"?
anita
anita2y ago
Not sure what you mean
Nightmare
NightmareOP2y ago
here is this error do you know how to solve it or not?
anita
anita2y ago
Yes, you need to use „Commands“ not „Command“ Like in the video
Nightmare
NightmareOP2y ago
Thank you very much
anita
anita2y ago
Does it work now?
Nightmare
NightmareOP2y ago
well, if there are 2 more errors, but you helped me fix that mistake
Nightmare
NightmareOP2y ago
Nightmare
NightmareOP2y ago
Nightmare
NightmareOP2y ago
:\
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Nightmare
NightmareOP2y ago
okey, I just do it according to the guide and what to do with "RandomItem"? ???
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Nightmare
NightmareOP2y ago
1 sek 21:23
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Nightmare
NightmareOP2y ago
:\ and how to fix it?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Nightmare
NightmareOP2y ago
just create a new project?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Nightmare
NightmareOP2y ago
Okay, I'll try, thanks it didn't work :(
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Nightmare
NightmareOP2y ago
I did everything as it says, but it doesn't work :\
Denis
Denis2y ago
Советую переустановить Visual Studio на английский язык. Иначе будет труднее искать причину ошибок. Might I suggest reinstalling your Visual Studio with English as the main language? Otherwise it's going to be difficult looking up errors/asking for help.
Nightmare
NightmareOP2y ago
а окей, спс (Thanks)
Denis
Denis2y ago
Look for visual studio installer And there you should be able to change the language of your installation
Nightmare
NightmareOP2y ago
ok
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.
Want results from more Discord servers?
Add your server