-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathold_spacemap_packets.txt
1133 lines (802 loc) · 30.5 KB
/
old_spacemap_packets.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
----------------
SENDER
----------------
i|USER_ID - when the client gets send an event of an ID, but the ID has not been initalized
'-> FORCE_INIT_REQUEST
this list is discontinued
----------------
HANDLER
----------------
ERR|1 Error, no hitpoints
ERR|2 Error, not logged in
ERR|3 Error, Double logged in
ERR|4 Error, invalid sesion
0|1|UserID|x|y|timemillisec Alien move
0|1|14|200|200|2000
0|D|x|y|indmz(bool)|bool|intz(bool)|inrz(bool)|inja(bool)|repairvouchers - ORDERED: POSITIONX,POSITIONY,ISDEMILITARIZED,ISREPAIRANIMATION,ISBASE(SELL RESOURCES),ISJUMPPORTAL,ISABLETOINSTANTREPAIR
212x 142y
0|a|UserID|selectedUserID|laserColor Attack user
0|v|UserID|attackerID|selectedUserID|hitVerbose|rocketType Rocket Attack/Shoot user (hitverbose: if "H" -> show rocket
else -> not show rocket)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0|C|UserID|ShipID|laserLook|Clanname|Username|posX|posY|company|clanID|ranking|showRedSquareOnMinimap|clanstatus|galaxy gates|usebigfont -- enemy :
0|C|12|4|1||-=[ NO USERNAME ]=-|4946|185|1|1|15|1|1|2|1 laserlook(1 normal,2 elite, 3 full elite),
company(1,2,3 - includes name color),
ranking 1-21 (0 = no rank, gates will appear over name)
clanstatus(0-3 0-neutral 1-peace 2-neutral 3-war)
galaxy gates (0-4 0-0 1-1 2-2 3-3 4-triangle w/ 3)
example
0|C|14|71|0||-=[ Lordakia ]=-|100|200|0|0|0|0|0|0|0
0|C|13|10|3|•Λ•|†packet|200|200|1|1|18|1|0|4|1
Push register4 54
Equals2
Not
If loc39da
Push "hello world" 1 "displayStatus"
CallFunction
Pop
Push register2 "staticHost"
GetMember
Push "swf_global/files/ships/ship54.swf"
Add2
StoreRegister 3
Pop
Push register3 1 register1 "loadMovie"
CallMethod
Pop
loc39da:
==SHIP ID NOTES==
- available ships:
1 phoenix
2 yamato
3 leonov
4 defcom
5 liberator
6 piranha
7 nostromo
8 vengeance
9 bigboy
10 goliath
11 sanejiews (weird delta gate enemy at the end)
20 big ufo
21 small ufo
22 phoenix (again?)
50 red bigboy
52 gold goliath
53 red goliath
- mobs:
71 lordakia mob
72 devolarium
73 mordon
74 sibelon
75 saimon
76 sibelonit
77 lordakium
78 kristallin
79 kristallon
80 cubikon
81 protegit
- flyable ship mobs:
(71 to 81 )+ 100. literally just the mob ID + 100
-special:
442 spaceball
500 red square wtf
===============
0|E|Prometium|Endurium|terbium|xenomit|Prometid|Duranium|Promerium
0|5|o|b|type|count Ammo buy
0|5|o|r|type|count Rocket buy
0|5|f|F|U Ammo buy error (not enougth uri)
0|5|f|F|C Ammo buy error (not enougth cre)
0|5|f|S Ammo buy error (not enougth space)
0|g|int|int|int|int|int|int shows the amount of credits you will obtain of each ore
0|g|r|int|int|int|int|int|int Something about stations...
0|g|a|string|string Set ammo prices
0|r|id|oretype|x|y|isBomb("mine detonates in 5 seconds" afaik)
1 prometium
2 endurium
3 terbium
10 mine
20 detonating smartbomb
1xy-200 small firework with company colors x and then y
2xy-300 medium firework with company colors x and then y
3xy-zxy big firework with company colors z - 2, x and then y
(How exactly the colors are calculated is not of importance. random from 0-99 + size*100 should be enough to make colorful random fireworks)
0|l Log off
0|t "log out not possible"
0|c|int|int|int|int --------------- 0|c|bonusboxID | boxType | posX | posY
0|2|int remove box
0|y|type|num1|num2|num3|num...
type = CAR = cargo
JPE = jackpot
CRE = credits
URI = uridium
EP = experience
HTP = hitpoints
ROK = rockets
BAT = ammo
DHP = minus hp
HON = honor
XEN = extra energy -- not xenomit
CAR|promet|endur|terb|xen|prometid|duran|promer
JPE|collected|total
CRE|collected|total
URI|collected|total
EP|amount|total|currentlevel
HTP|amount|total
ROK|type|amount -- amount only changes CURRENTROCKETS, thx bugpoint
BAT|type|amount -- ^
DHP|amount|total
HON|amount|total
XEN
0|n|w|0 Warning Bar on minimap change last variable for change level warn bar.
0|y|BTB Box to big
0|y|BAH Box already collected
0|y|DET "Cloaking detected"
0|y|BMP|int (2, 3, 4) "You found the special item: banking doubler/tripler/quadrupler"
0|y|SLE|int/string returns on the upper right (quest text) Anzahl der Gegner: int/string
0|y|MIN|mine-/oreID explodes mine
0|e|1 Collected prometium
0|e|2 Collected endurium
0|e|3 Collected terbium
0|q|int/string removes ore
0|R|userid removes userid from map (logout f.e)
0|i|MapID Change map
0|W|R|0 "No rockets of this type left"
0|W|L|0 "No lasers -ii- "
0|W|L this and
0|W|R this do not seem to appear anyhow
0|G|UserID|enemyID abort attack
0|m|MapID| similar to 0|i| it somehow switches the map
0|Q|DONE|int _root.questHandler(src)
0|Q|CANCEL| _root.questHandler(src)
0|Q|nothing?|1/2/3|0|currentvalue|valuetofinish
1 = resource-quest
2 = npc kill-quest
3 = company-quest
examples:
0|Q|DONE|1 -> quest success thing up shit with string undefined "" undefined
0|Q|CANCEL| -> upper right: "you canceled the quest"
0|Q||2||25|100| -> upper right: "NPC KILL quest: 25/100"
0|S|CFG|int (1, 2, 3) Change config
function(pid, ptyp, ptarid, posX, posY)
(small)
ol om or
ml m mr
ul um ur
ol = 2000|2000
om = 10000|2000
or = 18500|2000
ml = 2000|7000
m = 10000|7000
mr = 18500|7000
ul = 2000|11500
um = 10000|11500
ur = 18500|11500
0|p|PortalID|Portaltype|ptaridwtfisthis|x|y| Jump portal, ptarid is UNUSED in client
_root.portaltype_hash = [];
_root.portaltype_hash[2] = "a"; // alpha gate id 2
_root.portaltype_hash[3] = "b"; // beta
_root.portaltype_hash[4] = "c"; // gamma
_root.portaltype_hash[5] = "d"; // delta
_root.portaltype_hash[11] = "y"; //birthday?
_root.portaltype_hash[12] = "o"; //??
_root.portaltype_hash[21] = "t"; //teamdeathmatch
_root.portaltype_hash[22] = "u"; //??
_root.portaltype_hash[41] = "i"; // invasion?
this.imgPath = _root.staticHost + "swf_global/files/gates/";
this.portal_act.mcProxy.loadMovie(this.imgPath + this.gate_id + "_active.png");
this.portal_idl.mcProxy1.loadMovie(this.imgPath + this.gate_id + "_idle_01.png");
this.portal_idl.mcProxy2.loadMovie(this.imgPath + this.gate_id + "_idle_02.png");
alpha for example:
.../swf_global/files/gates/a_active.png
.../swf_global/files/gates/a_idle_01.png
.../swf_global/files/gates/a_idle_02.png
0|s|stationID|stationType|stationName|stationFaction|stationPeace|x|y
0|A|HPT|CurrentHP|MaxHP Update HP
0|A|SHD|CurrentSHD|MaxSHD Update SHD
0|A|RCD| resets rocket cooldown
0|A|C|Credits|Uridium Update Credits & uridium
0|A|c|CargoSpaceMax Update Cargo
0|A|a|Ammo|Rockets Update Ammo & Rockets
0|A|ITM|droneDpuIndicator|diploScan|jump_cpu_id|ammoBuyIcon|repbotOnBoard|hm7-ore-sell-on-board|rt_doubbler|smartbombOnBoard|instashieldOnBoard|mine_turbo_level|aim_cpu_level|arol_on_board|cloak_cpu
from _loc2_[3] to _loc2_[15]
0|A|SET|(a lot of int) Update Settings
0|A|v|Speed Set speed
0|A|CLD|SMB/ISH/MIN/WIZ|Time Start cooldown
0|A|CLR|SMB/ISH/MIN/WIZ Finnish Cooldown
0|A|LUP|NewLevel|ExperienceToNext Level Up
0|A|STD|String Sends message
0|A|STM|0|1|2|3|4|5|6 outputs: undefined2undefined4undefined6
0|A|STM|var|var|string|var|string|var|string Sends preconfigure messages (need to look at _root.parseandShowStm())
0|A|CPU|J|CpuID|MapID|EvouchersLeft Jump CPU
SendPacket("0|s|0|1|VRU|1|1|10500|14000");
SendPacket("0|s|0|1|EIC|1|2|20500|1200");
SendPacket("0|s|0|1|MMO|1|3|1000|1200");//Bas
15000 15200
0|A|CPU|C|CloaksLeft Use Cloack CPU
0|A|CPU|A|AimsLeft|AimEffect AIM CPU
0|A|CPU|R|isActive AROL-X CPU
0|A|CC|int (1, 2, 3) config amounts in the corner right low on the minimap (2 or 3) (if int == 3 3 else 2 )
0|A|BS|Boosters Shows boosters (Boosters = percentages of boosters (0/0/0/10 makes 4th enumerated booster to 10% ( 4 = shield)
0|A|FWX|INL|int explode fireworks
0|A|FWX|FWL|type1|type2|type3 fireworks left
0|A|WIZ|CursesLeft Wiz not sure about CursesLeft, maybe shipID or maybe wiz left
0|A|ADM|CLI|1 Shows Admin CLI
0|A|ADM|CLI|0 Hides CLI
0|k|Level Jump failed need level
0|L|int|int|int|int
0|B|x1|x2|x3|x4|sab Update lasers menu
0|N|0|0|CurrentSHD|MaxSHD|CurrentHP|MaxHP shows the health bar up the selected ship
0|3|r1|r2|r3|mines|smb|ish Update rockets menu
0|K|UserID Kill UserID
0|Y|hp|shd|0|damage Received Damage
0|H|hp|shd|int|damage Damage done
0|M| Miss on selected ship
0|M|L|int|int| miss with a certain HitEvent([3],[4]) ([3]/[4] min/max)
0|h "Raw material collection failed"
0|f "Cargo bay is full"
0|V "You escaped the fight"
0|O "Out of range"
0|P Demilitarized Zone
0|X "The battle continues"
0|F "The battle was canceled"
0|J "Oponent cancelled fight"
0|U|MapID|portalID Jump
0|z Star System
0|Z displays "MISS" on own ship
0|KIK "Your connection was interrupted"
0|n|d|UserID|UAV Set UAV
hello this is me mufin mri and i lost the
drone documentation so ill try to remake it really quick:
See dis code:
*/
function parseDrones(dronesStr)
{
/*splits:
3/1-11,0/4-25,1-24,2-25,2-11,0-11,0/2-12,0-25,1
/ split
3 1-11,0 4-25,1-24,2-25,2-11,0-11,0 2-12,0-25,1
each while loop - split
3 // probably the amount of drone couples (left,right,below in this case)
1 11,0 // 1 drone which id is 11 with the behaviour of 0
4 25,1 24,2 25,2 11,0 11,0 // the fifth one of these is not going to get added
2 12,0 25,1 //usual
*/
var _loc7_ = undefined;
var _loc8_ = dronesStr.split("/");
var _loc9_ = Number(_loc8_[0]);
_loc7_ = Array(_loc9_);
i = 0;
while(i < _loc9_)
{
var _loc3_ = _loc8_[i + 1].split("-");
var _loc4_ = Number(_loc3_[0]);
_loc7_[i] = Array(_loc4_);
j = 0;
while(j < _loc4_)
{
var _loc1_ = _loc3_[j + 1].split(",");
var _loc2_ = {id:_loc1_[0],behav:Number(_loc1_[1])}; //as far as i have digged, _loc1_[1] (in example 11,0 the 0) does not do anything
_loc7_[i][j] = _loc2_;
j++;
}
i++;
}
return _loc7_;
}
/*
thus our conclusion build is:
AOD = AMOUNT_OF_DRONEGROUPS
AODG = AMOUNT_OF_DRONES_IN_GROUP
DID = DRONE_ID
AOD/AODG-DID,0-DID,0-.../AODG-DID,0-DID,0-.../AODG-DID,0-DID,0
right behind left - from ship
in the game there only were AOD of 0 (no drones),1 or 3
1 only for 1-4 drones
3 for 5-12 (5-8 for normal users) drones
1 drone: 1 behind
2 drones: 2 behind
3 drones: 3 behind
4 drones: 4 behind
5 drone: 1 left 3 behind 1 right
6 drone: 1 left 4 behind 1 right
7 drone: 1 left 4 behind 2 right
8 drone: 2 left 4 behind 2 right
9 drone: 2 left 4 behind 3 right
10 drone: 3 left 4 behind 3 right
11 drone: 3 left 4 behind 4 right
12 drone: 4 left 4 behind 4 right
so in server do
if drone_amount <= 0 nothing
else if drone_amount <= 4 1 drone group
else if drone_amount <= 12 3 drone group
else call police but dont tell them i told you to to call them
UAV examples:
var srvDronesStr = "3/1-11,0/4-25,1-24,2-25,2-11,0-11,0/2-12,0-25,1";
srvDronesStr = "3/2-25,0-25,0/4-25,1-24,2-25,2-11,0-11,0/3-12,0-25,1-11,0";
srvDronesStr = "3/4-10,0-11,0-12,0-13,0/4-14,1-15,2-25,2-24,0/4-23,0-22,1-21,0-20,0";
srvDronesStrList = [];
srvDronesStrList.push("0");
srvDronesStrList.push("3/1-15,0/1-15,1/1-25,1");
srvDronesStrList.push("3/1-25,0/2-25,1-24,2/1-12,0");
srvDronesStrList.push("3/2-10,0-11,0/1-25,0/2-25,1-24,2");
srvDronesStrList.push("3/2-10,0-11,0/2-25,0-15,0/2-25,1-24,2");
srvDronesStrList.push("3/2-10,0-11,0/3-14,0-25,0-15,0/2-25,1-24,2");
srvDronesStrList.push("3/3-10,0-11,0-12,0/2-25,0-15,0/3-25,1-24,2-23,0");
srvDronesStrList.push("3/3-10,0-11,0-12,0/3-10,0-25,0-15,0/3-25,1-24,2-23,0");
srvDronesStrList.push("3/3-10,0-11,0-12,0/4-10,0-25,0-15,0-11,0/3-25,1-24,2-23,0");
srvDronesStrList.push("3/3-10,0-11;0-12,0/4-10,0-25,0-25,0-11,0/3-25,1-24,2-23,0");
var myDronesDetails;
0|n|e|UserID|UAV Set UAV alternated
0|n|FWI|FireworkID Explode FireworkID (set by 0|r|...)
0|n|FWG|FireworksID1|FireworkID2|... Explodes all fireworkIDs given in shown scheme
MAKE TDM AND SPACEBALL IN CONSTS
0|n|tdm|drf|0|-1 "all participants for the TDM match have been chosen"
0|n|tdm|drf|0|1 "this ship will wait for the match to start blabla"
adds a little TDM window with a timer and a people counter
0|n|tdm|drf|1|TimeLeft TDM draf time left
0|n|tdm|quu|peopleCount|chanceofjoining? adds another line to the TDM window and shows where you are in the queue
0|n|tdm|gms|int sets the counter in the little TDM window into the integer typed
0|n|tdm|evt|<seconds>|<players left>|<players left guests?>
0|n|tdm|evt|dmz|<seconds> "attack countdown min:sec" -> f.e 80 -> 1:20 ( DOES NOT SET THE WINDOW)
0|n|tdm|evt|go! "attack protection has been lifted, you may now fight"
0|n|tdm|evt|nfo|HostUsers|GuestUsers TMD Stats
0|n|tdm|evt|fnl|Result Show TDM Score
0|n|tdm|msg|key|wildcard|replacement
msg = resource[] array
0|ssi|int|int|int|int|int Something about spaceball...
0|ssc|int|int|int "
0|sss|int|int
0|isi|int|int|int|itn Something about invasion
0|isc|int|int
0|isw|int Set invasion wave
0|ctb|p|BeaconID|int
0|ctb|c|BeaconID|int
0|ctb|s|MMO|EIC|VRU Set Score
0|ctb|r|BaconID|int
0|ctb|m|1
0|ctb|z|Home1|Home2|Home3 Set ctb home
// n's are probably visuals
0|n|w|int
0|n|s|int
0|n|LSH|victimID|attckerID sets username and circle thing of victimID into a grey color (http://puu.sh/nXxYV/6bf34b2499.jpg)
0|n|USH|victimID ungrey victimID
0|n|INV|userID|Invisible(1/0) sets user into invisibility
0|n|CDC|userID|0-3 something with naming and diplomatics LOOK AT SOURCE
0|n|SMB|UserID Shows SMB
0|n|ISH|UserID Shows ISH
0|n|MDL|UserID Shows Medal Box
0|n|t|userID|stringTitle sets title from userid
0|n|fbo|BoosterName|Hours Shows Booster
mapidlist
name id
("-", 0
"1-1", 1
"1-2", 2
"1-3", 3
"1-4", 4
"2-1", 5
"2-2", 6
"2-3", 7
"2-4", 8
"3-1", 9
"3-2", 10
"3-3", 11
"3-4", 12
"4-1", 13
"4-2", 14
"4-3", 15
"4-4", 16
"1-5", 17
"1-6", 18
"1-7", 19
"1-8", 20
"2-5", 21
"2-6", 22
"2-7", 23
"2-8", 24
"3-5", 25
"3-6", 26
"3-7", 27
"3-8", 28
"4-5"); 29
file DoAction_30
allmapids[42] = "???";
allmapids[51] = "GG α";
allmapids[52] = "GG β";
allmapids[53] = "GG γ";
allmapids[55] = "GG δ";
allmapids[54] = "";
allmapids[61] = "";
allmapids[62] = "";
allmapids[63] = "";
allmapids[81] = "DM";
allmapids[82] = "DM";
file DoAction_21
allmapids[42] = "???";
allmapids[50] = "GG";
allmapids[51] = "GG α";
allmapids[52] = "GG β";
allmapids[53] = "GG ɣ";
allmapids[54] = "Y II ";
allmapids[81] = "DM";
allmapids[82] = "DM";
0|n|mt|mapid|mapname renames the map-name (f.e 1-2) into the string shown
0|4|L|0|int Restore Lasers
0|4|R|0|int Restore Rockets
0|T|x|y moves ship in an offset of x - x and y - y lengths
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
0|I|UserId|Name|ShipType|Speed|SHD|MSHD|HP|MHP|FreeCargo|MaxCargo|X + 00|Y + 00|MapId|FractionId|ClanId|MaxAmmo|MaxRockets|UserId|isPremium|Experience|Honor|Level|Credits|Uridium|Jackpot|Userrank|ClanTag|gatesArchieved|UseSysFont
0|I|(and a big huge variables)* This packet is important so the source will be at the end, maybe you can get it (_loc_2[] is the packet, _loc_2[0] = 0, _loc_2[1] = I...)
,RDY|I|12|mofeisxxl-9|51|540|120000|120000|256000|256000|3|10|1000|10000|1|3|3|20000|400|3|1|1246000|15620|10|1205010|1205|0|20|FF|3|0|0|50|25
0|8 Log-in sent
0|GUEST_PLEASE_REGISTER|string nothing to explain
0|9|ini|QuestID|QuestName Not sure about QuestName
0|9|upd|QuestID|i|int|int|int|bool
0|9|a|QuestID|QuestNameId makes this shitty box come up like when u level up, (CONGRATULATIONS undefined, "" undefined, if not initalized with right integers
0|9|as|QuestID|ratingPoints|int|int same as ^ just for special quests
(see function: function showQuestFinishBox(quest_id, rating_points, sticky, resource_title_key, resource_msg_key))
0|9|c|QuestID Cancel quest IMPORTANT QUESTID IS MAYBE THE QUEST TITLE FE: 687 = q_200_mmo
0|9|f|QuestID Quest failed
0|9|p|QuestID Quest privilege
0|6|x|y creates a big red crosshair at x|y, who the fuck needs this, probably at any 0|0
145 + more from me Packets founds
And that was all
Those are currently the packets that 'spacemap.swf' can handle, now I know how to add now packets :D
*/
function parseandShowStm(keysAndValues)
{
hashKey = keysAndValues[0];
replaceStr = keysAndValues[1];
if(keysAndValues[2] == undefined)
{
if(resource[hashKey] != undefined)
{
if(replaceStr == undefined)
{
displayStatus(resource[hashKey]);
}
else
{
if(resource[replaceStr] != undefined)
{
replaceStr = resource[replaceStr];
}
var _loc2_ = resource[hashKey].split("%!");
displayStatus(_loc2_[0] + replaceStr + _loc2_[1]);
}
}
}
else
{
var _loc3_ = resource[keysAndValues[0]];
_loc2_ = _loc3_.split(keysAndValues[1]);
_loc3_ = _loc2_[0] + keysAndValues[2] + _loc2_[1];
if(keysAndValues[3] != undefined)
{
_loc2_ = _loc3_.split(keysAndValues[3]);
_loc3_ = _loc2_[0] + keysAndValues[4] + _loc2_[1];
}
if(keysAndValues[5] != undefined)
{
_loc2_ = _loc3_.split(keysAndValues[5]);
_loc3_ = _loc2_[0] + keysAndValues[6] + _loc2_[1];
}
displayStatus(_loc3_);
}
}
here is other shit 0|V
function onRTT(attacker_id, target_id, hit_verbose, rocket_type)
{
_root.playerfx("_onfx10",10);
cplayer[attacker_id].MyTargetIAttack = _level0.cplayer[target_id];
if(cplayer[attacker_id].SnaptoEnemy == false)
{
cplayer[attacker_id].SnaptoEnemy = true;
if(cplayer[attacker_id].interV == null)
{
cplayer[attacker_id].interV = setInterval(function()
{
cplayer[attacker_id].SnaptoEnemy = false;
cplayer[attacker_id].ATTbreak = 0;
clearInterval(cplayer[attacker_id].interV);
cplayer[attacker_id].interV = null;
_level0[g_CurClientUser].updateRoot();
}
,2000);
}
}
cplayer[target_id].AttackFrom = attacker_id;
if(attacker_id == g_CurClientUser)
{
_level0[g_CurClientUser].updateRoot();
}
if(hit_verbose == "H")
{
hitFlag = 1;
}
else
{
hitFlag = 0;
}
cplayer[attacker_id].traverse(cplayer[target_id],"missile" + rocket_type,cplayer[attacker_id]._name + "_" + _root.getNextHighestDepth(),hitFlag);
}
//and this is the source of the 0|I|(and a lot of variables) packet:
if(_loc2_[1] == "I")
{
_root.station._visible = 0;
LaserStopByID(_root.g_CurClientUser);
_level0[_root.g_CurClientUser].removeMovieClip();
cplayer[_root.g_CurClientUser].removeMovieClip();
g_OpponentsALL.nrem(_loc2_[2]); // USER ID
NPC = new createNPC();
mainPlayer = new createPlayer();
var _loc12_ = _loc2_[28]; //Clan TAG
var _loc59_ = int(_loc2_[16]); //Clan ID
if(_loc12_ == "GUEST" && _loc59_ == -1)
{
_loc12_ = resource.guest_tag;
_root.clanTag = _loc12_;
}
_root.gatesAchievedCount = int(_loc2_[29]);
_loc77_ = Boolean(parseInt(_loc2_[30]));
var _loc147_ = new Array(_loc2_[19],_loc2_[20],_loc2_[21],_loc2_[22],_loc2_[23],_loc2_[24],_loc2_[25],_loc2_[26]);
var _loc97_ = undefined;
_loc97_ = _loc2_[4]; //0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
//0|I|UserId|Name|ShipType|Speed|SHD|MSHD|HP|MHP|FreeCargo|MaxCargo|X + 00|Y + 00|MapId|FractionId|ClanId|MaxAmmo|MaxRockets|oState|isPremium|Experience|Honor|Level|Credits|Uridium|Jackpot|Userrank|ClanTag|gatesArchieved|UseSysFont
mainPlayer.__proto__.attachship(_root.g_CurClientUser,_loc2_[3],_loc97_,Number(_loc2_[5]),_loc2_[6],_loc2_[7],_loc2_[8],_loc2_[9],_loc2_[10],_loc2_[11],_loc2_[12],_loc2_[13],_loc2_[14],_loc2_[15],_loc59_,_loc2_[17],_loc2_[18],_loc147_,_loc2_[27],_loc12_,_root.gatesAchievedCount,_loc77_);
/* shipname, username, g_shipType, Tspeed, Tshield, Tshieldmax, Thitpoints, Thitmax, Tcarg, Tcargmax, TposdataX, TposdataY, Tmapid, Tfractionid, Tclanid, Tbattmax, Trocketsmax, Trest, userrank, clantag, gatesAchievedCount, _mUseSysfont)
-params: clientUser,var,var,Number,var,var,var,var,var,var,var,var,var,var,var,int,var,var,Array,var,var,int,Boolean
shipname, username, g_shipType, Tspeed, Tshield, Tshieldmax, Thitpoints, Thitmax, Tcargospace, Tcargospacemax, TposdataX, TposdataY, Tmapid, Tfractionid, Tclanid, Tbattmax, Trocketsmax, Trest, userrank, clantag, gatesAchievedCount, _mUseSysfont)
shipname = g_CurClientUser
username = [3]
g_shipType = [4]
Tspeed = Number([5])
Tshield = [6]
Tshieldmax = [7]
Thitpoints = [8]
Thitpointsmax = [9]
Tcargospace = [10]
Tcargospacemax = [11]
TposdataX = [12]
TposdataY = [13]
Tmapid = [14]
Tfractionid = [15]
Tclanid = int([16])
Tbattmax = [17]
Trocketsmax = [18]
Trest = Array([19],20,21,22,23,24,25,26) 19 = oState | 20 = premium | 21 = ep | 22 = honour | 23 = level | 24 = credits | 25 = uridium | 26 = jackpot
userrank = [27]
clantag = [28]
gatesAchievedCount = int([29])
_mUseSysfont = Boolean([30])
*/
mainOppo = new createOpponent();
massiveNPC = new createMassiveNPC();
_root.spaceball = new createSpaceball();
mainOppo.__proto__.attachship(_root.g_CurClientUser,444,0,0,0,0,0,0);
g_OpponentsALL.push(_loc2_[2]);
_root.g_username = _loc2_[3];
_root.chatNick = _loc2_[3];
var _loc85_ = String(_loc2_[15]);
_root.chatRoomIds = _loc85_;
if(settingsOptions.dsplyChat == 1)
{
if(_loc12_.length > 0)
{
_root.clanTag = _loc12_;
}
else
{
_root.clanTag = "noclan";
}
_root.chatInit();
}
else
{
chat._visible = false;
}
}
/*
___ _ _ ___ _ _
/ _ \ | | _ __ ___ __ _ _ __ __| | / _ \ | | (_)
| | | | | | | '_ ` _ \ / _` || '_ \ / _` | | | | | | | | |
| |_| | | | | | | | | | | (_| || | | || (_| | | |_| | | | | |
\___/ | | |_| |_| |_| \__,_||_| |_| \__,_| \___/ | | |_|
|_| |_| */
/* m:
- loads map [2]
- -minimap stuff
- also makes shitty request on the right side with this heptagon loading shit
*/
/*
i:
- disconnects user
- requests gameserver
- sets map to [2]
-
*/
else if(_loc2_[1] == "m")
{
var _loc53_ = int(_loc2_[2]);
_root.mapID = _loc53_;
_root.loadedBg = _root.loadedMaps[_loc53_];
_root.pushMapToQueue(_loc53_);
_root.pushMapsToQueue(_root.neighbors[_loc53_]);
_root.neighborsLoaded = false;
_root.updateMapQueue();
if(HUD.thehud.miniobjekte.mmstation)
{
removeMovieClip(HUD.thehud.miniobjekte.mmstation);
}
i = 0;
while(i < g_Portals_ALL.length)
{
cplayer[g_Portals_ALL[i]].removeMovieClip();
HUD.thehud[_root.g_mmfixed[i]].removeMovieClip();
i++;
}
_root.g_mmfixed = [];
g_Portals_ALL = [];
portalar = [];
docopy(_loc53_);
_level0[g_CurClientUser].mapid = _loc53_;
if(_root.mapID > 0 && _root.mapID < 30)
{
_root.uebermaps.gotoAndStop(_level0[g_CurClientUser].mapid);
}
else
{
_root.uebermap = 0;
removeMovieClip(_root.uebermaps);
}
_root.mapID = _loc53_;
setMinimapTitle();
_loc41_ = int(_loc2_[2]);
if(_loc41_ >= 101 || _loc41_ == 16 || _loc41_ == 29)
/* BIG MAPS */
{
_root.HUD.updateMMap(0.5);
}
else
{
_root.HUD.updateMMap(1);
}
capture();
}
----------------------------------------------------------
/*
i:
- disconnects user
- requests gameserver
- sets map to [2]
-
*/
else if(_loc2_[1] == "i")
{
_root.mapID = Number(_loc2_[2]);
_root.getGameserverAddress();
_root.loadedBg = _root.loadedMaps[_root.mapID];
_root.pushMapToQueue(_root.mapID);
_root.pushMapsToQueue(_root.neighbors[_root.mapID]);
_root.neighborsLoaded = false;
_root.updateMapQueue();
var _loc41_ = _loc2_[2] * 1;
if(_loc41_ >= 101 || _loc41_ != 16 && _loc41_ != 29)
{ /* BIG MAPS */
_root.HUD.updateMMap(0.5);
}
else
{
_root.HUD.updateMMap(1);
}
_root.SCAflag = -1;
}
/* MAP STUDIES :D */
//DoAction_30
function capture()
{
// Bitmap
var _loc9_ = new flash.display.BitmapData(2100,1400,false,0);
//a movieclip
var _loc4_ = HUD.thehud.miniBit.createEmptyMovieClip("bitmap_mc",0);
//4 numbers
//_loc3_ is a scalar double, _loc2_ is a multiplier
//note: _loc3_ is never 1 at the usage of it, stupid developers
var _loc3_ = 1;
var _loc2_ = 1;