- L2Network
-
L2Network
Hello guys i have one problem with the vote manager at l2network, when the votes are until 999 the vote manager work but when goes 1000 and up i got error because the website write the votes 1,000 with a comma. maybe someone can help me to work this ? ERROR RequestByPassToServer.runImpl : invalid number format java.lang.NumberFormatException: For input string: "19,474" the code is this public static int getL2NetworkVotes() { int votes = 0; boolean lineFound = false; try { URL url = new URL(Config.VOTES_SITE_L2NETWORK_URL); InputStream is = url.openStream(); try ( BufferedReader br = new BufferedReader(new InputStreamReader(is))) { String line; while ((line = br.readLine()) != null) { if (line.contains("color:#e7ebf2")) votes = Integer.parseInt(line.split(">")[2].split("<")[0]); lineFound = true; } } } catch (IOException e) { e.printStackTrace(); System.out.println("NetWork is offline. We will check reward as it will be online again."); } if (!lineFound) System.out.println("The line wasn't found in Network, check site in case they updated."); return votes; }
- Vote Manager
- Vote Manager
-
Vote Manager
Hello guys i have one vote manager for l2jfrozen and stopped to give reward for topzone maybe someone can tell me what happen and how i can fix it ? Topzone Url = https://l2topzone.com/totalvotes.php?id=6150 public static int getTopZoneVotes() { int votes = 0; boolean lineFound = false; try { URL url = new URL(Config.VOTES_SITE_TOPZONE_URL); InputStream is = url.openStream(); try ( BufferedReader br = new BufferedReader(new InputStreamReader(is))) { String line; while ((line = br.readLine()) != null) { if (line.contains("Votes:<br>")) { votes = Integer.parseInt(line.split("<br>")[1].split("<")[0]); lineFound = true; } } } } catch (IOException e) { System.out.println("TOPZONE is offline. We will check reward as it will be online again."); e.printStackTrace(); } if (!lineFound) System.out.println("The line wasn't found in TopZone, check site in case they updated."); return votes; }
-
UTX transparent Icon
i know black = transparent but look that :/
-
UTX transparent Icon
what do you mean by using alpha channel ?
- l2encdec.exe Program
-
UTX transparent Icon
maybe someone can tell me if is possible to make icon with transparent background like a png ? if yes how i can do it ?
- l2encdec.exe Program
- l2encdec.exe Program
- l2encdec.exe Program
-
RequestSellItem.java
i think you can change it from database...
- NPC Chat Border
- NPC Chat Border