Well, for me, I need the bot to be able to pretend it has mods. There is like 84, so I am pretty sure you do NOT want to be adding each one. Can't you just analyze the packets, then respond appropriately
I've been experiencing a problem myself, i forgot to tp to spawn and gets killed by mobs, could you add a feature that once you log in you get auto tped to spawn point so its safer?
I've been experiencing a problem myself, i forgot to tp to spawn and gets killed by mobs, could you add a feature that once you log in you get auto tped to spawn point so its safer?
That would only work if the server has capabilities. A client cannot simply teleport to the spawn without a packet being sent to the server. If the server has no listener (Command) the client will not be able to teleport. Even worse, you may get banned for 'hacking' on those more official servers. You will need a teleport plugin/mod in the server to be able to do that, otherwise, no can do.
That would only work if the server has capabilities. A client cannot simply teleport to the spawn without a packet being sent to the server. If the server has no listener (Command) the client will not be able to teleport. Even worse, you may get banned for 'hacking' on those more official servers. You will need a teleport plugin/mod in the server to be able to do that, otherwise, no can do.
Like the minechat iOS app it just sends a /spawn command for the user to the server.That takes you to spawn much more simple then what you've said. You can make an on/off option so that things become easier and i won't forget and die again.
This app sends a "Connected with an iPhone using MineChat" on the Minecraft chat everytime you connect to a server, which is completely inappropriate as it disturbs all the other players on the server with advertising, especially since this is not clearly said in the description of the app, and you can get banned on certain servers for that ad. I blocked those ads on my own server using a word filtering plugin.
Anyway, yes, in the next version I'll try to allow the user to automatically send command(s) when joining the server. A delay before sending commands would be fine too to prevent anti-flood plugins from kicking you.
I love the concept of this. Trying to use this on my server i experienced a few things.
1. Chat does not show
2. First command sometimes errors up and sends a ton of random letters/digits etc to the line and keeps doing it
3. Enter on numpad is not the same as regular enter ;p
I can pm you the server ip if you want to check it out. I would love to include this in my program for my server (make it connect to my server after they input their username) I would add you to the credits if I/you could get it working
Worked a few hours trying to figure out what's wrong.
every packet is correctly handled on your server until it comes to chunk data: http://wiki.vg/Protocol#Map_Chunk_Bulk_.280x38.29
on every other server I tested my app, this packet is properly handled.
but on this server, for an unknown reason, the clients get out of sync after processing this particular packet.
Data from the server comes as a stream with no way to know where begins a packet except by processing every packet coming from the server. So if ONE packet is not properly handled, the following one will also not be handled correctly and so on.
I tried several methods for dealing with this issue but without success yet.
The only successful improvement I could do was processing unexpected packets during login phase, this will be included in next update -- This issue occured on another server I tested, and I successfully fixed it. But for your server I'm still stuck ... sorry
I get this error,it says invalid session ID.
Can you explain how to fix this?
Thanks
That means the minecraft authentication server hasn't issued a session ID (aka you haven't logged into a premium account)
To fix this,
1) Buy minecraft, if you haven't done already
2) Enter your credidentials for the premium account
Now, since you actually are getting an error, tells me that you are using offline mode (no password), and that you are trying to join an online server. Join an online-mode=false configured server. Or something.
3) This error is raised when an unexpected packet is returned during login phase due to a server-side plugin, I fixed this on my source code and the fix will be included in next release
But... I planned to do the release after fixing also seang96's issue and I'm still stuck with it
It's because for some reason the client gets out of sync : it does not know anymore where a packet begins in the data stream. So it reads the stream byte by byte until it finds an appropriate packet ID byte. If it reads 0x03 (chat message byte) it will display the following data ... which is not a chat message so it'll display random chars. The same way, if it reads 0xFF (kick + kick reason) it will assume that it has been kicked, which would be true if it wasn't out of sync.
So I have to find which packet is not processed appropriately but ... there are 79 different packets ...
(see http://wiki.vg/Protocol).
I tried to decompile Minecraft and use their chunk bulk (0x38) packet processing code but it doesn't change anything so that's not this packet which isn't processed appropriately. 78 packets left! ^^"
I remember searching for this before and seeing it was not updated. Very glad to see that it is updated now. I also seem to be experiencing a problem when I launch more than 1 instance of the client. When it tries to join the server it says that its an invalid ip. After adding a 8s delay between launching each instance it seemed to be fine, but now when some of the accounts get disconnected at the same time they get the same error. Seems like it happens when more than one instance tries to connect to the server.
Also, do you have any plans to allow some sort of movement which can be controlled via the console?
It seems to be an anti-flood system implemented on the server you are trying to join. It should be the same if you try to connect with the main game client from Mojang. Adding movement is not easy at all as I would have to process chunk data in order to avoir falling, flying or entering in a wall.
AbrarSyed: all mod-data is done using the Packet250CustomPayload
AbrarSyed: or "Plugin Message (0xFA)"
Maybe you listen to 0xFA and see what it requests? Then respond with some string
That would only work if the server has capabilities. A client cannot simply teleport to the spawn without a packet being sent to the server. If the server has no listener (Command) the client will not be able to teleport. Even worse, you may get banned for 'hacking' on those more official servers. You will need a teleport plugin/mod in the server to be able to do that, otherwise, no can do.
Like the minechat iOS app it just sends a /spawn command for the user to the server.That takes you to spawn much more simple then what you've said. You can make an on/off option so that things become easier and i won't forget and die again.
Anyway, yes, in the next version I'll try to allow the user to automatically send command(s) when joining the server. A delay before sending commands would be fine too to prevent anti-flood plugins from kicking you.
1. Chat does not show
2. First command sometimes errors up and sends a ton of random letters/digits etc to the line and keeps doing it
3. Enter on numpad is not the same as regular enter ;p
I can pm you the server ip if you want to check it out. I would love to include this in my program for my server (make it connect to my server after they input their username) I would add you to the credits if I/you could get it working
every packet is correctly handled on your server until it comes to chunk data:
http://wiki.vg/Protocol#Map_Chunk_Bulk_.280x38.29
on every other server I tested my app, this packet is properly handled.
but on this server, for an unknown reason, the clients get out of sync after processing this particular packet.
Data from the server comes as a stream with no way to know where begins a packet except by processing every packet coming from the server. So if ONE packet is not properly handled, the following one will also not be handled correctly and so on.
I tried several methods for dealing with this issue but without success yet.
The only successful improvement I could do was processing unexpected packets during login phase, this will be included in next update -- This issue occured on another server I tested, and I successfully fixed it. But for your server I'm still stuck ... sorry
Can you explain how to fix this?
Thanks
That means the minecraft authentication server hasn't issued a session ID (aka you haven't logged into a premium account)
To fix this,
1) Buy minecraft, if you haven't done already
2) Enter your credidentials for the premium account
Now, since you actually are getting an error, tells me that you are using offline mode (no password), and that you are trying to join an online server. Join an online-mode=false configured server. Or something.
3) This error is raised when an unexpected packet is returned during login phase due to a server-side plugin, I fixed this on my source code and the fix will be included in next release
But... I planned to do the release after fixing also seang96's issue and I'm still stuck with it
So I have to find which packet is not processed appropriately but ... there are 79 different packets ...
(see http://wiki.vg/Protocol).
I tried to decompile Minecraft and use their chunk bulk (0x38) packet processing code but it doesn't change anything so that's not this packet which isn't processed appropriately. 78 packets left! ^^"
Also, do you have any plans to allow some sort of movement which can be controlled via the console?