Jump to content

Question

Posted

Hello some times when i have gameserver open i get this error nothing happens on the gameplay  server runs smooth but i want to see if anyone knows how to fix it..i tried but nothing still the same

 

http://prntscr.com/h5olk8 here is the error

7 answers to this question

Recommended Posts

  • 0
Posted

Open your sources, and write every line of code associated to each file setted on ( ).

If it's aCis, and since L2World has been refactored since a while, I can't help you until you provide those infos.

  • 0
Posted (edited)
	if (oldRegion != null)
	{
		// Remove the object from the L2ObjectHashSet(L2Object) _visibleObjects of L2WorldRegion
		// If object is a L2PcInstance, remove it from the L2ObjectHashSet(L2PcInstance) _allPlayers of this L2WorldRegion
		oldRegion.removeVisibleObject(object);
		
		// Go through all surrounding L2WorldRegion L2Characters
		for (L2WorldRegion reg : oldRegion.getSurroundingRegions())
		{
			//synchronized (KnownListUpdateTaskManager.getInstance().getSync())
			{
				Collection<L2Object> vObj = reg.getVisibleObjects().values();
				//synchronized (reg.getVisibleObjects())
				{
					for (L2Object obj : vObj)
					{
		485 line--->>>		if (obj.getKnownList() != null)
	                        obj.getKnownList().removeKnownObject(object);
						/*							if (object.getKnownList() != null)
								object.getKnownList().removeKnownObject(obj);*/
					}
				}
			}
		}

 

Edited by ThelwHelpRePaidia
  • 0
Posted (edited)

I can't help you on this one, and I already refactored knownlist on my pack, so that's not to refactor it on another pack (since that getSync() isn't part of L2J IL at least from my memories).

If you want a working knownlist system, use the one I reworked since rev 362.

About your issue, you can add a null check obj != null, but if it fails here it will fail on other places too.

Edited by Tryskell

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...