Advertisement
Guest User

Untitled

a guest
Apr 20th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.78 KB | None | 0 0
  1. // ----------------------------------------------------------------------------
  2. // Script Name: Lord of the Rings Online Loadout for HotKeyNet
  3. // Creation Date: 12/10/2010
  4. // Last Modified: 12/10/2010
  5. // Author: Cardinal Ximinez
  6. // Purpose: Designed for multiboxing three clients on one PC.
  7. // ----------------------------------------------------------------------------
  8. // Requires HotkeyNet build 208 or higher.
  9. // For more info, go to www.hotkeynet.com
  10. //----------------------------------------------------------------------------
  11. // USAGE:
  12. // Load up and login all 3 copies of LOTRO that you are going to use.
  13. //
  14. // Make sure all copies of LOTRO have the fellowship manuever keys bound to
  15. // the Numberpad.
  16. // (Up arrow = top fellowship maneuver)
  17. // (left arrow = left fellowship maneuver)
  18. // (5 key = fellowship assist)
  19. // (right arrow = right fellowship maneuver)
  20. // (down arrow = bottom fellowship maneuver)
  21. //
  22. // SETUP KEYS:
  23. // Hit CTRL-ALT-X to rename the windows.
  24. //
  25. // Hit Left ALT-F1 (F2/F3) to pick the window that will be your master character.
  26. //
  27. // If the master character is NOT the party leader, then you will have to set
  28. // the master character slot for your followers using Left CTRL F1 (F2/F3).
  29. //
  30. // Turn on SCROLLLOCK to toggle the key broadcasting on.
  31. //
  32. // GAME KEYS:
  33. // Hit CTRL-Z to have your slaves assist follow the master.
  34. //
  35. // Hit CTRL-X to have your slaves and master loot nearby corpses.
  36. //
  37. // Hit CTRL-A to have your slaves and master pickup nearby items.
  38. //
  39. // Hit HOME (on the Numberpad) to start fellowship maneuver 'Wrath Of The Righteous'
  40. //
  41. // Hit PGUP (on the Numberpad) to start fellowship maneuver 'Will Of the Strong'
  42. //
  43. // Hit END (on the Numberpad) to start fellowship maneuver 'Strength Of The Pure'
  44. //
  45. // Hit PGDN (on the Numberpad) to start fellowship maneuver 'Sinister Plan'
  46. //----------------------------------------------------------------------------
  47.  
  48.  
  49. //-----------------------------------------------------------
  50. // PRESS CTRL-ALT-X TO RENAME LOTRO'S AFTER LAUNCH
  51. //-----------------------------------------------------------
  52. <Hotkey ALT Ctrl X>
  53. <SendPC local>
  54. <RenameWin "The Lord of the Rings Online™: Rise of Isengard™" "LOTRO1">
  55. <RenameWin "The Lord of the Rings Online™: Rise of Isengard™" "LOTRO2">
  56. <RenameWin "The Lord of the Rings Online™: Rise of Isengard™" "LOTRO3">
  57.  
  58.  
  59. //-----------------------------------------------------------
  60. // PRESS CTRL-ALT-R TO RESET LOTRO'S AFTER LAUNCH
  61. //-----------------------------------------------------------
  62. <Hotkey ALT Ctrl R>
  63. <SendPC local>
  64. <RenameWin "LOTRO1" "The Lord of the Rings Online™: Rise of Isengard™">
  65. <RenameWin "LOTRO2" "The Lord of the Rings Online™: Rise of Isengard™">
  66. <RenameWin "LOTRO3" "The Lord of the Rings Online™: Rise of Isengard™">
  67.  
  68.  
  69. //-----------------------------------------------------------
  70. // DEFINE MAIL LABELS FOR SENDING KEY STROKES
  71. //-----------------------------------------------------------
  72. <Label W1 Local SendWin "LOTRO1">
  73. <Label W2 Local SendWin "LOTRO2">
  74. <Label W3 Local SendWin "LOTRO3">
  75.  
  76.  
  77. //-----------------------------------------------------------
  78. // DEFINE VARIABLE FOR WHICH WINDOW IS MAIN
  79. //-----------------------------------------------------------
  80. <hotkey LAlt F1>
  81. <setvar MainWin W1>
  82. <setvar W1Master F1> // Reset Master Target To Self
  83. <setvar W2Master F2> // Default Slave 1 To Party Leader
  84. <setvar W3Master F2> // Default Slave 2 To Party Leader
  85.  
  86. <hotkey LAlt F2>
  87. <setvar MainWin W2>
  88. <setvar W2Master F1> // Reset Master Target To Self
  89. <setvar W3Master F2> // Default Slave 1 To Party Leader
  90. <setvar W1Master F2> // Default Slave 2 To Party Leader
  91.  
  92. <hotkey LAlt F3>
  93. <setvar MainWin W3>
  94. <setvar W3Master F1> // Reset Master Target To Self
  95. <setvar W1Master F2> // Default Slave 1 To Party Leader
  96. <setvar W2Master F2> // Default Slave 2 To Party Leader
  97.  
  98.  
  99. //-----------------------------------------------------------
  100. // SET THE MASTER CHARACTER TO FOLLOW - MACRO
  101. //-----------------------------------------------------------
  102. <Template SetMaster>
  103. <Toggle>
  104. <setvar %1% F1> // Not Following = Reset Follow Target To Self
  105. <Toggle>
  106. <setvar %1% F2> // Follow Party Leader
  107. <Toggle>
  108. <setvar %1% F3> // Follow Party Member 3
  109. <Toggle>
  110. <setvar %1% F4> // Follow Party Member 4
  111. <Toggle>
  112. <setvar %1% F5> // Follow Party Member 5
  113. <Toggle>
  114. <setvar %1% F6> // Follow Party Member 6
  115. <EndTemplate>
  116.  
  117.  
  118. //-----------------------------------------------------------
  119. // TARGET THE MASTER CHARACTER TO FOLLOW - MACRO
  120. // F1 - Target Self - Prevents Following Pets
  121. // F2 - Target Party Leader
  122. // F3-F6 - Target Others In Fellowship
  123. //-----------------------------------------------------------
  124. <Template TargetMaster>
  125. <SendLabel %1%>
  126. <if %2% is F2>
  127. <Key F1> // Always Target Self First
  128. <wait 100>
  129. <Key F2> // Follow Party Leader
  130. <wait 100>
  131. <else if %2% is F3>
  132. <Key F1> // Always Target Self First
  133. <wait 100>
  134. <Key F3> // Follow Party Member 3
  135. <wait 100>
  136. <else if %2% is F4>
  137. <Key F1> // Always Target Self First
  138. <wait 100>
  139. <Key F4> // Follow Party Member 4
  140. <wait 100>
  141. <else if %2% is F5>
  142. <Key F1> // Always Target Self First
  143. <wait 100>
  144. <Key F5> // Follow Party Member 5
  145. <wait 100>
  146. <else if %2% is F6>
  147. <Key F1> // Always Target Self First
  148. <wait 100>
  149. <Key F6> // Follow Party Member 6
  150. <wait 100>
  151. <endif>
  152. <EndTemplate>
  153.  
  154.  
  155. //-----------------------------------------------------------
  156. // ALL TARGET THE MASTER CHARACTER - MACRO
  157. //-----------------------------------------------------------
  158. <Template AllTargetMaster>
  159. <ApplyTemplate TargetMaster W3 W3Master>
  160. <ApplyTemplate TargetMaster W2 W2Master>
  161. <ApplyTemplate TargetMaster W1 W1Master>
  162. <if MainWin is W1>
  163. <SendLabel W1>
  164. <SendFocusWin>
  165. <else if MainWin is W2>
  166. <SendLabel W2>
  167. <SendFocusWin>
  168. <else if MainWin is W3>
  169. <SendLabel W3>
  170. <SendFocusWin>
  171. <endif>
  172. <EndTemplate>
  173.  
  174.  
  175. //-----------------------------------------------------------
  176. // SET THE MASTER CHARACTER TO FOLLOW FOR EACH WINDOW
  177. //-----------------------------------------------------------
  178. <hotkey LCtrl F1>
  179. <ApplyTemplate SetMaster W1Master>
  180. <SendLabel W1>
  181. <Text /f Now Following ;target>
  182. <Wait 100>
  183. <Key Enter>
  184.  
  185. <hotkey LCtrl F2>
  186. <ApplyTemplate SetMaster W2Master>
  187. <SendLabel W2>
  188. <Text /f Now Following ;target>
  189. <Wait 100>
  190. <Key Enter>
  191.  
  192. <hotkey LCtrl F3>
  193. <ApplyTemplate SetMaster W3Master>
  194. <SendLabel W3>
  195. <Text /f Now Following ;target>
  196. <Wait 100>
  197. <Key Enter>
  198.  
  199. <hotkey LCtrl F8>
  200. <DisplayVars>
  201.  
  202. <HotKey LCTrl F9>
  203. <ApplyTemplate AllTargetMaster>
  204.  
  205.  
  206. //-----------------------------------------------------------
  207. // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
  208. // SENT TO BOTH WINDOWS. ADD MORE KEY COMBO'S IF YOU WANT
  209. //-----------------------------------------------------------
  210. <KeyList MyKeyList 0-9, Plus, Minus, F1-F12>
  211. <KeyList MyNumPad NumpadHome, NumpadUp, NumpadPgUp, NumpadLeft, Clear, NumpadRight, NumpadEnd, NumpadDown, NumpadPgDn>
  212. <Hotkey ScrollLockOn MyKeyList; ScrollLockOn SHIFT MyKeyList; ScrollLockOn CTRL MyKeyList; ScrollLockOn ALT MyKeyList>
  213. <if MainWin is W1>
  214. <SendLabel W3, W2, W1>
  215. <Key %Trigger%>
  216. <else if MainWin is W2>
  217. <SendLabel W1, W3, W2>
  218. <Key %Trigger%>
  219. <else if MainWin is W3>
  220. <SendLabel W2, W1, W3>
  221. <Key %Trigger%>
  222. <endif>
  223.  
  224.  
  225. //-----------------------------------------------------------
  226. // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO WINDOWS
  227. // ADD MORE KEYS IF YOU WANT
  228. //-----------------------------------------------------------
  229. <Hotkey ScrollLockOn w, a, s, d>
  230. <if MainWin is W1>
  231. <SendLabel W3, W2, W1>
  232. <KeyDown %Trigger%>
  233. <KeyUp %Trigger%>
  234. <else if MainWin is W2>
  235. <SendLabel W1, W3, W2>
  236. <KeyDown %Trigger%>
  237. <KeyUp %Trigger%>
  238. <else if MainWin is W3>
  239. <SendLabel W2, W1, W3>
  240. <KeyDown %Trigger%>
  241. <Wait 0>
  242. <KeyUp %Trigger%>
  243. <endif>
  244.  
  245.  
  246. //-----------------------------------------------------------
  247. // EXTRA TOON WILL TARGET MASTER AND AUTOFOLLOW
  248. // AllTargetLeader - Target Self And Then Target Master
  249. //-----------------------------------------------------------
  250. <Hotkey ScrollLockOn Ctrl Z>
  251. <ApplyTemplate AllTargetMaster>
  252. <if MainWin is W1>
  253. <SendLabel W3, W2>
  254. <Text /follow>
  255. <Wait 100>
  256. <Key Enter>
  257. <Text /f Now Following ;target>
  258. <Wait 100>
  259. <Key Enter>
  260. <SendLabel W1>
  261. <SendFocusWin>
  262. <else if MainWin is W2>
  263. <SendLabel W1, W3>
  264. <Text /follow>
  265. <Wait 100>
  266. <Key Enter>
  267. <Text /f Now Following ;target>
  268. <Wait 100>
  269. <Key Enter>
  270. <SendLabel W2>
  271. <SendFocusWin>
  272. <else if MainWin is W3>
  273. <SendLabel W2, W1>
  274. <Text /follow>
  275. <Wait 100>
  276. <Key Enter>
  277. <Text /f Now Following ;target>
  278. <Wait 100>
  279. <Key Enter>
  280. <SendLabel W3>
  281. <SendFocusWin>
  282. <endif>
  283.  
  284.  
  285. //-----------------------------------------------------------
  286. // EXTRA TOONS WILL AUTO LOOT CLOSEST TARGET.
  287. // F10 - Target nearest foe (alive or dead)
  288. // U - Use Key
  289. // AllTargetMaster - Re-Target Master
  290. //-----------------------------------------------------------
  291. <Hotkey ScrollLockOn Ctrl X>
  292. <if MainWin is W1>
  293. <SendLabel W3, W2, W1>
  294. <Key F10>
  295. <Wait 100>
  296. <Key U>
  297. <Wait 100>
  298. <else if MainWin is W2>
  299. <SendLabel W1, W3, W2>
  300. <Key F10>
  301. <Wait 100>
  302. <Key U>
  303. <Wait 100>
  304. <else if MainWin is W3>
  305. <SendLabel W2, W1, W3>
  306. <Key F10>
  307. <Wait 100>
  308. <Key U>
  309. <Wait 100>
  310. <endif>
  311. <ApplyTemplate AllTargetMaster>
  312.  
  313.  
  314. //-----------------------------------------------------------
  315. // EXTRA TOONS WILL AUTO GATHER CLOSEST ITEM.
  316. // Delete - Target nearest item
  317. // U - Use Key
  318. // AllTargetMaster - Re-Target Master
  319. //-----------------------------------------------------------
  320. <Hotkey ScrollLockOn Ctrl A>
  321. <if MainWin is W1>
  322. <SendLabel W3, W2, W1>
  323. <Key Delete>
  324. <Wait 100>
  325. <Key U>
  326. <Wait 100>
  327. <else if MainWin is W2>
  328. <SendLabel W1, W3, W2>
  329. <Key Delete>
  330. <Wait 100>
  331. <Key U>
  332. <Wait 100>
  333. <else if MainWin is W3>
  334. <SendLabel W2, W1, W3>
  335. <Key Delete>
  336. <Wait 100>
  337. <Key U>
  338. <Wait 100>
  339. <endif>
  340. <ApplyTemplate AllTargetMaster>
  341.  
  342.  
  343. //-----------------------------------------------------------
  344. // FELLOWSHIP MANUEVER - STRAIGHT
  345. // NumpadUp - Red - RRR - 'Resounding Strikes'
  346. // NumpadLeft - Blue - BBB - 'Three Pronged Assault'
  347. // Clear - Fellowship Assist (Click Target Window)
  348. // NumpadRight - Green - GGG - 'Muster The Troops'
  349. // NumpadDown - Yellow - YYY - 'Deception'
  350. //-----------------------------------------------------------
  351. <Hotkey ScrollLockOn NumpadUp, NumpadLeft, NumpadRight, NumpadDown>
  352. <if MainWin is W1>
  353. <SendLabel W3, W2>
  354. <Key Clear>
  355. <SendLabel W3, W2, W1>
  356. <Wait 250>
  357. <Key %Trigger%>
  358. <else if MainWin is W2>
  359. <SendLabel W1, W3>
  360. <Key Clear>
  361. <SendLabel W1, W3, W2>
  362. <Wait 250>
  363. <Key %Trigger%>
  364. <else if MainWin is W3>
  365. <SendLabel W2, W1>
  366. <Key Clear>
  367. <SendLabel W2, W1, W3>
  368. <Wait 250>
  369. <Key %Trigger%>
  370. <endif>
  371.  
  372.  
  373. //-----------------------------------------------------------
  374. // FELLOWSHIP MANUEVER - RED START CIRCLE COMBO - RGY - 'Wrath Of The Righteous'
  375. // NumpadUp - Red
  376. // NumpadLeft - Blue
  377. // Clear - Fellowship Assist (Click Target Window)
  378. // NumpadRight - Green
  379. // NumpadDown - Yellow
  380. //-----------------------------------------------------------
  381. <Hotkey ScrollLockOn NumpadHome>
  382. <if MainWin is W1>
  383. <SendLabel w3, w2>
  384. <Key Clear>
  385. <SendLabel w3>
  386. <Wait 250>
  387. <Key NumpadUp>
  388. <SendLabel w2>
  389. <Wait 500>
  390. <Key NumpadRight>
  391. <SendLabel w1>
  392. <Wait 1000>
  393. <Key NumpadDown>
  394. <else if MainWin is W2>
  395. <SendLabel w1, w3>
  396. <Key Clear>
  397. <SendLabel w1>
  398. <Wait 250>
  399. <Key NumpadUp>
  400. <SendLabel w3>
  401. <Wait 500>
  402. <Key NumpadRight>
  403. <SendLabel w2>
  404. <Wait 1000>
  405. <Key NumpadDown>
  406. <else if MainWin is W3>
  407. <SendLabel w2, w1>
  408. <Key Clear>
  409. <SendLabel w2>
  410. <Wait 250>
  411. <Key NumpadUp>
  412. <SendLabel w1>
  413. <Wait 500>
  414. <Key NumpadRight>
  415. <SendLabel w3>
  416. <Wait 1000>
  417. <Key NumpadDown>
  418. <endif>
  419.  
  420.  
  421. //-----------------------------------------------------------
  422. // FELLOWSHIP MANUEVER - GREEN START CIRCLE COMBO - GYB 'Will Of the Strong'
  423. // NumpadUp - Red
  424. // NumpadLeft - Blue
  425. // Clear - Fellowship Assist (Click Target Window)
  426. // NumpadRight - Green
  427. // NumpadDown - Yellow
  428. //-----------------------------------------------------------
  429. <Hotkey ScrollLockOn NumpadPgUp>
  430. <if MainWin is W1>
  431. <SendLabel w3, w2>
  432. <Key Clear>
  433. <SendLabel w3>
  434. <Wait 250>
  435. <Key NumpadRight>
  436. <SendLabel w2>
  437. <Wait 500>
  438. <Key NumpadDown>
  439. <SendLabel w1>
  440. <Wait 1000>
  441. <Key NumpadLeft>
  442. <else if MainWin is W2>
  443. <SendLabel w1, w3>
  444. <Key Clear>
  445. <SendLabel w1>
  446. <Wait 250>
  447. <Key NumpadRight>
  448. <SendLabel w3>
  449. <Wait 500>
  450. <Key NumpadDown>
  451. <SendLabel w2>
  452. <Wait 1000>
  453. <Key NumpadLeft>
  454. <else if MainWin is W3>
  455. <SendLabel w2, w1>
  456. <Key Clear>
  457. <SendLabel w2>
  458. <Wait 250>
  459. <Key NumpadRight>
  460. <SendLabel w1>
  461. <Wait 500>
  462. <Key NumpadDown>
  463. <SendLabel w3>
  464. <Wait 1000>
  465. <Key NumpadLeft>
  466. <endif>
  467.  
  468.  
  469. //-----------------------------------------------------------
  470. // FELLOWSHIP MANUEVER - BLUE START CIRCLE COMBO - BRG 'Strength Of The Pure'
  471. // NumpadUp - Red
  472. // NumpadLeft - Blue
  473. // Clear - Fellowship Assist (Click Target Window)
  474. // NumpadRight - Green
  475. // NumpadDown - Yellow
  476. //-----------------------------------------------------------
  477. <Hotkey ScrollLockOn NumpadEnd>
  478. <if MainWin is W1>
  479. <SendLabel w3, w2>
  480. <Key Clear>
  481. <SendLabel w3>
  482. <Wait 250>
  483. <Key NumpadLeft>
  484. <SendLabel w2>
  485. <Wait 500>
  486. <Key NumpadUp>
  487. <SendLabel w1>
  488. <Wait 1000>
  489. <Key NumpadRight>
  490. <else if MainWin is W2>
  491. <SendLabel w1, w3>
  492. <Key Clear>
  493. <SendLabel w1>
  494. <Wait 250>
  495. <Key NumpadLeft>
  496. <SendLabel w3>
  497. <Wait 500>
  498. <Key NumpadUp>
  499. <SendLabel w2>
  500. <Wait 1000>
  501. <Key NumpadRight>
  502. <else if MainWin is W3>
  503. <SendLabel w2, w1>
  504. <Key Clear>
  505. <SendLabel w2>
  506. <Wait 250>
  507. <Key NumpadLeft>
  508. <SendLabel w1>
  509. <Wait 500>
  510. <Key NumpadUp>
  511. <SendLabel w3>
  512. <Wait 1000>
  513. <Key NumpadRight>
  514. <endif>
  515.  
  516.  
  517. //-----------------------------------------------------------
  518. // FELLOWSHIP MANUEVER - YELLOW START CIRCLE COMBO - YBR 'Sinister Plan'
  519. // NumpadUp - Red
  520. // NumpadLeft - Blue
  521. // Clear - Fellowship Assist (Click Target Window)
  522. // NumpadRight - Green
  523. // NumpadDown - Yellow
  524. //-----------------------------------------------------------
  525. <Hotkey ScrollLockOn NumpadPgDn>
  526. <if MainWin is W1>
  527. <SendLabel w3, w2>
  528. <Key Clear>
  529. <SendLabel w3>
  530. <Wait 250>
  531. <Key NumpadDown>
  532. <SendLabel w2>
  533. <Wait 500>
  534. <Key NumpadLeft>
  535. <SendLabel w1>
  536. <Wait 1000>
  537. <Key NumpadUp>
  538. <else if MainWin is W2>
  539. <SendLabel w1, w3>
  540. <Key Clear>
  541. <SendLabel w1>
  542. <Wait 250>
  543. <Key NumpadDown>
  544. <SendLabel w3>
  545. <Wait 500>
  546. <Key NumpadLeft>
  547. <SendLabel w2>
  548. <Wait 1000>
  549. <Key NumpadUp>
  550. <else if MainWin is W3>
  551. <SendLabel w2, w1>
  552. <Key Clear>
  553. <SendLabel w2>
  554. <Wait 250>
  555. <Key NumpadDown>
  556. <SendLabel w1>
  557. <Wait 500>
  558. <Key NumpadLeft>
  559. <SendLabel w3>
  560. <Wait 1000>
  561. <Key NumpadUp>
  562. <endif>
  563.  
  564.  
  565. //-----------------------------------------------------------
  566. // BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
  567. // THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
  568. // WANT TO BROADCAST.
  569. //-----------------------------------------------------------
  570. //<UseKeyAsModifier Oem3>
  571. //<Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
  572. //<SendLabel W3, W2, W1>
  573. // <ClickMouse %TriggerMainKey%>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement