Step 1
Step 2
Step 3
Step 4
Step 5
Credits
I hoped you enjoyed this tutorial :D
Spoiler (Click to Hide)
For this step you will need to find GuiChat And rename it in another class of your own for this tutorial i used GuiChatSpoof.
Step 2
Spoiler (Click to Hide)
Now you will need to make a new class called CheckKey and make it like..
![[Image: 2012-06-12_1154.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/73fa241a-afee-486c-9594-173f172adfe6/2012-06-12_1154.png)
But now we need to make it actually do something so go into guiingame (or your own custom class) and make some variables.
![[Image: 2012-06-12_1204.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/43dd8ce2-4655-4b7b-baec-efd4bc527a28/2012-06-12_1204.png)
And then make that do something.
![[Image: 2012-06-12_1206.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/466017e7-29e4-4882-bce0-0fe98d324633/2012-06-12_1206.png)
But now we need to make the cheakKey activate something..
Rename GuiChatSpoof to your own class.
![[Image: 2012-06-12_1207.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/05d0c1dc-456c-4a47-94ae-77c6ff74d64d/2012-06-12_1207.png)
![[Image: 2012-06-12_1154.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/73fa241a-afee-486c-9594-173f172adfe6/2012-06-12_1154.png)
But now we need to make it actually do something so go into guiingame (or your own custom class) and make some variables.
![[Image: 2012-06-12_1204.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/43dd8ce2-4655-4b7b-baec-efd4bc527a28/2012-06-12_1204.png)
And then make that do something.
![[Image: 2012-06-12_1206.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/466017e7-29e4-4882-bce0-0fe98d324633/2012-06-12_1206.png)
But now we need to make the cheakKey activate something..
Rename GuiChatSpoof to your own class.
![[Image: 2012-06-12_1207.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/05d0c1dc-456c-4a47-94ae-77c6ff74d64d/2012-06-12_1207.png)
Step 3
Spoiler (Click to Hide)
Now u can go into your copied version of GuiChat (I used GuiChatSpoof) And find:
Under that you can make some fake chat messages. I used:
![[Image: 2012-06-12_1210.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/f568e97a-da95-4fb3-871b-6f1f6d03736d/2012-06-12_1210.png)
Code:
String s = inputField.getText().trim();
![[Image: 2012-06-12_1210.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/f568e97a-da95-4fb3-871b-6f1f6d03736d/2012-06-12_1210.png)
Step 4
Spoiler (Click to Hide)
Then you can make some people send fake chat messages with the checkkey method you have created like these examples i have made.
![[Image: 2012-06-12_1212.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/8bffbf4c-c6b5-47a8-81bb-fe6175ee9bb2/2012-06-12_1212.png)
![[Image: 2012-06-12_1212.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/8bffbf4c-c6b5-47a8-81bb-fe6175ee9bb2/2012-06-12_1212.png)
Step 5
Spoiler (Click to Hide)
Now finally we need to create that instant so locate your self to PlayerControllerSP.java And locate:
![[Image: 2012-06-12_1214.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/e8a08288-20bd-4164-923b-2e0bd4d8fd48/2012-06-12_1214.png)
Then change that to this:
![[Image: 2012-06-12_1215.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/8cc493b4-97fc-4998-a2dc-671c05e14bcd/2012-06-12_1215.png)
![[Image: 2012-06-12_1214.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/e8a08288-20bd-4164-923b-2e0bd4d8fd48/2012-06-12_1214.png)
Then change that to this:
![[Image: 2012-06-12_1215.png]](http://content.screencast.com/users/XRepulse/folders/Jing/media/8cc493b4-97fc-4998-a2dc-671c05e14bcd/2012-06-12_1215.png)
Credits
Spoiler (Click to Hide)
Out of the 1000 checkKey threads i dont know who originally made it..
I hoped you enjoyed this tutorial :D
No comments:
Post a Comment