Jump to content

Recommended Posts

Posted (edited)

 

Hello,
I'm completely sharing my first attempt of functional PvE & PvP level/gear based independed phantoms. This source is completely made by AI so no hard critisism please. The extension is in a very early stage and it's not tested properly so its NOT supposed to be used in a live server yet because it still needs stability/optimization improvements.

 

The architecture is already done, third class behaviors are looking good (but still needs adjustments mostly for melee classes). I am currently dealing with second occupation classes functionality (most of them are functional).

 

The extension will automatically create the lucera_autobots table on starting the gameserver and then you will be able to populate the table with many rows of bots manually or save them to DB through the ingame bot's panel, you can also create temporary bots by not hitting the "Save Bot" button. The clan can be added to the bots as clanID through lucera_autobots DB table, the clan has to be owned by a real player with or without alliance, the bot will be spawned with the clan or clan+ally crest.

 

 

Request for advices and ideas:
At the moment i haven't figured out an easy way (other than building a full navigation system of the world) to make the bot understand the geodata, avoid all the city obstacles and walk to gatekeeper, then travel back to the farming location on foot and avoid any obstacles and town layout so at this current state the bots are doing this: on death > go to village > stay idle for 30 seconds (time delay can be configured from the bot's management panel or through the DB table) > directly teleport back to death location.

 

On in-game, use //autobots command and create bots normally through the panel's options. NOTE: The bots will not attack a gm character.

 

 

 

 

 

Quote

 

 

LATEST CHANGELOGS SINCE BUILD M28:

M29:
Improved the mechanics and behavior for all the second and third classes.
Added/adjusted PvP skills and self-buffs for many classes.
Improved Tyrant/Grand Khavatari combat and force-charge behavior.
Added tank skill/auto-attack rotations.
Added Bladedancer dances/debuff behavior.
Added mage skills such as Silence, Curse Fear, Aura Flash, Ice Dagger and Frost Bolt with usage limits.
Increased dagger Switch usage to 25%.
Added obstacle escape movement when bots get stuck while RETURNING to their farm area.
M30:
Reduced the pause after tank and archer sidestep movements so they re-engage faster.
Improved Titan/Destroyer combat recovery and added Braveheart condition.
Started fixing Gladiator/Duelist charge/combat behavior.
Verified all classes can use Idle, AttackFlagged, and AttackEveryone.
Reinforced the rule that skills are used only when actually learned by the bot.
M31:
Fixed offensive mage combat-entry logic for AttackEveryone.
Prevented hostile mage debuffs from being used as the initial action against peaceful players.
M32:
Added a farming-area watchdog so bots outside their configured farm range return instead of remaining stuck in FARMING.
Fixed automatic teleport recovery so it cannot silently replace the bot's configured farm origin.
M33:
Removed the newer broken Gladiator/Duelist charge state-machine and restored more of the older M27-style combat logic.
M34:
Completely rewrote Gladiator/Duelist combat behavior
Gladiator/Duelist now use the same core combat system in PvE and PvP.
All skills remain level/learned-skill dependent.
M43:
Fixed a visual “jump/teleport” issue during PvP.
Removed the extra manual position correction that was interfering with Lucera’s normal movement updates.
Kept the old movement safety protections that prevent real long-distance rollback bugs.
Added Vicious Stance toggle always ON for fighter classes when learned.
Added Arcane Power toggle always ON for offensive mages level 78+ when learned.
Improved potion usage so bots follow Lucera’s normal item cooldown behavior.
Changed Warsmith weapons/shields for several level ranges.
Added None as a buff package (the bot will spawn without buffs).
Removed Greater CP Potions from level 1–39 bots.
Reworked starter fighter equipment for levels 1–10 and 11–19.
Corrected several starter class names in the autobots UI panel.
Improved the Autobots panel layout.
Improved spacing and descriptions on the Create Bot page.
Added basic pagination to the autobots UI panel.
Changed buttons toward Lucera’s native button style.
Improved spacing around the bot list and search area.
Added a search layout.
Reworked the main page, Create Bot page, class selection and manage pages.
No AI, combat, movement, inventory, or DB behavior was changed.

 

Next update milestone: Ensuring stability and optimization changes.

 

Screenshot_1.png

Screenshot_2.png

Screenshot_3.png

Edited by itzikos
Posted (edited)

First stability test is succesfully completed on M43 - 100 active bots ~2hours (default settings - no clan - light PvP - PvE farming mostly):

 

No observable memory leak
No thread leak
No CPU bottleneck
JVM garbage collection is recovering memory correctly
Default Java process RAM is stable
100 continuously farming bots are looking stable

 

gameserver logs below:

https://anotepad.com/notes/p6qi9g2p

 

Screenshot_5.png

Edited by itzikos
Posted (edited)

Update M54:

  • Global HP/MP/CP consumable handling expanded beyond combat-only usage.
  • Offensive mage idle recovery with learned skill Battle Heal.
  • Spellhowler/Storm Screamer prioritizes Hurricane, using Vampiric Claw mostly below 90% HP.
  • Major structural refactor initialized:
    • Added category/class organization such as Archer, Dagger, Tank, Mage, Healer, Support and Specialized class files.
    • Further structural cleanup.
    • Extracted combat memory/state and more class-policy logic from the main controller.
  • Added global stuck/inactivity watchdog for bots blocked by terrain/geodata.
  • Added unreachable dropped ground-item timeout/temporary blacklist.
  • Reworked Necromancer/Soultaker PvP:
  • Dominator level 78+ maintains learned Arcane Power toggle on.
  • Overlord/Dominator level 44+ maintains learned Soul Guard toggle automatically.
  • Stability/scalability update:
    • Bot controller ticks staggered instead of all starting in the same phase:
      • Same 350 ms update rate retained
      • Reduces simultaneous AI workload bursts.
  • Removed the old manual aggressive-monster EVT_AGGRESSION bridge.
  • Phantoms now use native Lucera setActive() behavior so monsters aggro them naturally.
  • Reduced unnecessary NPC scans and native AI event pressure.
  • Added saved-bot equipment overrides using a separate database table:

        lucera_autobots_items

  • Existing lucera_autobots remains the main saved-bot identity/state table.
  • Equipment rows are linked to saved bots through bot_id.
  • Added optional convenience view to show bot name together with equipment overrides:

        lucera_autobots_items_view

  • Added editable equipment slots in columns:
    • Weapon
    • Shield
    • Helmet
    • Chest
    • Legs
    • Gloves
    • Boots
    • Necklace
    • Left/Right Earrings
    • Left/Right Rings
  • Equipment override values:
    • 0 = use normal class/level profile item
    • -1 = force slot empty
    • >0 = equip that Item ID
  • Custom equipment works only for saved database bots.
  • Default class/level equipment profiles remain unchanged.
  • Supports custom equipment from No Grade to S Grade, regardless of the bot's current level.
  • Added validation for invalid item IDs and incompatible equipment slots.
  • Added handling for:
    • Two-handed weapons vs shields
    • Full-body armor vs separate leggings
  • Added all-grade Soulshots and Spiritshots to bot inventory/replenishment so custom lower-grade weapons still use the correct shots.
  • Mage profiles that already use Blessed Spiritshots keep that behavior with all relevant grades available.
  • First save the bot normally so it exists in table:

        lucera_autobots

  • Then open:

        lucera_autobots_items

  • Find the row with the same bot_id and edit only the equipment slots you want.
  • Example:
    • weapon_id = 6608
    • shield_id = -1
    • helmet_id = 0
    • chest_id = 0
    • legs_id = 0
    • gloves_id = 0
    • boots_id = 0
  • This means:
    • weapon_id 6608 → custom weapon
    • shield_id -1 → no shield
    • all 0 values → keep normal default profile equipment
  • After editing the DB, despawn and respawn the saved bot so M54 reloads its equipment overrides.
  • Do not edit bot_id. Use it only to identify which saved bot the equipment row belongs to.

 

DOWNLOAD

Edited by itzikos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Update M54: Global HP/MP/CP consumable handling expanded beyond combat-only usage. Offensive mage idle recovery with learned skill Battle Heal. Spellhowler/Storm Screamer prioritizes Hurricane, using Vampiric Claw mostly below 90% HP. Major structural refactor initialized: Added category/class organization such as Archer, Dagger, Tank, Mage, Healer, Support and Specialized class files. Further structural cleanup. Extracted combat memory/state and more class-policy logic from the main controller. Added global stuck/inactivity watchdog for bots blocked by terrain/geodata. Added unreachable dropped ground-item timeout/temporary blacklist. Reworked Necromancer/Soultaker PvP: Dominator level 78+ maintains learned Arcane Power toggle on. Overlord/Dominator level 44+ maintains learned Soul Guard toggle automatically. Stability/scalability update: Bot controller ticks staggered instead of all starting in the same phase: Same 350 ms update rate retained Reduces simultaneous AI workload bursts. Removed the old manual aggressive-monster EVT_AGGRESSION bridge. Phantoms now use native Lucera setActive() behavior so monsters aggro them naturally. Reduced unnecessary NPC scans and native AI event pressure. Added saved-bot equipment overrides using a separate database table:         lucera_autobots_items Existing lucera_autobots remains the main saved-bot identity/state table. Equipment rows are linked to saved bots through bot_id. Added optional convenience view to show bot name together with equipment overrides:         lucera_autobots_items_view Added editable equipment slots in columns: Weapon Shield Helmet Chest Legs Gloves Boots Necklace Left/Right Earrings Left/Right Rings Equipment override values: 0 = use normal class/level profile item -1 = force slot empty >0 = equip that Item ID Custom equipment works only for saved database bots. Default class/level equipment profiles remain unchanged. Supports custom equipment from No Grade to S Grade, regardless of the bot's current level. Added validation for invalid item IDs and incompatible equipment slots. Added handling for: Two-handed weapons vs shields Full-body armor vs separate leggings Added all-grade Soulshots and Spiritshots to bot inventory/replenishment so custom lower-grade weapons still use the correct shots. Mage profiles that already use Blessed Spiritshots keep that behavior with all relevant grades available. First save the bot normally so it exists in table:         lucera_autobots Then open:         lucera_autobots_items Find the row with the same bot_id and edit only the equipment slots you want. Example: weapon_id = 6608 shield_id = -1 helmet_id = 0 chest_id = 0 legs_id = 0 gloves_id = 0 boots_id = 0 This means: weapon_id 6608 → custom weapon shield_id -1 → no shield all 0 values → keep normal default profile equipment After editing the DB, despawn and respawn the saved bot so M54 reloads its equipment overrides. Do not edit bot_id. Use it only to identify which saved bot the equipment row belongs to.   DOWNLOAD
    • It will be multi client so it will detect the client from the files and adapt the packets and asset loading. I am aiming for C4 and H5 after IL
    • this is just to simplify your life, time, and can be done for free by yourself just watch some tutorials, in case you don't wanna waste time check it out!   https://l2getwork.art   https://l2getwork.art/showcase.html  
    • Good job! Any chance for it to be downgradeable or at least compatible with older chronicles?
    • Fermata now runs in a web browser too. Try it here: https://web.fermata.gg/    
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..