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

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