Although I'm impressed that you're taking on such a big project so quickly, I think you might underestimate just how hard it is, especially if you're planning on making a client for the real game. I have personally tested everything in my tutorial, and I've made sure it works. Depending on what...
Man, 2020 was one shitty year. At least overall. I actually did accomplish a few things, and this forum had more eyes on it than I initially anticipated. I didn't really push myself much last year, and I'd like to do that this year. Maybe you, the person reading this, should consider doing the...
Thanks for your input. I should've added a disclaimer to my tutorial informing people that what they do with the knowledge I give them is their responsibility alone, and that the tutorial is solely for educational purposes only. We don't want any beef. :p
Did you import the classes that you're using?
And I think you might be underestimating the difficulty of your project. :p
Writing a bot from scratch requires pretty deep knowledge not only of the Java programming language, but also of the internals of the JVM itself. Try and familiarize...
You didn't put the code in a method. xD
I'm sorry if this comes across as rude, but are you new to coding? Because if you don't know the basics yet, then I highly doubt you'll be able to finish your project as it's quite advanced. It might be a better idea to make sure you master the language...
Try removing the setAccesible line, and also the getDeclaredConstructor line. Replace it with this and see if it works:
Applet applet = (Applet) clazz.newInstance();
If it doesn't work, please post the entire code of your MadBot class, and I'll have a closer look. :)
Because I'm unfamiliar with the code of the particular client you're using, I can't promise that my advice will be very helpful; I'll try my best though!
So, from looking at the code you posted, your client might actually be less complicated than the one used in the tutorial. You might not...
Indeed. It'll be the first time ever where a non-human entity on Earth has superior cognitive abilities. I don't think people will hand over the control to AI willingly, that's for sure. But do we have a choice in the matter, that's an interesting question. :p
That's weird, everything looks correct. Are the other transformer classes in your project experiencing the same errors? Try restarting your IDE and/or your computer. If the problem still persists, try removing and then re-adding the asm jar back again.
Did you try the full path as well?
This is really really strange, I honestly have no idea why it's not finding the class. It definitely won't help to Xboot, I can guarantee you that. This might be a bit drastic, but maybe try a different IDE? This is so weird.
Oh, okay. Interesting. Thanks a lot for reading my tutorial!
Man, that is so strange. Have you tried creating a new interface class altogether, and referencing that class instead? Create it in the same package as the class transformer that's using it. See if that works.
Okay, so we definitely know that the error is caused by some sort of issue with finding the class, most likely due to the path. Here's what I recommend you to try:
Remove one part of the entire path and see if it starts working eventually. So, since you've already tried the entire path, try...