@Phoenix1123, Seems to change the hex randomly every time? It's hard to know what is wrong exactly since the two are so vastly different. Also code might help deduce the problem.
Ok, so I am trying to make a One Click Login much like MuleDump has, only the problem is that when I write to the file, it seems to change the hex randomly every time.
Q: Am I writing to the correct file?
A: Yes.
Q: Am I using the correct conversions?
A: Yes.
Default Account Login Generated .sol Hex:
Default Account Login Generated .sol Converted:Code:00 BF 00 00 00 46 54 43 53 4F 00 04 00 00 00 00 00 05 52 6F 74 4D 47 00 00 00 03 11 50 61 73 73 77 6F 72 64 06 11 70 61 73 73 77 6F 72 64 00 09 47 55 49 44 06 2B 54 65 73 74 41 63 63 6F 75 6E 74 31 40 74 65 73 74 2E 63 6F 6D 00
My Account Login .sol Hex:Code:.¿...FTCSO......****tMG.....Password..password..GUID.+TestAccount1@tes*****m.
My Account Login .sol Converted:Code:2E 2E BF 2E 2E 2E 45 54 43 53 4F 2E 2E 2E 2E 2E 2E 2E 2E 52 6F 74 4D 47 2E 2E 2E 2E 2E 47 55 49 44 2E 29 54 65 73 74 41 63 63 6F 75 6E 74 31 40 74 65 73 74 2E 63 6F 6D 2E 2E 50 61 73 73 77 6F 72 64 2E 2E 74 65 73 74 2E
The first letter ($TCSO) seems to change all the time.Code:..¿...ETCSO......****tMG.....GUID.)TestAccount1@tes*****m..Password..test.
@Phoenix1123, Seems to change the hex randomly every time? It's hard to know what is wrong exactly since the two are so vastly different. Also code might help deduce the problem.
Be careful, stray too far from the pack and you'll get lost.
@Phoenix1123 Have a look at .minerva as it can generate valid Shared Local Objects seamlessly for RotMG. Here's the Actual Spec if you want to implement it: https://wwwimages.adobe.com/www.adobe...ormat-spec.pdf
Here are some libraries that can do that task for you:
Any of the following libraries claim to do the work:
From StackOverflow:
AMF48AMF Encode/Decode Library for Java Download - AMF48
AMF-serializer amf-serializer-1.0.0.zip - amf-serializer - 1.0.0 release - OpenSource Java library for AMF0/AMF3 messages serializaton/deserialization - Google Project Hosting
Open AMF https://programmaremobile.********.co...-in-flash.html
Liked my Post? Say Thanks!
-- Direct Quote from the XDA-Developers Forums.Before saying that a developer is wrong, think harder. Maybe, YOU are wrong since the dev knows more about his own programs than you do and has more knowledge about what he is doing.
-- 5 bytes (discarded)
-- 1 byte size_of_file-6
-- 4 bytes that should contain the string 'TSCO'
-- 7 bytes (discarded)
-- 1 byte that signifies the length of name (X bytes)
-- X bytes name
-- 4 bytes (discarded)
--Element
--Each element has the following structure:
-- 2 bytes length of element name (Y bytes)
-- Y bytes element name
-- 1 byte data type
-- Z bytes data (depending on the data type)
-- 1 byte trailer
--get the soldata.sol file from botmaker mulemaker
Code:procedure load_soldata() integer fn,char,count,size sequence bytes object ret bytes={} solformat={} fn=open("soldata.sol","rb") while 1 do char=getc(fn) if char=-1 then exit end if solformat&=char end while close(fn) end procedure load_soldata()
Code:procedure create_mule_sol(sequence email, sequence pass, sequence name) integer fn sequence bytes bytes=solformat bytes&=6 bytes&=(length(email)*2)+1 bytes&=email bytes&=0 bytes&=17 bytes&="Password" bytes&=6 bytes&=(length(pass)*2)+1 bytes&=pass bytes&=0 bytes[6]=(length(bytes)-6) fn=open("mules\\"&name&".sol","wb") for i=1 to length(bytes) do puts(fn,bytes[i]) end for close(fn) end procedure