-
Notifications
You must be signed in to change notification settings - Fork 3
How to setup RotMG 27.7 client to FSOD source?
Devwarlt edited this page Feb 27, 2017
·
2 revisions
- C# (for server settings);
- Actionscript 3.0 (for client settings).
- macOS: download link here;
- Windows: download link here;
- Linux: download link here;
- Adobe Flex SDK 4.6.0, download requered.
- Windows: download link here.
- Download link here.
- Download link here.
2) Search the current folder of your Realm of the Mad God 27.7 client game source then import it. Not necessary to open the *.iml file, just import the folder;
3) When folder imported, use hotkey CTRL+ALT+SHIFT+S and a window called Project Structure will appear;
9) Project Settings, select Modules then a different window appear, so there you can manage dependencies of your project;
10) Will be a tree structure of your project. Make sure you selected the file bellow Project Name (it will be a fx app);
12) Bellow Main class: will be a label called Output file name: rename it to your client outfit file name, e.g. TestClient.swf, don't change external file format and keep the .swf extension;
15) Final step is rebuild your client solution to build an output file. Look at top taskbar and find a tab called Build, click on it then select Rebuild Project. Wait your Intellij IDEA Ultimate compile it and then check at same folder of your Realm of the Mad God 27.7 client game source a folder called "out". Open it and your client with .swf extension will be there (if no errors occurred during project compile).
1) Open your Realm of the Mad God 27.3.2 Server with Microsoft Visual Studio Community, find the archive called server.sln;
2) Wait solution project load and go to folder "wServer". Navigate on it and go to "wServer > PacketIds.cs";
namespace wServer {
public enum PacketID : byte { FAILURE = 0, //slotid: 1 CREATE_SUCCESS = 33, //slotid: 2 CREATE = 78, //slotid: 3 PLAYERSHOOT = 13, //slotid: 4 MOVE = 87, //slotid: 5 PLAYERTEXT = 39, //slotid: 6 TEXT = 67, //slotid: 7 SHOOT2 = 84, //slotid: 8 DAMAGE = 51, //slotid: 9 UPDATE = 7, //slotid: 10 UPDATEACK = 45, //slotid: 11 NOTIFICATION = 53, //slotid: 12 NEW_TICK = 80, //slotid: 13 INVSWAP = 34, //slotid: 14 USEITEM = 48, //slotid: 15 SHOW_EFFECT = 28, //slotid: 16 HELLO = 35, //slotid: 17 GOTO = 3, //slotid: 18 INVDROP = 90, //slotid: 19 INVRESULT = 58, //slotid: 20 RECONNECT = 21, //slotid: 21 PING = 46, //slotid: 22 PONG = 52, //slotid: 23 MAPINFO = 65, //slotid: 24 LOAD = 8, //slotid: 25 PIC = 60, //slotid: 26 SETCONDITION = 91, //slotid: 27 TELEPORT = 40, //slotid: 28 USEPORTAL = 9, //slotid: 29 DEATH = 63, //slotid: 30 BUY = 75, //slotid: 31 BUYRESULT = 10, //slotid: 32 AOE = 69, //slotid: 33 GROUNDDAMAGE = 59, //slotid: 34 PLAYERHIT = 17, //slotid: 35 ENEMYHIT = 42, //slotid: 36 AOEACK = 95, //slotid: 37 SHOOTACK = 36, //slotid: 38 OTHERHIT = 14, //slotid: 39 SQUAREHIT = 86, //slotid: 40 GOTOACK = 12, //slotid: 41 EDITACCOUNTLIST = 93, //slotid: 42 ACCOUNTLIST = 20, //slotid: 43 QUESTOBJID = 77, //slotid: 44 CHOOSENAME = 82, //slotid: 45 NAMERESULT = 62, //slotid: 46 CREATEGUILD = 44, //slotid: 47 CREATEGUILDRESULT = 4, //slotid: 48 GUILDREMOVE = 24, //slotid: 49 GUILDINVITE = 23, //slotid: 50 ALLYSHOOT = 92, //slotid: 51 SHOOT = 96, //slotid: 52 REQUESTTRADE = 41, //slotid: 53 TRADEREQUESTED = 94, //slotid: 54 TRADESTART = 64, //slotid: 55 CHANGETRADE = 1, //slotid: 56 TRADECHANGED = 56, //slotid: 57 ACCEPTTRADE = 6, //slotid: 58 CANCELTRADE = 5, //slotid: 59 TRADEDONE = 25, //slotid: 60 TRADEACCEPTED = 22, //slotid: 61 CLIENTSTAT = 66, //slotid: 62 CHECKCREDITS = 19, //slotid: 63 ESCAPE = 47, //slotid: 64 FILE = 88, //slotid: 65 INVITEDTOGUILD = 79, //slotid: 66 JOINGUILD = 61, //slotid: 67 CHANGEGUILDRANK = 89, //slotid: 68 PLAYSOUND = 50, //slotid: 69 GLOBAL_NOTIFICATION = 30, //slotid: 70 RESKIN = 68, //slotid: 71 PETYARDCOMMAND = 85, //slotid: 72 PETCOMMAND = 57, //slotid: 73 UPDATEPET = 83, //slotid: 74 NEWABILITYUNLOCKED = 97, //slotid: 75 UPGRADEPETYARDRESULT = 55, //slotid: 76 EVOLVEPET = 76, //slotid: 77 REMOVEPET = 26, //slotid: 78 HATCHEGG = 81, //slotid: 79 ENTER_ARENA = 27, //slotid: 80 ARENANEXTWAVE = 31, //slotid: 81 ARENADEATH = 15, //slotid: 82 LEAVEARENA = 49, //slotid: 83 VERIFYEMAILDIALOG = 98, //slotid: 84 RESKIN2 = 11, //slotid: 85 PASSWORDPROMPT = 74, //slotid: 86 VIEWQUESTS = 16, //slotid: 87 TINKERQUEST = 38, //slotid: 88 QUESTFETCHRESPONSE = 37, //slotid: 89 QUESTREDEEMRESPONSE = 18 //slotid: 90 }
}
namespace wServer {
public enum PacketID : byte { FAILURE = 0, CREATE_SUCCESS = 86, CREATE = 90, PLAYERSHOOT = 16, MOVE = 14, PLAYERTEXT = 67, TEXT = 10, SHOOT2 = 88, DAMAGE = 57, UPDATE = 49, UPDATEACK = 37, NOTIFICATION = 99, NEW_TICK = 47, INVSWAP = 44, USEITEM = 92, SHOW_EFFECT = 89, HELLO = 83, GOTO = 50, INVDROP = 8, INVRESULT = 45, RECONNECT = 101, PING = 38, PONG = 68, MAPINFO = 58, LOAD = 66, PIC = 28, SETCONDITION = 46, TELEPORT = 5, USEPORTAL = 4, DEATH = 75, BUY = 24, BUYRESULT = 3, AOE = 53, GROUNDDAMAGE = 59, PLAYERHIT = 22, ENEMYHIT = 97, AOEACK = 82, SHOOTACK = 7, OTHERHIT = 94, SQUAREHIT = 19, GOTOACK = 9, EDITACCOUNTLIST = 60, ACCOUNTLIST = 79, QUESTOBJID = 77, CHOOSENAME = 27, NAMERESULT = 76, CREATEGUILD = 69, CREATEGUILDRESULT = 21, GUILDREMOVE = 40, GUILDINVITE = 25, ALLYSHOOT = 74, SHOOT = 20, REQUESTTRADE = 78, TRADEREQUESTED = 23, TRADESTART = 11, CHANGETRADE = 56, TRADECHANGED = 17, ACCEPTTRADE = 98, CANCELTRADE = 15, TRADEDONE = 36, TRADEACCEPTED = 26, CLIENTSTAT = 62, CHECKCREDITS = 35, ESCAPE = 33, FILE = 84, INVITEDTOGUILD = 1, JOINGUILD = 48, CHANGEGUILDRANK = 6, PLAYSOUND = 55, GLOBAL_NOTIFICATION = 31, RESKIN = 61, PETYARDCOMMAND = 12, PETCOMMAND = 63, UPDATEPET = 95, NEWABILITYUNLOCKED = 30, UPGRADEPETYARDRESULT = 80, EVOLVEPET = 91, REMOVEPET = 85, HATCHEGG = 18, ENTER_ARENA = 51, ARENANEXTWAVE = 34, ARENADEATH = 39, LEAVEARENA = 93, VERIFYEMAILDIALOG = 65, RESKIN2 = 100, PASSWORDPROMPT = 96, VIEWQUESTS = 41, TINKERQUEST = 87, QUESTFETCHRESPONSE = 52, QUESTREDEEMRESPONSE = 64 }
}
5) Look at top taskbar and find a tab called Build then select an option Rebuild Solution. Wait your Microsoft Visual Studio Community compile the executable binary files server.exe and wserver.exe located in "bin" folder.
Credits: