TalkToLockMap: A configurable plugin which will allow you to talk to an npc to warp to your lockmap
as a bonus it also supports talkToHeal: talking to an npc for healing.
Your saveMap and lockMap MUST be set correctly for this to work.
# Config options
# {saveMap}_warpNPC x y
# {lockMap}_sequence
# {saveMap}_healNPC [chat sequence]
# talk_healLowerSP
# talk_healUpperSP
# talk_healLowerHP
# talk_healUpperHP
## Example only
prontera_warpNPC 50 10
prontera_healNPC 70 10
prontera_healSequence c#
talk_healLowerSP 10
talk_healUpperSP 80
talk_healLowerHP 20
talk_healUpperHP 75
talk_healNPCDistance 3
talk_warpNPCDistance 1
gh_prison_sequence r0 c t=gh_prison
Note that talk heal lower and talk heal upper are both percentages.
As always, use this at your own risk. It's not perfect but in the few days I've used it hasn't killed my dog or gotten me busted botting.
Code: Select all
# Changelog
v0.2.1
Sorry for the quick updates, it should slow down as I get more of the features I want implemented.
- Confguration options removed.
talk_healUpper
talk_healLower
- Configuration options added
talk_healLowerSP %
talk_healUpperSP %
talk_healLowerHP %
talk_healUpperHP %
talk_warpNPCDistance # - The distance to stand from the warp npc. Defaults to 5 if not set
talk_healNPCDistance # - The distance to stand from the healer npc. Defaults to 5 if not set
- Quick fixed a possible bug where autoBuy was triggering a teleport, but the character would
warp back to his lock map before actually buying the items.
- Modified the healing trigger in on_ai_pre to be more reliable.
Might be some edge cases that aren't covered.
This will NO LONGER interrupt autoStorage so be careful if you use storage in aggressive areas.
If you get a lot of message spam saying ""Routing to healer due to low HP or SP." Please let me know.
- Added a few more messages for debugging, will move to debug domain in next release.
v0.2
- Added some messages for debugging
- Quickfixed an infinite loop calling talk_to_healer
TODO:
- Clean up/sanitize state checking and ai managment even more.
- Add aggressive check before auto Storage via command
- Add more checks for the presence of config options.
- Add talk to buffs functionality.
Post here for support.