#1 Setting Up | How To Make A Minecraft Injection Client In C++ With JNI

  Рет қаралды 23,950

Sunset Client

Sunset Client

Жыл бұрын

discord.gg/sunsetclient
sunset.rip
Visual Studio IDE: visualstudio.microsoft.com
Oracle JDK: www.oracle.com/uk/java/techno...
please don’t paste, make sure you know c++ enough to understand what is happening before doing this.

Пікірлер: 87
@betapacket
@betapacket 11 ай бұрын
NOTE: If your DLL is not running, try adding "#define WIN32_LEAN_AND_MEAN" to the top of your code, add this in your init function (so you can see if it is actually executing your code): " AllocConsole(); FILE* f; freopen_s(&f, "CONOUT$", "w", stdout); printf_s("Hello, world!");" That just creates a console, sets the console's output file to std out, and prints hello world (requires windows.h being imported/included).
@SunsetClient
@SunsetClient 11 ай бұрын
thank you for helping people out!
@betapacket
@betapacket 11 ай бұрын
@@SunsetClient at first before I added it it wasn't opening a console, but after it worked.
@IslemNour
@IslemNour 10 ай бұрын
how is that shit even work bro i cant understand a thing @@betapacket
@betapacket
@betapacket 10 ай бұрын
@@IslemNour I don't really know too.
@zcharo99
@zcharo99 2 ай бұрын
@@betapacket ☠
@Flux_Kin_TV
@Flux_Kin_TV Жыл бұрын
素晴らしい動画!
@atomisadev
@atomisadev 11 ай бұрын
thank you for this tutorial, I have experience in MCP and wanted to learn this as well.
@SunsetClient
@SunsetClient 10 ай бұрын
very nice! Good luck
@ChildClosetCheatin
@ChildClosetCheatin 6 ай бұрын
​@@SunsetClientyo can u slide ur discord I have a offer
@LinkThatC
@LinkThatC 11 ай бұрын
even if i am not able to do it now, it's cool for me to know how to creare a mc client. Thx for ur effort
@SunsetClient
@SunsetClient 11 ай бұрын
thank you for the appreciation 🙏 good luck
@LinkThatC
@LinkThatC 11 ай бұрын
@@SunsetClient thx man , keep Ur good work :D. I Wish u success
@SunsetClient
@SunsetClient 11 ай бұрын
@@LinkThatC thank you man, you too
@randomstuff6126
@randomstuff6126 10 ай бұрын
ty sunset client
@SunsetClient
@SunsetClient 10 ай бұрын
you’re welcome mate
@user-tn6ek5ho2c
@user-tn6ek5ho2c 10 ай бұрын
If Your project doesn't build and it shows unresolved external in errors then make sure You are in release x64 and not x86, then after switching You need to set all properties again.
@aow6813
@aow6813 Жыл бұрын
Good vid !!
@SunsetClient
@SunsetClient Жыл бұрын
thank you! im going to post more tutorials soon
@mehzedi
@mehzedi Жыл бұрын
The continuation of the series to come!
@SunsetClient
@SunsetClient Жыл бұрын
yes!
@gameplayoffert1326
@gameplayoffert1326 Жыл бұрын
I have a question ? Where did you get the names like "Lbew", "Lbdb" etc ? Did you get them from reverse engineering or something ?
@SunsetClient
@SunsetClient Жыл бұрын
mcp mappings viewer tells you them, they’re classes
@Herossandro
@Herossandro 10 ай бұрын
Very good tutorial, thank you for that! Where can I learn more?
@SunsetClient
@SunsetClient 10 ай бұрын
best thing to do is learn on your own, just do stuff that seems fun, I will be posting more in the future though
@Herossandro
@Herossandro 10 ай бұрын
@@SunsetClient I Hope you'll do a tutorial for ESP
@SunsetClient
@SunsetClient 10 ай бұрын
@@Herossandro its not hard, w2s the positions and draw
@Herossandro
@Herossandro 10 ай бұрын
@@SunsetClient Ty for your reply. The problem is not the math but how to draw. I tried using OpenGL to create an overlay window transparent, I also tried to hook into lwjgl to draw directly in Minecraft but I can't find something that works (every time I try to activate that part of the hack the entire game crashes)
@SunsetClient
@SunsetClient 10 ай бұрын
@@Herossandro hook swapbuffers, then you can use something like imgui or opengl to render
@kimmywiththestimmy
@kimmywiththestimmy 3 ай бұрын
w guy
@thoughted6069
@thoughted6069 3 ай бұрын
Can you do a minecraft external client?
@xquiqdrop_
@xquiqdrop_ 6 ай бұрын
Will the code, be different if i make one for bedrock edition? Or would it be the same? Or only the mapping will change?
@sillybillyskibidi
@sillybillyskibidi 5 ай бұрын
bedrock is written in c++, not java. completely diffrent
@iReqenYT
@iReqenYT Жыл бұрын
what if you wanted to debug? like edit values and re-inject kinda without restarting 15295 times?
@SunsetClient
@SunsetClient Жыл бұрын
you can add a gui, or add a console so you can type in values, or destruct the thread
@iReqenYT
@iReqenYT Жыл бұрын
@@SunsetClient will you make a tutorial for that?
@SunsetClient
@SunsetClient Жыл бұрын
that will be something I’ll cover, probably once we add a gui so we can press a button and it’ll unhook
@broom7294
@broom7294 5 ай бұрын
yo whats the theme
@FURYWOLF
@FURYWOLF Жыл бұрын
++rep
@stop-sx2ku
@stop-sx2ku 4 ай бұрын
How would I do this on mac? I have VS Code but I cant install Visual Studio because its only for windows :(
@Herobrine37440
@Herobrine37440 3 ай бұрын
use a online IDE like replit. i guess
@Tea616
@Tea616 11 ай бұрын
Hey, whats your visual studio theme?
@SunsetClient
@SunsetClient 11 ай бұрын
dark zero
@Tea616
@Tea616 11 ай бұрын
ty
@DeveloperLuka
@DeveloperLuka Жыл бұрын
20:44 you do not hook jni, also the code should have a ton of memory leaks because you delete no objects
@SunsetClient
@SunsetClient Жыл бұрын
sorry for not covering that topic in this video, will do it in the next hopefully i can turn around your opinion in the next videos
@sanduchicu7545
@sanduchicu7545 11 ай бұрын
the objects get deleted automatically because they are stored on the stack, there's no pointers. not sure what you expected to be deleted ngl.
@DeveloperLuka
@DeveloperLuka 11 ай бұрын
@@sanduchicu7545 It's different with jni, for example if you get an Object with getObjectField or whatever it was called, you have to use DeleteLocalRef or whatever it was called to delete the jobject
@matteospo6426
@matteospo6426 11 ай бұрын
when i inject my game crush...
@SunsetClient
@SunsetClient 10 ай бұрын
check your code for errors
@ouew3872
@ouew3872 2 ай бұрын
did you solve your problem?
@ghsllgzmdncbd3
@ghsllgzmdncbd3 11 ай бұрын
Hello my minecraft crash when I attach the dll with processhacker do you know why it does this? If you do can you help me please.
@SunsetClient
@SunsetClient 11 ай бұрын
check version and mappings, see if you have anything wrong
@ghsllgzmdncbd3
@ghsllgzmdncbd3 11 ай бұрын
@@SunsetClient Yeah I followed lunar client tutorial and it's working thank you I'm starting in cpp
@paxxous
@paxxous 10 ай бұрын
Where th did you learn this
@SunsetClient
@SunsetClient 10 ай бұрын
self taught with books (for c++) the rest (as in knowing about jni) is just self learnt with some docs
@paxxous
@paxxous 10 ай бұрын
@@SunsetClient Everyone knows ab programming. Which docs.
@SunsetClient
@SunsetClient 10 ай бұрын
@@paxxous the java native interface (jni) documentation: docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/jniTOC.html
@paxxous
@paxxous 10 ай бұрын
@@SunsetClient okay :)
@SunsetClient
@SunsetClient 10 ай бұрын
@@paxxous good luck man
@starboyjas
@starboyjas 7 ай бұрын
help, no errors or warnings but when i inject DLL mc crashes
@filled9971
@filled9971 7 ай бұрын
Attach a debugger to mc
@wouf_
@wouf_ Жыл бұрын
And also there is not footage of your client so why ppl would buy it I recommand you to make a vid about your cheat before
@SunsetClient
@SunsetClient Жыл бұрын
yeah I’m editing a video on it now
@wouf_
@wouf_ Жыл бұрын
@@SunsetClient Good idea, btw I can help with the editing for free if you want ;)
@SunsetClient
@SunsetClient Жыл бұрын
@@wouf_ noahsx#8794, i just edited the video but we are looking to release a lot of videos so hit me up would be amazing
@ilovedonuts69420
@ilovedonuts69420 Жыл бұрын
If you're going to learn game hacking minecraft is not a good game to start with
@SunsetClient
@SunsetClient Жыл бұрын
yeah, its not ideal, but if done correctly then its possible and very rewarding
@echo_z39
@echo_z39 3 ай бұрын
im 90% sure people here arent trying to learn ‘game hacking’ to begin with… they just want to cheat on a specific game that they specifically like to play….
@KaPlaysThis
@KaPlaysThis 3 ай бұрын
roblox was more easy to exploit on (LuaU are easier to understand)
@adricheal
@adricheal 7 ай бұрын
When I inject the dll file into the game, my game closes. What is the reason? 18:15
@thegreatpleco3920
@thegreatpleco3920 6 ай бұрын
either mod or client has anti cheat
@LittleTimmy_IPS.
@LittleTimmy_IPS. 10 ай бұрын
17:23
@SunsetClient
@SunsetClient 10 ай бұрын
what about it
@LittleTimmy_IPS.
@LittleTimmy_IPS. 10 ай бұрын
i just have 2 errors, im looking for a fix. They both have the solutions already put in, but dont work. The one is "blah blah is already defined in cheat.obj, second definition ignored." the other is "1 unresolved externals." The last one is Error LNK2001 unresolved external symbol __imp__JNI_GetCreatedJavaVMs@12" @@SunsetClient
@urisinger3412
@urisinger3412 7 ай бұрын
wouldnt this cause a race condition?
@pddd111
@pddd111 Жыл бұрын
LNK2001 __imp__JNI_GetCreatedJavaVMs@12 how to fix it?
@SunsetClient
@SunsetClient Жыл бұрын
add jvm.lib to linker
@pddd111
@pddd111 Жыл бұрын
@@SunsetClient i am getting the same error again
@SunsetClient
@SunsetClient Жыл бұрын
@@pddd111 are you sure everythins included properly
@venndev154
@venndev154 Жыл бұрын
i get error " "class cheat ct" (?ct@@3Vcheat@@A) already defined in Cheat.obj" how to fix it ?
@SunsetClient
@SunsetClient Жыл бұрын
add /FORCE:MULTIPLE in command line options in linker
@CytruSek7331
@CytruSek7331 8 ай бұрын
Do you have any idea why I still have this error despite disabling headers for all platforms and types (release and build)? "unexpected end of file while looking for precompiled header. Did you forget to add '#include "pch.h"' to your source?" Other bug: unresolved external symbol "void __cdecl runModules(void)" (?runModules@@YAXXZ)
@xdxdxdxdxdxdxdxdxa
@xdxdxdxdxdxdxdxdxa 20 күн бұрын
I made it for 1.20.6 :)
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
Лучшие моменты в Истории Minecraft
14:37
dren
Рет қаралды 1,2 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 13 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 561 М.
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,2 МЛН
How to code a Minecraft 1.8.9 Hacked Client Pt 3
40:46
ExecutableContent
Рет қаралды 2,5 М.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 892 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 761 М.
You Should Learn C++ (for hacking games)
6:11
cazz
Рет қаралды 451 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 402 М.
Should you learn C++?? | Prime Reacts
20:29
ThePrimeTime
Рет қаралды 316 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2 МЛН