Homunculus AI Fix

The SultanRO client comes with AzzyAI (by Dr. Azzy), a smarter AI for homunculi and mercenaries. Out of the box it does not attack monsters on this server: AzzyAI treats anything with an ID above 100,000 as a player, but on SultanRO every monster has an ID of 110,000,000 or more. So your homunculus thinks every monster is a player and leaves it alone. This fix tells AzzyAI the real player ID range (2,000,000 to 99,999,999).

1. Download

Download SultanRO-AzzyAI-Fix.zip (32 KB)

2. Install

  1. Close the game.
  2. Open your SultanRO folder (the one with SultanRO.exe).
  3. Extract the zip into that folder and choose Replace / Overwrite when asked. The files land in AI\USER_AI\.
  4. Start the game and log in.
  5. Type /hoai in chat. If it says the homunculus is now using the default AI, type /hoai once more so it says custom (User) AI. For mercenaries, do the same with /merai. You only need to do this once.

The fix only replaces AI.lua, AI_M.lua and AI_main.lua and adds SultanRO_Fix.lua. Your own settings (H_Config.lua, M_Config.lua, tactics) are not touched, and saving in AzzyAIConfig.exe will not undo the fix.

3. Recommended settings (optional)

The settings that ship with the client keep the homunculus glued to you. For a homunculus that hunts on its own, change these in AI\USER_AI\AzzyAIConfig.exe, or edit AI\USER_AI\H_Config.lua in Notepad:

Setting Shipped Recommended What it does
StationaryAggroDist 1 12 How far (cells) it looks for monsters while you stand still
MobileAggroDist 1 7 How far it looks while you are moving
StationaryMoveBounds 1 14 How far it may leave you while you stand still
MobileMoveBounds 1 9 How far it may leave you while you are moving
DoNotChase 1 0 0 = chase monsters that walk away
AggroHP 60 30 It attacks first while its HP is above this %
UseIdleWalk 0 1 1 = walk in a circle around you when idle (2 cross, 3 square, 4 random)

After changing settings, type /hoai twice (off, then on) to reload them.

Still not attacking?

  • It only attacks first while its HP is above AggroHP. Heal it with the Alchemist skill Aid Potion.
  • Alt+T toggles standby. If you pressed it by accident, press it again.
  • Check that AAIStartH.txt in your SultanRO folder says started successfully.
  • Still stuck? Type /traceai, try for a minute, and send TraceAI.txt from your SultanRO folder to a GM.

AzzyAI is written by Dr. Azzy (iRO Loki). This page only provides a compatibility fix for SultanRO.

Page generated in 0.0045 second(s). Number of queries executed: 1.

Language: