[Release] Old spacemap packets

10/25/2013 12:42 manulaiko#1
Hi!!

There's a thread which have got old spacemap files (for a private server) but there's no emulator released, so as I can't create an emulator from 0 I wanted to release some packets I found.

It's not a huge collection of packet, just some of them like login, move, attack, collect...

UPDATE:
HERE ARE ALL PACKETS THAT SPACEMA.SWF SUPPORT : [Only registered and activated users can see links. Click Here To Register...]

VT: [Only registered and activated users can see links. Click Here To Register...]

See you!
10/25/2013 13:33 Requi#2
Mostly just copied from the swf, as I think :D

But great work. You just need to accept connections and wait for a incoming policy packet. If you have this, the emulator is done (without database)
10/25/2013 13:46 NoCheatImPGM#3
[Only registered and activated users can see links. Click Here To Register...]
Little picture :)
10/25/2013 13:48 'Heaven.#4
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
10/25/2013 13:48 Requi#5
Awesome, that our emulator accepts the connection, but the azure one not.
Maybe I'll work a bit on it.
10/25/2013 14:04 'Heaven.#6
[Only registered and activated users can see links. Click Here To Register...]
10/25/2013 16:42 Nommo#7
"RDY" packet
PHP Code:
0|I|UserId|Name|ShipType|Speed|Shield|MaxShield|HP|MaxHP|FreeCargo|MaxCargo|00|00|Last_MapId|FractionId|ClanId|MaxAmmo|MaxRockets|LF3s_On_Board(To_Show_Effect_with_Lasers_on_Ships)|Premium(1=Premium0=non-premium|Experience|Honor|Level|Credits|Uridium|Jackpot|Userrank|ClanTag|gatesArchieved|invisible 
"Ship/alien packet"
PHP Code:
f|C|USER_ID|USERS_SHIP_ID|USERS_LF3s_ON_BOARD|USERS_CLANTAG|USERS_NICKNAME|USERS_X|USERS_Y|USERS_COMPANY|USERS_CLANID|USERS_RANK|SHOW_RED-SQUARE_ON_MINIMAP(like on X-1 maps)|DIPLO_TYPE(0=none1=alliance2NAP3War|USERS_GGs_DONE 
There are most important packets in my opinion :)

Regards,
Nommo.
10/25/2013 18:17 manulaiko#8
Quote:
Originally Posted by NoCheatImPGM View Post
[Only registered and activated users can see links. Click Here To Register...]
Little picture :)
The login packet is LOGIN|UserID|SesionID

Quote:
Originally Posted by Requi View Post
Mostly just copied from the swf, as I think :D

But great work. You just need to accept connections and wait for a incoming policy packet. If you have this, the emulator is done (without database)
Some of them because I couldn't discover the correct name of the variables (fucking _loc_1, param1...)

See you!
10/25/2013 19:51 Sήøwy#9
Good luck, this is not hard you can do it :>
10/26/2013 03:03 Destiny#10
[Only registered and activated users can see links. Click Here To Register...]
my server :D azure :D
10/27/2013 19:28 manulaiko#11
Quote:
Originally Posted by Requi View Post
Mostly just copied from the swf, as I think :D

But great work. You just need to accept connections and wait for a incoming policy packet. If you have this, the emulator is done (without database)
Thanks I'll start coding :D
10/29/2013 01:11 Jesstaima#12
yay thanks for the packets
after 5 min of coding
[Only registered and activated users can see links. Click Here To Register...]
does anyone have more packets :P?
11/04/2013 18:49 manulaiko#13
[Only registered and activated users can see links. Click Here To Register...]

I made 3 differents sockets system, and none listened for packet, the problem was on the .htacces file u.u

Now the emulator has got database connection :D

If it works properly I'll release it

See you!
11/15/2013 12:47 manulaiko#14
Hi!!

Well, here are all the packets that the swf supports (you can add your owns):

[Only registered and activated users can see links. Click Here To Register...]

145 Packets :D

See you!!
11/15/2013 14:10 'Heaven.#15
0|I is the player init data i wrote here some weeks ago