Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new function pausewalking
06-04-2017, 05:51 AM (This post was last modified: 06-04-2017 05:58 AM by the angels.)
Post: #1
new function pausewalking
new function pausewalking on macro please
Pausewalking()

pausewalking and mouse.position x Wink please
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
06-04-2017, 07:32 AM
Post: #2
RE: new function pausewalking
there is already... but what for?
And you cannot check position of mouse. you can make it on keybind.

Cavebot.Stop()
Self.Stop()
Give Reputation to this user

Before you PM me, READ THIS [Image: KHCf9l2.png]

[Image: naLmyGH.png]

My Scripts, Macros and Tutorials
Find all posts by this user
Quote this message in a reply
06-04-2017, 01:51 PM
Post: #3
RE: new function pausewalking
Cavebot stop, you have 1 problem.
Sometimes when using cavebot start, it does not continue where it left off. Pula waypoints etc.
When starting, it starts at another waypoint. And not at what stopped
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
06-04-2017, 03:41 PM (This post was last modified: 06-04-2017 03:54 PM by Catar.)
Post: #4
RE: new function pausewalking
(06-04-2017 01:51 PM)the angels Wrote:  Cavebot stop, you have 1 problem.
Sometimes when using cavebot start, it does not continue where it left off. Pula waypoints etc.
When starting, it starts at another waypoint. And not at what stopped

Ye it starts from near random waypoint, Unless you add command in macro to start from certain Label

Cavebot.Label(NameOfLabel)
Give Reputation to this user

Before you PM me, READ THIS [Image: KHCf9l2.png]

[Image: naLmyGH.png]

My Scripts, Macros and Tutorials
Find all posts by this user
Quote this message in a reply
06-04-2017, 05:59 PM
Post: #5
RE: new function pausewalking
(06-04-2017 03:41 PM)Catar Wrote:  
(06-04-2017 01:51 PM)the angels Wrote:  Cavebot stop, you have 1 problem.
Sometimes when using cavebot start, it does not continue where it left off. Pula waypoints etc.
When starting, it starts at another waypoint. And not at what stopped

Ye it starts from near random waypoint, Unless you add command in macro to start from certain Label

Cavebot.Label(NameOfLabel)

Ye but than if targetting is paused cause of NoKill point it will refresh it and start attacking monsters after stoping cavebot
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
06-04-2017, 05:59 PM
Post: #6
RE: new function pausewalking
(06-04-2017 03:41 PM)Catar Wrote:  
(06-04-2017 01:51 PM)the angels Wrote:  Cavebot stop, you have 1 problem.
Sometimes when using cavebot start, it does not continue where it left off. Pula waypoints etc.
When starting, it starts at another waypoint. And not at what stopped

Ye it starts from near random waypoint, Unless you add command in macro to start from certain Label

Cavebot.Label(NameOfLabel)

BBOT is now made for OT SERVER, and most OT SERVER are exp 999x.
My suggestion is as follows. Create the function to stop walking, and DO NOT PAUSE THE CAVE BOT.
Like I said how I'm going to find out what part of HUNT my bot is in case I put it for example.
SELF heath <= 60
Cavebot pause.

How do I find out which part of the hunt the char is in?

The question is: there is no way to find out where the char is for it to go to the particular LABEL.
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
06-04-2017, 06:15 PM (This post was last modified: 06-04-2017 08:39 PM by Catar.)
Post: #7
RE: new function pausewalking
But what exactly do you need it for? lol

You can use Misc.LogFile to create .txt with whatever data you want inside BBot Folder.

example

Logger (auto: 10ms)
10 {Logger} Self.Health%()<=60 Cooldown.Blocked(AvoidManyRepeats)==0 h:=Misc.SystemTime.Hour() m:=Misc.SystemTime.Minute() s:=Misc.SystemTime.Second() hpQT:=Self.Health() hp%:=Self.Health%() monst:=Creatures.NPCOnScreen() players:=Creatures.PlayersOnScreen() VarSub(players, 1) LostHP:=Misc.HPDelta(2) qtAttackers:=Misc.AttackersCount(2) Misc.LogFile(lowHP at !h.txt, ) Misc.LogFile(lowHP at !h.txt, Dropped to !hpQT health !hp%!% at !h:!m:!s) Misc.LogFile(lowHP at !h.txt, In position :X :Y :Z | Nearby Players=!players Monsters=!monst) Misc.LogFile(lowHP at !h.txt, Lost !LostHP in last 2 seconds | Attacked by !qtAttackers creatures) Misc.LogFile(lowHP at !h.txt, ________________________ ) Cooldown.Create(AvoidManyRepeats, 5000)

extended example under spoiler
Will make text file in your bbot folder whenever your Health drops below 60%
Name will be lowHP at (hour of log).txt , and info will look like this.

Quote:Dropped to 7097 health at 19:36:19
In position 33616 32323 7 | Nearby Players=0 Monsters=4
Lost -151 in last 2 seconds | Attacked by 5 creatures
________________________

Dropped to 6373 health at 19:36:21
In position 33617 32323 7 | Nearby Players=0 Monsters=10
Lost -724 in last 2 seconds | Attacked by 10 creatures
________________________

Dropped to 6921 health at 19:36:24
In position 33617 32323 7 | Nearby Players=0 Monsters=11
Lost 548 in last 2 seconds | Attacked by 11 creatures
________________________


Also you can add Tibia.Screenshot() but it won't work well if tibia is not visible.

Also you can add more info into log,
For example
  • amount of potions you have,
  • Number of monsters you killed,
  • ID of a ground you were standing ON ;D , you could find out if it was grass or wooden floor, for some reason hehe.
  • number of open backpacks - idk why but why not ;D
  • how long were you standing still without movement.

With all possible info, I'm sure you could figure out in what 'part' of hunt your health dropped below 60%
Give Reputation to this user

Before you PM me, READ THIS [Image: KHCf9l2.png]

[Image: naLmyGH.png]

My Scripts, Macros and Tutorials
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)