Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Settings>
- <Alerts>
- <Player>
- <OnScreen>
- <PlaySound>no</PlaySound>
- <FlashClient>no</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- <SafeList>null</SafeList>
- </OnScreen>
- <Attacking>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- <SafeList>null</SafeList>
- </Attacking>
- <GMOnScreen>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>yes</PauseBot>
- <Disconnect>no</Disconnect>
- </GMOnScreen>
- </Player>
- <Creature />
- <Item />
- <Message>
- <PrivateMessage>
- <PlaySound>no</PlaySound>
- <FlashClient>no</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- <SafeList>null</SafeList>
- </PrivateMessage>
- <Advanced>
- <PlaySound>no</PlaySound>
- <FlashClient>no</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- <Screenshot>no</Screenshot>
- </Advanced>
- <Raid>
- <PlaySound>no</PlaySound>
- <FlashClient>no</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- <Warnings>All</Warnings>
- </Raid>
- <SafeBank>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>yes</PauseBot>
- <CloseTibia>no</CloseTibia>
- <Disconnect>yes</Disconnect>
- </SafeBank>
- <HealCreature>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>yes</PauseBot>
- <CloseTibia>no</CloseTibia>
- <Disconnect>yes</Disconnect>
- <Screenshot>no</Screenshot>
- </HealCreature>
- <YourAttack>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>yes</PauseBot>
- <CloseTibia>no</CloseTibia>
- <Disconnect>yes</Disconnect>
- <Screenshot>no</Screenshot>
- <SafeList>null</SafeList>
- </YourAttack>
- </Message>
- <Capacity>
- <Value>0</Value>
- <PlaySound>no</PlaySound>
- <FlashClient>no</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- </Capacity>
- <StandTime>
- <Value>30000</Value>
- <PlaySound>no</PlaySound>
- <FlashClient>no</FlashClient>
- <PauseBot>no</PauseBot>
- <Disconnect>no</Disconnect>
- </StandTime>
- <CrazyName>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>no</PauseBot>
- <Screenshot>yes</Screenshot>
- <CloseTibia>no</CloseTibia>
- <Disconnect>no</Disconnect>
- </CrazyName>
- <Disconnect>
- <PlaySound>yes</PlaySound>
- <FlashClient>yes</FlashClient>
- <PauseBot>no</PauseBot>
- </Disconnect>
- <Enabled>no</Enabled>
- </Alerts>
- <Healer>
- <Rules>
- </Rules>
- <PingCompensation>10</PingCompensation>
- <Enabled>yes</Enabled>
- </Healer>
- <FriendHealer>
- <Rules />
- <Enabled>no</Enabled>
- </FriendHealer>
- <Refiller>
- <Rules />
- <Enabled>no</Enabled>
- </Refiller>
- <HotKeys>
- <List>
- <ShowBot>
- <Script>showbot()</Script>
- <MainKey>66</MainKey>
- <ComboKey>Alt</ComboKey>
- <Enabled>yes</Enabled>
- </ShowBot>
- <PauseBot>
- <Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
- local targeting = getsettings("Settings/Targeting/Enabled")
- if cavebot == 'no' or targeting == 'no' then
- setcavebot('on')
- settargeting('on')
- setlooting('on')
- else
- setcavebot('off')
- settargeting('off')
- setlooting('off')
- end
- wait(500)</Script>
- <MainKey>19</MainKey>
- <ComboKey>None</ComboKey>
- <Enabled>yes</Enabled>
- </PauseBot>
- <ShowClient>
- <Script>focusclient()</Script>
- <MainKey>84</MainKey>
- <ComboKey>Alt</ComboKey>
- <Enabled>yes</Enabled>
- </ShowClient>
- <ShowSettings>
- <Script>showsettings()</Script>
- <MainKey>83</MainKey>
- <ComboKey>Alt</ComboKey>
- <Enabled>yes</Enabled>
- </ShowSettings>
- </List>
- <Condition>Client focus required</Condition>
- <Enabled>no</Enabled>
- </HotKeys>
- <Actions>
- <List>
- <Manager>
- <Script>-- This action is the core of everything, so do not forget it!;manager:think()</Script>
- <SpamRate>5000 to 7000</SpamRate>
- <Enabled>yes</Enabled>
- </Manager>
- </List>
- <Setup>-- Example of backpacks handler.;-- not really neccesary for the system, if you have your own backpack handler.;backpacks =; {; {name = 'demon backpack', parent = "back", resize = 2},; {name = 'brocade backpack', parent = 'demon backpack', resize = 2},; {name = 'fur backpack', parent = 'demon backpack'}; };;;local users = {'Botin', 'Botoneitor'} -- character names;manager = AccountManager.new(users);manager:setBackpacks(backpacks) -- we set the backpacks used by the system.;manager:setLabel("fromt") -- first label from trainers.</Setup>
- <Enabled>yes</Enabled>
- </Actions>
- <CaveBot>
- <Waypoints>
- <start>Stand 32254 31140 7 0</start>
- <w000>Action 32254 31140 7 -- normal start
- ;-- go to depot, bank, potions etc
- ;-- after this check manager status</w000>
- <depot>Stand 32254 31140 7 0</depot>
- <bank>Stand 32256 31140 7 0</bank>
- <potions>Stand 32258 31140 7 0</potions>
- <manager_check>Stand 32251 31142 7 0</manager_check>
- <w045>Action 32241 31140 7 -- we run a check, if stamina too low or we have been
- ;-- hunting for too long, lets go to the trainers or logout
- ;-- waypoint, in this case "totr
- ;
- ;if not manager:checkStamina() then
- ; gotolabel("totr")
- ;end
- ;
- ;-- if everything ok and we dont need logout
- ;-- the cavebot system will keep going to next waypoint
- ;-- next waypoint should be way to hunt, travel, etc..</w045>
- <waytohunt>Stand 32244 31140 7 0</waytohunt>
- <w002>Stand 32238 31140 7 0</w002>
- <w003>Stand 32232 31140 7 0</w003>
- <w001>Stand 32224 31144 7 0</w001>
- <Hunt>Stand 32222 31143 7 0</Hunt>
- <w005>Action 32222 31143 7 -- normal hunting waypoints</w005>
- <w006>Stand 32222 31146 7 0</w006>
- <w007>Stand 32223 31144 7 0</w007>
- <w008>Stand 32229 31144 7 0</w008>
- <w079>Action 32025 31444 6 -- we run our normal "need refill" action, but we need to add something new.
- ;
- ;-- Lets put this here.
- ;local ignore = getBooleanFromGlobal("ignoretime_" .. getscriptname())
- ;
- ;if (itemcount("mana potion") <= 50) or (cap <= 90) -- check health potions, ammunition, etc (Notice there is no "then")
- ; -- This part should be normal for you, next line is new.
- ; -- We add a check for stamina and hunting time.
- ; or (stamina <= 840) or ((timehunt >= HUNT_TIME) and not ignore) then
- ; gotolabel("refill")
- ;else
- ; gotolabel("Hunt")
- ;end
- ;
- ;</w079>
- <refill>Stand 32026 31444 6</refill>
- <w009>Action 32232 31143 7 -- Lets refill</w009>
- <waytorefill>Stand 32233 31141 7 0</waytorefill>
- <w010>Stand 32246 31141 7 0</w010>
- <w011>Stand 32241 31140 7 0</w011>
- <w012>Stand 32247 31142 7 0</w012>
- <w013>Action 32245 31142 7 -- We travel, sell our NPC loot, etc
- ;-- Then go back to first waypoint</w013>
- <w004>Action 32248 31067 6 gotolabel("start")</w004>
- <fromt>Stand 32246 31071 6 0</fromt>
- <w014>Action 32245 31142 7 -- fromt = first waypoint from trainers</w014>
- <w029t>Stand 32245 31093 6 0</w029t>
- <w030t>Stand 32235 31107 6 0</w030t>
- <w031t>Stand 32235 31108 6 0</w031t>
- <w032t>Stand 32249 31141 7 0</w032t>
- <w087>Action 32249 31141 7 -- we check if we need to pick our set from house.
- ;if needSet() then
- ; gotolabel("need")
- ;else
- ; gotolabel("start")
- ;end</w087>
- <need>Stand 32242 31144 7 0</need>
- <w088>Stand 32240 31153 7 0</w088>
- <w089>Stand 32234 31156 7 0</w089>
- <w090>Stand 32234 31157 7 0</w090>
- <w091>Stand 32234 31159 7 0</w091>
- <w092>Action 32234 31159 7 -- This waypoint should be INSIDE the house.
- ;AccountManager.findSet()</w092>
- <w093>Stand 32238 31155 7 0</w093>
- <w094>Stand 32241 31142 7 0</w094>
- <w095>Stand 32246 31140 7 0</w095>
- <w044t>Action 32249 31141 7 -- then go back to our normal first waypoint
- ;gotolabel("start")</w044t>
- <totr>Stand 32257 31141 7 0</totr>
- <w015>Action 32245 31142 7 -- totr = waypoints to trainers</w015>
- <w029>Action 32245 31141 7 -- Lets decide if we need to save our set in house.
- ;if needSaveSet() then
- ; gotolabel("opt1")
- ;else
- ; gotolabel("opt2")
- ;end</w029>
- <opt1>Stand 32243 31144 7 0</opt1>
- <w073>Stand 32241 31150 7 0</w073>
- <w081>Stand 32234 31157 7 0</w081>
- <w082>Stand 32234 31159 7 0</w082>
- <w083>Action 32234 31159 7 -- This waypoint should be INSIDE the house.
- ;AccountManager.saveSet()</w083>
- <w084>Stand 32239 31155 7 0</w084>
- <w085>Stand 32243 31150 7 0</w085>
- <w086>Stand 32243 31141 7 0</w086>
- <opt2>Stand 32237 31121 7 0</opt2>
- <w030>Stand 32235 31109 7 0</w030>
- <w031>Stand 32235 31108 7 0</w031>
- <w032>Stand 32242 31085 6 0</w032>
- <w044>Stand 32248 31067 6 0</w044>
- <finish>Action 32248 31066 6 -- Last waypoint before logout, it should be in center
- ;-- of trainers so all training statues are visible.
- ;
- ;manager:next()</finish>
- </Waypoints>
- <Pathfinding>
- <SpecialAreas />
- <WalkThroughPlayers>yes</WalkThroughPlayers>
- <WalkingMethod>Arrows Keys</WalkingMethod>
- <MapWalkDistance>20 to 50</MapWalkDistance>
- <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
- </Pathfinding>
- <Settings>
- <Rope>3003</Rope>
- <Shovel>3457</Shovel>
- <Pick>3456</Pick>
- <Machete>3308</Machete>
- <NodeRange>4</NodeRange>
- <Priority>Target</Priority>
- <OpenNextBp>if cavebot enabled</OpenNextBp>
- <AutoMount>yes</AutoMount>
- <Anti-idle>no</Anti-idle>
- <EatFood>yes</EatFood>
- <FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
- <PauseOnDeath>yes</PauseOnDeath>
- </Settings>
- <Enabled>no</Enabled>
- </CaveBot>
- <Looting>
- <List>
- </List>
- <Condition>Corpses with listed items</Condition>
- <Style>After melee kill</Style>
- <OpenBodyTime>300</OpenBodyTime>
- <PickLootTime>400 to 500</PickLootTime>
- <UseBrowseField>yes</UseBrowseField>
- <Range>10</Range>
- <EatFood>yes</EatFood>
- <Enabled>yes</Enabled>
- </Looting>
- <Targeting>
- <Monsters>
- </Monsters>
- <Settings>
- <ListOrder>7</ListOrder>
- <Health>9</Health>
- <Proximity>6</Proximity>
- <Danger>5</Danger>
- <Stick>yes</Stick>
- <CheckName>yes</CheckName>
- <VisibleTime>300 to 500</VisibleTime>
- <WalkingMethod>Arrows Keys</WalkingMethod>
- <AttackPlayersSummon>no</AttackPlayersSummon>
- <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
- <CooldownControl>yes</CooldownControl>
- <CheckItem>no</CheckItem>
- <MustBeReachable>yes</MustBeReachable>
- <MustBeShootable>no</MustBeShootable>
- </Settings>
- <Enabled>yes</Enabled>
- </Targeting>
- <Hud>
- <List>
- </List>
- <Show>If Focused</Show>
- <RefreshRate>1000</RefreshRate>
- <Enabled>no</Enabled>
- </Hud>
- <Input>
- <Keyboard>
- <Mode>Simulate</Mode>
- <StuckCtrlShift>If cavebot on, release after 1 sec</StuckCtrlShift>
- <TypingStyle>Keyboard keys</TypingStyle>
- <PressWaitTime>45 to 65</PressWaitTime>
- </Keyboard>
- <Mouse>
- <Mode>Simulate</Mode>
- <Scroll>Use mouse wheel</Scroll>
- <MoveSpeed>Instantaneous</MoveSpeed>
- <ClickWaitTime>30 to 50</ClickWaitTime>
- </Mouse>
- <OpenMenuPolicy>Confirm if cavebotting</OpenMenuPolicy>
- <Enabled>yes</Enabled>
- </Input>
- </Settings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement