HelpHELLO packet.

Posts 1–13 of 13 · Page 1 of 1
HELLO packet.
Does anybody know how to replicate the HELLO packet? It is sent when you connect to the server and I would like to send it using RealmRelay, without the client of course. Maybe if Botmaker would be so kind?

Code:
HELLO
	string buildVersion
	int gameId
	string guid
	string password
	string secret
	int keyTime
	byte[] key
	byte[] obf0
	string obf1
	string obf2
	string obf3
	string obf4
	string obf5
Can this topic be moved there?
Code:
var packet = event.createPacket(whatever the id for hello packet is nowadays);
        string buildVersion = "1.7.4";
	packet.gameId = 666;
	packet.guid = "bitches";
	packet.password = "teenypeeny1";
	packet.secret = "i have a small dick";
	packet.keyTime = 123456789;
	packet.key = new byte[] { whatever };
	packet.obf0 = new byte[] { whatever };
	packet.obf1 = "i dont know what this is";
	packet.obf2 = "lol idk this one either";
	packet.obf3 = "you should just set these obfs equal to a previous hello packet's";
	packet.obf4 = "this one too";
	packet.obf5 = "aaaand this one";
event.sendToServer(packet);
p.s. it's impossible to do anything in realmrelay without the client.
Why wouldnt clientless RR work? And does that packet work with those values?
Quote Originally Posted by Notsomeone View Post
Why wouldnt clientless RR work? And does that packet work with those values?
Because having a client connect to a map via the relay is what activates the scripts.
And no, not with those values. Youll probably want to save a hellopacket thats naturally sent and take all the values that you dont know from it.
Ahh. Yeah I was thinking of editing the realmrelay source to make it connect itself.
Aha. I now have a java program that connects to RR without the client. But there is one problem. I need to send PONG packets which require the serial and time. I know how to get the serial and have that figured out, but I am not sure how to get the time? Is it current time from the machine? I tried the time NEW_TICK packet gives you, that didn't work.
Quote Originally Posted by Notsomeone View Post
Aha. I now have a java program that connects to RR without the client. But there is one problem. I need to send PONG packets which require the serial and time. I know how to get the serial and have that figured out, but I am not sure how to get the time? Is it current time from the machine? I tried the time NEW_TICK packet gives you, that didn't work.
That's because the NEW_TICK packet isn't sent before you are actually connected; try decompiling a client and find out how the time is calculated.
Quote Originally Posted by Phoenix1123 View Post
That's because the NEW_TICK packet isn't sent before you are actually connected; try decompiling a client and find out how the time is calculated.
Does anybody happen to have the source available? Or maybe someone has a github with the source? I don't feel like decompiling from scratch but will do it eventually if nothing shows up.
Quote Originally Posted by Notsomeone View Post
Does anybody happen to have the source available? Or maybe someone has a github with the source? I don't feel like decompiling from scratch but will do it eventually if nothing shows up.
Just use ModSelector and close it before it recompiles the client.
I am really bad at ABC (no experience) and found this in _-0MY/_-1DH
Is this relevant, how would I find the declaration of time_?

Code:
pushstring          "PONG"
pushstring          "serial_"
pushstring          "time_"
callproperty        QName(ProtectedNamespace("_-6Q"), "formatToString"), 3
returnvalue
Quote Originally Posted by Notsomeone View Post
I am really bad at ABC (no experience) and found this in _-0MY/_-1DH
Is this relevant, how would I find the declaration of time_?

Code:
pushstring          "PONG"
pushstring          "serial_"
pushstring          "time_"
callproperty        QName(ProtectedNamespace("_-6Q"), "formatToString"), 3
returnvalue
I'm also bad at ABC, but I believe this grabs the time for the PONG packet from the _-6Q class, before formatting it to a String, sorry if this didn't help! :P
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us