» Find Revision
L2J Revision Number: Latest

L2JDP Revision Number:
Hi.
Finally, I've rewritten somehow my soft and sucesfully updated base to current L2JServer. And now have pretty serious problem. At the beginnning I though maybe some of my customs are the cause, but after checking on completely clean l2jserver - same thing. I'm talking about problems with object refreshing in instanced places (in "normal" world everything seems to work ok). What I mean exacly, is that mobs, players, pets, everything (including skill animations etc) is refreshed like once per 20 seconds. One time you see everything near you, 20 seconds later scene changes (everything refreshed at the same time, so for example party members suddenly appear somewhere far away, mobs suddenly dissapear (were killed when I saw only still picture). That happends to everyone. And pets in instance are most unuseable: they start running towards mob, and keep teleporting back to character and its like that forever. But when you rotate camera (so pet is not in your visibility range), pet "unstucks" and starts behave normally.
I've checked it on testserver (my home pc), but though it may be caused by running client and server on the same machine (never happened before thou, and I test everything this way for years) so I've checked it on dedicated machine far far away. Same thing :/
Anyone could help me with a solution? I was thinking about adding much more methods to send refresh packet to clients. But which one exacly is responsible for broadcasting to nearby pc's its own location/state? Is it ValidateLocation()? Also have seen some features in a l2abstractai.java or l2attackableai.java - don't remember which one exacly. I'm talking about movetolocation and movetopawn methods. Didn't had time to get deeper into matter now, but from what I've seen shortly, code put there has to skip broadcasting packets if they're too often. Maybe thats the problem?