Jump to content
  • 0

[Help] Why this don't work?


Question

Posted

Why config AllowWater= False don't work if he is false player in water all time swim will be killed. But now he can all time swim. how fix this?  :o

 

Sorry for my English write.  :-\

13 answers to this question

Recommended Posts

  • 0
Posted

Why config AllowWater= False don't work if he is false player in water all time swim will be killed. But now he can all time swim. how fix this?  :o

 

Sorry for my English write.  :-\

 

Open L2PcInstance in : java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java

in :

 

if you use L2JServer interlude

 

its in Line : 9179, in L2PCInstance

 

	if (Config.ALLOW_WATER)
           checkWaterState();

 

just delete if (Config.ALLOW_Water) and it wont check for config

  • 0
Posted

Open L2PcInstance in : java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java

in :

 

if you use L2JServer interlude

 

its in Line : 9179, in L2PCInstance

 

	if (Config.ALLOW_WATER)
           checkWaterState();

 

just delete if (Config.ALLOW_Water) and it wont check for config

 

 

Ops i try :)

  • 0
Posted

Don't work but this config is and enterworld.java

if you removed the config water should work as  its suposed to do. and it has nothing to do whit enterworld.java...

  • 0
Posted

if you removed the config water should work as  its suposed to do. and it has nothing to do whit enterworld.java...

 

 

			setProtection(true);

	if (Config.ALLOW_WATER)
	{
		checkWaterState();
	}

	// Modify the position of the tamed beast if necessary (normal pets are

 

Change to:

 

 

 

			setProtection(true);

	{
		checkWaterState();
	}

	// Modify the position of the tamed beast if necessary (normal pets are

 

 

 

Yes?

 

  • 0
Posted

setProtection(true);

 

{

checkWaterState();

}

 

// Modify the position of the tamed beast if necessary (normal pets are

 

useless this parenthesis

  • 0
Posted

And why i don't see tell me?

cuz you should rely on others too much go do it yourself!, i am myself new to java but i always try to fix it myself even if it takes me 1 day to do and another dev can do it in 1 hour. the next time i can do it myself

  • 0
Posted

cuz you should rely on others too much go do it yourself!, i am myself new to java but i always try to fix it myself even if it takes me 1 day to do and another dev can do it in 1 hour. the next time i can do it myself

this is my guy >.>

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

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