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 (edited)

do you want a ingame coffee maker man... ?

 

A blowjob perhaps?

Edited by xdem
  • 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

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


×
×
  • 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