fastpole / tibiatekbot

Automatically exported from code.google.com/p/tibiatekbot
0 stars 0 forks source link

Turning off Cavebot affects autoloot, autoeat, and autoattack #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. activate autoloot and autoeat. inactivate auto attack
2. start and stop a cavebot
3. check loot, eat, and attack

What is the expected output? What do you see instead?
I would expect to see the features in the same state they were in prior to
running cavebot.

Please provide any additional information below.

In the CommandParser and in frmMain, turning off cavebot stops serveral timers:

Core.LooterTimerObj.StopTimer()
Core.AutoAttackerTimerObj.StopTimer()
Core.EaterTimerObj.StopTimer()

One possible solution is to store the states in temporary variables at the
activation of cavebot, and then stop the timers accordingly when cavebot is
stopped. Seems to work on this end.

Original issue reported on code.google.com by qif...@gmail.com on 11 Dec 2007 at 3:23

GoogleCodeExporter commented 9 years ago
The Issue has been fixed.

Original comment by Oskari.V...@gmail.com on 20 Dec 2007 at 10:16