Advertisement
Kuroneko-yousenpai

SortTurnLog

Oct 11th, 2021
507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.63 KB | None | 0 0
  1. trait method QName(PrivateNamespace(""),"sortTurnLog")
  2. dispid 0
  3. method
  4. name "sortingWpns/sortWeapons"
  5. param QName(PackageNamespace("ru.pragmatix.wormix.messages.client"),"EndTurn")
  6. returns QName(PackageNamespace(""),"void")
  7.  
  8. body
  9. maxstack 9
  10. localcount 49
  11. initscopedepth 3
  12. maxscopedepth 5
  13.  
  14. code
  15. getlocal_0
  16. pushscope
  17. pushstring ""
  18. convert_s
  19. setlocal 6
  20. getlocal_1
  21. getproperty QName(PackageNamespace(""),"turn")
  22. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"TurnStructure")
  23. setlocal_2
  24. pushnull
  25. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  26. setlocal 5
  27. pushstring ""
  28. convert_s
  29. setlocal 8
  30. getlocal_2
  31. getproperty QName(PackageNamespace(""),"turnNum")
  32. convert_i
  33. setlocal 9
  34. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  35. getlocal_0
  36. getproperty QName(PrivateNamespace(null,"310"),"lastTimeLogged")
  37. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  38. callproperty QName(PackageNamespace(""),"getCurrentTime"), 0
  39. callproperty QName(PackageNamespace(""),"getDiffHMS"), 2
  40. convert_s
  41. setlocal 19
  42. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  43. callproperty QName(PackageNamespace(""),"getHMS"), 0
  44. convert_s
  45. setlocal 21
  46. getlocal_2
  47. getproperty QName(PackageNamespace(""),"isPlayerTurn")
  48. convert_b
  49. setlocal 22
  50. getlocal_2
  51. getproperty QName(PackageNamespace(""),"damageToBoss")
  52. convert_i
  53. setlocal 23
  54. getlocal_2
  55. getproperty QName(PackageNamespace(""),"damageToPlayer")
  56. convert_i
  57. setlocal 24
  58. getlocal 22
  59. iffalse isbossturn
  60. pushstring "Игрок"
  61. jump isplayerturn
  62. isbossturn:pushstring "Босс"
  63. isplayerturn:convert_s
  64. setlocal 25
  65. getlocal 22
  66. iffalse bosscolor
  67. pushstring "#66FF66"
  68. jump playercolor
  69. bosscolor:pushstring "#FF0404"
  70. playercolor:convert_s
  71. setlocal 26
  72. getlocal 23
  73. pushbyte 0
  74. ifeq zerodamagetoboss
  75. getlocal 23
  76. jump notzerodamagetoboss
  77. zerodamagetoboss:pushstring "--"
  78. notzerodamagetoboss:convert_s
  79. setlocal 27
  80. getlocal 24
  81. pushbyte 0
  82. ifeq zerodamagetoplayer
  83. getlocal 24
  84. jump notzerodamagetoplayer
  85. zerodamagetoplayer:pushstring "--"
  86. notzerodamagetoplayer:convert_s
  87. setlocal 28
  88. getlocal 9
  89. pushbyte 0
  90. ifeq zeroturn
  91. getlocal_2
  92. getproperty QName(PackageNamespace(""),"items")
  93. getproperty QName(PackageNamespace(""),"length")
  94. pushbyte 0
  95. ifngt weapons_array_not_exist
  96. pushbyte 0
  97. setlocal_3
  98. getlocal_2
  99. getproperty QName(PackageNamespace(""),"items")
  100. coerce QName(PackageNamespace(""),"Array")
  101. setlocal 4
  102. jump intheend
  103. startloop:label
  104. getlocal 4
  105. getlocal_3
  106. nextvalue
  107. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  108. setlocal 5
  109. debugline 28
  110. jump switch
  111. first:label
  112. getlocal 8
  113. pushstring "[Утопил]"
  114. pushstring ":"
  115. add
  116. pushstring " "
  117. add
  118. getlocal 5
  119. callproperty QName(PackageNamespace(""),"getCount"), 0
  120. add
  121. pushstring " "
  122. add
  123. getlocal_0
  124. getlocal_2
  125. getproperty QName(PackageNamespace(""),"items")
  126. getlocal 5
  127. callproperty QName(PackageNamespace(""),"getId"), 0
  128. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  129. add
  130. add
  131. convert_s
  132. setlocal 8
  133. jump intheend
  134. second:label
  135. getlocal 8
  136. pushstring "[Урон от расы]"
  137. pushstring ":"
  138. add
  139. pushstring " "
  140. add
  141. getlocal 5
  142. callproperty QName(PackageNamespace(""),"getCount"), 0
  143. add
  144. pushstring " "
  145. add
  146. getlocal_0
  147. getlocal_2
  148. getproperty QName(PackageNamespace(""),"items")
  149. getlocal 5
  150. callproperty QName(PackageNamespace(""),"getId"), 0
  151. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  152. add
  153. add
  154. convert_s
  155. setlocal 8
  156. jump intheend
  157. third:label
  158. getlocal 8
  159. pushstring "[Урон от механики]"
  160. pushstring ":"
  161. add
  162. pushstring " "
  163. add
  164. getlocal 5
  165. callproperty QName(PackageNamespace(""),"getCount"), 0
  166. add
  167. pushstring " "
  168. add
  169. getlocal_0
  170. getlocal_2
  171. getproperty QName(PackageNamespace(""),"items")
  172. getlocal 5
  173. callproperty QName(PackageNamespace(""),"getId"), 0
  174. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  175. add
  176. add
  177. convert_s
  178. setlocal 8
  179. jump intheend
  180. fourth:label
  181. getlocal 8
  182. pushstring "[Лечение]"
  183. pushstring ":"
  184. add
  185. pushstring " "
  186. add
  187. getlocal 5
  188. callproperty QName(PackageNamespace(""),"getCount"), 0
  189. add
  190. pushstring " "
  191. add
  192. getlocal_0
  193. getlocal_2
  194. getproperty QName(PackageNamespace(""),"items")
  195. getlocal 5
  196. callproperty QName(PackageNamespace(""),"getId"), 0
  197. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  198. add
  199. add
  200. convert_s
  201. setlocal 8
  202. jump intheend
  203. fifth:label
  204. getlocal 8
  205. pushstring "[Урон от оружия без выстрела]"
  206. pushstring ":"
  207. add
  208. pushstring " "
  209. add
  210. getlocal 5
  211. callproperty QName(PackageNamespace(""),"getCount"), 0
  212. add
  213. pushstring " "
  214. add
  215. getlocal_0
  216. getlocal_2
  217. getproperty QName(PackageNamespace(""),"items")
  218. getlocal 5
  219. callproperty QName(PackageNamespace(""),"getId"), 0
  220. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  221. add
  222. add
  223. convert_s
  224. setlocal 8
  225. jump intheend
  226. sixth:label
  227. getlocal 6
  228. findpropstrict QName(PackageNamespace("ru.pragmatix.wormix.storage.items"),"ItemsStore")
  229. getproperty QName(PackageNamespace("ru.pragmatix.wormix.storage.items"),"ItemsStore")
  230. getlocal 5
  231. callproperty QName(PackageNamespace(""),"getId"), 0
  232. callproperty QName(PackageNamespace(""),"getWeaponById"), 1
  233. getproperty QName(ProtectedNamespace("ru.pragmatix.wormix.storage.items.record:ShopRecord"),"name")
  234. pushstring ":"
  235. add
  236. pushstring " "
  237. add
  238. getlocal 5
  239. callproperty QName(PackageNamespace(""),"getCount"), 0
  240. add
  241. getlocal_0
  242. getlocal_2
  243. getproperty QName(PackageNamespace(""),"items")
  244. getlocal 5
  245. callproperty QName(PackageNamespace(""),"getId"), 0
  246. pushtrue
  247. callproperty QName(PrivateNamespace(""),"isNextExist"), 3
  248. add
  249. add
  250. convert_s
  251. setlocal 6
  252. jump intheend
  253. jump switch
  254. switch:getlocal 5
  255. callproperty QName(PackageNamespace(""),"getId"), 0
  256. setlocal 7
  257. pushshort 10000
  258. getlocal 7
  259. ifstrictne secondcase
  260. pushbyte 0
  261. jump ending
  262. secondcase:pushshort 10001
  263. getlocal 7
  264. ifstrictne thirdcase
  265. pushbyte 1
  266. jump ending
  267. thirdcase:pushshort 10002
  268. getlocal 7
  269. ifstrictne fourthcase
  270. pushbyte 2
  271. jump ending
  272. fourthcase:pushshort 10003
  273. getlocal 7
  274. ifstrictne fifthcase
  275. pushbyte 3
  276. jump ending
  277. fifthcase:pushshort 10004
  278. getlocal 7
  279. ifstrictne sixthcase
  280. pushbyte 4
  281. jump ending
  282. sixthcase:jump last
  283. pushbyte 5
  284. jump last
  285. last:pushbyte 5
  286. ending:kill 7
  287. lookupswitch sixth, 5, first, second, third, fourth, fifth, sixth
  288. intheend:debugline 27
  289. hasnext2 4, 3
  290. iftrue startloop
  291. kill 4
  292. kill 3
  293. weapons_array_not_exist:getlocal_0
  294. getlocal 22
  295. iffalse cheatsdetectonplayerturn
  296. getlocal_0
  297. pushtrue
  298. pushfalse
  299. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  300. callproperty QName(PackageNamespace(""),"getCurrentTime"), 0
  301. getlocal_0
  302. getproperty QName(PrivateNamespace(null,"310"),"lastTimeLogged")
  303. subtract
  304. getlocal 23
  305. getlocal_2
  306. getproperty QName(PackageNamespace(""),"items")
  307. getlocal_2
  308. getproperty QName(PackageNamespace(""),"deaths")
  309. getlocal 22
  310. callproperty QName(PackageNamespace(""),"checkCheatsDetect"), 7
  311. jump damagetoohigh
  312. cheatsdetectonplayerturn:pushstring ""
  313. damagetoohigh:dup
  314. coerce_s
  315. setlocal 30
  316. initproperty QName(PrivateNamespace(null,"310"),"cheatReason")
  317. getlocal 30
  318. kill 30
  319. coerce_s
  320. setlocal 29
  321. findpropstrict QName(PackageNamespace("ru.pragmatix.wormix.weapons"),"Weapon")
  322. getproperty QName(PackageNamespace("ru.pragmatix.wormix.weapons"),"Weapon")
  323. pushfalse
  324. initproperty QName(PackageNamespace(""),"isMultishotsDetected")
  325. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  326. getproperty QName(PackageNamespace(""),"btc")
  327. getproperty QName(PackageNamespace(""),"gameMaster")
  328. pushfalse
  329. setproperty QName(PackageNamespace(""),"setHackCheck")
  330. getlocal_0
  331. getlocal 22
  332. initproperty QName(PrivateNamespace(null,"310"),"isPreviousPlayerTurn")
  333. getlocal 22
  334. convert_b
  335. dup
  336. iffalse isAIturn
  337. pop
  338. getlocal_0
  339. getproperty QName(PrivateNamespace(null,"310"),"BossTurnsMoreThanZero")
  340. not
  341. convert_b
  342. isAIturn:iffalse bossturnsnotzero
  343. getlocal_0
  344. pushtrue
  345. initproperty QName(PrivateNamespace(null,"310"),"BossTurnsMoreThanZero")
  346. bossturnsnotzero:getlocal_2
  347. getproperty QName(PackageNamespace(""),"deaths")
  348. getproperty QName(PackageNamespace(""),"length")
  349. pushbyte 0
  350. greaterthan
  351. convert_b
  352. dup
  353. iftrue deathsexist
  354. pop
  355. getlocal_2
  356. getproperty QName(PackageNamespace(""),"births")
  357. getproperty QName(PackageNamespace(""),"length")
  358. pushbyte 0
  359. greaterthan
  360. convert_b
  361. deathsexist:iffalse birthsordeathsexists
  362. pushstring ""
  363. convert_s
  364. setlocal 37
  365. pushstring ""
  366. coerce_s
  367. setlocal 38
  368. newarray 0
  369. coerce QName(PackageNamespace(""),"Array")
  370. setlocal 47
  371. newarray 0
  372. coerce QName(PackageNamespace(""),"Array")
  373. setlocal 48
  374. getlocal_2
  375. getproperty QName(PackageNamespace(""),"deaths")
  376. getproperty QName(PackageNamespace(""),"length")
  377. pushbyte 0
  378. ifngt deathsnotexist
  379. pushnull
  380. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"BossWormStructure")
  381. setlocal 31
  382. getlocal_2
  383. getproperty QName(PackageNamespace(""),"deaths")
  384. coerce QName(PackageNamespace(""),"Array")
  385. setlocal 32
  386. newarray 0
  387. coerce QName(PackageNamespace(""),"Array")
  388. setlocal 35
  389. newarray 0
  390. coerce QName(PackageNamespace(""),"Array")
  391. setlocal 36
  392. pushbyte 0
  393. setlocal 33
  394. getlocal 32
  395. coerce QName(PackageNamespace(""),"Array")
  396. setlocal 34
  397. jump setelementsloop_deaths
  398. looplabel_deaths:label
  399. getlocal 34
  400. getlocal 33
  401. nextvalue
  402. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"BossWormStructure")
  403. setlocal 31
  404. debugline 63
  405. getlocal 31
  406. getproperty QName(PackageNamespace(""),"isPlayerTeam")
  407. iffalse deathsnotinplayerteam
  408. getlocal 35
  409. pushstring "(-): "
  410. getlocal 31
  411. getproperty QName(PackageNamespace(""),"hp")
  412. add
  413. coerce_s
  414. callpropvoid QName(Namespace("http://adobe.com/AS3/2006/builtin"),"push"), 1
  415. jump setelementsloop_deaths
  416. deathsnotinplayerteam:getlocal 36
  417. pushstring "(-): "
  418. getlocal 31
  419. getproperty QName(PackageNamespace(""),"hp")
  420. add
  421. coerce_s
  422. callpropvoid QName(Namespace("http://adobe.com/AS3/2006/builtin"),"push"), 1
  423. setelementsloop_deaths:debugline 69
  424. hasnext2 34, 33
  425. iftrue looplabel_deaths
  426. kill 34
  427. kill 33
  428. getlocal 35
  429. getproperty QName(PackageNamespace(""),"length")
  430. pushbyte 0
  431. ifngt isplayerdeathsnotexists
  432. getlocal 47
  433. getlocal 35
  434. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"concat"), 1
  435. coerce QName(PackageNamespace(""),"Array")
  436. setlocal 47
  437. isplayerdeathsnotexists:getlocal 36
  438. getproperty QName(PackageNamespace(""),"length")
  439. pushbyte 0
  440. ifngt deathsnotexist
  441. getlocal 48
  442. getlocal 36
  443. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"concat"), 1
  444. coerce QName(PackageNamespace(""),"Array")
  445. setlocal 48
  446. deathsnotexist:getlocal_2
  447. getproperty QName(PackageNamespace(""),"births")
  448. getproperty QName(PackageNamespace(""),"length")
  449. pushbyte 0
  450. ifngt birthsnotexist
  451. pushnull
  452. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"BossWormStructure")
  453. setlocal 39
  454. getlocal_2
  455. getproperty QName(PackageNamespace(""),"births")
  456. coerce QName(PackageNamespace(""),"Array")
  457. setlocal 40
  458. newarray 0
  459. coerce QName(PackageNamespace(""),"Array")
  460. setlocal 41
  461. newarray 0
  462. coerce QName(PackageNamespace(""),"Array")
  463. setlocal 42
  464. pushbyte 0
  465. setlocal 43
  466. getlocal 40
  467. coerce QName(PackageNamespace(""),"Array")
  468. setlocal 44
  469. jump setelementsloop_births
  470. looplabel_births:label
  471. getlocal 44
  472. getlocal 43
  473. nextvalue
  474. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"BossWormStructure")
  475. setlocal 39
  476. debugline 73
  477. getlocal 39
  478. getproperty QName(PackageNamespace(""),"isPlayerTeam")
  479. iffalse birthsnotinplayerteam
  480. getlocal 41
  481. pushstring "(+): "
  482. getlocal 39
  483. getproperty QName(PackageNamespace(""),"hp")
  484. add
  485. coerce_s
  486. callpropvoid QName(Namespace("http://adobe.com/AS3/2006/builtin"),"push"), 1
  487. jump setelementsloop_births
  488. birthsnotinplayerteam:getlocal 42
  489. pushstring "(+): "
  490. getlocal 39
  491. getproperty QName(PackageNamespace(""),"hp")
  492. add
  493. coerce_s
  494. callpropvoid QName(Namespace("http://adobe.com/AS3/2006/builtin"),"push"), 1
  495. getlocal_0
  496. getlocal_0
  497. getproperty QName(PrivateNamespace(null,"310"),"startBossHp")
  498. getlocal 39
  499. getproperty QName(PackageNamespace(""),"hp")
  500. add
  501. setproperty QName(PrivateNamespace(null,"310"),"startBossHp")
  502. setelementsloop_births:debugline 79
  503. hasnext2 44, 43
  504. iftrue looplabel_births
  505. kill 44
  506. kill 43
  507. getlocal 41
  508. getproperty QName(PackageNamespace(""),"length")
  509. pushbyte 0
  510. ifngt isplayerbirthsnotexists
  511. getlocal 47
  512. getproperty QName(PackageNamespace(""),"length")
  513. pushbyte 0
  514. ifngt isdeathsinarrayexist
  515. getlocal 41
  516. getlocal 47
  517. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"concat"), 1
  518. coerce QName(PackageNamespace(""),"Array")
  519. setlocal 41
  520. getlocal 41
  521. coerce QName(PackageNamespace(""),"Array")
  522. setlocal 47
  523. jump isplayerbirthsnotexists
  524. isdeathsinarrayexist:getlocal 41
  525. coerce QName(PackageNamespace(""),"Array")
  526. setlocal 47
  527. isplayerbirthsnotexists:getlocal 42
  528. getproperty QName(PackageNamespace(""),"length")
  529. pushbyte 0
  530. ifngt birthsnotexist
  531. getlocal 48
  532. getproperty QName(PackageNamespace(""),"length")
  533. pushbyte 0
  534. ifngt is_boss_d_array_exist
  535. getlocal 48
  536. getlocal 42
  537. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"concat"), 1
  538. coerce QName(PackageNamespace(""),"Array")
  539. setlocal 48
  540. jump birthsnotexist
  541. is_boss_d_array_exist:getlocal 42
  542. coerce QName(PackageNamespace(""),"Array")
  543. setlocal 48
  544. birthsnotexist:getlocal 47
  545. getproperty QName(PackageNamespace(""),"length")
  546. pushbyte 0
  547. ifngt is_player_db_array_exist
  548. getlocal_0
  549. getlocal 47
  550. callproperty QName(PrivateNamespace(""),"formatDeathsBirths"), 1
  551. convert_s
  552. setlocal 37
  553. is_player_db_array_exist:getlocal 48
  554. getproperty QName(PackageNamespace(""),"length")
  555. pushbyte 0
  556. ifngt is_boss_db_array_exist
  557. getlocal_0
  558. getlocal 48
  559. callproperty QName(PrivateNamespace(""),"formatDeathsBirths"), 1
  560. convert_s
  561. setlocal 38
  562. is_boss_db_array_exist:debugline 666
  563. birthsordeathsexists:pushstring "["
  564. getlocal 21
  565. add
  566. pushstring "]"
  567. add
  568. pushstring " | "
  569. add
  570. getlocal 19
  571. add
  572. pushstring " | "
  573. add
  574. getlocal 9
  575. add
  576. getlocal 29
  577. iffalse isnotcheat_txt
  578. pushstring " | "
  579. pushstring "CHEAT: "
  580. add
  581. getlocal 29
  582. add
  583. pushstring " | "
  584. add
  585. jump ischeatsdetected_txt
  586. isnotcheat_txt:pushstring " | "
  587. getlocal 25
  588. add
  589. pushstring " | "
  590. add
  591. ischeatsdetected_txt:add
  592. getlocal 37
  593. iffalse isplayers_db_exist_txt
  594. getlocal 37
  595. pushstring " "
  596. add
  597. jump players_db_exist_txt
  598. isplayers_db_exist_txt:pushstring ""
  599. players_db_exist_txt:add
  600. getlocal 28
  601. add
  602. pushstring " / "
  603. add
  604. getlocal 27
  605. add
  606. getlocal 38
  607. iffalse isboss_db_exist_txt
  608. pushstring " "
  609. getlocal 38
  610. add
  611. jump boss_db_exist_txt
  612. isboss_db_exist_txt:pushstring ""
  613. boss_db_exist_txt:add
  614. getlocal 6
  615. convert_b
  616. dup
  617. iftrue isspecialexist_weaponsused_txt
  618. pop
  619. getlocal 8
  620. convert_b
  621. isspecialexist_weaponsused_txt:iffalse isweaponsusedexist_txt
  622. getlocal_0
  623. getlocal 6
  624. getlocal 8
  625. callproperty QName(PrivateNamespace(""),"isSpecialExist"), 2
  626. pushstring "\n"
  627. add
  628. jump weaponsusedexist_txt
  629. isweaponsusedexist_txt:pushstring " "
  630. pushstring "Оружия не использовано!"
  631. add
  632. pushstring "\n"
  633. add
  634. weaponsusedexist_txt:add
  635. convert_s
  636. setlocal 45
  637. getlocal_0
  638. getlocal_0
  639. getproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  640. getlocal 45
  641. add
  642. convert_s
  643. initproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  644. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  645. getproperty QName(PackageNamespace(""),"btc")
  646. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  647. pushstring "["
  648. pushint -30977
  649. callproperty QName(PackageNamespace(""),"textWithIntColor"), 2
  650. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  651. getlocal 21
  652. pushint -17921
  653. callproperty QName(PackageNamespace(""),"textWithIntColor"), 2
  654. add
  655. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  656. pushstring "]"
  657. pushint -30977
  658. callproperty QName(PackageNamespace(""),"textWithIntColor"), 2
  659. add
  660. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  661. pushstring " | "
  662. getlocal 19
  663. add
  664. pushstring " | "
  665. add
  666. getlocal 9
  667. add
  668. getlocal 29
  669. iffalse isnotcheat
  670. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  671. pushstring " | "
  672. pushstring "CHEAT: "
  673. add
  674. getlocal 29
  675. add
  676. pushstring " | "
  677. add
  678. pushstring "#FFCB27"
  679. callproperty QName(PackageNamespace(""),"textWithColor"), 2
  680. jump ischeatsdetected
  681. isnotcheat:pushstring " | "
  682. getlocal 25
  683. add
  684. pushstring " | "
  685. add
  686. ischeatsdetected:add
  687. getlocal 37
  688. iffalse isplayers_db_exist
  689. getlocal 37
  690. pushstring " "
  691. add
  692. jump players_db_exist
  693. isplayers_db_exist:pushstring ""
  694. players_db_exist:add
  695. getlocal 28
  696. add
  697. pushstring " / "
  698. add
  699. getlocal 27
  700. add
  701. getlocal 38
  702. iffalse isboss_db_exist
  703. pushstring " "
  704. getlocal 38
  705. add
  706. jump boss_db_exist
  707. isboss_db_exist:pushstring ""
  708. boss_db_exist:add
  709. getlocal 6
  710. convert_b
  711. dup
  712. iftrue isspecialexist_weaponsused
  713. pop
  714. getlocal 8
  715. convert_b
  716. isspecialexist_weaponsused:iffalse isweaponsusedexist
  717. getlocal_0
  718. getlocal 6
  719. getlocal 8
  720. callproperty QName(PrivateNamespace(""),"isSpecialExist"), 2
  721. pushstring "\n"
  722. add
  723. jump weaponsusedexist
  724. isweaponsusedexist:pushstring " "
  725. pushstring "Оружия не использовано!"
  726. add
  727. weaponsusedexist:add
  728. getlocal 26
  729. callproperty QName(PackageNamespace(""),"textWithColor"), 2
  730. add
  731. callpropvoid QName(PackageNamespace(""),"addMsgCheatLogger"), 1
  732. jump sorteditems
  733. zeroturn:pushstring "Текущее время | Время | Номер хода | Кто ходил | Урон игроку / Урон боссу | Оружие"
  734. coerce_s
  735. setlocal 46
  736. getlocal 46
  737. pushstring "\n"
  738. add
  739. pushstring "["
  740. add
  741. getlocal 21
  742. add
  743. pushstring "]"
  744. add
  745. pushstring " | -- | Начало | Начало | "
  746. add
  747. setlocal 46
  748. getlocal_0
  749. getlocal_0
  750. getproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  751. getlocal 46
  752. add
  753. coerce_s
  754. setproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  755. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  756. getproperty QName(PackageNamespace(""),"btc")
  757. getlocal 46
  758. callpropvoid QName(PackageNamespace(""),"addMsgCheatLogger"), 1
  759. pushstring ""
  760. convert_s
  761. setlocal 37
  762. pushstring ""
  763. coerce_s
  764. setlocal 38
  765. getlocal_2
  766. getproperty QName(PackageNamespace(""),"births")
  767. getproperty QName(PackageNamespace(""),"length")
  768. pushbyte 0
  769. ifngt birthsnotexist_zeroturn
  770. pushnull
  771. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"BossWormStructure")
  772. setlocal 39
  773. getlocal_2
  774. getproperty QName(PackageNamespace(""),"births")
  775. coerce QName(PackageNamespace(""),"Array")
  776. setlocal 40
  777. newarray 0
  778. coerce QName(PackageNamespace(""),"Array")
  779. setlocal 41
  780. newarray 0
  781. coerce QName(PackageNamespace(""),"Array")
  782. setlocal 42
  783. pushbyte 0
  784. setlocal 43
  785. getlocal 40
  786. coerce QName(PackageNamespace(""),"Array")
  787. setlocal 44
  788. jump setelementsloop_births_zeroturn
  789. looplabel_births_zeroturn:label
  790. getlocal 44
  791. getlocal 43
  792. nextvalue
  793. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"BossWormStructure")
  794. setlocal 39
  795. debugline 73
  796. getlocal 39
  797. getproperty QName(PackageNamespace(""),"isPlayerTeam")
  798. iffalse birthsnotinplayerteam_zeroturn
  799. getlocal 41
  800. pushstring "(+): "
  801. getlocal 39
  802. getproperty QName(PackageNamespace(""),"hp")
  803. add
  804. coerce_s
  805. callpropvoid QName(Namespace("http://adobe.com/AS3/2006/builtin"),"push"), 1
  806. jump setelementsloop_births_zeroturn
  807. birthsnotinplayerteam_zeroturn:getlocal 42
  808. pushstring "(+): "
  809. getlocal 39
  810. getproperty QName(PackageNamespace(""),"hp")
  811. add
  812. coerce_s
  813. callpropvoid QName(Namespace("http://adobe.com/AS3/2006/builtin"),"push"), 1
  814. setelementsloop_births_zeroturn:debugline 79
  815. hasnext2 44, 43
  816. iftrue looplabel_births_zeroturn
  817. kill 44
  818. kill 43
  819. getlocal 41
  820. getproperty QName(PackageNamespace(""),"length")
  821. pushbyte 0
  822. ifngt isplayerbirthsnotexists_zeroturn
  823. getlocal 37
  824. getlocal_0
  825. getlocal 41
  826. callproperty QName(PrivateNamespace(""),"formatDeathsBirths"), 1
  827. add
  828. convert_s
  829. setlocal 37
  830. isplayerbirthsnotexists_zeroturn:getlocal 42
  831. getproperty QName(PackageNamespace(""),"length")
  832. pushbyte 0
  833. ifngt birthsnotexist_beforewritingtolog_zeroturn
  834. getlocal 38
  835. getlocal_0
  836. getlocal 42
  837. callproperty QName(PrivateNamespace(""),"formatDeathsBirths"), 1
  838. add
  839. convert_s
  840. setlocal 38
  841. birthsnotexist_beforewritingtolog_zeroturn:getlocal 37
  842. iffalse is_player_bd_notexist_writetolog_zeroturn
  843. getlocal 37
  844. pushstring " "
  845. add
  846. jump is_player_bd_exist_writetolog_zeroturn
  847. is_player_bd_notexist_writetolog_zeroturn:pushstring ""
  848. is_player_bd_exist_writetolog_zeroturn:getlocal 27
  849. add
  850. pushstring " / "
  851. add
  852. getlocal 28
  853. add
  854. getlocal 38
  855. iffalse is_boss_bd_notexist_writetolog_zeroturn
  856. pushstring " "
  857. getlocal 38
  858. add
  859. jump is_boss_bd_exist_writetolog_zeroturn
  860. is_boss_bd_notexist_writetolog_zeroturn:pushstring ""
  861. is_boss_bd_exist_writetolog_zeroturn:add
  862. pushstring "\n"
  863. add
  864. coerce_s
  865. setlocal 30
  866. getlocal_0
  867. getlocal_0
  868. getproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  869. getlocal 30
  870. add
  871. pushstring "\n"
  872. add
  873. coerce_s
  874. setproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  875. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  876. getproperty QName(PackageNamespace(""),"btc")
  877. getlocal 30
  878. callpropvoid QName(PackageNamespace(""),"addMsgCheatLogger"), 1
  879. birthsnotexist_zeroturn:pushnull
  880. coerce QName(PackageNamespace("ru.pragmatix.wormix.game.squad"),"Squad")
  881. setlocal 10
  882. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  883. getproperty QName(PackageNamespace(""),"btc")
  884. getproperty QName(PackageNamespace(""),"gameMaster")
  885. callproperty QName(PackageNamespace(""),"getSquads"), 0
  886. coerce QName(PackageNamespace(""),"Array")
  887. setlocal 11
  888. pushbyte 0
  889. setlocal 14
  890. getlocal 11
  891. coerce QName(PackageNamespace(""),"Array")
  892. setlocal 15
  893. jump setelementsloop_squads
  894. looplabel_squads:label
  895. getlocal 15
  896. getlocal 14
  897. nextvalue
  898. coerce QName(PackageNamespace("ru.pragmatix.wormix.game.squad"),"Squad")
  899. setlocal 10
  900. debugline 55
  901. getlocal 10
  902. callproperty QName(PackageNamespace(""),"isAi"), 0
  903. iffalse notmyteam
  904. getlocal_0
  905. getlocal_0
  906. getproperty QName(PrivateNamespace(null,"310"),"startBossHp")
  907. getlocal 10
  908. callproperty QName(PackageNamespace(""),"getSquadHp"), 0
  909. add
  910. initproperty QName(PrivateNamespace(null,"310"),"startBossHp")
  911. jump myteam
  912. notmyteam:getlocal_0
  913. getlocal 10
  914. callproperty QName(PackageNamespace(""),"getSquadHp"), 0
  915. initproperty QName(PrivateNamespace(null,"310"),"startPlayerHp")
  916. myteam:pushnull
  917. coerce QName(PackageNamespace("ru.pragmatix.wormix.objects.unit"),"Unit")
  918. setlocal 13
  919. pushstring ""
  920. convert_s
  921. setlocal 12
  922. getlocal 10
  923. getproperty QName(PrivateNamespace(null,"326"),"number")
  924. convert_u
  925. setlocal 18
  926. pushbyte 0
  927. setlocal 16
  928. getlocal 10
  929. callproperty QName(PackageNamespace(""),"getUnits"), 0
  930. setlocal 17
  931. jump setelementsloop_units
  932. looplabel_units:label
  933. getlocal 17
  934. getlocal 16
  935. nextvalue
  936. coerce QName(PackageNamespace("ru.pragmatix.wormix.objects.unit"),"Unit")
  937. setlocal 13
  938. debugline 63
  939. getlocal 10
  940. callproperty QName(PackageNamespace(""),"isAi"), 0
  941. not
  942. iffalse isAI
  943. getlocal 12
  944. getlocal 13
  945. getproperty QName(PackageNamespace(""),"attributes")
  946. getproperty QName(PackageNamespace(""),"hp")
  947. getproperty QName(PackageNamespace(""),"value")
  948. add
  949. pushstring " "
  950. add
  951. getlocal 13
  952. getproperty QName(PackageNamespace(""),"record")
  953. callproperty QName(PackageNamespace(""),"getRace"), 0
  954. callproperty QName(PackageNamespace(""),"getName"), 0
  955. add
  956. pushstring " "
  957. add
  958. pushstring "("
  959. add
  960. getlocal 13
  961. getproperty QName(PackageNamespace(""),"record")
  962. callproperty QName(PackageNamespace(""),"getLevel"), 0
  963. add
  964. pushstring ")"
  965. add
  966. pushstring " "
  967. add
  968. pushstring "{"
  969. add
  970. pushstring "\n"
  971. add
  972. getlex QName(PackageNamespace(""),"Application")
  973. getproperty QName(PackageNamespace(""),"userProfile")
  974. callproperty QName(PackageNamespace(""),"getId"), 0
  975. getlocal 13
  976. getproperty QName(PackageNamespace(""),"record")
  977. callproperty QName(PackageNamespace(""),"getId"), 0
  978. ifne isnotme
  979. pushstring "Вы: "
  980. jump isme
  981. isnotme:pushstring "Союзник: "
  982. isme:add
  983. pushstring "ID "
  984. add
  985. getlocal 13
  986. getproperty QName(PackageNamespace(""),"record")
  987. callproperty QName(PackageNamespace(""),"getId"), 0
  988. add
  989. pushstring " (game id: "
  990. add
  991. getlocal 13
  992. callproperty QName(PackageNamespace(""),"getId"), 0
  993. add
  994. pushstring ")"
  995. add
  996. pushstring "\n"
  997. add
  998. pushstring "LVL: "
  999. add
  1000. getlocal 13
  1001. getproperty QName(PackageNamespace(""),"record")
  1002. callproperty QName(PackageNamespace(""),"getLevel"), 0
  1003. add
  1004. pushstring " => "
  1005. add
  1006. getlocal 13
  1007. getproperty QName(PackageNamespace(""),"record")
  1008. getproperty QName(PackageNamespace(""),"stats")
  1009. getproperty QName(PackageNamespace(""),"baseHp")
  1010. getproperty QName(PackageNamespace(""),"value")
  1011. add
  1012. pushstring " HP"
  1013. add
  1014. getlocal 13
  1015. getproperty QName(PackageNamespace(""),"record")
  1016. getproperty QName(PackageNamespace(""),"stats")
  1017. getproperty QName(PackageNamespace(""),"bonusHp")
  1018. getproperty QName(PackageNamespace(""),"value")
  1019. pushbyte 0
  1020. ifngt bonushpnull
  1021. pushstring " +"
  1022. pushstring " "
  1023. add
  1024. getlocal 13
  1025. getproperty QName(PackageNamespace(""),"record")
  1026. getproperty QName(PackageNamespace(""),"stats")
  1027. getproperty QName(PackageNamespace(""),"bonusHp")
  1028. getproperty QName(PackageNamespace(""),"value")
  1029. add
  1030. pushstring " Bonus HP"
  1031. add
  1032. jump bonushpexist
  1033. bonushpnull:pushstring ""
  1034. bonushpexist:add
  1035. pushstring "\n"
  1036. add
  1037. pushstring "Attack: "
  1038. add
  1039. getlocal 13
  1040. getproperty QName(PackageNamespace(""),"record")
  1041. getproperty QName(PackageNamespace(""),"stats")
  1042. getproperty QName(PackageNamespace(""),"baseAttack")
  1043. getproperty QName(PackageNamespace(""),"value")
  1044. add
  1045. getlocal 13
  1046. getproperty QName(PackageNamespace(""),"record")
  1047. getproperty QName(PackageNamespace(""),"stats")
  1048. getproperty QName(PackageNamespace(""),"bonusAttack")
  1049. getproperty QName(PackageNamespace(""),"value")
  1050. pushbyte 0
  1051. ifngt bonusattacknull
  1052. pushstring " +"
  1053. pushstring " "
  1054. add
  1055. getlocal 13
  1056. getproperty QName(PackageNamespace(""),"record")
  1057. getproperty QName(PackageNamespace(""),"stats")
  1058. getproperty QName(PackageNamespace(""),"bonusAttack")
  1059. getproperty QName(PackageNamespace(""),"value")
  1060. add
  1061. pushstring " Bonus attack"
  1062. add
  1063. jump bonusattackexist
  1064. bonusattacknull:pushstring ""
  1065. bonusattackexist:add
  1066. pushstring "\n"
  1067. add
  1068. pushstring "Armor: "
  1069. add
  1070. getlocal 13
  1071. getproperty QName(PackageNamespace(""),"record")
  1072. getproperty QName(PackageNamespace(""),"stats")
  1073. getproperty QName(PackageNamespace(""),"baseArmor")
  1074. getproperty QName(PackageNamespace(""),"value")
  1075. add
  1076. getlocal 13
  1077. getproperty QName(PackageNamespace(""),"record")
  1078. getproperty QName(PackageNamespace(""),"stats")
  1079. getproperty QName(PackageNamespace(""),"bonusArmor")
  1080. getproperty QName(PackageNamespace(""),"value")
  1081. pushbyte 0
  1082. ifngt bonusarmornull
  1083. pushstring " +"
  1084. pushstring " "
  1085. add
  1086. getlocal 13
  1087. getproperty QName(PackageNamespace(""),"record")
  1088. getproperty QName(PackageNamespace(""),"stats")
  1089. getproperty QName(PackageNamespace(""),"bonusArmor")
  1090. getproperty QName(PackageNamespace(""),"value")
  1091. add
  1092. pushstring " Bonus armor"
  1093. add
  1094. jump bonusarmorexist
  1095. bonusarmornull:pushstring ""
  1096. bonusarmorexist:add
  1097. pushstring "\n"
  1098. add
  1099. pushstring "Race: "
  1100. add
  1101. getlocal 13
  1102. getproperty QName(PackageNamespace(""),"record")
  1103. callproperty QName(PackageNamespace(""),"getRace"), 0
  1104. callproperty QName(PackageNamespace(""),"getName"), 0
  1105. add
  1106. pushstring " (id "
  1107. add
  1108. getlocal 13
  1109. getproperty QName(PackageNamespace(""),"record")
  1110. callproperty QName(PackageNamespace(""),"getRace"), 0
  1111. callproperty QName(PackageNamespace(""),"getId"), 0
  1112. add
  1113. pushstring ")"
  1114. add
  1115. getlocal 13
  1116. getproperty QName(PackageNamespace(""),"isLeader")
  1117. convert_b
  1118. iffalse isnotleader
  1119. pushstring " [Лидер]"
  1120. jump endleadercond
  1121. isnotleader:pushstring ""
  1122. endleadercond:add
  1123. pushstring "\n"
  1124. add
  1125. pushstring "Hat: "
  1126. add
  1127. getlocal 13
  1128. getproperty QName(PackageNamespace(""),"record")
  1129. callproperty QName(PackageNamespace(""),"getHat"), 0
  1130. iffalse ishatnull
  1131. getlocal 13
  1132. getproperty QName(PackageNamespace(""),"record")
  1133. callproperty QName(PackageNamespace(""),"getHat"), 0
  1134. getproperty QName(ProtectedNamespace("ru.pragmatix.wormix.storage.items.record:ShopRecord"),"name")
  1135. pushstring " ("
  1136. add
  1137. getlocal 13
  1138. getproperty QName(PackageNamespace(""),"record")
  1139. callproperty QName(PackageNamespace(""),"getHat"), 0
  1140. callproperty QName(PackageNamespace(""),"getId"), 0
  1141. add
  1142. pushstring ")"
  1143. add
  1144. jump ishatexist
  1145. ishatnull:getlocal 13
  1146. getproperty QName(PackageNamespace(""),"record")
  1147. callproperty QName(PackageNamespace(""),"getHat"), 0
  1148. ishatexist:add
  1149. pushstring "\n"
  1150. add
  1151. pushstring "Artifact: "
  1152. add
  1153. getlocal 13
  1154. getproperty QName(PackageNamespace(""),"record")
  1155. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1156. iffalse isartnull
  1157. getlocal 13
  1158. getproperty QName(PackageNamespace(""),"record")
  1159. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1160. getproperty QName(ProtectedNamespace("ru.pragmatix.wormix.storage.items.record:ShopRecord"),"name")
  1161. pushstring " ("
  1162. add
  1163. getlocal 13
  1164. getproperty QName(PackageNamespace(""),"record")
  1165. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1166. callproperty QName(PackageNamespace(""),"getId"), 0
  1167. add
  1168. pushstring ")"
  1169. add
  1170. jump isartexist
  1171. isartnull:getlocal 13
  1172. getproperty QName(PackageNamespace(""),"record")
  1173. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1174. isartexist:add
  1175. pushstring "\n"
  1176. add
  1177. pushstring "------"
  1178. add
  1179. pushstring "\n"
  1180. add
  1181. pushstring "Итого: "
  1182. add
  1183. getlocal 13
  1184. getproperty QName(PackageNamespace(""),"attributes")
  1185. getproperty QName(PackageNamespace(""),"hp")
  1186. getproperty QName(PackageNamespace(""),"value")
  1187. add
  1188. pushstring " HP | "
  1189. add
  1190. getlocal 13
  1191. getproperty QName(PackageNamespace(""),"attributes")
  1192. getproperty QName(PackageNamespace(""),"attack")
  1193. getproperty QName(PackageNamespace(""),"value")
  1194. add
  1195. pushstring " attack"
  1196. add
  1197. pushstring " | "
  1198. add
  1199. getlocal 13
  1200. getproperty QName(PackageNamespace(""),"attributes")
  1201. getproperty QName(PackageNamespace(""),"armor")
  1202. getproperty QName(PackageNamespace(""),"value")
  1203. add
  1204. pushstring " armor"
  1205. add
  1206. pushstring "\n"
  1207. add
  1208. pushstring "}"
  1209. add
  1210. pushstring "\n"
  1211. add
  1212. convert_s
  1213. setlocal 12
  1214. jump setelementsloop_units
  1215. isAI:getlocal 12
  1216. getlocal 13
  1217. getproperty QName(PackageNamespace(""),"attributes")
  1218. getproperty QName(PackageNamespace(""),"hp")
  1219. getproperty QName(PackageNamespace(""),"value")
  1220. add
  1221. pushstring " "
  1222. add
  1223. getlocal 13
  1224. getproperty QName(PackageNamespace(""),"record")
  1225. callproperty QName(PackageNamespace(""),"getRace"), 0
  1226. callproperty QName(PackageNamespace(""),"getName"), 0
  1227. add
  1228. pushstring " "
  1229. add
  1230. pushstring "("
  1231. add
  1232. getlocal 13
  1233. getproperty QName(PackageNamespace(""),"record")
  1234. callproperty QName(PackageNamespace(""),"getLevel"), 0
  1235. add
  1236. pushstring ")"
  1237. add
  1238. pushstring " "
  1239. add
  1240. pushstring "{"
  1241. add
  1242. pushstring "\n"
  1243. add
  1244. pushstring "ID "
  1245. add
  1246. getlocal 13
  1247. getproperty QName(PackageNamespace(""),"record")
  1248. callproperty QName(PackageNamespace(""),"getId"), 0
  1249. add
  1250. pushstring " (game id: "
  1251. add
  1252. getlocal 13
  1253. callproperty QName(PackageNamespace(""),"getId"), 0
  1254. add
  1255. pushstring ")"
  1256. add
  1257. pushstring "\n"
  1258. add
  1259. pushstring "LVL: "
  1260. add
  1261. getlocal 13
  1262. getproperty QName(PackageNamespace(""),"record")
  1263. callproperty QName(PackageNamespace(""),"getLevel"), 0
  1264. add
  1265. pushstring " => "
  1266. add
  1267. getlocal 13
  1268. getproperty QName(PackageNamespace(""),"record")
  1269. getproperty QName(PackageNamespace(""),"stats")
  1270. getproperty QName(PackageNamespace(""),"baseHp")
  1271. getproperty QName(PackageNamespace(""),"value")
  1272. add
  1273. pushstring " HP"
  1274. add
  1275. getlocal 13
  1276. getproperty QName(PackageNamespace(""),"record")
  1277. getproperty QName(PackageNamespace(""),"stats")
  1278. getproperty QName(PackageNamespace(""),"bonusHp")
  1279. getproperty QName(PackageNamespace(""),"value")
  1280. pushbyte 0
  1281. ifngt bossbonushpnull
  1282. pushstring " +"
  1283. pushstring " "
  1284. add
  1285. getlocal 13
  1286. getproperty QName(PackageNamespace(""),"record")
  1287. getproperty QName(PackageNamespace(""),"stats")
  1288. getproperty QName(PackageNamespace(""),"bonusHp")
  1289. getproperty QName(PackageNamespace(""),"value")
  1290. add
  1291. pushstring " Bonus HP"
  1292. add
  1293. jump bossbonushpexist
  1294. bossbonushpnull:pushstring ""
  1295. bossbonushpexist:add
  1296. pushstring "\n"
  1297. add
  1298. pushstring "Attack: "
  1299. add
  1300. getlocal 13
  1301. getproperty QName(PackageNamespace(""),"record")
  1302. getproperty QName(PackageNamespace(""),"stats")
  1303. getproperty QName(PackageNamespace(""),"baseAttack")
  1304. getproperty QName(PackageNamespace(""),"value")
  1305. add
  1306. getlocal 13
  1307. getproperty QName(PackageNamespace(""),"record")
  1308. getproperty QName(PackageNamespace(""),"stats")
  1309. getproperty QName(PackageNamespace(""),"bonusAttack")
  1310. getproperty QName(PackageNamespace(""),"value")
  1311. pushbyte 0
  1312. ifngt bossbonusattacknull
  1313. pushstring " +"
  1314. pushstring " "
  1315. add
  1316. getlocal 13
  1317. getproperty QName(PackageNamespace(""),"record")
  1318. getproperty QName(PackageNamespace(""),"stats")
  1319. getproperty QName(PackageNamespace(""),"bonusAttack")
  1320. getproperty QName(PackageNamespace(""),"value")
  1321. add
  1322. pushstring " Bonus attack"
  1323. add
  1324. jump bossbonusattackexist
  1325. bossbonusattacknull:pushstring ""
  1326. bossbonusattackexist:add
  1327. pushstring "\n"
  1328. add
  1329. pushstring "Armor: "
  1330. add
  1331. getlocal 13
  1332. getproperty QName(PackageNamespace(""),"record")
  1333. getproperty QName(PackageNamespace(""),"stats")
  1334. getproperty QName(PackageNamespace(""),"baseArmor")
  1335. getproperty QName(PackageNamespace(""),"value")
  1336. add
  1337. getlocal 13
  1338. getproperty QName(PackageNamespace(""),"record")
  1339. getproperty QName(PackageNamespace(""),"stats")
  1340. getproperty QName(PackageNamespace(""),"bonusArmor")
  1341. getproperty QName(PackageNamespace(""),"value")
  1342. pushbyte 0
  1343. ifngt bossbonusarmornull
  1344. pushstring " +"
  1345. pushstring " "
  1346. add
  1347. getlocal 13
  1348. getproperty QName(PackageNamespace(""),"record")
  1349. getproperty QName(PackageNamespace(""),"stats")
  1350. getproperty QName(PackageNamespace(""),"bonusArmor")
  1351. getproperty QName(PackageNamespace(""),"value")
  1352. add
  1353. pushstring " Bonus armor"
  1354. add
  1355. jump bossbonusarmorexist
  1356. bossbonusarmornull:pushstring ""
  1357. bossbonusarmorexist:add
  1358. pushstring "\n"
  1359. add
  1360. pushstring "Race: "
  1361. add
  1362. getlocal 13
  1363. getproperty QName(PackageNamespace(""),"record")
  1364. callproperty QName(PackageNamespace(""),"getRace"), 0
  1365. callproperty QName(PackageNamespace(""),"getName"), 0
  1366. add
  1367. pushstring " (id "
  1368. add
  1369. getlocal 13
  1370. getproperty QName(PackageNamespace(""),"record")
  1371. callproperty QName(PackageNamespace(""),"getRace"), 0
  1372. callproperty QName(PackageNamespace(""),"getId"), 0
  1373. add
  1374. pushstring ")"
  1375. add
  1376. getlocal 13
  1377. getproperty QName(PackageNamespace(""),"isLeader")
  1378. convert_b
  1379. iffalse isnotleaderboss
  1380. pushstring " [Лидер]"
  1381. jump endleadercondboss
  1382. isnotleaderboss:pushstring ""
  1383. endleadercondboss:add
  1384. pushstring "\n"
  1385. add
  1386. pushstring "Hat: "
  1387. add
  1388. getlocal 13
  1389. getproperty QName(PackageNamespace(""),"record")
  1390. callproperty QName(PackageNamespace(""),"getHat"), 0
  1391. iffalse isbosshatnull
  1392. getlocal 13
  1393. getproperty QName(PackageNamespace(""),"record")
  1394. callproperty QName(PackageNamespace(""),"getHat"), 0
  1395. getproperty QName(ProtectedNamespace("ru.pragmatix.wormix.storage.items.record:ShopRecord"),"name")
  1396. pushstring " ("
  1397. add
  1398. getlocal 13
  1399. getproperty QName(PackageNamespace(""),"record")
  1400. callproperty QName(PackageNamespace(""),"getHat"), 0
  1401. callproperty QName(PackageNamespace(""),"getId"), 0
  1402. add
  1403. pushstring ")"
  1404. add
  1405. jump isbosshatexist
  1406. isbosshatnull:getlocal 13
  1407. getproperty QName(PackageNamespace(""),"record")
  1408. callproperty QName(PackageNamespace(""),"getHat"), 0
  1409. isbosshatexist:add
  1410. pushstring "\n"
  1411. add
  1412. pushstring "Artifact: "
  1413. add
  1414. getlocal 13
  1415. getproperty QName(PackageNamespace(""),"record")
  1416. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1417. iffalse isbossartnull
  1418. getlocal 13
  1419. getproperty QName(PackageNamespace(""),"record")
  1420. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1421. getproperty QName(ProtectedNamespace("ru.pragmatix.wormix.storage.items.record:ShopRecord"),"name")
  1422. pushstring " ("
  1423. add
  1424. getlocal 13
  1425. getproperty QName(PackageNamespace(""),"record")
  1426. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1427. callproperty QName(PackageNamespace(""),"getId"), 0
  1428. add
  1429. pushstring ")"
  1430. add
  1431. jump isbossartexist
  1432. isbossartnull:getlocal 13
  1433. getproperty QName(PackageNamespace(""),"record")
  1434. callproperty QName(PackageNamespace(""),"getArtifact"), 0
  1435. isbossartexist:add
  1436. pushstring "\n"
  1437. add
  1438. pushstring "------"
  1439. add
  1440. pushstring "\n"
  1441. add
  1442. pushstring "Итого: "
  1443. add
  1444. getlocal 13
  1445. getproperty QName(PackageNamespace(""),"attributes")
  1446. getproperty QName(PackageNamespace(""),"hp")
  1447. getproperty QName(PackageNamespace(""),"value")
  1448. add
  1449. pushstring " HP | "
  1450. add
  1451. getlocal 13
  1452. getproperty QName(PackageNamespace(""),"attributes")
  1453. getproperty QName(PackageNamespace(""),"attack")
  1454. getproperty QName(PackageNamespace(""),"value")
  1455. add
  1456. pushstring " attack"
  1457. add
  1458. pushstring " | "
  1459. add
  1460. getlocal 13
  1461. getproperty QName(PackageNamespace(""),"attributes")
  1462. getproperty QName(PackageNamespace(""),"armor")
  1463. getproperty QName(PackageNamespace(""),"value")
  1464. add
  1465. pushstring " armor"
  1466. add
  1467. pushstring "\n"
  1468. add
  1469. pushstring "}"
  1470. add
  1471. pushstring "\n"
  1472. add
  1473. convert_s
  1474. setlocal 12
  1475. setelementsloop_units:debugline 69
  1476. hasnext2 17, 16
  1477. iftrue looplabel_units
  1478. kill 17
  1479. kill 16
  1480. getlocal 10
  1481. callproperty QName(PackageNamespace(""),"isAi"), 0
  1482. iffalse squadnotAI
  1483. pushstring "Команда(Boss)"
  1484. jump squadBossAI
  1485. squadnotAI:pushstring "Команда(клиент)"
  1486. squadBossAI:pushstring " "
  1487. add
  1488. pushstring "Squad "
  1489. add
  1490. getlocal 10
  1491. getproperty QName(PrivateNamespace(null,"326"),"number")
  1492. add
  1493. pushstring ": "
  1494. add
  1495. pushstring "\n"
  1496. add
  1497. getlocal 12
  1498. add
  1499. convert_s
  1500. setlocal 20
  1501. getlocal_0
  1502. getlocal_0
  1503. getproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  1504. getlocal 20
  1505. add
  1506. pushstring "\n"
  1507. add
  1508. coerce_s
  1509. setproperty QName(PrivateNamespace(null,"310"),"fullBossLog")
  1510. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  1511. getproperty QName(PackageNamespace(""),"btc")
  1512. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  1513. getlocal 20
  1514. getlocal_0
  1515. getlocal 18
  1516. callproperty QName(PrivateNamespace(""),"getSquadColorByNum"), 1
  1517. callproperty QName(PackageNamespace(""),"textWithColor"), 2
  1518. callpropvoid QName(PackageNamespace(""),"addMsgCheatLogger"), 1
  1519. setelementsloop_squads:debugline 57
  1520. hasnext2 15, 14
  1521. iftrue looplabel_squads
  1522. kill 15
  1523. kill 14
  1524. kill 1
  1525. kill 2
  1526. kill 3
  1527. kill 4
  1528. kill 5
  1529. kill 6
  1530. kill 7
  1531. kill 8
  1532. kill 9
  1533. kill 10
  1534. kill 11
  1535. kill 12
  1536. kill 13
  1537. kill 16
  1538. kill 17
  1539. kill 18
  1540. kill 19
  1541. kill 20
  1542. kill 21
  1543. kill 22
  1544. kill 23
  1545. kill 24
  1546. kill 25
  1547. kill 26
  1548. kill 27
  1549. kill 28
  1550. kill 29
  1551. kill 30
  1552. kill 31
  1553. kill 32
  1554. kill 33
  1555. kill 34
  1556. kill 35
  1557. kill 36
  1558. kill 37
  1559. kill 38
  1560. kill 39
  1561. kill 40
  1562. kill 41
  1563. kill 42
  1564. kill 43
  1565. kill 44
  1566. kill 45
  1567. kill 46
  1568. kill 47
  1569. kill 48
  1570. sorteditems:returnvoid
  1571. end ; code
  1572. end ; body
  1573. end ; method
  1574. end ; trait
  1575.  
  1576.  
  1577.  
  1578. ===============================================================
  1579.  
  1580.  
  1581. trait method QName(PrivateNamespace(""),"isSpecialExist")
  1582. dispid 0
  1583. method
  1584. name "isSpecialExist"
  1585. param QName(PackageNamespace(""),"String")
  1586. param QName(PackageNamespace(""),"String")
  1587. returns QName(PackageNamespace(""),"String")
  1588.  
  1589. body
  1590. maxstack 5
  1591. localcount 3
  1592. initscopedepth 3
  1593. maxscopedepth 5
  1594.  
  1595. code
  1596. getlocal_0
  1597. pushscope
  1598. pushstring " | "
  1599. getlocal_2
  1600. iffalse wayend
  1601. getlocal_1
  1602. iffalse default_weapons_not_exist
  1603. getlocal_1
  1604. pushstring " | "
  1605. add
  1606. getlocal_2
  1607. add
  1608. jump way0t
  1609. default_weapons_not_exist:getlocal_2
  1610. jump way0t
  1611. wayend:getlocal_1
  1612. way0t:add
  1613. returnvalue
  1614. end ; code
  1615. end ; body
  1616. end ; method
  1617. end ; trait
  1618.  
  1619.  
  1620. ===============================================================
  1621.  
  1622.  
  1623. trait method QName(PrivateNamespace(""),"isNextExist")
  1624. dispid 0
  1625. method
  1626. name "isNextExist"
  1627. flag HAS_OPTIONAL
  1628. param QName(PackageNamespace(""),"Array")
  1629. param QName(PackageNamespace(""),"int")
  1630. param QName(PackageNamespace(""),"Boolean")
  1631. optional False()
  1632. returns QName(PackageNamespace(""),"String")
  1633.  
  1634. body
  1635. maxstack 5
  1636. localcount 10
  1637. initscopedepth 3
  1638. maxscopedepth 5
  1639.  
  1640. code
  1641. getlocal_0
  1642. debugline 16
  1643. pushscope
  1644. debug 1, "weapons", 0, 16
  1645. debug 1, "curWeaponId", 1, 16
  1646. debug 1, "isDefault", 2, 16
  1647. pushnull
  1648. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  1649. setlocal 4
  1650. pushfalse
  1651. convert_b
  1652. setlocal 5
  1653. pushbyte 0
  1654. convert_i
  1655. setlocal 8
  1656. getlocal_3
  1657. iftrue specialmode
  1658. pushbyte 0
  1659. setlocal 6
  1660. getlocal_1
  1661. coerce QName(PackageNamespace(""),"Array")
  1662. setlocal 7
  1663. jump setelementsloop_isnextexist
  1664. looplabel_isnextexist:label
  1665. getlocal 7
  1666. getlocal 6
  1667. nextvalue
  1668. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  1669. setlocal 4
  1670. debugline 28
  1671. inclocal_i 8
  1672. getlex QName(PrivateNamespace(null,"310"),"SPECIAL_IDS_LIST")
  1673. getlocal 4
  1674. callproperty QName(PackageNamespace(""),"getId"), 0
  1675. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"indexOf"), 1
  1676. pushbyte -1
  1677. ifeq setelementsloop_isnextexist
  1678. getlocal 4
  1679. callproperty QName(PackageNamespace(""),"getId"), 0
  1680. getlocal_2
  1681. equals
  1682. iffalse not_find_myid
  1683. getlocal 8
  1684. convert_i
  1685. setlocal 9
  1686. not_find_myid:getlocal 5
  1687. not
  1688. convert_b
  1689. dup
  1690. iffalse isalreadytrue
  1691. pop
  1692. getlocal 8
  1693. getlocal 9
  1694. greaterthan
  1695. convert_b
  1696. isalreadytrue:iffalse setelementsloop_isnextexist
  1697. pushtrue
  1698. convert_b
  1699. setlocal 5
  1700. jump endloop
  1701. setelementsloop_isnextexist:debugline 27
  1702. hasnext2 7, 6
  1703. iftrue looplabel_isnextexist
  1704. endloop:kill 7
  1705. kill 6
  1706. getlocal 5
  1707. iffalse retnotexist
  1708. pushstring ";"
  1709. pushstring " "
  1710. add
  1711. jump endret
  1712. retnotexist:pushstring ""
  1713. endret:returnvalue
  1714. specialmode:pushbyte 0
  1715. setlocal 6
  1716. getlocal_1
  1717. coerce QName(PackageNamespace(""),"Array")
  1718. setlocal 7
  1719. jump setelementsloop_islastused
  1720. looplabel_islastused:label
  1721. getlocal 7
  1722. getlocal 6
  1723. nextvalue
  1724. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  1725. setlocal 4
  1726. debugline 28
  1727. inclocal_i 8
  1728. getlex QName(PrivateNamespace(null,"310"),"SPECIAL_IDS_LIST")
  1729. getlocal 4
  1730. callproperty QName(PackageNamespace(""),"getId"), 0
  1731. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"indexOf"), 1
  1732. pushbyte -1
  1733. ifne setelementsloop_islastused
  1734. getlocal 4
  1735. callproperty QName(PackageNamespace(""),"getId"), 0
  1736. getlocal_2
  1737. ifne notmyid
  1738. getlocal 8
  1739. convert_i
  1740. setlocal 9
  1741. notmyid:getlocal 5
  1742. not
  1743. convert_b
  1744. dup
  1745. iffalse isalreadytrue2
  1746. pop
  1747. getlocal 8
  1748. getlocal 9
  1749. greaterthan
  1750. convert_b
  1751. isalreadytrue2:iffalse setelementsloop_islastused
  1752. pushtrue
  1753. convert_b
  1754. setlocal 5
  1755. jump endloop2
  1756. setelementsloop_islastused:debugline 27
  1757. hasnext2 7, 6
  1758. iftrue looplabel_islastused
  1759. endloop2:kill 7
  1760. kill 6
  1761. getlocal 5
  1762. iffalse ondefault
  1763. pushstring ","
  1764. pushstring " "
  1765. add
  1766. jump endret2
  1767. ondefault:pushstring "."
  1768. endret2:returnvalue
  1769. end ; code
  1770. end ; body
  1771. end ; method
  1772. end ; trait
  1773.  
  1774.  
  1775. ===============================================================
  1776.  
  1777.  
  1778. trait method QName(PackageNamespace(""),"getHMS")
  1779. flag FINAL
  1780. dispid 33
  1781. method
  1782. name null
  1783. flag HAS_OPTIONAL
  1784. param QName(PackageNamespace(""),"int")
  1785. optional Integer(-1)
  1786. returns QName(PackageNamespace(""),"String")
  1787.  
  1788. body
  1789. maxstack 3
  1790. localcount 9
  1791. initscopedepth 3
  1792. maxscopedepth 4
  1793.  
  1794. code
  1795. getlocal_0
  1796. debugline 5
  1797. pushscope
  1798. debugline 9
  1799. debug 1, "currTime", 0, 5
  1800. debug 1, "Date", 1, 15
  1801. debug 1, "currHours", 2, 16
  1802. debug 1, "currMinutes", 3, 21
  1803. debug 1, "currSeconds", 4, 23
  1804. getlocal_1
  1805. pushbyte -1
  1806. ifne currenttimenotexist
  1807. debugline 15
  1808. findpropstrict QName(PackageNamespace(""),"Date")
  1809. constructprop QName(PackageNamespace(""),"Date"), 0
  1810. coerce QName(PackageNamespace(""),"Date")
  1811. setlocal_2
  1812. debugline 16
  1813. getlocal_2
  1814. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"getHours"), 0
  1815. convert_s
  1816. setlocal_3
  1817. debugline 21
  1818. getlocal_2
  1819. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"getMinutes"), 0
  1820. convert_s
  1821. setlocal 4
  1822. debugline 23
  1823. getlocal_2
  1824. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"getSeconds"), 0
  1825. convert_s
  1826. setlocal 5
  1827. getlocal_3
  1828. getproperty QName(PackageNamespace(""),"length")
  1829. pushbyte 2
  1830. ifnlt hours_lowest_two_digits
  1831. pushstring "0"
  1832. getlocal_3
  1833. add
  1834. coerce_s
  1835. setlocal_3
  1836. hours_lowest_two_digits:getlocal 4
  1837. getproperty QName(PackageNamespace(""),"length")
  1838. pushbyte 2
  1839. ifnlt minutes_lowest_two_digits
  1840. pushstring "0"
  1841. getlocal 4
  1842. add
  1843. coerce_s
  1844. setlocal 4
  1845. minutes_lowest_two_digits:getlocal 5
  1846. getproperty QName(PackageNamespace(""),"length")
  1847. pushbyte 2
  1848. ifnlt seconds_lowest_two_digits
  1849. pushstring "0"
  1850. getlocal 5
  1851. add
  1852. coerce_s
  1853. setlocal 5
  1854. seconds_lowest_two_digits:getlocal_3
  1855. pushstring ":"
  1856. add
  1857. getlocal 4
  1858. add
  1859. pushstring ":"
  1860. add
  1861. getlocal 5
  1862. add
  1863. returnvalue
  1864. currenttimenotexist:debug 1, "days", 5, 25
  1865. debug 1, "hours", 6, 27
  1866. debug 1, "minutes", 7, 29
  1867. getlocal_1
  1868. pushbyte -1
  1869. ifeq timeiszero
  1870. getlocal_1
  1871. pushbyte 0
  1872. ifne timeisnotzero
  1873. pushstring "00:00:00"
  1874. returnvalue
  1875. timeisnotzero:getlocal_1
  1876. getlex QName(PackageNamespace(""),"SECONDS_IN_DAY")
  1877. divide
  1878. convert_u
  1879. pushbyte 0
  1880. ifngt zerodays
  1881. debugline 25
  1882. getlocal_1
  1883. getlex QName(PackageNamespace(""),"SECONDS_IN_DAY")
  1884. divide
  1885. convert_u
  1886. setlocal 6
  1887. getlocal_1
  1888. getlocal 6
  1889. getlex QName(PackageNamespace(""),"SECONDS_IN_DAY")
  1890. multiply
  1891. subtract
  1892. convert_u
  1893. setlocal_1
  1894. getlocal 6
  1895. convert_s
  1896. getproperty QName(PackageNamespace(""),"length")
  1897. pushbyte 2
  1898. ifnlt zerodays
  1899. pushstring "0"
  1900. getlocal 6
  1901. add
  1902. convert_s
  1903. setlocal 6
  1904. zerodays:getlocal_1
  1905. getlex QName(PackageNamespace(""),"SECONDS_IN_HOUR")
  1906. divide
  1907. convert_u
  1908. pushbyte 0
  1909. ifngt zerohours
  1910. debugline 27
  1911. getlocal_1
  1912. getlex QName(PackageNamespace(""),"SECONDS_IN_HOUR")
  1913. divide
  1914. convert_u
  1915. setlocal 7
  1916. getlocal_1
  1917. getlocal 7
  1918. getlex QName(PackageNamespace(""),"SECONDS_IN_HOUR")
  1919. multiply
  1920. subtract
  1921. convert_u
  1922. setlocal_1
  1923. getlocal 7
  1924. convert_s
  1925. getproperty QName(PackageNamespace(""),"length")
  1926. pushbyte 2
  1927. ifnlt zerohours
  1928. pushstring "0"
  1929. getlocal 7
  1930. add
  1931. convert_s
  1932. setlocal 7
  1933. zerohours:getlocal_1
  1934. pushbyte 60
  1935. divide
  1936. convert_u
  1937. pushbyte 0
  1938. ifngt zerominutes
  1939. debugline 29
  1940. getlocal_1
  1941. pushbyte 60
  1942. divide
  1943. convert_u
  1944. setlocal 8
  1945. getlocal_1
  1946. getlocal 8
  1947. pushbyte 60
  1948. multiply
  1949. subtract
  1950. convert_u
  1951. setlocal_1
  1952. getlocal 8
  1953. convert_s
  1954. getproperty QName(PackageNamespace(""),"length")
  1955. pushbyte 2
  1956. ifnlt zerominutes
  1957. pushstring "0"
  1958. getlocal 8
  1959. add
  1960. convert_s
  1961. setlocal 8
  1962. zerominutes:getlocal_1
  1963. convert_s
  1964. getproperty QName(PackageNamespace(""),"length")
  1965. pushbyte 2
  1966. ifnlt grade_greater_two_signs
  1967. pushstring "0"
  1968. getlocal_1
  1969. add
  1970. convert_s
  1971. setlocal_1
  1972. grade_greater_two_signs:getlocal 6
  1973. iffalse isnotdays
  1974. getlocal 6
  1975. pushstring ":"
  1976. add
  1977. jump isdaysexist
  1978. isnotdays:pushstring ""
  1979. isdaysexist:getlocal 7
  1980. iffalse isnothours
  1981. getlocal 7
  1982. jump ishoursexist
  1983. isnothours:pushstring "00"
  1984. ishoursexist:add
  1985. pushstring ":"
  1986. add
  1987. getlocal 8
  1988. iffalse isnotminutes
  1989. getlocal 8
  1990. jump isminutesexist
  1991. isnotminutes:pushstring "00"
  1992. isminutesexist:add
  1993. pushstring ":"
  1994. add
  1995. getlocal_1
  1996. add
  1997. returnvalue
  1998. timeiszero:pushstring ""
  1999. returnvalue
  2000. end ; code
  2001. end ; body
  2002. end ; method
  2003. end ; trait
  2004.  
  2005.  
  2006. ===============================================================
  2007.  
  2008.  
  2009. trait method QName(PackageNamespace(""),"getDiffHMS")
  2010. flag FINAL
  2011. dispid 34
  2012. method
  2013. name null
  2014. param QName(PackageNamespace(""),"int")
  2015. param QName(PackageNamespace(""),"int")
  2016. returns QName(PackageNamespace(""),"String")
  2017.  
  2018. body
  2019. maxstack 4
  2020. localcount 7
  2021. initscopedepth 3
  2022. maxscopedepth 4
  2023.  
  2024. code
  2025. getlocal_0
  2026. debugline 13
  2027. pushscope
  2028. debug 1, "oldUnixtime", 0, 13
  2029. debug 1, "newUnixtime", 1, 13
  2030. debug 1, "seconds", 2, 15
  2031. debug 1, "days", 3, 16
  2032. debug 1, "hours", 4, 21
  2033. debug 1, "minutes", 5, 23
  2034. getlocal_1
  2035. pushbyte 0
  2036. ifeq oldtimeiszero
  2037. debugline 15
  2038. getlocal_2
  2039. getlocal_1
  2040. subtract
  2041. convert_i
  2042. setlocal_3
  2043. getlocal_3
  2044. getlex QName(PackageNamespace(""),"SECONDS_IN_DAY")
  2045. divide
  2046. convert_i
  2047. pushbyte 0
  2048. ifngt zerodays
  2049. debugline 16
  2050. getlocal_3
  2051. getlex QName(PackageNamespace(""),"SECONDS_IN_DAY")
  2052. divide
  2053. convert_i
  2054. setlocal 4
  2055. getlocal_3
  2056. getlocal 4
  2057. getlex QName(PackageNamespace(""),"SECONDS_IN_DAY")
  2058. multiply
  2059. subtract
  2060. convert_i
  2061. setlocal_3
  2062. getlocal 4
  2063. convert_s
  2064. getproperty QName(PackageNamespace(""),"length")
  2065. pushbyte 2
  2066. ifnlt zerodays
  2067. pushstring "0"
  2068. getlocal 4
  2069. add
  2070. convert_s
  2071. setlocal 4
  2072. zerodays:getlocal_3
  2073. getlex QName(PackageNamespace(""),"SECONDS_IN_HOUR")
  2074. divide
  2075. convert_i
  2076. pushbyte 0
  2077. ifngt zerohours
  2078. debugline 21
  2079. getlocal_3
  2080. getlex QName(PackageNamespace(""),"SECONDS_IN_HOUR")
  2081. divide
  2082. convert_i
  2083. setlocal 5
  2084. getlocal_3
  2085. getlocal 5
  2086. getlex QName(PackageNamespace(""),"SECONDS_IN_HOUR")
  2087. multiply
  2088. subtract
  2089. convert_i
  2090. setlocal_3
  2091. getlocal 5
  2092. convert_s
  2093. getproperty QName(PackageNamespace(""),"length")
  2094. pushbyte 2
  2095. ifnlt zerohours
  2096. pushstring "0"
  2097. getlocal 5
  2098. add
  2099. convert_s
  2100. setlocal 5
  2101. zerohours:getlocal_3
  2102. pushbyte 60
  2103. divide
  2104. convert_i
  2105. pushbyte 0
  2106. ifngt zerominutes
  2107. debugline 23
  2108. getlocal_3
  2109. pushbyte 60
  2110. divide
  2111. convert_i
  2112. setlocal 6
  2113. getlocal_3
  2114. getlocal 6
  2115. pushbyte 60
  2116. multiply
  2117. subtract
  2118. convert_i
  2119. setlocal_3
  2120. getlocal 6
  2121. convert_s
  2122. getproperty QName(PackageNamespace(""),"length")
  2123. pushbyte 2
  2124. ifnlt zerominutes
  2125. pushstring "0"
  2126. getlocal 6
  2127. add
  2128. convert_s
  2129. setlocal 6
  2130. zerominutes:getlocal_3
  2131. convert_s
  2132. getproperty QName(PackageNamespace(""),"length")
  2133. pushbyte 2
  2134. ifnlt grade_greater_two_signs
  2135. pushstring "0"
  2136. getlocal_3
  2137. add
  2138. convert_s
  2139. setlocal_3
  2140. grade_greater_two_signs:getlocal 4
  2141. iffalse isnotdays
  2142. getlocal 4
  2143. pushstring ":"
  2144. add
  2145. jump isdaysexist
  2146. isnotdays:pushstring ""
  2147. isdaysexist:getlocal 5
  2148. iffalse isnothours
  2149. getlocal 5
  2150. jump ishoursexist
  2151. isnothours:pushstring "00"
  2152. ishoursexist:add
  2153. pushstring ":"
  2154. add
  2155. getlocal 6
  2156. iffalse isnotminutes
  2157. getlocal 6
  2158. jump isminutesexist
  2159. isnotminutes:pushstring "00"
  2160. isminutesexist:add
  2161. pushstring ":"
  2162. add
  2163. getlocal_3
  2164. add
  2165. returnvalue
  2166. oldtimeiszero:pushstring ""
  2167. returnvalue
  2168. end ; code
  2169. end ; body
  2170. end ; method
  2171. end ; trait
  2172.  
  2173.  
  2174. ===============================================================
  2175.  
  2176.  
  2177. trait slot QName(PrivateNamespace(null,"310"),"lastTimeLogged")
  2178. slotid 0
  2179. type QName(PackageNamespace(""),"uint")
  2180. value Integer(0)
  2181. end ; trait
  2182.  
  2183.  
  2184. ===============================================================
  2185.  
  2186.  
  2187. trait slot QName(PrivateNamespace(null,"310"),"firstTimeLogged")
  2188. slotid 0
  2189. type QName(PackageNamespace(""),"uint")
  2190. value Integer(0)
  2191. end ; trait
  2192.  
  2193.  
  2194. ===============================================================
  2195.  
  2196.  
  2197. trait method QName(PrivateNamespace(""),"getSquadColorByNum")
  2198. dispid 0
  2199. method
  2200. name "getSquadColorByNum"
  2201. flag HAS_OPTIONAL
  2202. param QName(PackageNamespace(""),"uint")
  2203. optional Integer(5)
  2204. returns QName(PackageNamespace(""),"String")
  2205.  
  2206. body
  2207. maxstack 5
  2208. localcount 3
  2209. initscopedepth 3
  2210. maxscopedepth 5
  2211.  
  2212. code
  2213. getlocal_0
  2214. pushscope
  2215. jump switch_condition
  2216. first_color:label
  2217. pushstring "#88FF37"
  2218. returnvalue
  2219. second_color:label
  2220. pushstring "#F73D3D"
  2221. returnvalue
  2222. third_color:label
  2223. pushstring "#FFAF00"
  2224. returnvalue
  2225. fourth_color:label
  2226. pushstring "#5FEEFE"
  2227. returnvalue
  2228. fifth_color:label
  2229. pushstring "#FFFFFF"
  2230. returnvalue
  2231. jump switch_condition
  2232. switch_condition:getlocal_1
  2233. setlocal_2
  2234. pushbyte 0
  2235. getlocal_2
  2236. ifstrictne second_case
  2237. pushbyte 0
  2238. jump ending
  2239. second_case:pushbyte 1
  2240. getlocal_2
  2241. ifstrictne third_case
  2242. pushbyte 1
  2243. jump ending
  2244. third_case:pushbyte 2
  2245. getlocal_2
  2246. ifstrictne fourth_case
  2247. pushbyte 2
  2248. jump ending
  2249. fourth_case:pushbyte 3
  2250. getlocal_2
  2251. ifstrictne fifth_case
  2252. pushbyte 3
  2253. jump ending
  2254. fifth_case:jump last
  2255. pushbyte 4
  2256. jump last
  2257. last:pushbyte 4
  2258. ending:kill 2
  2259. lookupswitch fifth_color, 4, first_color, second_color, third_color, fourth_color, fifth_color
  2260. end ; code
  2261. end ; body
  2262. end ; method
  2263. end ; trait
  2264.  
  2265.  
  2266. ===============================================================
  2267.  
  2268.  
  2269. trait slot QName(PrivateNamespace(null,"322"),"firstTimeLogged")
  2270. slotid 0
  2271. type QName(PackageNamespace(""),"uint")
  2272. value Integer(0)
  2273. end ; trait
  2274.  
  2275.  
  2276. ===============================================================
  2277.  
  2278.  
  2279. getlocal_0
  2280. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  2281. callproperty QName(PackageNamespace(""),"getCurrentTime"), 0
  2282. initproperty QName(PrivateNamespace(null,"310"),"firstTimeLogged")
  2283.  
  2284.  
  2285. ===============================================================
  2286.  
  2287.  
  2288. trait slot QName(PrivateNamespace(null,"322"),"timeBeforeBattle")
  2289. slotid 0
  2290. type QName(PackageNamespace(""),"uint")
  2291. value Integer(0)
  2292. end ; trait
  2293.  
  2294.  
  2295. ===============================================================
  2296.  
  2297.  
  2298. trait slot QName(PrivateNamespace(null,"322"),"timeAfterBattle")
  2299. slotid 0
  2300. type QName(PackageNamespace(""),"uint")
  2301. value Integer(0)
  2302. end ; trait
  2303.  
  2304.  
  2305. ===============================================================
  2306.  
  2307.  
  2308. getlocal_0
  2309. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  2310. callproperty QName(PackageNamespace(""),"getCurrentTime"), 0
  2311. initproperty QName(PrivateNamespace(null,"322"),"timeBeforeBattle")
  2312. getlocal_0
  2313. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  2314. callproperty QName(PackageNamespace(""),"getCurrentTime"), 0
  2315. initproperty QName(PrivateNamespace(null,"322"),"timeAfterBattle")
  2316.  
  2317.  
  2318. ===============================================================
  2319.  
  2320.  
  2321. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2322. getproperty QName(PackageNamespace(""),"arenaController")
  2323. callproperty QName(PackageNamespace(""),"getBossWinAwardTokens"), 0
  2324. convert_u
  2325. setlocal 27
  2326.  
  2327.  
  2328. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2329. getproperty QName(PackageNamespace(""),"arenaController")
  2330. callproperty QName(PackageNamespace(""),"hasBossWinAwardTokens"), 0
  2331. convert_b
  2332. setlocal 26
  2333.  
  2334.  
  2335. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2336. getproperty QName(PackageNamespace(""),"btc")
  2337. callproperty QName(PackageNamespace(""),"getBattleInfo"), 0
  2338. getproperty QName(PackageNamespace(""),"missionIds")
  2339. pushbyte 0
  2340. getproperty MultinameL([PrivateNamespace(null,"310"),PrivateNamespace(null,"1793"),PackageNamespace(""),PackageNamespace("ru.pragmatix.wormix.game.mission.data.boss"),PackageInternalNs("ru.pragmatix.wormix.game.mission.data.boss"),Namespace("http://adobe.com/AS3/2006/builtin"),ProtectedNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:AchieveBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:AbstractBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data:ScenarioData")])
  2341. convert_u
  2342. setlocal 23
  2343.  
  2344.  
  2345. getlocal_3
  2346. getproperty QName(PackageNamespace(""),"result")
  2347. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2348. getproperty QName(PackageNamespace(""),"WINNER")
  2349. equals
  2350. convert_b
  2351. setlocal 19
  2352.  
  2353.  
  2354. getlocal 5
  2355. getproperty QName(PackageNamespace(""),"cheatingReason")
  2356. convert_b
  2357. dup
  2358. iffalse warning_level_not_zero
  2359. pop
  2360. getlocal 5
  2361. getproperty QName(PackageNamespace(""),"cheatWarningLevel")
  2362. pushbyte 0
  2363. equals
  2364. not
  2365. convert_b
  2366. warning_level_not_zero:iffalse cheats_not_detected
  2367. getlocal 5
  2368. getproperty QName(PackageNamespace(""),"cheatingReason")
  2369. jump cheats_detected
  2370. cheats_not_detected:getlocal 5
  2371. pushfalse
  2372. getlocal 19
  2373. getlocal_0
  2374. getproperty QName(PrivateNamespace(null,"322"),"timeAfterBattle")
  2375. getlocal_0
  2376. getproperty QName(PrivateNamespace(null,"322"),"timeBeforeBattle")
  2377. subtract
  2378. callproperty QName(PackageNamespace(""),"checkCheatsDetect"), 3
  2379. cheats_detected:convert_s
  2380. setlocal 21
  2381.  
  2382. getlocal 21
  2383. iftrue cheatinginbattle
  2384. pushstring "OK"
  2385. jump battleok
  2386. cheatinginbattle:pushstring "CHEAT"
  2387. battleok:convert_s
  2388. setlocal 20
  2389.  
  2390.  
  2391. pushstring "Время окончания | Время боя | Результат боя | Босс (клиент) | ID Игрока | Id боя | Версия игры | Тип боя | Session key"
  2392. convert_s
  2393. setlocal 18
  2394.  
  2395.  
  2396. getlex QName(PackageNamespace("ru.pragmatix.wormix.storage.bot"),"BotStore")
  2397. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2398. getproperty QName(PackageNamespace(""),"btc")
  2399. callproperty QName(PackageNamespace(""),"getBattleInfo"), 0
  2400. getproperty QName(PackageNamespace(""),"missionIds")
  2401. pushbyte 0
  2402. getproperty MultinameL([PrivateNamespace(null,"310"),PrivateNamespace(null,"1793"),PackageNamespace(""),PackageNamespace("ru.pragmatix.wormix.game.mission.data.boss"),PackageInternalNs("ru.pragmatix.wormix.game.mission.data.boss"),Namespace("http://adobe.com/AS3/2006/builtin"),ProtectedNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:AchieveBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:AbstractBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data:ScenarioData")])
  2403. callproperty QName(PackageNamespace(""),"getBossById"), 1
  2404. callproperty QName(PackageNamespace(""),"getName"), 0
  2405. pushstring " "
  2406. add
  2407. pushstring "("
  2408. add
  2409. getlex QName(PackageNamespace("ru.pragmatix.wormix.storage.bot"),"BotStore")
  2410. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2411. getproperty QName(PackageNamespace(""),"btc")
  2412. callproperty QName(PackageNamespace(""),"getBattleInfo"), 0
  2413. getproperty QName(PackageNamespace(""),"missionIds")
  2414. pushbyte 0
  2415. getproperty MultinameL([PrivateNamespace(null,"310"),PrivateNamespace(null,"1793"),PackageNamespace(""),PackageNamespace("ru.pragmatix.wormix.game.mission.data.boss"),PackageInternalNs("ru.pragmatix.wormix.game.mission.data.boss"),Namespace("http://adobe.com/AS3/2006/builtin"),ProtectedNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:AchieveBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data.boss:AbstractBossData"),StaticProtectedNs("ru.pragmatix.wormix.game.mission.data:ScenarioData")])
  2416. callproperty QName(PackageNamespace(""),"getBossById"), 1
  2417. callproperty QName(PackageNamespace(""),"getId"), 0
  2418. add
  2419. pushstring ")"
  2420. add
  2421. convert_s
  2422. setlocal 17
  2423.  
  2424.  
  2425. getlex QName(PackageNamespace("ru.pragmatix.wormix.net"),"MainConnection")
  2426. getproperty QName(PackageNamespace(""),"INSTANCE")
  2427. callproperty QName(PackageNamespace(""),"getSessionKey"), 0
  2428. convert_s
  2429. setlocal 16
  2430.  
  2431.  
  2432. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2433. getproperty QName(PackageNamespace(""),"btc")
  2434. callproperty QName(PackageNamespace(""),"getBattleInfo"), 0
  2435. getproperty QName(PackageNamespace(""),"battleId")
  2436. convert_i
  2437. setlocal 15
  2438.  
  2439.  
  2440. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2441. getproperty QName(PackageNamespace(""),"context")
  2442. callproperty QName(PackageNamespace(""),"getPreloaderParams"), 0
  2443. pushstring "clientVersion"
  2444. getproperty MultinameL([PrivateNamespace(null,"317"),StaticProtectedNs("ru.pragmatix.wormix.pvp.controllers:PvpRequestController"),PrivateNamespace(null,"1804"),PackageNamespace(""),PackageNamespace("ru.pragmatix.wormix.pvp.controllers"),PackageInternalNs("ru.pragmatix.wormix.pvp.controllers"),Namespace("http://adobe.com/AS3/2006/builtin"),ProtectedNamespace("ru.pragmatix.wormix.pvp.controllers:PvpRequestController")])
  2445. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  2446. getproperty QName(PackageNamespace(""),"descr")
  2447. getproperty QName(PackageNamespace(""),"value")
  2448. add
  2449. convert_s
  2450. setlocal 14
  2451.  
  2452. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  2453. callproperty QName(PackageNamespace(""),"getHMS"), 0
  2454. convert_s
  2455. setlocal 13
  2456.  
  2457. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  2458. getlocal 5
  2459. getproperty QName(PackageNamespace(""),"startTime")
  2460. pushbyte 0
  2461. ifeq starttimeiszero
  2462. getlocal 5
  2463. getproperty QName(PackageNamespace(""),"startTime")
  2464. jump starttimenotzero
  2465. starttimeiszero:getlocal_0
  2466. getproperty QName(PrivateNamespace(null,"322"),"timeBeforeBattle")
  2467. starttimenotzero:getlocal 5
  2468. getproperty QName(PackageNamespace(""),"lastTime")
  2469. pushbyte 0
  2470. equals
  2471. not
  2472. convert_b
  2473. dup
  2474. iffalse endtime_and_starttime_not_equals
  2475. pop
  2476. getlocal 5
  2477. getproperty QName(PackageNamespace(""),"lastTime")
  2478. getlocal 5
  2479. getproperty QName(PackageNamespace(""),"startTime")
  2480. equals
  2481. not
  2482. convert_b
  2483. endtime_and_starttime_not_equals:iffalse endtimeiszero
  2484. getlocal 5
  2485. getproperty QName(PackageNamespace(""),"lastTime")
  2486. jump endtimenotzero
  2487. endtimeiszero:getlocal_0
  2488. getproperty QName(PrivateNamespace(null,"322"),"timeAfterBattle")
  2489. endtimenotzero:callproperty QName(PackageNamespace(""),"getDiffHMS"), 2
  2490. convert_s
  2491. setlocal 12
  2492.  
  2493. getlocal_3
  2494. getproperty QName(PackageNamespace(""),"result")
  2495. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2496. getproperty QName(PackageNamespace(""),"WINNER")
  2497. equals
  2498. iffalse notwinner
  2499. getlex QName(PackageNamespace("ru.pragmatix.wormix.gui"),"Texts")
  2500. getproperty QName(PackageNamespace(""),"WINNER_TITLE")
  2501. jump winner
  2502. notwinner:getlocal_3
  2503. getproperty QName(PackageNamespace(""),"result")
  2504. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2505. getproperty QName(PackageNamespace(""),"LOSER")
  2506. equals
  2507. iffalse notloser
  2508. getlex QName(PackageNamespace("ru.pragmatix.wormix.gui"),"Texts")
  2509. getproperty QName(PackageNamespace(""),"LOOSER_TITLE")
  2510. jump winner
  2511. notloser:getlocal_3
  2512. getproperty QName(PackageNamespace(""),"result")
  2513. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2514. getproperty QName(PackageNamespace(""),"DRAW_GAME")
  2515. equals
  2516. iffalse result_undefined
  2517. getlex QName(PackageNamespace("ru.pragmatix.wormix.gui"),"Texts")
  2518. getproperty QName(PackageNamespace(""),"DRAW_TITLE")
  2519. jump winner
  2520. result_undefined:pushstring "UNDEFINED"
  2521. winner:convert_s
  2522. setlocal 11
  2523.  
  2524. getlocal_3
  2525. getproperty QName(PackageNamespace(""),"result")
  2526. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2527. getproperty QName(PackageNamespace(""),"WINNER")
  2528. equals
  2529. iffalse hastokensdefeat
  2530. pushstring "NEXT_WIN_WITH_TOKEN"
  2531. pushstring " "
  2532. add
  2533. pushstring "("
  2534. add
  2535. getlocal 27
  2536. add
  2537. pushstring ")"
  2538. add
  2539. jump hastokenswin
  2540. hastokensdefeat:pushstring "NEXT_DEFEAT_WITH_TOKEN"
  2541. pushstring " "
  2542. add
  2543. pushstring "("
  2544. add
  2545. getlocal 27
  2546. add
  2547. pushstring ")"
  2548. add
  2549. hastokenswin:convert_s
  2550. setlocal 10
  2551.  
  2552. getlocal_3
  2553. getproperty QName(PackageNamespace(""),"result")
  2554. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2555. getproperty QName(PackageNamespace(""),"WINNER")
  2556. equals
  2557. iffalse zerotokensdefeat
  2558. pushstring "NEXT_WIN_WITHOUT_TOKEN"
  2559. jump zerotokenswin
  2560. zerotokensdefeat:pushstring "NEXT_DEFEAT_WITHOUT_TOKEN"
  2561. zerotokenswin:convert_s
  2562. setlocal 9
  2563.  
  2564. getlocal 26
  2565. iffalse zerobosstokens
  2566. getlocal 10
  2567. jump hasbosstokens
  2568. zerobosstokens:getlocal 9
  2569. hasbosstokens:convert_s
  2570. setlocal 8
  2571.  
  2572.  
  2573. getlocal_3
  2574. getproperty QName(PackageNamespace(""),"result")
  2575. getlex QName(PackageNamespace("ru.pragmatix.wormix.model.battle"),"BattleResult")
  2576. getproperty QName(PackageNamespace(""),"WINNER")
  2577. equals
  2578. iffalse firstdefeat
  2579. pushstring "FIRST_WIN"
  2580. jump firstwin
  2581. firstdefeat:pushstring "FIRST_DEFEAT"
  2582. firstwin:convert_s
  2583. setlocal 7
  2584.  
  2585.  
  2586. getlocal_0
  2587. getproperty QName(PrivateNamespace(null,"322"),"isFirstTry")
  2588. iffalse notfirstwin
  2589. getlocal 7
  2590. jump isfirstwin
  2591. notfirstwin:getlocal 8
  2592. isfirstwin:convert_s
  2593. setlocal 6
  2594.  
  2595.  
  2596.  
  2597. getlocal 18
  2598. pushstring "\n"
  2599. add
  2600. pushstring "["
  2601. add
  2602. getlocal 13
  2603. add
  2604. pushstring "]"
  2605. add
  2606. pushstring " | "
  2607. add
  2608. getlocal 12
  2609. add
  2610. pushstring " | "
  2611. add
  2612. getlocal 11
  2613. add
  2614. pushstring " | "
  2615. add
  2616. getlocal 17
  2617. add
  2618. pushstring " | "
  2619. add
  2620. getlocal 22
  2621. add
  2622. pushstring " | "
  2623. add
  2624. getlocal 15
  2625. add
  2626. pushstring " | "
  2627. add
  2628. getlocal 14
  2629. add
  2630. pushstring " | "
  2631. add
  2632. getlocal 6
  2633. add
  2634. pushstring " | "
  2635. add
  2636. getlocal 16
  2637. add
  2638. pushstring "\n"
  2639. add
  2640. getlocal 5
  2641. getproperty QName(PackageNamespace(""),"fullTurnsLog")
  2642. add
  2643. pushstring "\n"
  2644. add
  2645. pushstring "ВСЕГО:"
  2646. add
  2647. pushstring " | "
  2648. add
  2649. getlocal 5
  2650. getproperty QName(PackageNamespace(""),"turnsTotalCount")
  2651. add
  2652. pushstring " | "
  2653. add
  2654. getlocal 20
  2655. add
  2656. pushstring " | "
  2657. add
  2658. getlocal_3
  2659. getproperty QName(PackageNamespace(""),"totalDamageToPlayer")
  2660. add
  2661. pushstring " "
  2662. add
  2663. pushstring "из"
  2664. add
  2665. pushstring " "
  2666. add
  2667. getlocal 5
  2668. getproperty QName(PackageNamespace(""),"startPlayerTotalHp")
  2669. add
  2670. pushstring " "
  2671. add
  2672. pushstring "["
  2673. add
  2674. getlocal 5
  2675. getproperty QName(PackageNamespace(""),"endPlayerTotalHp")
  2676. add
  2677. pushstring "]"
  2678. add
  2679. pushstring " "
  2680. add
  2681. pushstring "/"
  2682. add
  2683. pushstring " "
  2684. add
  2685. getlocal_3
  2686. getproperty QName(PackageNamespace(""),"totalDamageToBoss")
  2687. add
  2688. pushstring " "
  2689. add
  2690. pushstring "из"
  2691. add
  2692. pushstring " "
  2693. add
  2694. getlocal 5
  2695. getproperty QName(PackageNamespace(""),"startBossTotalHp")
  2696. add
  2697. pushstring " | "
  2698. add
  2699. getlocal_3
  2700. getproperty QName(PackageNamespace(""),"totalUsedItems")
  2701. add
  2702. getlocal 21
  2703. iffalse cheats_not_detected
  2704. pushstring "\n"
  2705. pushstring "Причина:"
  2706. add
  2707. pushstring " "
  2708. add
  2709. getlocal 21
  2710. add
  2711. jump cheats_is_detected
  2712. cheats_not_detected:pushstring ""
  2713. cheats_is_detected:add
  2714. convert_s
  2715. setlocal 25
  2716.  
  2717.  
  2718. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils.auxiliary"),"StringUtils")
  2719. getlocal 25
  2720. callpropvoid QName(PackageNamespace(""),"copyToClipboard"), 1
  2721.  
  2722.  
  2723. getlex QName(PackageNamespace("flash.system"),"System")
  2724. pushdouble 1.0
  2725. callproperty QName(PackageNamespace(""),"pauseForGCIfCollectionImminent"), 1
  2726.  
  2727. ===============================================================
  2728.  
  2729.  
  2730. trait method QName(PackageNamespace(""),"Bold")
  2731. flag FINAL
  2732. dispid 16
  2733. method
  2734. name null
  2735. param QName(PackageNamespace(""),"String")
  2736. returns QName(PackageNamespace(""),"String")
  2737.  
  2738. body
  2739. maxstack 2
  2740. localcount 2
  2741. initscopedepth 3
  2742. maxscopedepth 4
  2743.  
  2744. code
  2745. getlocal_0
  2746. pushscope
  2747. pushstring "<b>"
  2748. getlocal_1
  2749. add
  2750. pushstring "</b>"
  2751. add
  2752. returnvalue
  2753. end ; code
  2754. end ; body
  2755. end ; method
  2756. end ; trait
  2757.  
  2758.  
  2759. ===============================================================
  2760.  
  2761.  
  2762. trait method QName(PackageNamespace(""),"Italics")
  2763. flag FINAL
  2764. dispid 17
  2765. method
  2766. name null
  2767. param QName(PackageNamespace(""),"String")
  2768. returns QName(PackageNamespace(""),"String")
  2769.  
  2770. body
  2771. maxstack 2
  2772. localcount 2
  2773. initscopedepth 3
  2774. maxscopedepth 4
  2775.  
  2776. code
  2777. getlocal_0
  2778. pushscope
  2779. pushstring "<i>"
  2780. getlocal_1
  2781. add
  2782. pushstring "</i>"
  2783. add
  2784. returnvalue
  2785. end ; code
  2786. end ; body
  2787. end ; method
  2788. end ; trait
  2789.  
  2790.  
  2791. ===============================================================
  2792.  
  2793.  
  2794. trait slot QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"fullBossLog")
  2795. slotid 0
  2796. type QName(PackageNamespace(""),"String")
  2797. value Utf8("")
  2798. end ; trait
  2799.  
  2800.  
  2801. trait getter QName(PackageNamespace(""),"fullTurnsLog")
  2802. dispid 0
  2803. method
  2804. name "ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData:fullTurnsLog/get"
  2805. returns QName(PackageNamespace(""),"String")
  2806.  
  2807. body
  2808. maxstack 1
  2809. localcount 1
  2810. initscopedepth 7
  2811. maxscopedepth 8
  2812.  
  2813. code
  2814. getlocal_0
  2815. pushscope
  2816. getlocal_0
  2817. getproperty QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"fullBossLog")
  2818. returnvalue
  2819. end ; code
  2820. end ; body
  2821. end ; method
  2822. end ; trait
  2823.  
  2824.  
  2825. ===============================================================
  2826.  
  2827.  
  2828. trait slot QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"startPlayerHp")
  2829. slotid 0
  2830. type QName(PackageNamespace(""),"int")
  2831. value Integer(0)
  2832. end ; trait
  2833.  
  2834.  
  2835. trait getter QName(PackageNamespace(""),"startPlayerAllHp")
  2836. dispid 0
  2837. method
  2838. name "ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData:startPlayerAllHp/get"
  2839. returns QName(PackageNamespace(""),"int")
  2840.  
  2841. body
  2842. maxstack 1
  2843. localcount 1
  2844. initscopedepth 7
  2845. maxscopedepth 8
  2846.  
  2847. code
  2848. getlocal_0
  2849. pushscope
  2850. getlocal_0
  2851. getproperty QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"startPlayerHp")
  2852. returnvalue
  2853. end ; code
  2854. end ; body
  2855. end ; method
  2856. end ; trait
  2857.  
  2858.  
  2859. ===============================================================
  2860.  
  2861.  
  2862. trait slot QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"endPlayerHp")
  2863. slotid 0
  2864. type QName(PackageNamespace(""),"int")
  2865. value Integer(0)
  2866. end ; trait
  2867.  
  2868.  
  2869. trait getter QName(PackageNamespace(""),"endPlayerTotalHp")
  2870. dispid 0
  2871. method
  2872. name "ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData:endPlayerTotalHp/get"
  2873. returns QName(PackageNamespace(""),"int")
  2874.  
  2875. body
  2876. maxstack 1
  2877. localcount 1
  2878. initscopedepth 7
  2879. maxscopedepth 8
  2880.  
  2881. code
  2882. getlocal_0
  2883. pushscope
  2884. getlocal_0
  2885. getproperty QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"endPlayerHp")
  2886. returnvalue
  2887. end ; code
  2888. end ; body
  2889. end ; method
  2890. end ; trait
  2891.  
  2892.  
  2893. ===============================================================
  2894.  
  2895.  
  2896. trait slot QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"startBossHp")
  2897. slotid 0
  2898. type QName(PackageNamespace(""),"int")
  2899. value Integer(0)
  2900. end ; trait
  2901.  
  2902.  
  2903. trait getter QName(PackageNamespace(""),"startBossTotalHp")
  2904. dispid 0
  2905. method
  2906. name "ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData:startBossTotalHp/get"
  2907. returns QName(PackageNamespace(""),"int")
  2908.  
  2909. body
  2910. maxstack 1
  2911. localcount 1
  2912. initscopedepth 7
  2913. maxscopedepth 8
  2914.  
  2915. code
  2916. getlocal_0
  2917. pushscope
  2918. getlocal_0
  2919. getproperty QName(PrivateNamespace("ru.pragmatix.wormix.game.mission.data.boss:SimpleBossData"),"startBossHp")
  2920. returnvalue
  2921. end ; code
  2922. end ; body
  2923. end ; method
  2924. end ; trait
  2925.  
  2926.  
  2927. ===============================================================
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933. ===============================================================
  2934.  
  2935.  
  2936. trait method QName(PackageNamespace(""),"checkCheatsDetect")
  2937. dispid 0
  2938. method
  2939. name "getCheatReason"
  2940. flag HAS_OPTIONAL
  2941. param QName(PackageNamespace(""),"Boolean")
  2942. param QName(PackageNamespace(""),"Boolean")
  2943. param QName(PackageNamespace(""),"uint")
  2944. param QName(PackageNamespace(""),"int")
  2945. param QName(PackageNamespace(""),"Array")
  2946. param QName(PackageNamespace(""),"Array")
  2947. param QName(PackageNamespace(""),"Boolean")
  2948. optional False()
  2949. optional False()
  2950. optional UInteger(0)
  2951. optional Integer(0)
  2952. optional null
  2953. optional null
  2954. optional False()
  2955. returns QName(PackageNamespace(""),"String")
  2956.  
  2957. body
  2958. maxstack 5
  2959. localcount 16
  2960. initscopedepth 3
  2961. maxscopedepth 5
  2962.  
  2963. code
  2964. getlocal_0
  2965. debugline 3
  2966. pushscope
  2967. debug 1, "battlemiddle", 0, 3
  2968. debug 1, "isWin", 1, 3
  2969. debug 1, "timeVal", 2, 3
  2970. debug 1, "damageToBoss", 3, 3
  2971. debug 1, "weapons", 4, 3
  2972. debug 1, "deaths", 5, 3
  2973. debug 1, "isPlayerTurn", 6, 3
  2974. debug 1, "deviationVal", 8, 5
  2975. debug 1, "weapon", 11, 7
  2976. debug 1, "isSinkingOnTurn", 12, 9
  2977. debug 1, "otherWeaponsUsed", 13, 11
  2978. debug 1, "deathsWithoutWeapons", 14, 13
  2979. getlocal 5
  2980. convert_b
  2981. dup
  2982. iffalse isweaponsarrayexist
  2983. pop
  2984. getlocal_1
  2985. convert_b
  2986. isweaponsarrayexist:iffalse isnotloop
  2987. debugline 7
  2988. pushnull
  2989. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  2990. setlocal 12
  2991. debugline 9
  2992. pushfalse
  2993. convert_b
  2994. setlocal 13
  2995. debugline 11
  2996. pushfalse
  2997. convert_b
  2998. setlocal 14
  2999. debugline 13
  3000. pushtrue
  3001. convert_b
  3002. setlocal 15
  3003. pushbyte 0
  3004. setlocal 10
  3005. getlocal 5
  3006. coerce QName(PackageNamespace(""),"Array")
  3007. setlocal 11
  3008. jump setelementsloop_weapons
  3009. looplabel_weapons:label
  3010. getlocal 11
  3011. getlocal 10
  3012. nextvalue
  3013. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  3014. setlocal 12
  3015. debugline 23
  3016. getlex QName(PrivateNamespace(null,"310"),"SPECIAL_IDS_LIST")
  3017. getlocal 12
  3018. callproperty QName(PackageNamespace(""),"getId"), 0
  3019. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"indexOf"), 1
  3020. pushbyte -1
  3021. ifeq notinspecials
  3022. getlocal 12
  3023. callproperty QName(PackageNamespace(""),"getId"), 0
  3024. getlex QName(PackageNamespace("config.weapons"),"Weapons")
  3025. getproperty QName(PackageNamespace(""),"UNIT_SINK")
  3026. ifne notinspecials
  3027. pushtrue
  3028. convert_b
  3029. setlocal 13
  3030. pushfalse
  3031. convert_b
  3032. setlocal 15
  3033. jump setelementsloop_weapons
  3034. notinspecials:getlex QName(PrivateNamespace(null,"310"),"EXCLUDED_WEAPONS_LIST")
  3035. getlocal 12
  3036. callproperty QName(PackageNamespace(""),"getId"), 0
  3037. callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"),"indexOf"), 1
  3038. pushbyte -1
  3039. ifne setelementsloop_weapons
  3040. pushtrue
  3041. convert_b
  3042. setlocal 14
  3043. setelementsloop_weapons:debugline 25
  3044. hasnext2 11, 10
  3045. iftrue looplabel_weapons
  3046. kill 11
  3047. kill 10
  3048. isnotloop:jump switch_condition
  3049. first_reason:label
  3050. getlocal_0
  3051. pushbyte 1
  3052. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3053. pushstring "PVP_WEAPON_USAGE_HIGH"
  3054. returnvalue
  3055. second_reason:label
  3056. debugline 5
  3057. getlocal_0
  3058. pushbyte 0
  3059. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3060. getlocal 4
  3061. pushshort 730
  3062. subtract
  3063. convert_i
  3064. setlocal 9
  3065. pushstring "Урон от оружия слишком велик!"
  3066. pushstring " "
  3067. add
  3068. pushstring "(+"
  3069. add
  3070. getlocal 9
  3071. add
  3072. pushstring ")"
  3073. add
  3074. returnvalue
  3075. third_reason:label
  3076. getlocal_0
  3077. pushbyte 1
  3078. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3079. getlocal_0
  3080. getproperty QName(PrivateNamespace(null,"310"),"startBossHp")
  3081. getlocal_0
  3082. getproperty QName(PrivateNamespace(null,"310"),"totalDamageToBoss")
  3083. subtract
  3084. convert_i
  3085. setlocal 9
  3086. pushstring "Урон по боссу не сходится или слишком мал"
  3087. pushstring " "
  3088. add
  3089. pushstring "(+"
  3090. add
  3091. getlocal 9
  3092. add
  3093. pushstring ")"
  3094. add
  3095. returnvalue
  3096. fourth_reason:label
  3097. getlocal_0
  3098. pushbyte 1
  3099. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3100. getlocal_0
  3101. callproperty QName(PackageNamespace(""),"endPlayerTotalHp"), 0
  3102. getlocal_0
  3103. getproperty QName(PrivateNamespace(null,"310"),"startPlayerHp")
  3104. subtract
  3105. convert_i
  3106. setlocal 9
  3107. pushstring "Неверное стартовое хп игрока!"
  3108. pushstring " "
  3109. add
  3110. pushstring "(+"
  3111. add
  3112. getlocal 9
  3113. add
  3114. pushstring ")"
  3115. add
  3116. returnvalue
  3117. fifth_reason:label
  3118. getlocal_0
  3119. pushbyte 1
  3120. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3121. getlocal 13
  3122. iffalse issinkingtrue
  3123. pushstring "Утопил без оружия"
  3124. returnvalue
  3125. issinkingtrue:pushstring "Убил без оружия"
  3126. returnvalue
  3127. sixth_reason:label
  3128. getlocal_0
  3129. pushbyte 1
  3130. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3131. getlocal_3
  3132. pushshort 1800
  3133. subtract
  3134. convert_i
  3135. setlocal 9
  3136. pushstring "Ход длится слишком долго! Кто-то уснул?"
  3137. pushstring " "
  3138. add
  3139. pushstring "(+"
  3140. add
  3141. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  3142. getlocal 9
  3143. callproperty QName(PackageNamespace(""),"getHMS"), 1
  3144. add
  3145. pushstring ")"
  3146. add
  3147. returnvalue
  3148. seventh_reason:label
  3149. getlocal_0
  3150. pushbyte 1
  3151. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3152. pushstring "(?) Мгновенная победа"
  3153. pushstring " "
  3154. add
  3155. pushstring "("
  3156. add
  3157. getlex QName(PackageNamespace("ru.pragmatix.wormix.utils"),"DateUtil")
  3158. getlocal_3
  3159. callproperty QName(PackageNamespace(""),"getHMS"), 1
  3160. add
  3161. pushstring ")"
  3162. add
  3163. returnvalue
  3164. eighth_reason:label
  3165. getlocal_0
  3166. pushbyte 1
  3167. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3168. pushstring "Босс ни разу не ходил"
  3169. returnvalue
  3170. ninth_reason:label
  3171. getlocal_0
  3172. pushbyte 1
  3173. setproperty QName(PrivateNamespace(null,"310"),"warningLevel")
  3174. pushstring "Пропущен ход босса"
  3175. returnvalue
  3176. default_reason:label
  3177. jump endret
  3178. switch_condition:pushtrue
  3179. setlocal 8
  3180. findpropstrict QName(PackageNamespace("ru.pragmatix.wormix.weapons"),"Weapon")
  3181. getproperty QName(PackageNamespace("ru.pragmatix.wormix.weapons"),"Weapon")
  3182. getproperty QName(PackageNamespace(""),"isMultishotsDetected")
  3183. convert_b
  3184. dup
  3185. iftrue ismultishotsdetected
  3186. pop
  3187. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  3188. getproperty QName(PackageNamespace(""),"btc")
  3189. getproperty QName(PackageNamespace(""),"gameMaster")
  3190. getproperty QName(PackageNamespace(""),"getHackCheck")
  3191. convert_b
  3192. ismultishotsdetected:dup
  3193. iffalse reattachhackdetected
  3194. pop
  3195. getlocal_1
  3196. convert_b
  3197. reattachhackdetected:getlocal 8
  3198. ifstrictne second_case
  3199. pushbyte 0
  3200. jump ending
  3201. second_case:getlocal 4
  3202. pushshort 730
  3203. greaterthan
  3204. convert_b
  3205. dup
  3206. iffalse isdamagetoohigh
  3207. pop
  3208. getlocal_1
  3209. convert_b
  3210. isdamagetoohigh:getlocal 8
  3211. ifstrictne third_case
  3212. pushbyte 1
  3213. jump ending
  3214. third_case:getlocal_0
  3215. getproperty QName(PrivateNamespace(null,"310"),"totalDamageToBoss")
  3216. getlocal_0
  3217. getproperty QName(PrivateNamespace(null,"310"),"startBossHp")
  3218. lessthan
  3219. convert_b
  3220. dup
  3221. iffalse damagetobosslowerthanhp
  3222. pop
  3223. getlocal_2
  3224. convert_b
  3225. damagetobosslowerthanhp:dup
  3226. iffalse iswin
  3227. pop
  3228. getlocal_1
  3229. not
  3230. convert_b
  3231. iswin:getlocal 8
  3232. ifstrictne fourth_case
  3233. pushbyte 2
  3234. jump ending
  3235. fourth_case:getlocal_0
  3236. callproperty QName(PackageNamespace(""),"endPlayerTotalHp"), 0
  3237. getlocal_0
  3238. getproperty QName(PrivateNamespace(null,"310"),"startPlayerHp")
  3239. greaterthan
  3240. convert_b
  3241. dup
  3242. iffalse endplayerhptoob1g
  3243. pop
  3244. getlocal_1
  3245. not
  3246. convert_b
  3247. endplayerhptoob1g:getlocal 8
  3248. ifstrictne fifth_case
  3249. pushbyte 3
  3250. jump ending
  3251. fifth_case:getlocal 13
  3252. convert_b
  3253. dup
  3254. iftrue issinking
  3255. pop
  3256. getlocal 15
  3257. convert_b
  3258. dup
  3259. iffalse issinking
  3260. pop
  3261. getlocal 6
  3262. getproperty QName(PackageNamespace(""),"length")
  3263. pushbyte 0
  3264. equals
  3265. not
  3266. convert_b
  3267. issinking:dup
  3268. iffalse deathsexists
  3269. pop
  3270. getlocal 14
  3271. not
  3272. convert_b
  3273. deathsexists:getlocal 8
  3274. ifstrictne sixth_case
  3275. pushbyte 4
  3276. jump ending
  3277. sixth_case:getlocal_3
  3278. pushshort 1800
  3279. greaterthan
  3280. convert_b
  3281. dup
  3282. iffalse morethanthirtymins
  3283. pop
  3284. getlocal_1
  3285. convert_b
  3286. morethanthirtymins:getlocal 8
  3287. ifstrictne seventh_case
  3288. pushbyte 5
  3289. jump ending
  3290. seventh_case:getlocal_3
  3291. pushbyte 15
  3292. lessthan
  3293. convert_b
  3294. dup
  3295. iffalse isinstantwin
  3296. pop
  3297. getlocal_2
  3298. convert_b
  3299. isinstantwin:dup
  3300. iffalse instantwin
  3301. pop
  3302. getlocal_1
  3303. not
  3304. convert_b
  3305. instantwin:getlocal 8
  3306. ifstrictne eighth_case
  3307. pushbyte 6
  3308. jump ending
  3309. eighth_case:getlocal_0
  3310. getproperty QName(PrivateNamespace(null,"310"),"BossTurnsMoreThanZero")
  3311. not
  3312. convert_b
  3313. dup
  3314. iffalse bossturnszero
  3315. pop
  3316. getlocal_2
  3317. convert_b
  3318. bossturnszero:dup
  3319. iffalse iswinner
  3320. pop
  3321. getlocal_1
  3322. not
  3323. convert_b
  3324. iswinner:getlocal 8
  3325. ifstrictne ninth_case
  3326. pushbyte 7
  3327. jump ending
  3328. ninth_case:getlocal 7
  3329. convert_b
  3330. dup
  3331. iffalse isplayerturn
  3332. pop
  3333. getlocal_0
  3334. getproperty QName(PrivateNamespace(null,"310"),"isPreviousPlayerTurn")
  3335. convert_b
  3336. isplayerturn:dup
  3337. iffalse ispreviousplayerturn
  3338. pop
  3339. getlocal_1
  3340. convert_b
  3341. ispreviousplayerturn:getlocal 8
  3342. ifstrictne default_case
  3343. pushbyte 8
  3344. jump ending
  3345. default_case:jump last
  3346. pushbyte 9
  3347. jump last
  3348. last:pushbyte 9
  3349. ending:kill 8
  3350. lookupswitch default_reason, 9, first_reason, second_reason, third_reason, fourth_reason, fifth_reason, sixth_reason, seventh_reason, eighth_reason, ninth_reason, default_reason
  3351. endret:pushstring ""
  3352. returnvalue
  3353. end ; code
  3354. end ; body
  3355. end ; method
  3356. end ; trait
  3357.  
  3358.  
  3359. ===============================================================
  3360.  
  3361.  
  3362. trait method QName(PrivateNamespace(""),"formatDeathsBirths")
  3363. dispid 0
  3364. method
  3365. name "formatDeathsBirths"
  3366. param QName(PackageNamespace(""),"Array")
  3367. returns QName(PackageNamespace(""),"String")
  3368.  
  3369. body
  3370. maxstack 5
  3371. localcount 7
  3372. initscopedepth 3
  3373. maxscopedepth 5
  3374.  
  3375. code
  3376. getlocal_0
  3377. pushscope
  3378. pushnull
  3379. coerce_s
  3380. setlocal_2
  3381. pushbyte 0
  3382. coerce_i
  3383. setlocal_3
  3384. pushstring ""
  3385. coerce_s
  3386. setlocal 6
  3387. pushbyte 0
  3388. setlocal 4
  3389. getlocal_1
  3390. coerce QName(PackageNamespace(""),"Array")
  3391. setlocal 5
  3392. jump setelementsloop
  3393. looplabel:label
  3394. getlocal 5
  3395. getlocal 4
  3396. nextvalue
  3397. convert_s
  3398. setlocal_2
  3399. debugline 23
  3400. inclocal_i 3
  3401. getlocal_3
  3402. getlocal 5
  3403. getproperty QName(PackageNamespace(""),"length")
  3404. ifeq is_end
  3405. getlocal 6
  3406. getlocal_2
  3407. add
  3408. pushstring ", "
  3409. add
  3410. convert_s
  3411. setlocal 6
  3412. jump setelementsloop
  3413. is_end:getlocal 6
  3414. getlocal_2
  3415. add
  3416. convert_s
  3417. setlocal 6
  3418. setelementsloop:debugline 27
  3419. hasnext2 5, 4
  3420. iftrue looplabel
  3421. kill 5
  3422. kill 4
  3423. getlocal 6
  3424. returnvalue
  3425. end ; code
  3426. end ; body
  3427. end ; method
  3428. end ; trait
  3429.  
  3430.  
  3431. ===============================================================
  3432.  
  3433.  
  3434. trait method QName(PackageNamespace(""),"sortTotalWeapons")
  3435. dispid 0
  3436. method
  3437. name "sortTotalWeapons"
  3438. param QName(PackageNamespace(""),"Array")
  3439. returns QName(PackageNamespace(""),"String")
  3440.  
  3441. body
  3442. maxstack 9
  3443. localcount 9
  3444. initscopedepth 3
  3445. maxscopedepth 5
  3446.  
  3447. code
  3448. getlocal_0
  3449. pushscope
  3450. pushstring ""
  3451. coerce_s
  3452. setlocal_3
  3453. pushbyte 0
  3454. coerce_i
  3455. setlocal 6
  3456. pushbyte 0
  3457. setlocal 4
  3458. getlocal_1
  3459. coerce QName(PackageNamespace(""),"Array")
  3460. setlocal 5
  3461. jump intheend
  3462. startloop:label
  3463. getlocal 5
  3464. getlocal 4
  3465. nextvalue
  3466. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  3467. setlocal_2
  3468. debugline 28
  3469. inclocal_i 6
  3470. jump switch
  3471. first:label
  3472. getlocal_3
  3473. pushstring "[Утопил]"
  3474. pushstring ":"
  3475. add
  3476. pushstring " "
  3477. add
  3478. getlocal_2
  3479. callproperty QName(PackageNamespace(""),"getCount"), 0
  3480. add
  3481. getlocal_0
  3482. getlocal_1
  3483. getlocal_2
  3484. callproperty QName(PackageNamespace(""),"getId"), 0
  3485. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  3486. add
  3487. add
  3488. convert_s
  3489. setlocal_3
  3490. jump intheend
  3491. second:label
  3492. getlocal_3
  3493. pushstring "[Урон от расы]"
  3494. pushstring ":"
  3495. add
  3496. pushstring " "
  3497. add
  3498. getlocal_2
  3499. callproperty QName(PackageNamespace(""),"getCount"), 0
  3500. add
  3501. getlocal_0
  3502. getlocal_1
  3503. getlocal_2
  3504. callproperty QName(PackageNamespace(""),"getId"), 0
  3505. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  3506. add
  3507. add
  3508. convert_s
  3509. setlocal_3
  3510. jump intheend
  3511. third:label
  3512. getlocal_3
  3513. pushstring "[Урон от механики]"
  3514. pushstring ":"
  3515. add
  3516. pushstring " "
  3517. add
  3518. getlocal_2
  3519. callproperty QName(PackageNamespace(""),"getCount"), 0
  3520. add
  3521. getlocal_0
  3522. getlocal_1
  3523. getlocal_2
  3524. callproperty QName(PackageNamespace(""),"getId"), 0
  3525. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  3526. add
  3527. add
  3528. convert_s
  3529. setlocal_3
  3530. jump intheend
  3531. fourth:label
  3532. getlocal_3
  3533. pushstring "[Лечение]"
  3534. pushstring ":"
  3535. add
  3536. pushstring " "
  3537. add
  3538. getlocal_2
  3539. callproperty QName(PackageNamespace(""),"getCount"), 0
  3540. add
  3541. getlocal_0
  3542. getlocal_1
  3543. getlocal_2
  3544. callproperty QName(PackageNamespace(""),"getId"), 0
  3545. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  3546. add
  3547. add
  3548. convert_s
  3549. setlocal_3
  3550. jump intheend
  3551. fifth:label
  3552. getlocal_3
  3553. pushstring "[Урон от оружия без выстрела]"
  3554. pushstring ":"
  3555. add
  3556. pushstring " "
  3557. add
  3558. getlocal_2
  3559. callproperty QName(PackageNamespace(""),"getCount"), 0
  3560. add
  3561. getlocal_0
  3562. getlocal_1
  3563. getlocal_2
  3564. callproperty QName(PackageNamespace(""),"getId"), 0
  3565. callproperty QName(PrivateNamespace(""),"isNextExist"), 2
  3566. add
  3567. add
  3568. convert_s
  3569. setlocal_3
  3570. jump intheend
  3571. sixth:label
  3572. getlocal_3
  3573. findpropstrict QName(PackageNamespace("ru.pragmatix.wormix.storage.items"),"ItemsStore")
  3574. getproperty QName(PackageNamespace("ru.pragmatix.wormix.storage.items"),"ItemsStore")
  3575. getlocal_2
  3576. callproperty QName(PackageNamespace(""),"getId"), 0
  3577. callproperty QName(PackageNamespace(""),"getWeaponById"), 1
  3578. getproperty QName(ProtectedNamespace("ru.pragmatix.wormix.storage.items.record:ShopRecord"),"name")
  3579. pushstring ":"
  3580. add
  3581. pushstring " "
  3582. add
  3583. getlocal_2
  3584. callproperty QName(PackageNamespace(""),"getCount"), 0
  3585. add
  3586. getlocal_0
  3587. getlocal_1
  3588. getlocal_2
  3589. callproperty QName(PackageNamespace(""),"getId"), 0
  3590. pushtrue
  3591. callproperty QName(PrivateNamespace(""),"isNextExist"), 3
  3592. add
  3593. add
  3594. convert_s
  3595. setlocal_3
  3596. jump intheend
  3597. jump switch
  3598. switch:getlocal_2
  3599. callproperty QName(PackageNamespace(""),"getId"), 0
  3600. setlocal 7
  3601. pushshort 10000
  3602. getlocal 7
  3603. ifstrictne secondcase
  3604. pushbyte 0
  3605. jump ending
  3606. secondcase:pushshort 10001
  3607. getlocal 7
  3608. ifstrictne thirdcase
  3609. pushbyte 1
  3610. jump ending
  3611. thirdcase:pushshort 10002
  3612. getlocal 7
  3613. ifstrictne fourthcase
  3614. pushbyte 2
  3615. jump ending
  3616. fourthcase:pushshort 10003
  3617. getlocal 7
  3618. ifstrictne fifthcase
  3619. pushbyte 3
  3620. jump ending
  3621. fifthcase:pushshort 10004
  3622. getlocal 7
  3623. ifstrictne sixthcase
  3624. pushbyte 4
  3625. jump ending
  3626. sixthcase:jump last
  3627. pushbyte 5
  3628. jump last
  3629. last:pushbyte 5
  3630. ending:kill 7
  3631. lookupswitch sixth, 5, first, second, third, fourth, fifth, sixth
  3632. intheend:debugline 27
  3633. hasnext2 5, 4
  3634. iftrue startloop
  3635. kill 5
  3636. kill 4
  3637. getlocal_3
  3638. pushstring " ; "
  3639. add
  3640. pushstring "Total: "
  3641. add
  3642. getlocal 6
  3643. add
  3644. coerce_s
  3645. setlocal 8
  3646. getlocal 8
  3647. returnvalue
  3648. end ; code
  3649. end ; body
  3650. end ; method
  3651. end ; trait
  3652.  
  3653.  
  3654. ===============================================================
  3655.  
  3656.  
  3657. trait method QName(PrivateNamespace(""),"isNextExistInTotal")
  3658. dispid 0
  3659. method
  3660. name "isNextExistInTotal"
  3661. param QName(PackageNamespace(""),"Array")
  3662. param QName(PackageNamespace(""),"int")
  3663. returns QName(PackageNamespace(""),"String")
  3664.  
  3665. body
  3666. maxstack 5
  3667. localcount 9
  3668. initscopedepth 3
  3669. maxscopedepth 5
  3670.  
  3671. code
  3672. getlocal_0
  3673. debugline 16
  3674. pushscope
  3675. debug 1, "weapons", 0, 16
  3676. debug 1, "curWeaponId", 1, 16
  3677. pushnull
  3678. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  3679. setlocal_3
  3680. pushfalse
  3681. convert_b
  3682. setlocal 4
  3683. pushbyte 0
  3684. convert_i
  3685. setlocal 7
  3686. pushbyte 0
  3687. setlocal 5
  3688. getlocal_1
  3689. coerce QName(PackageNamespace(""),"Array")
  3690. setlocal 6
  3691. jump setelementsloop_isnextexist
  3692. looplabel_isnextexist:label
  3693. getlocal 6
  3694. getlocal 5
  3695. nextvalue
  3696. coerce QName(PackageNamespace("ru.pragmatix.wormix.messages.structures"),"WeaponStructure")
  3697. setlocal_3
  3698. debugline 28
  3699. inclocal_i 7
  3700. getlocal_3
  3701. callproperty QName(PackageNamespace(""),"getId"), 0
  3702. getlocal_2
  3703. equals
  3704. iffalse not_find_myid
  3705. getlocal 7
  3706. convert_i
  3707. setlocal 8
  3708. not_find_myid:getlocal 4
  3709. not
  3710. convert_b
  3711. dup
  3712. iffalse isalreadytrue
  3713. pop
  3714. getlocal 7
  3715. getlocal 8
  3716. greaterthan
  3717. convert_b
  3718. isalreadytrue:iffalse setelementsloop_isnextexist
  3719. pushtrue
  3720. convert_b
  3721. setlocal 4
  3722. jump endloop
  3723. setelementsloop_isnextexist:debugline 27
  3724. hasnext2 6, 5
  3725. iftrue looplabel_isnextexist
  3726. endloop:kill 6
  3727. kill 5
  3728. getlocal 4
  3729. iffalse retnotexist
  3730. pushstring ","
  3731. pushstring " "
  3732. add
  3733. jump endret
  3734. retnotexist:pushstring ""
  3735. endret:returnvalue
  3736. end ; code
  3737. end ; body
  3738. end ; method
  3739. end ; trait
  3740.  
  3741.  
  3742. ===============================================================
  3743.  
  3744.  
  3745. trait method QName(PackageNamespace(""),"endPlayerTotalHp")
  3746. dispid 0
  3747. method
  3748. name null
  3749. returns QName(PackageNamespace(""),"int")
  3750.  
  3751. body
  3752. maxstack 3
  3753. localcount 1
  3754. initscopedepth 7
  3755. maxscopedepth 8
  3756.  
  3757. code
  3758. getlocal_0
  3759. pushscope
  3760. getlex QName(PackageNamespace("ru.pragmatix.wormix.controller"),"Singletons")
  3761. getproperty QName(PackageNamespace(""),"btc")
  3762. getproperty QName(PackageNamespace(""),"gameMaster")
  3763. getlex QName(PackageNamespace(""),"Application")
  3764. getproperty QName(PackageNamespace(""),"userProfile")
  3765. callproperty QName(PackageNamespace(""),"getSquadByProfile"), 1
  3766. callproperty QName(PackageNamespace(""),"getSquadHp"), 0
  3767. returnvalue
  3768. end ; code
  3769. end ; body
  3770. end ; method
  3771. end ; trait
  3772.  
  3773.  
  3774.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement