Disconnecting player via PHP
Is it possible to disconnect a player via php? (I am not talking about setting the connectstat to 0 but disconnecting just like the game master does when is online using /disconnect charname).
If it's possible, i would appreciate if someone has the script to share it.
Thank you in advance
Re: Disconnecting player via PHP
I'm no MU player, but I do know one thing. In Habbo, you have to have an MUS socket to listen for socket connections and commands. They're also called RCON connections. You have to have an RCON listener and the proper command programmed into your server for this to work. From there you can use php sockets to open a connection and send the proper data.
Re: Disconnecting player via PHP
Yes i agree that it is possible through a php socket connection and data send. Although, that's the script i am looking for.
Re: Disconnecting player via PHP
As i remember , there is some option u can play with in php.
For example in MuWeb and in MuCore , there is Unstuck character option , which unstucks u from the map server and moves u to the default map.
not sure about if it disconnects u , but also if u confugre and play with the settings it could be possible instead.
Re: Disconnecting player via PHP
You need to send gameserver command for this.
It's not simple db alteration (like unstucking a charactere aka changing map and coordinates).
Your MuClient has connection to your MuServer. You need to send command to MuServer that forcly closeses that connection.
You could sniff the data that is sent to server when an admin uses /disconnect in game and reproduce it in PHP
Re: Disconnecting player via PHP
WZ joinserver has this option only need send correct information