Skip to content

darwiish1337/PHBot_AutoManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AutoManager - PHBot Plugin

AutoManager is a comprehensive PHBot plugin that automates town management tasks for Silkroad Online. It handles inventory management, item selling, equipment repair, scroll restocking, and automatic return to training areas.

Features

Core Features

  • Enable/Disable Plugin: Toggle the plugin on/off from the UI
  • Inventory Check: Monitor your inventory and return to town when space is low
  • Pet Inventory Check: Monitor your pet's inventory as well
  • Durability Check: Check equipped items for low durability (only triggers at ≤10%)
  • Use Repair Scroll First: Option to use repair scrolls before returning to town
  • Sell Normal Items: Automatically sell items in town (configure exceptions via PHBot's Pick Filter)
  • Repair Equipment: Automatically repair equipped items in town
  • Buy Scrolls: Automatically buy return, repair, and speed scrolls in town

Movement Features

  • Return to Town: Choose between Return Scroll, F10 (Town), or Walking
  • Return to Training: Choose between Reverse Return or Walking

Safety Features

  • 🛡️ Items Never Sold List: Built-in protection to prevent selling important items
    • HP/MP/Vigor Potions
    • All scroll types (Return, Repair, Speed)
    • Rare/Legend/Nova items
    • Jewelry (Rings, Necklaces, Earrings)
    • Belts
    • Guardian/Devil/Angel items
    • Stones, Gems, and Souls

Installation

  1. Download the Files: Get AutoManager.py and config.json from this folder
  2. Copy to Plugins: Paste both files into your PHBot Plugins directory
    • Default path: C:\Users\<YourUsername>\AppData\Local\Programs\phBot Stable\Plugins
  3. Restart PHBot: Close and reopen PHBot to load the plugin
  4. Configure: Open the Plugins tab in PHBot to access AutoManager's UI

Configuration

Main & Checks

  • Enable Plugin: Toggle the plugin on/off
  • Check Inventory: Check your character's inventory
  • Check Pet: Check your pet's inventory
  • Check Durability: Check for low durability (≤10%) on equipped items
  • Use Repair Scroll First: Use a repair scroll if durability is low before returning to town

Town Actions

  • Sell Normal Items: Sell items when in town (configure via PHBot's Pick Filter)
  • Repair Equip: Repair equipped items when in town
  • Buy Return Scrolls: Enable to automatically buy return scrolls in town
  • Target: Set the target number of return scrolls to keep
  • Buy Repair Scrolls: Enable to automatically buy repair scrolls in town
  • Target: Set the target number of repair scrolls to keep
  • Buy Speed Scrolls: Enable to automatically buy speed scrolls in town
  • Target: Set the target number of speed scrolls to keep
  • Select (NPC/F10): Choose where to buy scrolls from (NPC or F10)

Movement

  • Return to Town: Choose how to return to town (Return Scroll, F10 - Town, Walk)
  • Return to Training: Choose how to return to training (Reverse Return, Walk)

Usage

  1. Start PHBot: Launch PHBot and log in
  2. Open Plugin UI: Go to Plugins → AutoManager
  3. Configure: Set your preferences
  4. Save: Click Save Settings
  5. Start Bot: Ensure your training area is configured and start the bot

Behavior

When Character First Joins Game

  • In Town: Wait 15 seconds, then do town tasks (sell, repair, buy scrolls), then return to training
  • In Training Area: Wait 45 seconds, then start normal checks

Normal Operation

  • Checks: Every 20 seconds, the plugin checks:
    1. If durability is ≤10%
    2. If inventory has less free space than your threshold
    3. If pet inventory has less free space than your threshold
    4. If any scroll count is ≤5
  • Town Process:
    1. Stop bot
    2. Return to town
    3. Sell items
    4. Repair equipment
    5. Buy scrolls
    6. Return to training area
    7. Start bot

Logs

  • PHBot Console: Real-time logs in the PHBot interface
  • Log File: AutoManager_Log.txt in your plugins folder, with timestamps for all events

Default Settings

{
  "enabled": true,
  "check_interval": 20,
  "inventory_free_slots": 5,
  "pet_free_slots": 2,
  "durability_threshold": 10,
  "enable_low_durability": true,
  "enable_inventory_check": true,
  "enable_pet_check": true,
  "sell_normal_items": true,
  "repair_equipment": true,
  "buy_return_scrolls": true,
  "return_scroll_target": 50,
  "return_scroll_buy_method": "npc",
  "buy_repair_scrolls": true,
  "repair_scroll_target": 50,
  "repair_scroll_buy_method": "npc",
  "buy_speed_scrolls": true,
  "speed_scroll_target": 50,
  "speed_scroll_buy_method": "npc",
  "use_repair_scroll": true,
  "return_to_town_method": "scroll",
  "return_to_training_method": "reverse"
}

Troubleshooting

  • Plugin Not Loading: Check that both AutoManager.py and config.json are in your plugins folder
  • Inventory Not Counting Correctly: Look at AutoManager_Log.txt to see debug info
  • Items Being Sold Wrong: Configure PHBot's Pick Filter to exclude important items (the plugin already has built-in protection for many items)
  • Bot Not Starting in Training Area: Ensure your training area is properly set in PHBot

Support

For issues or questions, check the log file first! It will show exactly what's happening.

License

This plugin is provided as-is for personal use with PHBot.

About

Advanced PHBot Auto Manager - Multi bot control, monitoring, auto restart and instance management tool.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages