rotmg.sol I believe is the file containing your e-mail & password.
What are you exactly attempting to do?
I asked a few people for help, but it didn't work so I'm asking here.
I'm trying to find a way to edit rotmg.sol and change the password and guid with code
So far I have tried to convert muledump's one click login to C#, but and here's the code.
Muledump:
Func _build()
;header
$string = "0x 00 BF" ;Magic Number 2 bytes
$string &= "?? ?? ?? ??" ;Size 4 bytes
$string &= "54 43 53 4F 00 04 00 00 00 00" ;Marker 10 bytes
$string &= "00 05" ;Name Size 2 bytes
$string &= "52 6F 74 4D 47" ;"RotMG" 5 bytes
$string &= "00 00 00" ;Padding 3 bytes
$string &= "03" ;AMF Version 1 byte
;data
$string &= "11" ;Length 1 byte
$string &= "50 61 73 73 77 6F 72 64" ;"Password" 8 bytes
$string &= "06" ;Type (string) 1 byte
$string &= _length($password) ;Length 1 byte
$string &= $password ;Actual Password ? bytes
$string &= "00" ;AMF Padding 1 byte
$string &= "09" ;Length 1 byte
$string &= "47 55 49 44" ;"GUID" 4 bytes
$string &= "06" ;Type (string) 1 byte
$string &= _length($email) ;Length 1 byte
$string &= $email ;Email ? bytes
$string &= "00" ;AMF Padding 1 byte
$string = StringReplace($string," ","")
$string = StringRegExpReplace($string,"\?{8}",Hex(Int(String Len(StringMid($string,15))/2)))
EndFunc
Here is mine:
String text = "0x 00 BF";
text += "?? ?? ?? ??";
text += "54 43 53 4F 00 04 00 00 00 00";
text += "00 05";
text += "52 6F 74 4D 47";
text += "00 00 00";
text += "03";
text += "11";
text += "50 61 73 73 77 6F 72 64";
text += "06";
text += password.Length;
text += password;
text += "00";
text += "09";
text += "47 55 49 44";
text += "06";
text += guid.Length;
text += guid;
text += "00";
text = text.Replace(" ", "");
var regex = new Regex(@"\?{8}");
text = regex.Replace(text, ((text.Substring(15).Length / 2).ToString("X")));
If you can fix my code, or provide a better way to do it in C# that would be great
rotmg.sol I believe is the file containing your e-mail & password.
What are you exactly attempting to do?
for an mbox to log in to multiple accounts you need to edit rotmg.sol in between each login
you should probably go with One Click Login on that? If you don't want to you'll need to put in account the loading times of your Adobe and mess with that. Hope it helps ;0
This seemed interesting so I decided to take a stab at it.
Last edited by CrazyJani; 10-01-2018 at 12:28 AM.
citydrifter (10-01-2018),headlesspiranha (10-01-2018),Killer Be Killed (10-01-2018),rotmgfaaag (10-01-2018)
Here's a solution in Node.js for those that are interested.
The function returns a Buffer so it can be piped right into a WriteStream like soCode:/** * Creates a sol file with the email and password. * @param {string} email The email. * @param {string} password The password. */ function createSol(email, password) { const sol = [ '00bf000000005443534f0004000000000005526f744d4700000003094755494406', (email.length * 2 + 1).toString(16), Buffer.from(email).toString('hex'), '001150617373776f726406', (password.length * 2 + 1).toString(16), Buffer.from(password).toString('hex'), '00' ].join(''); const buffer = Buffer.from(sol, 'hex'); buffer.writeInt32BE(buffer.length - 6, 2); return buffer; }
Code:const fs = require('fs'); const sol = createSol('test@email.com', 'password'); fs.createWriteStream('RotMG.sol').end(sol);
headlesspiranha (10-01-2018),rotmgfaaag (10-01-2018)