Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new function pausewalking
#1
new function pausewalking on macro please
Pausewalking()

pausewalking and mouse.position x Wink please
Reply
#2
there is already... but what for?
And you cannot check position of mouse. you can make it on keybind.

Cavebot.Stop()
Self.Stop()
Reply
#3
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
Reply
#4
(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)
Reply
#5
(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
Reply
#6
(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.
Reply
#7
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

[macro]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) [/macro]
extended example under spoiler[spoiler]
[macro]10 {Logger} Self.Health%()<=40 Cooldown.Blocked(AvoidManyRepeats)==0 h:=Misc.SystemTime.Hour() m:=Misc.SystemTime.Minute() s:=Misc.SystemTime.Second() hpQT:=Self.Health() hp%:=Self.Health%() manaQT:=Self.Mana() mana%:=Self.Mana%() monst:=Creatures.NPCOnScreen() players:=Creatures.PlayersOnScreen() VarSub(players, 1) LostHP:=Misc.HPLose(1) HealHP:=Misc.HPGain(1) DeltHP:=Misc.HPDelta(1) qtAttackers:=Misc.AttackersCount(1) Misc.LogFile(lowHP at !h.txt, ) Misc.LogFile(lowHP at !h.txt, At !h:!m:!s | In position :X :Y :Z) Misc.LogFile(lowHP at !h.txt, Dropped to !hpQT health !hp%!% | With !manaQT mana !mana%!% ) Misc.LogFile(lowHP at !h.txt, On screen were !players players and !monst monsters) Misc.LogFile(lowHP at !h.txt, During last second lost !LostHP!HP | Healed !HealHP!HP | Total !DeltHP!HP) Misc.LogFile(lowHP at !h.txt, Attacked by !qtAttackers creatures) Misc.LogFile(lowHP at !h.txt, ________________________ ) Cooldown.Create(AvoidManyRepeats, 2500)[/macro]

Quote:At 21:35:21 | In position 33703 31947 5
Dropped to 409 health 43% | With 0 mana 0%
On screen were 0 players and 3 monsters
During last second was hit for 160HP | Healed for 0HP | Total of -160HP
Attacked by 3 creatures
________________________
[/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%
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)