annuncio

Comprimi
Ancora nessun annuncio.

[euox] upgraded aegis uber tamer

Comprimi
X
 
  • Filtro
  • Ora
  • Visualizza
Elimina tutto
nuovi messaggi

  • [euox] upgraded aegis uber tamer

    differs from original: kills paragons , ignores tamed creaters, resets ignorelist when where is nothing to tame, says all follow me, all guard me.
    one script in 2 threads.
    if u find a bug, post here please.


    just go to tramel iceland and tame 50-75 warlus, polar bears. 80-95 white leaopards, white wolfs. 95-105 u need to go to ilshenat and tame savages.

    1/2

    codice:
    linesPerCycle 20
    ;===Aegis' Uber Tamer ============
    ;===Ver 2.0=======================
    ;===Author: Aegis=================
    ;===30/01/06======================
    ;================================
    set %beginfollowers #followers
    set %killMode 2
    set %HealMethod 6
    chooseskill anim
    set %TameBase #SKILL
    set *501 N/A
    set %Tamed 0
    set %Ignored 0
    gosub CreateMenu
    set %TempFollowers #FOLLOWERS
    event property #CHARID
    if [ notin #property
    Display Ok Warning: Aegis'tamer might not work properly if you're not in a Guild.
    gosub CommandRail start
    set %tamTimer #SCNT
    ;============================================
    ;=====Loop Principale=========================
    ;============================================
    MainTameLoop:
    if #clilogged = 0
    gosyb login
    finditem *AegisTamerPlist G_ , %MaxFindRange
    if #findcnt = 0 1
    ignoreitem reset
    if #FINDKIND <> -1
    {
    set %charX #CHARPOSX
    set %charY #CHARPOSY
    set %charZ #CHARPOSZ
    gosub TameControl #FINDID
    if %pback = -1
    {
    set %tamTimer #SCNT
    while ( #SCNT < %tamTimer + 20 ) && ( ( %charX <> #CHARPOSX ) || ( %charY <> #CHARPOSY ) )
    {
    event pathfind %charX %charY %charZ
    event ExMsg #CHARID 3 50 <Pathfinding back to StandBy>
    wait 2s
    }
    event ExMsg #CHARID 3 50 <Resuming...>
    }
    wait 1s
    chooseskill anim
    if %TameBase <> #SKILL 2
    menu delete gained
    menu text gained 160 20 ( #SKILL - %TameBase )
    
    menu delete Rail
    menu text Rail 160 80 Running
    gosub CommandRail resume
    }
    
    if *500 = done
    {
    wait 3s
    gosub CommandRail start
    }
    
    if %HealMethod <> 6 && #HITS < #MAXHITS
    gosub HealSelf %HealMethod
    
    wait 1
    goto MainTameLoop
    
    ;************************************************
    ;==%%%%========###############============%%%%===
    ;===========&&&==#SUBROUTINES#==&&&==============
    ;==%%%%========###############============%%%%===
    ;************************************************
    sub TameControl
    set %MobToTame %1
    event property %MobToTame
    if tame in #PROPERTY
    {
    ignoreitem %MobToTame
    event ExMsg #CHARID 3 50 <Ignoring Target>
    set %Ignored %Ignored + 1
    menu delete Ignored
    menu text Ignored 160 60 %Ignored
    return
    }
    
    menu delete Rail
    menu text Rail 160 80 Paused
    gosub CommandRail pause
    event ExMsg %MobToTame 3 50 Tame me! Tame me!
    set %TempFollowers #FOLLOWERS
    set %tamTimer #SCNT
    
    tameloop:
    if #clilogged = 0
    gosyb login
    finditem %MobToTame G_
    if ( get_there in #SYSMSG ) || ( #SCNT > %tamTimer + 20 ) || ( #FINDKIND = -1 )
    {
    event ExMsg #CHARID 3 50 <Ignoring Target>
    ignoreitem %MobToTame
    set %Ignored %Ignored + 1
    menu delete Ignored
    menu text Ignored 160 60 %Ignored
    return
    }
    if #FINDDIST > 2
    {
    event pathfind #FINDX #FINDY #FINDZ
    goto tameloop
    }
    
    set %tamTimer #SCNT
    event macro 13 35
    target 2s
    set #lTargetID %MobToTame
    set #lTargetKind 1
    event Macro 22
    
    for %i 10 1
    {
     scanJournal %i
     if ( looks_tame in #journal ) && ( #FOLLOWERS = %beginfollowers )
     {
       deleteJournal
       return
     }
    }
    
    event Property %MobToTame
    if paragon in #property
    {
    gosub KillMob %MobToTame
    return
    }
    
    
    if %TempFollowers <> #FOLLOWERS
    {
    gosub KillMob %MobToTame
    menu delete Tamed
    set %Tamed %Tamed + 1
    menu text Tamed 160 40 %Tamed
    return
    }
    
    goto tameloop
    return
    ;==============%1 il Target Da Segare==============
    sub KillMob
    msg all follow me$
    if %killMode = 3 2
    gosub KIllWMount %1
    return
    
    if %killMode = 2 2
    gosub SummonEarth %1
    return
    
    msg all guard me$
    wait 1s
    repeat
    set #LTargetID %1
    event macro 27
    wait 10
    finditem %1
    if #FINDKIND <> = -1 1
    event pathfind #FINDX #FINDY #FINDZ
    until #FINDKIND = -1
    return
    ;===Sega con il mount==============================
    ;====%1 Il Target da segare=========================
    sub KIllWMount
    repeat
    set #lObjectID #CHARID
    event macro 17
    wait 5
    finditem %MyPetID
    Ultima modifica di fnurov; 13-01-2009, 22:24.

  • #2
    2/2

    codice:
    until #FINDKIND <> -1
    
    WaitDeathMo:
    msg all kill $
    target 3s
    set #lTargetID %1
    set #lTargetKind 1
    event Macro 22
    wait 3s
    finditem %1 G_15
    if #FINDKIND <> -1
    goto WaitDeathMo
    
    monta:
    msg all follow me$
    set #lObjectID %MyPetID
    event macro 17
    wait 5
    finditem %MyPetID
    if #FINDKIND <> -1
    goto monta
    
    return
    ;===========SummonEarth==========================
    ;====%1 Il Target da segare=========================
    sub SummonEarth
    set %TempFollowers #FOLLOWERS
    repeat
    event macro 15 61
    wait 5s
    until %TempFollowers <> #FOLLOWERS
    msg all guard me$
    
    repeat
    msg all kill $
    target 3s
    set #lTargetID %1
    set #lTargetKind 1
    event Macro 22
    wait 1s
    finditem %1 G_15
    until #FINDKIND = -1
    
    
    msg An Earth Elemental Release$
    msg An Earth Elemental Release$
    return
    ;================================================= ===
    ;=%1 HealType
    ;==1: Heal 2: Gheal 3:CloseWounds 4:Bandages
    sub HealSelf
    
    while #HITS < #MAXHITS && %1 = 1
    {
    event macro 15 3
    target 5s
    event macro 23
    wait 1s
    }
    while #HITS < #MAXHITS && %1 = 2
    {
    event macro 15 28
    target 5s
    event macro 23
    wait 1s
    }
    while #HITS < #MAXHITS && %1 = 3
    {
    event macro 15 202
    target 5s
    event macro 23
    wait 1s
    }
    
    while #HITS < #MAXHITS && %1 = 4
    {
    findItem ZLF C_ , #BACKPACKID
    if #FINDKIND = -1 2
    Display Ok No Bandages Found!!! $ Script Halted.
    halt
    set #lObjectID #FINDID
    event Macro 17
    target 5s
    event macro 23
    set %bandTime ( 220 - #DEX )
    wait %bandTime
    wait 1
    }
    
    while #HITS < #MAXHITS && %1 = 5
    {
    event macro 13 32
    wait 2s
    }
    
    
    return
    ;=============================
    sub CreateMenu
    menu clear
    set #MenuButton N/A
    menu Font BGColor black
    menu font color red
    menu window color black
    menu Window Title Aegis Uber Tamer Configuration
    menu Window Size 260 260
    menu Font Size 8
    
    if *AegisTamerPlist = N/A 2
    {
    menu text hi 20 20 WELCOME To AEGIS' UBER TAMER $____ver 2.0____ $ $ - Checking peristent variables... $ - done$ 501 : *501 $ 502 : *502 $ 503 : *503 $ 504 : *504 $ AegisTamerPlist : *AegisTamerPlist $ $First run WARNING: $ This Script uses 5 persistent variables, $ which are stored permanently in your REGISTRY $under HKEY_CURRENT_USER\Software\EasyUO$ Used vars are listed over here $ THIS WINDOW WILL CLOSE IN 30sec
    menu Show 500 40
    wait 30s
    }
    if *AegisTamerPlist <> N/A
    {
    menu text hi 20 20 WELCOME BACK -|- #CHARNAME -|- $ To AEGIS' UBER TAMER $____ver 2.0____
    menu Show 500 40
    wait 5s
    }
    menu delete hi
    menu Button AddTameButton 0 50 140 30 Add animal to ToTame list
    menu Button ResetTameButton 0 80 140 20 Reset ToTame list
    menu Button ConfirmButton 60 240 140 20 Submit And Start
    menu text ListLabel 150 50 Current ToTame list:
    menu text ListTypes 150 70 *AegisTamerPlist
    
    menu text CheckKillMLabel 0 110 Select the Kill Mode:
    menu combo create KillModeCombo 2 125 95
    menu combo add KillModeCombo Weapon
    menu combo add KillModeCombo Earth Elemental
    menu combo add KillModeCombo Mounted Pet
    
    menu Button FindMountButton 190 120 60 30 Get Pet ID
    
    menu text EdtLabel 0 160 RailFile Name:
    menu Edit RailNameEdit 0 175 220 Change , #spc , me!
    menu Button UpdateRailButton 220 175 40 23 Submit
    menu text Edt2Label 0 200 Current RailFile Name: *502
    
    
    menu text HealModeLabel 0 5 Select the Heal Method:
    menu combo create HealModeCombo 2 20 130
    menu combo add HealModeCombo Magery: Heal
    menu combo add HealModeCombo Magery: Greater Heal
    menu combo add HealModeCombo Chivalry: Close Wounds
    menu combo add HealModeCombo Skill Healing: Bandages
    menu combo add HealModeCombo Skill Spirit Speak
    menu combo add HealModeCombo -----No Healing-----
    menu combo SELECT HealModeCombo 6
    
    menu text FindDistLabel 105 110 Max Find range:
    menu combo create FindDistCombo 105 125 70
    for %ind 1 25
    menu combo add FindDistCombo %ind , #spc , tiles
    menu combo SELECT FindDistCombo 13
    
    menu Check PBackCheck 150 10 90 40 #false PathFind back after tame
    
    
    
    rloop:
    if #MenuButton = ConfirmButton
    {
    menu get KillModeCombo
    set %killMode #menures
    menu get HealModeCombo
    set %HealMethod #menures
    menu get FindDistCombo
    set %MaxFindRange #menures
    menu get PBackCheck
    set %pback #menures
    menu clear
    
    menu Font BGColor black
    menu font color red
    menu window color black
    menu text AlertRailLabel 20 20 If you wish to use an external rail $ script (like CEORailRunner),$ start it BEFORE clicking this $ button.
    menu Button ConfirmButton 50 100 180 40 Start Aegis' Uber Tamer
    set #MenuButton N/A
    
    while #MenuButton = N/A
    {
    wait 1s
    event ExMsg #CHARID 3 50 Waiting...
    }
    menu delete AlertRailLabel
    menu delete ConfirmButton
    menu text SkillLabel 20 20 Total Gained:
    menu text KilledLabel 20 40 Total Tamed and Killed:
    menu text IgnoredLabel 20 60 Total Ignored:
    menu text RailLabel 20 80 Rail Status:
    gosub CommandRail start
    
    
    return
    
    }
    if #MenuButton = UpdateRailButton
    {
    menu get RailNameEdit
    wait 1s
    set %RfileName #menures
    set *502 #menures
    menu delete Edt2Label
    menu text Edt2Label 0 200 Current RailFile Name: *502
    set #MenuButton N/A
    }
    if #MenuButton = FindMountButton
    {
    set #targcurs 1
    while #targcurs = 1
    {
    event ExMsg #CHARID 3 50 Waiting...
    wait 1s
    }
    set %MyPetID #ltargetid
    event ExMsg #CHARID 3 50 Ok
    set #MenuButton N/A
    }
    if #MenuButton = ResetTameButton
    {
    set *AegisTamerPlist _
    set #MenuButton N/A
    menu delete ListTypes
    menu text ListTypes 150 70 *AegisTamerPlist
    }
    if #MenuButton = AddTameButton
    {
    set #targcurs 1
    while #targcurs = 1
    {
    event ExMsg #CHARID 3 50 Waiting...
    wait 1s
    }
    Finditem #ltargetid
    if #FINDTYPE in *AegisTamerPlist
    event ExMsg #CHARID 3 50 That is already in your Tame List!!
    if #FINDTYPE notin *AegisTamerPlist
    {
    set *AegisTamerPlist *AegisTamerPlist , _ , #FINDTYPE
    event ExMsg #CHARID 3 50 Target added.
    menu delete ListTypes
    menu text ListTypes 150 70 *AegisTamerPlist
    }
    set #MenuButton N/A
    }
    
    goto rloop
    return
    ;========Comanda la rail tramite il %1=====================
    ; *501 : User Control: Used to control rail movement through an external program.
    ; Values:
    ; start- Start the rail program
    ; pause - pause rail program
    ; resume - resume rail program
    ; stop - stop rail program
    
    sub CommandRail
    set *502 %RfileName
    set *503 -1
    set *504 run
    set *501 %1
    return
    
    sub login
    repeat
    wait 5s
    until #clilogged = 1
    Ultima modifica di fnurov; 02-07-2008, 23:47.

    Commenta

    Sto operando...
    X