Advertisement
Guest User

Untitled

a guest
May 24th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. #include "GWCAConstants.au3"
  2.  
  3. global $outpost_id = 449
  4.  
  5. Cmd($CA_ADDHero,$HERO_Hayda )
  6. Sleep(2000)
  7. Cmd($CA_ADDHero,$HERO_Tahklora )
  8. Sleep(2000)
  9. Cmd($CA_ADDHero,$HERO_Jora )
  10. Sleep(1000)
  11.  
  12. loop()
  13.  
  14. func Loop()
  15. $cbType = "int"
  16. CmdCB($CA_GetMapId)
  17. if $cbVar[0] <> $outpost_id then
  18. Cmd($CA_ZoneMap, $outpost_id, -1)
  19. EndIf
  20. do
  21. $cbType = "int"
  22. $map_id = CmdCB($CA_GetMapId)
  23. $load_status = CmdCB($CA_GetMapLoading)
  24.  
  25. $cbType = "float"
  26. $cur_coords = CmdCB($CA_GetCoords, -2)
  27. until $map_id[0] = $outpost_id and $load_status[0] = 0
  28. Sleep(5000)
  29.  
  30.  
  31. MoveEx(-9224, 16886)
  32.  
  33. Cmd($CA_ClearPacketQueue)
  34. Sleep(7000)
  35.  
  36. Cmd($CA_UseHero2Skill, 1, -2)
  37. Sleep(3000)
  38. CmdCB($CA_GetEffect, 245)
  39. If $cbVar [0] <> 245 Then
  40. Cmd($CA_UseSkill, 1, -2)
  41. CmdCB($CA_GetEffect, 111)
  42. EndIf
  43. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement