PDA

View Full Version : Functions - Everyone would benefit from these! Please Bump!



swiftayyy
05-08-2013, 11:45 PM
A function to..

Self.Turnon(StandWhileFighting)
Self.Turnon(ChaseOpponent)

For example:

If -- Looting
Self.Turnon(StandWhileFighting)
Elseif -- NotLooting
Self.Turnon(Chaseopponent)

So that people who suffer from server sided lag, and the bot chase doesn't work very well, they can use their client chase, but still have 'LOOT FIRST' turned on, so that they don't miss loot. e.g. Necromancers - BOH.

ALSO!

A better waypoint finder if stuck.

I remember magebot, if it ever got stuck, it would just continuously run through ALL the waypoints until if found one it could reach.
This NEEDS to be implemented. So if it's stuck simply because it accidently skipped a 'self.usewaypoint(xxxxx, x, xxxxx, x)' it will run through all the waypoints until it gets back to a waypoint it can reach. Either a stand nearby or the 'use' again.

Sometimes my bot skips past the usegate script, and therefore just stands there all night.

WorkingHandz
05-09-2013, 02:29 AM
A function to..

Self.Turnon(StandWhileFighting)
Self.Turnon(ChaseOpponent)

For example:

If -- Looting
Self.Turnon(StandWhileFighting)
Elseif -- NotLooting
Self.Turnon(Chaseopponent)

So that people who suffer from server sided lag, and the bot chase doesn't work very well, they can use their client chase, but still have 'LOOT FIRST' turned on, so that they don't miss loot. e.g. Necromancers - BOH.

ALSO!

A better waypoint finder if stuck.

I remember magebot, if it ever got stuck, it would just continuously run through ALL the waypoints until if found one it could reach.
This NEEDS to be implemented. So if it's stuck simply because it accidently skipped a 'self.usewaypoint(xxxxx, x, xxxxx, x)' it will run through all the waypoints until it gets back to a waypoint it can reach. Either a stand nearby or the 'use' again.

Sometimes my bot skips past the usegate script, and therefore just stands there all night.


use a label to check your location and change looting to loot bodies first. done and done. if i understood correctly.

swiftayyy
05-09-2013, 04:06 AM
I udnerstand what you mean, unfortunately, not quite.
It needs to do this after every monster kill.
So, say there is a room of 5 necromancers. It will have client chase on (with dont auto turn off chase activated in the client). After killing the first necro, it needs to turn off auto chase in client. Loot the monster. Then turn chase back on. Kill 2nd. chase off + loot. Chase on. kill 3rd. and so on.

So it needs to do the function
If -- Looting
Self.Turnon(StandWhileFighting)
Elseif -- NotLooting
Self.Turnon(Chaseopponent)

after EVERY monster it kills.

swiftayyy
05-09-2013, 04:23 AM
Simply put. Using tibia client chase and Loot first.
Disable chase while looting. Re enable after looting.

swiftayyy
05-11-2013, 05:22 AM
Bump.