Jump to content

Recommended Posts

Posted

Thank you, but I'm not developer :)

Tested here Anonymo mod, but it does not work correctly, see the print, the player entering ve your name as anonymous, but sees the other players with their real names ...

erro_e10.jpg

Posted

 

 

 

UserInfo.java

-               writeS(_activeChar.getAppearance().getVisibleName());
+               writeS(_activeChar.isInsideZone(ZoneId.ANONYMOUS) ? "Anonymous" : _activeChar.getAppearance().getVisibleName());

-               writeS(title);
+               writeS(_activeChar.isInsideZone(ZoneId.ANONYMOUS) ? "Anonymous" : title);

 

 

 

 

instead UserInfo.java put that code to Charinfo.java

Posted

can fix this ? this is for Vote Manager -  HopZone ... does works

 

	protected static int getHopZoneVotes()
	{
		int votes = -1;
		String Hopzonelink = Config.VOTE_LINK_HOPZONE;
		InputStreamReader isr = null;
		BufferedReader br = null;
		
		try
		{
			URLConnection con = new URL(Hopzonelink).openConnection();
			con.addRequestProperty("User-Agent", "Mozilla/4.76");
			isr = new InputStreamReader(con.getInputStream());
			br = new BufferedReader(isr);
			
			String line;
			while ((line = br.readLine()) != null)
			{
				if (line.contains("rank anonymous tooltip"))
				{
					votes = Integer.valueOf(line.split(">")[2].replace("</span", ""));
					break;
				}
			}
			
			br.close();
			isr.close();
		}
		catch (Exception e)
		{
			System.out.println("[VoteRewardManager]: Problem occured while getting Hopzone votes. Error Trace: " + e.getMessage());
		}
		return votes;
	}
Posted

alextoti13

also if u can to make a code that lets players to trd augmentable items.

 

 

 

L2ItemInstance.java

/**
* Returns if item is tradeable
* @return boolean
*/
public boolean isTradeable()
{
- return isAugmented() ? false : _item.isTradeable();
+ return _item.isTradeable();
}

* You can it make it also with configs, if you want, I can help, just say.

 

 

 

 

Hello.

 

I would love to get a help for install this mode but configurable in the l2jmods. If possible, tell me pls.

Posted

It would be nice if u could make the char when entering to be shown only by the others with other sex or other race for more protection.

I would like to add 

-- If you can make for players auto leave party, and the party request can't be sent and accepted, The players will continue anonyms ;D

Posted

Hello.

 

I would love to get a help for install this mode but configurable in the l2jmods. If possible, tell me pls.

if (Config.TRADEABLE_AUGMENTATION)
{
    return _item.isTradeable();
}
return isAugmented() ? false : _item.isTradeable();
Posted

 

can fix this ? this is for Vote Manager -  HopZone ... does works

 

 

	protected static int getHopZoneVotes()
	{
		int votes = -1;
		String Hopzonelink = Config.VOTE_LINK_HOPZONE;
		InputStreamReader isr = null;
		BufferedReader br = null;
		
		try
		{
			URLConnection con = new URL(Hopzonelink).openConnection();
			con.addRequestProperty("User-Agent", "Mozilla/4.76");
			isr = new InputStreamReader(con.getInputStream());
			br = new BufferedReader(isr);
			
			String line;
			while ((line = br.readLine()) != null)
			{
				if (line.contains("rank anonymous tooltip"))
				{
					votes = Integer.valueOf(line.split(">")[2].replace("</span", ""));
					break;
				}
			}
			
			br.close();
			isr.close();
		}
		catch (Exception e)
		{
			System.out.println("[VoteRewardManager]: Problem occured while getting Hopzone votes. Error Trace: " + e.getMessage());
		}
		return votes;
	}

https://www.assembla.com/code/l2hellas/subversion/commit/504see full void getvotes copy it. and its works 100% :)

Posted (edited)

1)Hopzone vote reward with php(php gets the votes, gameserver points on php.

2)AION pvp system(delay)

 

Thank you :D

 

Edit: some info about the first one. Use as user agent googlebot

Edited by kostantinosftw

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