I decompiled the server.jar and when running it in debug mode I found what was wrong with my "Encryption Response" packet... the key lenght was wrong. I added an Array.Reverse and BAM it works!
Six months of hard work finally rewarded with an app that works again...
Just need to re-do packet processing and the client will be back and fully working. Yay!
I decompiled the server.jar and when running it in debug mode I found what was wrong with my "Encryption Response" packet... the key lenght was wrong. I added an Array.Reverse and BAM it works!
Six months of hard work finally rewarded with an app that works again...
Just need to re-do packet processing and the client will be back and fully working. Yay!
Packet handling for this new version is harder than expected ...
There is a big lag on joining the server and lots of messages are still skipped...
But here we are, MCC v1.4 is out !
This ain't gonna steal my username and password is it? I ask, after I already used it without thinking. . .
Well lets see, if the program did steal passwords, why would the source code be provided. I assure you that this program will not steal your details, as I have been using this app near from the start, if you account does get hacked, it's really just a game, and if you must, use me as a punching bag and punch away (That was a joke, please don't), or a better idea, keep having fun and remember, mojang made minecraft just for you :L
Well lets see, if the program did steal passwords, why would the source code be provided. I assure you that this program will not steal your details, as I have been using this app near from the start, if you account does get hacked, it's really just a game, and if you must, use me as a punching bag and punch away (That was a joke, please don't), or a better idea, keep having fun and remember, mojang made minecraft just for you :L
I wasn't terribly concerned.
Anyways, when I used this, It wouldn't show anything that other people typed, I had to have the server's dynmap up to see what they were saying. Also it randomly disconnected me after a few minutes, it didn't say so in the console window, but on the dynmap it said that i had disconnected.
Yes, I apologize for that, 1.4.7 support is still work in progress and I'm planning another release which will have a better packet processing (currently lots of legitimate messages are not properly processed and not displayed). This early release was a proof that yes, online-mode encryption is finally implemented
New release, packet handling is now fully implemented, all chat messages should be properly displayed !
there is still an issue to solve: the lag on joining the server is very long, it's hard to skip the initial packets (chunks...) and sometimes it takes so long that the server closes the connection before it ends (read timed out) ... but other than that, once past this step, everything should work fine
Please help me, I created run.bat file to run MinecraftClient.exe on Bukkit server
in my file
MinecraftClient.exe rize147 "-" xxx.xxx.xxx.xxx
is it correct?
but i found problem "Minecraft Console Client has stopped working"
how to fix it?
Capture on console running.
Do you have a firewall being used that is blocking your client?
Is the server specially modded?
Can you reach the server, but the server isn't responding?
I believe it's the firewall as there is an error in java.security.*
Ok so the server has sent a public key, and the client crashed while processing it.
Why ? Don't know, that's strange. Maybe the key was corrupted, I can't reproduce your issue.
But as you are trying to connect to an Offline-Mode server, processing the key is not necessary as encryption can be bypassed. So I changed the handshake processing to process the raw key only if necessary (3 lines of code to change )
I re-uploaded 1.4.1 archive, try re-dowloading it and please tell me if the issue is still there
@rize147 Yeah! Glad to hear that it works! I am working on reducing the lag when joining the server.
@maski good idea, I might add this as a bot which re-join on certain kick messages but I need to improve the Bot API to do so, as passing kick messages to bots and re-join is not implemented at all yet
OK so the lag when joining was caused by some packets being improperly handled. I spent hours comparing the hexadecimal dump of data sent by the server along with the protocol specs and the behavior of my packet processor, and finally found&fixed all the bugs! Now the console is working flawlessly and fluently. No dirty workarounds like in 1.2.5 but full protocol implementation. I'm happy
Example of RAW dump made when debugging the app (see MinecraftCom.Dump) :
----------- RAW DUMP -----------
06-00-00-00-EC-00-00-00-40-00-00-00-FC-CA-00-0C-19-10-00-00-04-00-00-00-00-00-36-EB-2D-00-00-00-00-00-36-EB-2D-03-00-19-00-A7-00-65-00-54-00-68-00-6F-00-6E-00-69-00-6F-00-20-00-6A-00-6F-00-69-00-6E-00-65-00-64-00-20-00-74-00-68-00-65-00-20-00-67-00-61-00-6D-00-65-00-2E-C9-00-06-00-54-00-68-00-6F-00-6E-00-69-00-6F-01-03-E8-C9-00-06-00-54-00-68-00-6F-00-6E-00-69-00-6F-01-00-00-0D-40-6C-44-45-A2-44-89-DA-40-52-A7-AE-14-80-00-00-40-52-40-00-00-00-00-00-40-6F-50-4A-1A-51-80-00-C3-A0-93-33-C0-2C-CC-D0-00-04-00-00-00-00-00-36-EB-2D-00-00-00-00-00-36-EB-2D-68-00-00-2D-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-67-FF-FF-FF-FF-FF-67-00-00-00-FF-FF-38-00-05-00-00-2B-B2-01-78-9C-ED-9D-CB-8E-E3-48-96-A6-69-B2-6C-08-51-11-74-52-02-72-ED-81-78-8A-7C-05-7F-80-7E-9F-5E-CF-62-F6-83-1E-CC-BE-0B-8D-41-AD-2B-AA-06-B1-0F-F7-84-3F-80-4B-19-EB-46-8B-F2-17-48-71-EC-6E-76-8E-19-CD-48-89-BA-78-F8-F9-2A
----------- SPLITTING PACKETS USING WIKI.VG PROTOCOL SPECS -----------
SPAWN POSITION 236 64 252
06 00-00-00-EC 00-00-00-40 00-00-00-FC
PLAYER ABILITIES
CA 00-0C-19
HELD ITEM CHANGE
10 00-00
TIME UPDATE 3548639 3548639
04 00-00-00-00-00-36-25-DF 00-00-00-00-00-36-25-DF
CHAT MESSAGE §eORelio joined the game.
03 00-19 A7-65-4F-52-65-6C-69-6F-20-6A-6F-69-6E-65-64-20-74-68-65-20-67-61-6D-65-2E
PLAYER LIST ITEM ORelio True 1000
C9 00-06 4F-52-65-6C-69-6F 01 03-E8
PLAYER LIST ITEM ORelio True 0
C9 00-06 4F-52-65-6C-69-6F 01 00-00
PLAYER POSITION & LOOK
0D 40-6C-44-45-A2-44-89-DA 40-52-A7-AE-14-80-00-00 40-52-40-00-00-00-00-00 40-6F-50-4A-1A-51-80-00 C3-A0-93-33 C0-2C-CC-D0 00
TIME UPDATE
04 00-00-00-00-00-36-D9-5B 00-00-00-00-00-36-D9-5B
SET WINDOW ITEMS (INVENTORY, 45 * EMPTY)
68 00 00-2D FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF
SET SLOT
67 FF FF-FF FF-FF
SET SLOT
67 00 00-00 FF-FF
MAP CHUNK BULK (5 CHUNKS, LENGHT = 11186)
38 00-05 00-00-2B-B2 01 78-9C-ED-9D-CB-8E-E3-48-96-A6-69-B2-6C-08-51-11-74-52-02-72-ED-81-78-8A-7C-05-7F-80-7E-9F-5E-CF-62-F6-83-1E-CC-BE-0B-8D-41-AD-2B-AA-06-B1-0F-F7-84-3F-80-4B-19-EB-46-8B-F2-17-48-71-EC-6E-76-8E-19-CD-48-89-BA-78-F8-F9-2A [...]
... So! 1.4.2 is now out and fully working, great! Now I'll be able to add new features such as the requested autorejoin bot
1.4.3 is out and includes the requested AutoRelog bot
Here is the full changelog :
> Code cleaned, optimized and modified to allow restarting the client without leaving the console
> Improved Bot API : Bots can receive kick messages
> Improved Bot API : Bots can restart the client & reconnect to the server
> New bot : AutoRelog, allows to automatically reconnect on some kick messages
> New command : /reco, allows to disconnect and reconnect manually at any moment
Thanks for appreciating this app
Here is a new release, v1.4.4.
Changelog:
> It is possible to set the number of reconnection attempts besides the delay for the AutoRelog bot
> The new syntax of the argument is: bot:autorelog:delay:retries (example: bot:autorelog:10:5)
> If the number of retries is set to -1, the bot will indefinitely try to reconnect
> Fixed bugs in the input-output system (ConsoleIO)
> New bot: xauth (suggested by maski). Wait 6 seconds after login and send "/login password". Usage: bot:xauth:mypassword
> MCC is 1.5 ready and backward compatible with version 1.4.7 of Minecraft.
> Automatically detects which version to use by pinging the server before connecting.
> Fixed a bug: "Connection has been lost" message no longer appears when a kick occurs.
I decompiled the server.jar and when running it in debug mode I found what was wrong with my "Encryption Response" packet... the key lenght was wrong. I added an Array.Reverse and BAM it works!
Six months of hard work finally rewarded with an app that works again...
Just need to re-do packet processing and the client will be back and fully working. Yay!
It should take no more than one day or two.
YEAH! I'd hug you. Not really but great job!
There is a big lag on joining the server and lots of messages are still skipped...
But here we are, MCC v1.4 is out !
I ask, after I already used it without thinking. . .
Well lets see, if the program did steal passwords, why would the source code be provided. I assure you that this program will not steal your details, as I have been using this app near from the start, if you account does get hacked, it's really just a game, and if you must, use me as a punching bag and punch away (That was a joke, please don't), or a better idea, keep having fun and remember, mojang made minecraft just for you :L
I wasn't terribly concerned.
Anyways, when I used this, It wouldn't show anything that other people typed, I had to have the server's dynmap up to see what they were saying. Also it randomly disconnected me after a few minutes, it didn't say so in the console window, but on the dynmap it said that i had disconnected.
It's pretty cool, but still very buggy.
Stay tuned
there is still an issue to solve: the lag on joining the server is very long, it's hard to skip the initial packets (chunks...) and sometimes it takes so long that the server closes the connection before it ends (read timed out) ... but other than that, once past this step, everything should work fine
in my file
is it correct?
but i found problem "Minecraft Console Client has stopped working"
how to fix it?
Capture on console running.
Do you have a firewall being used that is blocking your client?
Is the server specially modded?
Can you reach the server, but the server isn't responding?
I believe it's the firewall as there is an error in java.security.*
Why ? Don't know, that's strange. Maybe the key was corrupted, I can't reproduce your issue.
But as you are trying to connect to an Offline-Mode server, processing the key is not necessary as encryption can be bypassed. So I changed the handshake processing to process the raw key only if necessary (3 lines of code to change )
I re-uploaded 1.4.1 archive, try re-dowloading it and please tell me if the issue is still there
NB: Your batch file is correct
@maski good idea, I might add this as a bot which re-join on certain kick messages but I need to improve the Bot API to do so, as passing kick messages to bots and re-join is not implemented at all yet
Example of RAW dump made when debugging the app (see MinecraftCom.Dump) :
... So! 1.4.2 is now out and fully working, great! Now I'll be able to add new features such as the requested autorejoin bot
Here is the full changelog :
Here is a new release, v1.4.4.
Changelog:
Now, let's work on MC 1.5 support