Advertisement
alexdubovyck

Неудачно сходил в ОП (2-я версия)

Aug 19th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.08 KB | None | 0 0
  1. -- ---------------------------------------------
  2. -- TEXT вверху экрана 3 координаты
  3. -- ---------------------------------------------
  4. f = CreateFrame("Frame", nil, UIParent)
  5. f:SetSize(UIParent:GetWidth(), 30)
  6. f:SetPoint("TOP", 0, -40)
  7. local text = f:CreateFontString("x_coord", "OVERLAY", "MovieSubtitleFont")
  8. text:SetPoint("CENTER", 0, 0)
  9. text:SetText("любой текст")
  10.  
  11. f = CreateFrame("Frame", nil, UIParent)
  12. f:SetSize(UIParent:GetWidth(), 30)
  13. f:SetPoint("TOP", 0, -80)
  14. local text = f:CreateFontString("y_coord", "OVERLAY", "MovieSubtitleFont")
  15. text:SetPoint("CENTER", 0, 0)
  16. text:SetText("любой текст")
  17.  
  18. f = CreateFrame("Frame", nil, UIParent)
  19. f:SetSize(UIParent:GetWidth(), 30)
  20. f:SetPoint("TOP", 0, -120)
  21. local text = f:CreateFontString("z_coord", "OVERLAY", "MovieSubtitleFont")
  22. text:SetPoint("CENTER", 0, 0)
  23. text:SetText("любой текст")
  24.  
  25.  
  26.  
  27. -- ---------------------------------------------
  28. -- ahk для старта
  29. -- ---------------------------------------------
  30. local f = CreateFrame("Frame", "start")
  31. f:SetPoint("CENTER", 0, 0)
  32. f:SetSize(100, 100)
  33. f:SetParent(UIParent)
  34.  
  35. local art_f = f:CreateTexture()
  36. art_f:SetAllPoints()
  37. -- art_f:SetTexture(255, 255, 255, 1)
  38. art_f:SetAlpha(1)
  39.  
  40.  
  41. -- ---------------------------------------------
  42. -- ahk для конца
  43. -- ---------------------------------------------
  44. local t = CreateFrame("Frame", "stop")
  45. t:SetPoint("CENTER", 0, 300)
  46. t:SetSize(100, 100)
  47. t:SetParent(UIParent)
  48.  
  49. local art_t = t:CreateTexture()
  50. art_t:SetAllPoints()
  51. -- art_t:SetTexture(255, 255, 255, 1)
  52. art_t:SetAlpha(1)
  53.  
  54.  
  55.  
  56.  
  57.  
  58. -- дк анхоли это ОП бот
  59. local function onUpdatee()
  60.  
  61. -- ObjectInteract("Corpse") --???????????? ==false как включить
  62. -- /run print(ObjectInteract("Corpse"))
  63.  
  64. -- /run print(abc())
  65.  
  66. -- /run print(ObjectPosition('Player'))
  67. -- /run print(ObjectPosition("Player"))
  68.  
  69. -- /run print(select(1, ObjectPosition("Player")))
  70.  
  71. local a = select(1, ObjectPosition("Player"))
  72. local b = select(2, ObjectPosition("Player"))
  73. local c = select(3, ObjectPosition("Player"))
  74. -- print(a)
  75. -- print(b)
  76. -- print(c)
  77. -- print("---")
  78.  
  79. c1 = floor(a); --x 1
  80. c2 = floor(b); --y 2
  81. c3 = floor(c); --z 3
  82.  
  83. x_coord:SetText(c1)
  84. y_coord:SetText(c2)
  85. z_coord:SetText(c3)
  86.  
  87. --хотел добавить проверку на слоты в сумках. если не успеюю продать
  88. local freeSlots4, bagType = GetContainerNumFreeSlots(4) -- 16 слотов 1-я
  89. local freeSlots3, bagType = GetContainerNumFreeSlots(3) -- 16 слотов 1-я
  90. local freeSlots2, bagType = GetContainerNumFreeSlots(2) -- 16 слотов 1-я
  91. local freeSlots1, bagType = GetContainerNumFreeSlots(1) -- 16 слотов 1-я
  92. local freeSlots0, bagType = GetContainerNumFreeSlots(0) -- 16 слотов 1-я
  93. local totalbag = (freeSlots0+freeSlots1+freeSlots2+freeSlots3+freeSlots4)
  94. -- print(totalbag)
  95.  
  96.  
  97. if not UnitAffectingCombat("player") then
  98. UseItemByName("Странный вздувшийся живот")
  99. UseItemByName("Сундучок с сокровищами")
  100. end
  101.  
  102. --ток ток зашел в инст. стою
  103. -- .go -552, 320, 115
  104. -- /run MoveTo(-552, 320, 115, 1)
  105. if c1 == -552
  106. and c2 == 320
  107. and c3 == 115
  108. then
  109. MoveTo(-532, 329, 115, 1) --иду всё продавать к вендору
  110.  
  111. -- как сдлтьа InteractUnit(unit)
  112. -- MoveTo(-562, 315, 115, 1)
  113. end
  114.  
  115.  
  116.  
  117. -- дошел до вендора. интеракт чтоб всё продать
  118. if c1 == -533
  119. and c2 == 328
  120. and c3 == 115
  121. then
  122.  
  123. -- RunMacroText("/target Наресир Штормовая Ярость")
  124. TargetUnit("Наресир Штормовая Ярость")
  125. InteractUnit("target")
  126. ClearTarget()
  127.  
  128. -- if UnitName("target") == "Наресир Штормовая Ярость" then
  129.  
  130. -- local isPlaying = Stopwatch_IsPlaying()
  131. -- RunMacroText("/sw reset")
  132. -- RunMacroText("/sw 3")
  133.  
  134. -- RunMacroText("/run Stopwatch_Play()")
  135. -- end
  136.  
  137.  
  138.  
  139. -- print(isPlaying)
  140. -- if isPlaying == false then
  141. -- not ( CheckInteractDistance("target", 3) ) then
  142. -- ClearTarget()
  143. -- end
  144.  
  145. -- InteractUnit("target")
  146.  
  147. --продажа происходит в (автопочинка у вендора и продажа.lua)
  148.  
  149. MoveTo(-516, 318, 115, 1) --идти к 1-му мобу
  150. end
  151.  
  152. --Старт бота с безопасного места
  153. if c1 == -517
  154. and c2 == 318
  155. and c3 == 115
  156. then
  157. art_f:SetTexture(255, 255, 255, 1)
  158. else
  159. art_f:SetTexture(0, 255, 255, 1)
  160. end
  161.  
  162.  
  163.  
  164.  
  165.  
  166. --КОНЕЦ 1
  167. if c1 == -539
  168. and c2 == 302
  169. and c3 == 115
  170. then
  171. SpellStopCasting()
  172. if IsMounted() == true then Dismount(); end
  173. art_t:SetTexture(255, 255, 255, 1)
  174. art_t:SetTexture(255, 255, 255, 1)
  175. art_t:SetTexture(255, 255, 255, 1)
  176. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  177. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  178. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  179. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  180. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  181. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  182. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  183. else
  184. art_t:SetTexture(0, 255, 255, 1)
  185. end
  186.  
  187. --КОНЕЦ 2
  188. if c1 == -536
  189. and c2 == 304
  190. and c3 == 115
  191. then
  192. SpellStopCasting()
  193. if IsMounted() == true then Dismount(); end
  194. art_t:SetTexture(255, 255, 255, 1)
  195. art_t:SetTexture(255, 255, 255, 1)
  196. art_t:SetTexture(255, 255, 255, 1)
  197. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  198. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  199. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  200. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  201. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  202. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  203. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  204. else
  205. art_t:SetTexture(0, 255, 255, 1)
  206. end
  207.  
  208. --КОНЕЦ 3
  209. if c1 == -537
  210. and c2 == 301
  211. and c3 == 115
  212. then
  213. SpellStopCasting()
  214. if IsMounted() == true then Dismount(); end
  215. art_t:SetTexture(255, 255, 255, 1)
  216. art_t:SetTexture(255, 255, 255, 1)
  217. art_t:SetTexture(255, 255, 255, 1)
  218. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  219. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  220. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  221. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  222. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  223. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  224. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  225. else
  226. art_t:SetTexture(0, 255, 255, 1)
  227. end
  228.  
  229. --КОНЕЦ 4
  230. if c1 == -537
  231. and c2 == 303
  232. and c3 == 115
  233. then
  234. SpellStopCasting()
  235. if IsMounted() == true then Dismount(); end
  236. art_t:SetTexture(255, 255, 255, 1)
  237. art_t:SetTexture(255, 255, 255, 1)
  238. art_t:SetTexture(255, 255, 255, 1)
  239. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  240. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  241. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  242. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  243. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  244. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  245. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  246. else
  247. art_t:SetTexture(0, 255, 255, 1)
  248. end
  249.  
  250. --КОНЕЦ 5
  251. if c1 == -539
  252. and c2 == 304
  253. and c3 == 115
  254. then
  255. SpellStopCasting()
  256. if IsMounted() == true then Dismount(); end
  257. art_t:SetTexture(255, 255, 255, 1)
  258. art_t:SetTexture(255, 255, 255, 1)
  259. art_t:SetTexture(255, 255, 255, 1)
  260. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  261. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  262. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  263. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  264. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  265. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  266. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  267. else
  268. art_t:SetTexture(0, 255, 255, 1)
  269. end
  270.  
  271. --КОНЕЦ 6
  272. if c1 == -538
  273. and c2 == 301
  274. and c3 == 115
  275. then
  276. SpellStopCasting()
  277. if IsMounted() == true then Dismount(); end
  278. art_t:SetTexture(255, 255, 255, 1)
  279. art_t:SetTexture(255, 255, 255, 1)
  280. art_t:SetTexture(255, 255, 255, 1)
  281. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  282. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  283. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  284. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  285. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  286. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  287. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  288. else
  289. art_t:SetTexture(0, 255, 255, 1)
  290. end
  291.  
  292. --КОНЕЦ 7
  293. if c1 == -540
  294. and c2 == 301
  295. and c3 == 115
  296. then
  297. SpellStopCasting()
  298. if IsMounted() == true then Dismount(); end
  299. art_t:SetTexture(255, 255, 255, 1)
  300. art_t:SetTexture(255, 255, 255, 1)
  301. art_t:SetTexture(255, 255, 255, 1)
  302. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  303. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  304. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  305. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  306. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  307. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  308. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  309. else
  310. art_t:SetTexture(0, 255, 255, 1)
  311. end
  312.  
  313. --КОНЕЦ 8
  314. if c1 == -534
  315. and c2 == 304
  316. and c3 == 115
  317. then
  318. SpellStopCasting()
  319. if IsMounted() == true then Dismount(); end
  320. art_t:SetTexture(255, 255, 255, 1)
  321. art_t:SetTexture(255, 255, 255, 1)
  322. art_t:SetTexture(255, 255, 255, 1)
  323. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  324. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  325. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  326. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  327. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  328. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  329. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  330. else
  331. art_t:SetTexture(0, 255, 255, 1)
  332. end
  333.  
  334. --КОНЕЦ 9
  335. if c1 == -535
  336. and c2 == 304
  337. and c3 == 115
  338. then
  339. SpellStopCasting()
  340. if IsMounted() == true then Dismount(); end
  341. art_t:SetTexture(255, 255, 255, 1)
  342. art_t:SetTexture(255, 255, 255, 1)
  343. art_t:SetTexture(255, 255, 255, 1)
  344. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  345. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  346. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  347. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  348. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  349. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  350. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  351. else
  352. art_t:SetTexture(0, 255, 255, 1)
  353. end
  354.  
  355. --КОНЕЦ 10
  356. if c1 == -537
  357. and c2 == 302
  358. and c3 == 115
  359. then
  360. SpellStopCasting()
  361. if IsMounted() == true then Dismount(); end
  362. art_t:SetTexture(255, 255, 255, 1)
  363. art_t:SetTexture(255, 255, 255, 1)
  364. art_t:SetTexture(255, 255, 255, 1)
  365. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  366. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  367. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  368. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  369. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  370. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  371. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  372. else
  373. art_t:SetTexture(0, 255, 255, 1)
  374. end
  375.  
  376. --КОНЕЦ 11
  377. if c1 == -536
  378. and c2 == 305
  379. and c3 == 115
  380. then
  381. SpellStopCasting()
  382. if IsMounted() == true then Dismount(); end
  383. art_t:SetTexture(255, 255, 255, 1)
  384. art_t:SetTexture(255, 255, 255, 1)
  385. art_t:SetTexture(255, 255, 255, 1)
  386. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  387. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  388. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  389. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  390. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  391. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  392. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  393. else
  394. art_t:SetTexture(0, 255, 255, 1)
  395. end
  396.  
  397.  
  398.  
  399. --КОНЕЦ 12
  400. if c1 == -530
  401. and c2 == 304
  402. and c3 == 114
  403. then
  404. SpellStopCasting()
  405. if IsMounted() == true then Dismount(); end
  406. art_t:SetTexture(255, 255, 255, 1)
  407. art_t:SetTexture(255, 255, 255, 1)
  408. art_t:SetTexture(255, 255, 255, 1)
  409. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  410. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  411. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  412. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  413. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  414. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  415. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  416. else
  417. art_t:SetTexture(0, 255, 255, 1)
  418. end
  419.  
  420.  
  421. --КОНЕЦ 13
  422. if c1 == -531
  423. and c2 == 304
  424. and c3 == 114
  425. then
  426. SpellStopCasting()
  427. if IsMounted() == true then Dismount(); end
  428. art_t:SetTexture(255, 255, 255, 1)
  429. art_t:SetTexture(255, 255, 255, 1)
  430. art_t:SetTexture(255, 255, 255, 1)
  431. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  432. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  433. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  434. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  435. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  436. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  437. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  438. else
  439. art_t:SetTexture(0, 255, 255, 1)
  440. end
  441.  
  442. --КОНЕЦ 14
  443. if c1 == -540
  444. and c2 == 304
  445. and c3 == 115
  446. then
  447. SpellStopCasting()
  448. if IsMounted() == true then Dismount(); end
  449. art_t:SetTexture(255, 255, 255, 1)
  450. art_t:SetTexture(255, 255, 255, 1)
  451. art_t:SetTexture(255, 255, 255, 1)
  452. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  453. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  454. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  455. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  456. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  457. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  458. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  459. else
  460. art_t:SetTexture(0, 255, 255, 1)
  461. end
  462.  
  463. --КОНЕЦ 15
  464. if c1 == -533
  465. and c2 == 305
  466. and c3 == 115
  467. then
  468. SpellStopCasting()
  469. if IsMounted() == true then Dismount(); end
  470. art_t:SetTexture(255, 255, 255, 1)
  471. art_t:SetTexture(255, 255, 255, 1)
  472. art_t:SetTexture(255, 255, 255, 1)
  473. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  474. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  475. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  476. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  477. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  478. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  479. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  480. else
  481. art_t:SetTexture(0, 255, 255, 1)
  482. end
  483.  
  484. --КОНЕЦ 16
  485. if c1 == -535
  486. and c2 == 305
  487. and c3 == 115
  488. then
  489. SpellStopCasting()
  490. if IsMounted() == true then Dismount(); end
  491. art_t:SetTexture(255, 255, 255, 1)
  492. art_t:SetTexture(255, 255, 255, 1)
  493. art_t:SetTexture(255, 255, 255, 1)
  494. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  495. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  496. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  497. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  498. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  499. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  500. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  501. else
  502. art_t:SetTexture(0, 255, 255, 1)
  503. end
  504.  
  505. --КОНЕЦ 17
  506. if c1 == -537
  507. and c2 == 305
  508. and c3 == 115
  509. then
  510. if IsMounted() == true then Dismount(); end
  511. SpellStopCasting()
  512. art_t:SetTexture(255, 255, 255, 1)
  513. art_t:SetTexture(255, 255, 255, 1)
  514. art_t:SetTexture(255, 255, 255, 1)
  515. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  516. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  517. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  518. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  519. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  520. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  521. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  522. else
  523. art_t:SetTexture(0, 255, 255, 1)
  524. end
  525.  
  526. --КОНЕЦ 18
  527. if c1 == -532
  528. and c2 == 305
  529. and c3 == 114
  530. then
  531. if IsMounted() == true then Dismount(); end
  532. SpellStopCasting()
  533. art_t:SetTexture(255, 255, 255, 1)
  534. art_t:SetTexture(255, 255, 255, 1)
  535. art_t:SetTexture(255, 255, 255, 1)
  536. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  537. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  538. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  539. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  540. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  541. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  542. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  543. else
  544. art_t:SetTexture(0, 255, 255, 1)
  545. end
  546.  
  547. --КОНЕЦ 18
  548. if c1 == -545
  549. and c2 == 310
  550. and c3 == 115
  551. then
  552. if IsMounted() == true then Dismount(); end
  553. SpellStopCasting()
  554. art_t:SetTexture(255, 255, 255, 1)
  555. art_t:SetTexture(255, 255, 255, 1)
  556. art_t:SetTexture(255, 255, 255, 1)
  557. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  558. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  559. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  560. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  561. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  562. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  563. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  564. else
  565. art_t:SetTexture(0, 255, 255, 1)
  566. end
  567.  
  568. -- /run ToggleRun(3)
  569. -- /run print(GetUnitSpeed("player"))
  570.  
  571. --КОНЕЦ 19
  572. if c1 == -541
  573. and c2 == 301
  574. and c3 == 115
  575. then
  576. if IsMounted() == true then Dismount(); end
  577. SpellStopCasting()
  578. art_t:SetTexture(255, 255, 255, 1)
  579. art_t:SetTexture(255, 255, 255, 1)
  580. art_t:SetTexture(255, 255, 255, 1)
  581. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  582. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  583. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  584. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  585. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  586. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  587. MoveTo(-562, 317, 115, 1) --идти к 1-му мобу
  588. else
  589. art_t:SetTexture(0, 255, 255, 1)
  590. end
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597. if rm == 1 then
  598. --Я вне инста
  599. -- стою в 3987.919922 -2945.830078 1002.547913
  600. if TomTomBlock.Text:GetText() == "47.50, 77.98"
  601. or TomTomBlock.Text:GetText() == "47.50, 78.00"
  602. then
  603. ChatFrame3:AddMessage("Я вышел из инста")
  604.  
  605. --обновить сложность
  606. PlayerFrame:Click("RightButton", down)
  607. DropDownList1Button11ExpandArrow:Click("LeftButton", down)
  608. DropDownList2Button6:Click("LeftButton", down) --10 Сложность
  609. DropDownList2Button7:Click("LeftButton", down) --25 Сложность
  610.  
  611. MoveTo(3579.238525, 5951.546875, 261.530212, 1)
  612. end
  613.  
  614.  
  615.  
  616.  
  617. -- if GetZoneText() == "Гора Хиджал"
  618. -- and GetSubZoneText() == "Шпиль Сульфурона"
  619. -- then
  620. -- JumpOrAscendStart();
  621. -- MoveTo(3980.459473, -2925.410645, 1002.546875, 1)
  622. -- end
  623. if IsMoving() == false then
  624. if UnitAffectingCombat("player") then
  625. TargetNearestEnemy()
  626. -- Cast(196770, "target", 49020)
  627. -- Cast(49184, "target", 49184) --vv
  628. end
  629. Cast(196770, "target", 49020)
  630. Cast(49184, "target", 49184) --vv
  631. end
  632.  
  633.  
  634. end -- rm1
  635. end; --end эндовый
  636. local f = CreateFrame("Frame")
  637. f:SetScript("OnUpdate", onUpdatee)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement