Jump to content
  • 0

Me Guards Not Attack Pk


Question

Posted

Hello,

Why me guard not attack player with karma?

Me guard info:

http://prntscr.com/a1tvad

	<npc id="31034" idTemplate="31034" name="Sentry" title="">
		<set name="level" val="80"/>
		<set name="radius" val="7"/>
		<set name="height" val="25"/>
		<set name="rHand" val="277"/>
		<set name="lHand" val="0"/>
		<set name="type" val="L2Guard"/>
		<set name="exp" val="0"/>
		<set name="sp" val="0"/>
		<set name="hp" val="3290.11306877694"/>
		<set name="mp" val="1674.8"/>
		<set name="hpRegen" val="4424.5"/>
		<set name="mpRegen" val="2554"/>
		<set name="pAtk" val="91524570.537548504614"/>
		<set name="pDef" val="925445.375"/>
		<set name="mAtk" val="662.751329129412"/>
		<set name="mDef" val="921554.80341"/>
		<set name="crit" val="8"/>
		<set name="atkSpd" val="253"/>
		<set name="str" val="40"/>
		<set name="int" val="21"/>
		<set name="dex" val="60"/>
		<set name="wit" val="20"/>
		<set name="con" val="43"/>
		<set name="men" val="20"/>
		<set name="corpseTime" val="7"/>
		<set name="walkSpd" val="50"/>
		<set name="runSpd" val="160"/>
		<set name="dropHerbGroup" val="0"/>
		<set name="attackRange" val="2000"/>
		<ai type="default" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="9000" canMove="true" seedable="false"/>
		<skills>
			<skill id="4045" level="1"/>
			<skill id="4416" level="16"/>
			<skill id="15003" level="1"/> <!-- Sentry Stats -->
		</skills>
	</npc>

But i see when guard is in combat mode then his kill all player with karma, but when in normal, just stay in spawn..

8 answers to this question

Recommended Posts

  • 0
Posted

Hello,

Why me guard not attack player with karma?

Me guard info:

http://prntscr.com/a1tvad

 

<npc id="31034" idTemplate="31034" name="Sentry" title="">
		<set name="level" val="80"/>
		<set name="radius" val="7"/>
		<set name="height" val="25"/>
		<set name="rHand" val="277"/>
		<set name="lHand" val="0"/>
		<set name="type" val="L2Guard"/>
		<set name="exp" val="0"/>
		<set name="sp" val="0"/>
		<set name="hp" val="3290.11306877694"/>
		<set name="mp" val="1674.8"/>
		<set name="hpRegen" val="4424.5"/>
		<set name="mpRegen" val="2554"/>
		<set name="pAtk" val="91524570.537548504614"/>
		<set name="pDef" val="925445.375"/>
		<set name="mAtk" val="662.751329129412"/>
		<set name="mDef" val="921554.80341"/>
		<set name="crit" val="8"/>
		<set name="atkSpd" val="253"/>
		<set name="str" val="40"/>
		<set name="int" val="21"/>
		<set name="dex" val="60"/>
		<set name="wit" val="20"/>
		<set name="con" val="43"/>
		<set name="men" val="20"/>
		<set name="corpseTime" val="7"/>
		<set name="walkSpd" val="50"/>
		<set name="runSpd" val="160"/>
		<set name="dropHerbGroup" val="0"/>
		<set name="attackRange" val="2000"/>
		<ai type="default" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="9000" canMove="true" seedable="false"/>
		<skills>
			<skill id="4045" level="1"/>
			<skill id="4416" level="16"/>
			<skill id="15003" level="1"/> <!-- Sentry Stats -->
		</skills>
	</npc>
But i see when guard is in combat mode then his kill all player with karma, but when in normal, just stay in spawn..
He have agro 9k from the pk char if is the char 9100 agro from him he can see the pk char...if i have understand your problem..
  • 0
Posted

Tessa, now im testing, i log with 2 char and set karma to 5k example. Guard dont attack. But if im try attack guard and it kill me then guard start kill other char who have karma.

  • 0
Posted

Verify if your player is registered into guard knownlist (//knownlist when guard being selected). If the command doesn't exist yet (old version), then you have to dig yourself. Verify if regular guards work fine, if yes, then it's a matter about knownlist and aggro range.

 

PS : 9000 is way too much.

  • 0
Posted (edited)

Verify if your player is registered into guard knownlist (//knownlist when guard being selected). If the command doesn't exist yet (old version), then you have to dig yourself. Verify if regular guards work fine, if yes, then it's a matter about knownlist and aggro range.

 

PS : 9000 is way too much.

Its old version, command doesn't exist. And all server guards don't attack pk players.

So how to fix it?

 

http://prntscr.com/a1x5uj

 

And i change aggro to 2000 l

Edited by wongerlt
Guest
This topic is now closed to further replies.


  • Posts

    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • Hello Sorry, my Discord is: ave7309
    • “Hello, I’d like to present a short description of the server. Everyone starts equally at max level 80. The server includes a custom buffer, custom class master, custom weapons and armors, custom zones, custom teleporter, custom raid bosses, and much more. I’ll leave a link in the description for those who want to see how everything looks inside. The server is only open on weekends, and you can find more news via the Facebook link.”   https://www.facebook.com/profile.php?id=61578869175323
    • 1. You where subscriber 3 years ago. 2. There is no current L2jMobius 2.8 Seven Signs version. Subcriber or not. 3. You have your answer from multiple forums that more items is more delay.  
    • 1. Optimize Packet Serialization Look in ItemList.java or wherever the inventory packet is constructed. Instead of building the packet with inefficient string concatenation or repeated allocations, use a preallocated buffer and avoid creating new objects for each item. Mobius sources are Java-based, so profiling with something like VisualVM or YourKit can help see where most time is spent. 2. Avoid Sending the Full List Each Time Modify the server to send only changed items (diff packets) when the inventory window opens. Some newer forks implement this as “lazy loading” or paged inventory so the client only loads e.g. 100 items at a time. 3. Limit the Inventory Size Per Page Instead of showing all 500 slots at once, split the inventory into pages/tabs (100 slots each). When the user switches a tab, send only that page’s items. This requires some client-side editing, but it’s the most user-friendly long-term fix. 4. Database & Cache Optimizations Ensure your items table is indexed by owner_id to make the query for player items fast. Cache item templates and static data so they are not reloaded every time the inventory is shown. ⚠️ Things to Keep in Mind Increasing slots from 80 → 500 does not just change a number — it multiplies the workload for packet building and UI rendering. You can’t fully avoid some extra cost with 500 items, but you can keep it under a few milliseconds if you optimize how and when the data is sent.    
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock