I have less than 10 posts so I have to post my question here.
I would like to make Guards attackable as a small kind of "bot protection". Bot choses targets randomly but cant target a PK Guard (ctrl needed). I would like to set a guard to be targeted without a ctrl.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello,
Owning and creating my own version of GF Vanganth with many home made customs since many years I'm now looking for someone already having or knowing how to properly update this extender in order to adapt packets in order to connect with modern client.
Feel free to contact me.
Thanks.
https://jmp.sh/WxX9CUj8
We successfully managed to transfer simple dialogs from html to Unity ui Toolkit. So far the simplest ones but they look better than the original!
Greetings, Adventurer!
Get ready to conquer the battlefield— L2Custom.com is opening on Saturday!
🗓️ Start Date: 2024-11-23, 18:00 GMT+2
⚔️ Server Details:
Chronicle: Interlude | Rates: High
Custom Items for an enhanced PvP experience
Full Buffer for convenience
Olympiad every week (A-Grade only)
Castle Sieges every week
🔥 Be part of the action from Day 1—gather your clan, challenge your rivals, and claim your dominance in the ultimate PvP playground!
📥 Register and Download Now at www.l2custom.com.
See you on the battlefield!
- L2Custom Team
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
carlos_69
Hi:)
I have less than 10 posts so I have to post my question here.
I would like to make Guards attackable as a small kind of "bot protection". Bot choses targets randomly but cant target a PK Guard (ctrl needed). I would like to set a guard to be targeted without a ctrl.
I found this:
L2GuardInstance.java
if (containsTarget(player))
{
if (_log.isDebugEnabled())
_log.debug(player.getObjectId() + ": Attacked guard " + getObjectId());
// Set the L2PcInstance Intention to AI_INTENTION_ATTACK
player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); <-----this should be modified
Please help me and give any info how do do this.
Thank you.
Regards.
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.