Jump to content
  • 0

Walker Monster Update Help


Question

Posted

hello all i have a problem with a code..

i have make a code for walker some mobs is work all good

but i have problem with graphics mob is move and after 3 loc is stuck here

i click target to mob and i see in opposite side how to fix can player see all time

move mobs ? 

here is a video for see walker monsters -->  http://sendvid.com/9r17sv7x

12 answers to this question

Recommended Posts

  • 0
Posted (edited)

Force updating knownlist resolved the problem?

 

If you're forced to do that, you made shit waaayyy before. Because knownlist update is normally automatic.

Edited by Tryskell
  • 0
Posted

on my i think is not automatic after player is not move i see only 3 mob in walking and in move i see all mobs move

and in radius 500+ mob is stuck only in my instance how to fix or make a update knowlist every 5 sec for custom instance ?

  • 0
Posted

If you're forced to do that, you made shit waaayyy before. Because knownlist update is normally automatic.

 

I mean delete all known objects and initialize knownlist again. Like as teleport.  :happyforever:

  • 0
Posted

on my i think is not automatic after player is not move i see only 3 mob in walking and in move i see all mobs move

and in radius 500+ mob is stuck only in my instance how to fix or make a update knowlist every 5 sec for custom instance ?

 

If knownlist was updated and visual bug disappear, then you got oldest L2J bug. I posted fix for walking NPCs in private section of aCis forum.

  • 0
Posted

check this is good ? if player target knownlist radius this sendpacket delay 10 sec treadpoolmanager

	private L2WalkingMonsterInstance target;
	private L2GameServerPacket mov;
	
	public void check()
	{
		for(L2Character o : target.getKnownList().getKnownCharactersInRadius(1000 * 10 * 80))
		{
			if(o instanceof L2WalkingMonsterInstance)
			{
				L2WalkingMonsterInstance mob = (L2WalkingMonsterInstance) o;
				
				
				if(mob.isMoving() || mob.isRunning())
				{
					o.sendPacket(mov);
				}
			}
		}
	}
  • 0
Posted

On your video, how much monsters are really shown ?

 

And no that method sucks, in all possible ways. Doing NPCs actions based on player knownlist is stupid. Moreover when you try to pick 800000 radius (do you even know what does it means, 800000 ? We speak of 1000 times the regular casting distance !), while knownlist is limited to maybe 3-4k, and 10-15k for doors.

 

Why do you need to send packets if mobs is moving ? There are existing methods to move a NPC, where packets are already setuped.

 

If you send anything instance based, either you limit it to the instance, or by zone (like boss cinematics).

  • 0
Posted

...

 

You hope to get help without sharing a piece of code ? How do you want anyone can solve your problem with a video ?

 

It's like if you would send your facebook picture to a doctor, and tell him "doctor, i'm sick, heal me". Really ?

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

    • It comes ready to compile:   CameraEffectInfo (this is a dummy file, do not use it on your client) LineageEffect LineageEffect2 LineageEffect3 LineageEffect_Br LineageSkillEffect   It can also compile NPC/monster scripts. (classes extending to lineagepawn, or referencing herdmonster, herdnpc) The client can be downloaded here: https://www.lineage2.org.uk/download/lineage-ii-essence-echo-of-elements-eu-557/   Make sure to add _557_Compiler to your client's root folder. It should look like this: CLIENT_LINEAGE2_RU_EU_557\_557_Compiler CLIENT_LINEAGE2_RU_EU_557\Animations CLIENT_LINEAGE2_RU_EU_557\L2text CLIENT_LINEAGE2_RU_EU_557\Maps CLIENT_LINEAGE2_RU_EU_557\music CLIENT_LINEAGE2_RU_EU_557\Sounds CLIENT_LINEAGE2_RU_EU_557\StaticMeshes CLIENT_LINEAGE2_RU_EU_557\SysTextures CLIENT_LINEAGE2_RU_EU_557\Textures CLIENT_LINEAGE2_RU_EU_557\Video CLIENT_LINEAGE2_RU_EU_557\Voice   To compile, just run: _557_Compiler\_Compiler\_Compile.bat You can also add your own packages to ut2003.ini if you wanna compile other scripts.   This was made/tested specifically for client 557, I haven't tested it on other clients, and i can't say i've fully tested this on 557 either, though i am confident it is at least 99.9% functional. Credits to lordofdest/kick for the ucc.exe / DLL work.   If you need help send me a message on Discord: 911reg Download i'll make compilers for older clients if enough people request them
    • i'm doing the same, but 'training with olympiad videos.
    • Hi, I’m interested in purchasing a C4 (Chronicle 4) server pack or source code, preferably something that has already been tested and run on a live server. I’m looking for a stable, well-tested project rather than a fresh/unproven build. If you have something available for sale, please send me some details, including the price and what is included.
  • 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..