Jump to content

Recommended Posts

Posted

kala re file mas douleuete?mia eine fail epic la8os sto full tou ex3tr3m ke mia eine full la8i sto import? ;S emena pantos dn m perni ta import kan !

re a8ou den nio8is apo java ti 8es na sto dosoun gia to diko sou pack?? akou eki einai la9os ta import toso diskolo na ta ala3is ee??
  • 1 month later...
Posted

Mou vgazei auto to error :

erroroi.png

 

Uploaded with ImageShack.us

 

Edit:to dior8wsa alla vgazei ena paromoio twra :/ anti gia GeneralISTPool-11 grafei GeneralISTPool-3 ...

An mporei kapoios as voh8isei Thanks!

DIkse mas Photo apo to neo problem..!

 

Epishs prosexe na eisai sindedemenos sto internet ...aliws epeidh dn mporei na sinde8ei logiko einai na s petaei error sto GS console...!

Posted

Mou vgazei auto to error :

erroroi.png

 

Uploaded with ImageShack.us

 

Edit:to dior8wsa alla vgazei ena paromoio twra :/ anti gia GeneralISTPool-11 grafei GeneralISTPool-3 ...

An mporei kapoios as voh8isei Thanks!

 

Κάνε

import java.net.URLConnection;

 

Βάλε ως σχόλιο την γραμμή :

isr = new InputStreamReader(url.openStream());

 

Δηλαδή κάπως έτσι : 

//isr = new InputStreamReader(url.openStream());

 

Πρόσθεσε αυτό: 

URLConnection con = (URLConnection) url.openConnection();
con.addRequestProperty("User-Agent", "Mozilla/4.76"); 
isr = new InputStreamReader(con.getInputStream());

 

Θα πρέπει να είναι κάπως έτσι το τελικό αποτέλεσμα :

	try
	{
		URL url = new URL(urlString);
		+URLConnection con = (URLConnection) url.openConnection();
		+con.addRequestProperty("User-Agent", "Mozilla/4.76"); 
		+isr = new InputStreamReader(con.getInputStream());
                        //isr = new InputStreamReader(url.openStream());
		in = new BufferedReader(isr);
		String inputLine;
		int voteCount = 0;

 

 

Ελπίζω να σε κάλυψα! :)

 

 

Edit: Ευχαριστώ τον panos9999 για την βοήθεια! :D

  • 2 weeks later...
Posted

Mou vgazei auto to error :

erroroi.png

 

Uploaded with ImageShack.us

 

Edit:to dior8wsa alla vgazei ena paromoio twra :/ anti gia GeneralISTPool-11 grafei GeneralISTPool-3 ...

An mporei kapoios as voh8isei Thanks!

 

i got the same error but i dont understan GR D:

 

can someone xplain this to me in english?

  • 2 weeks later...
  • 3 weeks later...
  • 2 months later...
  • 1 month later...
Posted

+	private int getVotes(String urlString)
+	{
+		InputStreamReader isr = null;
+		BufferedReader in = null;
+		try
+		{
+			URL url = new URL(urlString);
+                      isr = new InputStreamReader(url.openStream());
+			in = new BufferedReader(isr);
+			String inputLine;
+			int voteCount = 0;
+			while ((inputLine = in.readLine()) != null)
+			{
+				if (inputLine.contains("moreinfo_total_rank_text"))
+				{
+					int Sub = 12;
+					switch (inputLine.length())
+					{
+						case 116:
+							Sub = 13; 
+							break;
+						case 117:
+							Sub = 14; 
+							break;
+						case 118:
+							Sub = 15;
+							break;
+						case 119:
+							Sub = 16; 
+							break;
+					}
+					voteCount = Integer.parseInt(inputLine.substring(inputLine.length() - Sub, inputLine.length() - 11));
+					break;
+				}
+			}
+			return voteCount;
+		}
+		catch (IOException e)
+		{
+			e.printStackTrace();
+			return 0;
+		}
+		finally
+		{
+			try
+			{
+				in.close();
+			}
+			catch (IOException e)
+			{
+				
+			}
+			try
+			{
+				isr.close();
+			}
+			catch (IOException e)
+			{
+				
+			}
+		}
+	}

 

:/ So much drama to get a server's vote count...

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



  • Posts

    • L2GOLD LEGACY x45 THE ORIGINAL GOLD-STYLE EXPERIENCE Official L2OFF PTS • Chronicle C4 / Interlude • Long-Term Server GRAND OPENING 28 AUGUST 2026 WEBSITE SERVER INFO DOWNLOAD DISCORD OLD GOLD ORIGINAL THE LEGEND RETURNS L2Gold Legacy brings back the authentic Gold-style x45 experience on official L2OFF PTS files with custom systems, balanced progression, competitive PvP and a carefully protected long-term economy. NO WIPES — KEEP YOUR PROGRESS FOREVER SERVER INFORMATION SERVER CHARACTERISTICS EXP / SP x45 ADENA x1 DROP x1 SPOIL x1 RAID BOSS DROP x1 PLATFORM L2OFF PTS Custom Drop & Spoil rates can be checked directly in-game with SHIFT + CLICK on NPCs. GAMEPLAY MAIN FEATURES GAMEPLAY • Auto-learn Skills • Automatic Monster Loot • Shift + Click Droplist • Unlimited Offline Shop • 80 Inventory Slots • Weight Limit Disabled • Maximum 3 Clients per PC • Manual Raid / Epic Loot • Official L2OFF PTS Files PLAYER FRIENDLY • NPC Buffer • 27 Buff Slots • 2 Hour Buff Duration • Mana Potion restores 500 MP • No Mana Potion Cooldown • FREE 1st Profession • FREE 2nd Profession • 3rd Profession: 500,000 Adena • Solo & Party Friendly CLANS • Maximum 45 Clan Members • Maximum 2 Clans per Alliance • Clan Penalty: 1 Hour • Clan Skills for All Members • Castle Sieges • 9 Available Clan Halls PROGRESSION • Rebirth System • Noblesse Progression • Custom Tattoos • Daily Missions • Mining System • Custom Gold Equipment • S-Grade Weapons • Long-Term Economy RAID CONTENT RAID BOSSES & EPIC BOSSES Progressive boss loot, PvP-oriented encounters and controlled progression designed to protect the economy. BAIUM ANTHARAS VALAKAS EPIC BOSS SCHEDULE SERVER TIME — GMT+3 DAY BOSS TIME Monday Core 20:00 Monday Orfen 22:30 Tuesday Zaken 22:30 Wednesday Queen Ant 22:30 Thursday Antharas 22:30 Friday Baium 22:30 Saturday Valakas 22:30 Sunday Frintezza 22:30 CUSTOM EQUIPMENT S-GRADE & L2GOLD GEAR Custom weapons, shields and jewelry are an important part of L2Gold's long-term progression. Draconic Bow Guidance / Focus Angel Slayer Critical Damage / Haste Arcana Mace Acumen / Mana Up Heaven's Divider Haste / Health / Focus S-GRADE WEAPON PRICE 300 Fire Mantras + 1,000,000 Adena Available from Wilbrand, Mantra Manager at Giran Harbor. COMPETITIVE PVP OLYMPIAD CYCLE 7 DAYS WEAPON ENCHANT MAX +21 ARMOR ENCHANT MAX +8 Wednesday 21:00–22:00   •   Friday 21:00–22:00   •   Sunday 21:00–22:00 S-GRADE EQUIPMENT IS FORBIDDEN DAILY & WEEKEND CONTENT EVENTS CAPTURE THE FLAG 50 vs 50 competitive CTF battles. HIGH RATE EVENT Weekend farming and progression event. MINING EVENT Collect Minerals and earn special rewards. Death Match • Bandit Stronghold • TvT • Gold Arena 1v1–9v9 Korean Event • CTF • High Rate • Mining • Piggy • Squash • Discord Events TRANSPARENCY REAL-TIME SERVER STATISTICS Players can verify clans, characters, bosses, items, Olympiad, castles, Gold Weapons and the server economy. NO HIDDEN DROPS • NO SHADOW EDITS • FULL TRANSPARENCY L2GOLD LEGACY x45 • L2OFF PTS • NO WIPES 28 AUGUST 2026 The Original Gold-Style Experience Returns.   PLAY L2GOLD JOIN DISCORD   Website: https://l2gold.co Server Info: https://l2gold.co/server-info.php Discord: discord.com/invite/CBSqxqkhy2
    • Hello my wanna be designer....I see that u are still the same dumb kid u were before some years,takeing some brushes adding soem letters and call it design..Sad that u body might have grown up but ur wanna be brain is still the same shit.... No hard feelings,happens.   Cheers
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..