What you need:
- a working as3 client
- any kind of server
How to do it:
Note: In this case I will be using "Custom" as the name for the file but you can have it as whatever you want.(as long as another file by that name already exists.) Just replace the "Custom" with whatever you want to call it.
1) Go to src > kabam > rotmg > assets
2) Create a new text file and name it: EmbeddedData_CustomCXML.dat
3) Copy in the following in the file you just created:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Objects>
</Objects>
4) Create an ActionScript file by the same name: EmbeddedData_CustomCXML
5) Copy in the following into the ActionScript file:
Code:
package kabam.rotmg.assets {
import m*****re.*;
[Embed(source="EmbeddedData_CustomCXML.dat", mimeType="application/octet-stream")]
public class EmbeddedData_CustomCXML extends ByteArrayAsset {
public function EmbeddedData_CustomCXML() {
super();
return;
}
}
}
6) Navigate to src > kabam > rotmg > assets > EmbeddedData.as and add the following:
Code:
private static const CustomCXML:Class = EmbeddedData_CustomCXML;
7) in the same file find the following line:
Code:
public static const objectFiles:Array =
Within that function add: new CustomCXML()
Example:
Code:
public static const objectFiles:Array = [new CustomCXML(), new EquipCXML(), ...
Then its ready to go, just add your XMLs in the .dat file and it should work!
Making this post so i don't have to answer this question anymore!