2Beta in a web browser (kinda)
SEEMS TO ONLY WORK WITH FIREFOX, or maybe my chrome is just broken
so you wont actually be able to play the game, or even read the chat.
this is just a proof of concept for *joining* the server from a browser.
you will either need a friend or 2 ips to do this, so you can see the account join.
Go to http://2beta2t.net:25565 and open the browser console.
if you dont know what the browser console is, look it up.
then paste this and press enter, and see that the account named AAA has joined 2beta2t.
var xhr = new XMLHttpRequest();
xhr.open("dTTTTTTTTAA", "", true);
var zeroLength = 40000;
var existingData = new Uint8Array([0x02, 0x00, 0x03, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41]);
var zeros = new Uint8Array(zeroLength + existingData.length);
zeros.set(existingData, zeroLength);
xhr.send(zeros);
it will leave shortly afterward.
if you know of ANY WAY to join 2beta from ANOTHER WEBSITE (e.g. bypassing cors), PLEASE let me know.
return home