numl0ckas Posted January 25, 2015 Author Posted January 25, 2015 Thank you very much :D You are a great developer :) Thank you, but I'm not developer :)
Nosti21 Posted January 25, 2015 Posted January 25, 2015 can you make a code that from pvp to take a item?? via config the change item..
kaiserxd Posted January 26, 2015 Posted January 26, 2015 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 ...
dymek1984 Posted January 26, 2015 Posted January 26, 2015 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
alextoti13 Posted January 26, 2015 Posted January 26, 2015 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.
petr.plasan Posted January 26, 2015 Posted January 26, 2015 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; }
HyperBlown Posted January 26, 2015 Posted January 26, 2015 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.
HyperBlown Posted January 26, 2015 Posted January 26, 2015 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
Tessa Posted January 26, 2015 Posted January 26, 2015 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();
AbsolutePower Posted January 26, 2015 Posted January 26, 2015 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% :)
kaiserxd Posted January 31, 2015 Posted January 31, 2015 (edited) My Area Anonymous Auto Flag :D Edited January 31, 2015 by kaiserxd
kostantinosftw Posted February 2, 2015 Posted February 2, 2015 (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 February 2, 2015 by kostantinosftw
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now