Jump to content

Recommended Posts

  • 2 weeks later...
  • 4 weeks later...
Posted

sorry if i bump the post guyz.

well i got a problem. i've made it for interlude. everything works fine.

i set the bounty to the player i want and then when i kill him , i get an npe error on the gs console

and also i get nothing for killing him. -.-' i've tried to fix it , but i made nothing!

any ideas?

Posted

in what file is located the error ?

I mean pcinstance l2world ? where ? couse I cant see the post :S


Ok I find it.

Lets see

If you add the lines bellow you should have no problem.

Here they are.

add after:

public class L2TownZone extends L2ZoneType
{

 

private String _townName;

 

find:

public void setParameter(String name, String value)
{

 

add after:

	if (name.equals("name"))
	{
		_townName = value;
	}

 

find:

@Override
public void onReviveInside(L2Character character)
{
}

 

add after:

/**
 * Returns this town zones name
 * @return
 */
@Deprecated
public String getName()
{
	return _townName;
}

 

 

Guest
This topic is now closed to further replies.



×
×
  • Create New...