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

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
Reply to this topic...

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