Jump to content

cyta5

Members
  • Posts

    61
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About cyta5

Profile Information

  • Gender
    Not Telling
  • Country
    Anguilla

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cyta5's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. but does not want and one check ...if the votes is <=999 or >999 ? because the votes until the 999 its ok but when goes 1000 and over the website write it 1,000
  2. 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; }
  3. i use the link with my api and i got that messege Forbiden Please contact l2topzone.com administrator to get access
  4. what is the correct url? and i think is want some changes at the code :/
  5. 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; }
  6. i know black = transparent but look that :/
  7. what do you mean by using alpha channel ?
  8. maybe you can upload it somewhere else ?
  9. maybe someone can tell me if is possible to make icon with transparent background like a png ? if yes how i can do it ?
  10. ok thats work thanks!!! but i have problem and with the umodel when i tried to extract utx file does not do anything maybe you know why ? Current umodel version umodel -export -all blablabla.utx
  11. for some reason does not create the enc-blablabla.utx file :/ l2encdec -e 121 blablabla.utx
  12. Hello im looking for l2encdec.exe Program but all links are dead maybe someone can upload it ?
×
×
  • Create New...