This is copied from my emulator for old client...
Code:
//var allmapids = new Array("-", "1-1", "1-2", "1-3", "1-4", "2-1", "2-2", "2-3", "2-4", "3-1", "3-2", "3-3", "3-4", "4-1", "4-2", "4-3", "4-4", "1-5", "1-6", "1-7", "1-8", "2-5", "2-6", "2-7", "2-8", "3-5", "3-6", "3-7", "3-8", "4-5");
//allmapids[42] = "???";
//allmapids[50] = "GG";
//allmapids[51] = "GG a";
//allmapids[52] = "GG ß ";
//allmapids[53] = "GG ?";
//allmapids[54] = "Y II ";
//allmapids[81] = "DM";
//allmapids[82] = "DM";
//allmapis[index] -> index -> mapindex(to give as arg in some packets)
Code:
//factions_ids[1] = "MMO";
//factions_ids[2] = "EIC";
//factions_ids[3] = "VRU";
//seems like 0 is again npc/no comp
Code:
//var npcships = new Array();
//npcships[1] = "Streuner";
//npcships[2] = "Lordakia";
//npcships[3] = "Devolarium";
//npcships[4] = "Mordon";
//npcships[5] = "Sibelon";
//npcships[6] = "Saimon";
//npcships[7] = "Sibelonit";
//npcships[8] = "Lordakium";
//npcships[9] = "Kristallin";
//npcships[10] = "Kristallon";
//npcships[11] = "StreuneR";
//npcships[12] = "Protegit";
//npcships[13] = "Cubikon";
//npcships[14] = "Boss Streuner";
//npcships[15] = "Boss Lordakia";
//npcships[16] = "Boss Mordon";
//npcships[17] = "Boss Saimon";
//npcships[18] = "Boss Devolarium";
//npcships[19] = "Boss Sibelonit";
//npcships[20] = "Boss Sibelon";
//npcships[21] = "Boss Lordakium.";
//npcships[22] = "Boss Kristallin";
//npcships[23] = "Boss Kristallon";
//npcships[24] = "Boss StreuneR";
//npcships[25] = "UFO";
//npcships[26] = "UFONIT";
//npcships[27] = "Aggro-Streuner";
//npcships[28] = "UberStreuner";
//npcships[29] = "UberLordakia";
//npcships[30] = "UberMordon";
//npcships[31] = "UberSaimon";
//npcships[32] = "UberDevolarium";
//npcships[33] = "UberSibelonit";
//npcships[34] = "UberSibelon";
//npcships[35] = "UberLordakium";
//npcships[36] = "UberKristallin";
//npcships[37] = "UberKristallon";
//npcships[38] = "UberStreuneR";
//var playerships = new Array();
//playerships[1] = "Phoenix";
//playerships[2] = "Yamato";
//playerships[3] = "Leonov";
//playerships[4] = "Defcom";
//playerships[5] = "Liberator";
//playerships[6] = "Piranha";
//playerships[7] = "Nostromo";
//playerships[8] = "Vengeance";
//playerships[9] = "Bigboy";
//playerships[10] = "Goliath";
//playerships[52] = "7G-Goliath";
//playerships[53] = "CBS-Goliath";
//aliens,players..index is id again
//idk why but some are not wokring..maybe something missing in xml files or idk
Code:
Send("0|A|SET|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1");
Send("0|u|1");
Send("0|d|1");
//0|I|UserId|Name|ShipType|Speed|SHD|MSHD|HP|MHP|FreeCargo|MaxCargo|X + 00|Y + 00|MapId|FractionId|ClanId|MaxAmmo|MaxRockets|UserId|Unknown|Experience|Honor|Level|Credits|Uridium|Jackpot|Userrank|ClanTag|gatesArchieved|UseSysFont
Send("0|I|1|Alex|1|450|1000|1000|5000|5000|0000|0000|100|100|1|1|0|5000|5000|20|0|5000|5000|21|999|999|999|20|LOL|4|1");
Send("0|n|d|1|3/4-0,0-25,1-25,0-0,0,0/4-25,1-25,2-25,2-25,0/4-0,0-25,1-25,0-0,0"); //Drones
Send("0|B|1000|1000|1000|1000|1000"); //Ammo
Send("0|3|1|2|3|4|5|6"); //Rockets
Send("0|S|CFG|1"); //Change CFG to 1
Send("0|m|1");
Send("0|s|1|1|MMO|1|1|1000|1200"); //Base
Send("0|8");
// Send("0|z");
//Opponent
Send("0|C|23|10|3|LOL|Epic|0|0|1|1|4|0|0|4|0|0");
Send("0|1|23|0|0|320");
Send("0|n|d|23|3/4-0,0-25,1-25,0-0,0,0/4-25,1-25,2-25,2-25,0/4-0,0-25,1-25,0-0,0");
//not working, something is wrong/not correct order since i dont receive any packets
//some problem in new client server...probably problem of my pc
not sure if someone can do somethign with it ;)
it is working, you can connect to map but i dont receive any packets then