Jump to content

Recommended Posts

Posted (edited)

Plz don't bully me I'm fresh into modding :)

 

I'm trying to complete this trampoline tutorial from the wiki and I've redone it multiple times to try an figure out these errors. Essentially the game does not recognize the block class or the .dll file containing the mod system which you can see in the second screenshot. Honestly its probably something simple but I'm out of ideas as a beginner and I can't move on without these tutorials. 

Error log.png

VSTutorial solutions.png

Edited by thund3rmonk3y1
Posted

Did it actually compile? try adding a dummy modicon.png file (just make a blank image in paint that's 480x480 pixels in size) to your project to clear that error.

Go see if it actually made a .dll file. To get there, you can just right click the solution and go to the bottom of the pop-up menu that appears.

image.png.a7ae3eb4c30b86ba642f4934ba31eb9c.png

Then go to \bin => \Debug => \Mods => \mod and see if the .dll file is there.

Posted (edited)

Alrighty I was able to get most of those errors cleaned up but there is still one more. The .dll file was installed in "mod name"/obj/debug and I moved it into the correct location I think because that error is gone. But do you have any idea whats causing this last one? This is everything I believe is relevant. 

Class error.png

BlockTrampoline.png

trampoline.png

TrampolineModSystem.png

Edited by thund3rmonk3y1
Posted

I've been changing the names around but nothing seems to work. All of it was copy/pasted from the tutorial page so I'm wondering if it's outdated. Maybe someone else can run through it themselves on the mod wiki and see if it works for them. It doesn't take long just to set up the class.

Posted
On 7/30/2025 at 11:27 PM, traugdor said:

sometimes it's the simple things.

It always is, when you know the answer.

Before then, not so much.

Over 90% of my problems with any code I write are stupid syntax errors just like this so I feel ops pain.

Props to you and @xXx_Ape_xXx for all the helpful modding advice around here.

  • Like 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.