Jump to content
  • 0

.ccp Options For L2Jserver


Question

Posted

Hello,

 

I am looking for disable/enable:

 

1. Block Shots Animation

2. Hide Stores (Hide all private stores )

3. On enter load shots (Auto Activate SoulShots on EnterWorld)

-------------------------------------------------

 

 

Is there any pack shared with these stuffs or someone can paste the codes please ?

 

 

Thank you !

10 answers to this question

Recommended Posts

  • 0
Posted

what is wrong on my request?

 

ppl are all pro to request here, few are those who are able to help them but they have no reason to do so

  • 0
Posted

ppl are all pro to request here, few are those who are able to help them but they have no reason to do so

 

Why you are all so greedy ? I saw some Servers based on L2jServer that have this options on control pannel .ccp

  • 0
Posted

1 & 3 is shared, just search. :P

 

About 2, I don't have a clue what you mean by that. Also, like xdem said, none will just share the code like that, nor search it for you.

  • 0
Posted (edited)

1 & 3 is shared, just search. :P

 

About 2, I don't have a clue what you mean by that. Also, like xdem said, none will just share the code like that, nor search it for you.

Lol, i don't think that's mutch of a code with 2. In fact, i could bet that it's related to PcKnownList.java class. I think imma make that...

 

 

I don't know if this works.. but try finding 'public void refreshInfos()' in PcKnownList.java and add a check for offline traders. I don't know how to check if the player is in offline trade, just try this:

public void refreshInfos()
	{
		for (L2Object object : _knownObjects.values())
		{
			if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).getOfflineStartTime()>0)
				continue;
			
			sendInfoFrom(object);
		}
	} 

oh i misread xD it's just stores :D

 

   

public void refreshInfos()
	{
		for (L2Object object : _knownObjects.values())
		{
			if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).isInStoreMode() || ((L2PcInstance) object).isInCraftMode())
				continue;
			
			sendInfoFrom(object);
		}
	}
Edited by povis111
  • 0
Guest Elfocrash
Posted

 

Lol, i don't think that's mutch of a code with 2. In fact, i could bet that it's related to PcKnownList.java class. I think imma make that...

 

 

I don't know if this works.. but try finding 'public void refreshInfos()' in PcKnownList.java and add a check for offline traders. I don't know how to check if the player is in offline trade, just try this:

        public void refreshInfos()
	{
		for (L2Object object : _knownObjects.values())
		{
			if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode())
				continue;
			
			if (object instanceof L2PcInstance && ((L2PcInstance) object).getOfflineStartTime()>0)
				continue;
			
			sendInfoFrom(object);
		}
	}

or 

        public void refreshInfos()
	{
		for (L2Object object : _knownObjects.values())
		{
			if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).getOfflineStartTime()>0)
				continue;
			
			sendInfoFrom(object);
		}
	}

Why are you looping around object and then specify their instance rather than looping around pcinstance and using just that?

  • 0
Posted

Why are you looping around object and then specify their instance rather than looping around pcinstance and using just that?

that's a default code in my pack.... i could have done that... but i just didn't :D

  • 0
Guest Elfocrash
Posted

i think it could work via sendInfo from L2PcInstance

 

if (isInCraftMode blabla bla

 

return;

Yeah by altering the visiblility status but that would be less fast in overall

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...