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!

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

    • Where's the proof? I can tell you're a scammer.
    • Where was I called a scammer? Is there any proof, etc.? There are a lot of reviews about our store online, etc. https://zhyk.org/forum/showthread.php?t=1108673
    • U was reported as scammer in your previos topic why u create new topic?
    • 🔍 Inventory 1.0 is a next-generation inventory system that stands out with its special minimal clothing system. Carefully designed and prepared according to the highest standards of your server, it not only enhances your gaming experience but also contributes to your server's infrastructure. ⚙️ Supported: QB-CORE Features: ✅ Instant Delivery: All products you purchase will be instantly assigned to your account as soon as your payment is completed. ✅ Clothing System: With the special animated clothing configurations in your inventory, you will be able to change outfits with ease. Experience a unique roleplaying experience with high-quality animations and customizable clothing options. ✅ Minimalist Inventory System: This inventory system, with its visuals, animations, and mechanics, offers maximum efficiency without overwhelming your screen and limiting your roleplaying experience. It’s designed to be user-friendly while enhancing your roleplaying experience. ✅ Continuous Updates: The content in the inventory is regularly updated with innovative features added. New animations, additional clothing options, and cutting-edge features ensure a fresh and dynamic experience. ✅ Easy Setup and Compatibility: Compatible with QB-CORE, this system is easy to install and optimized for quick integration into your server. It works seamlessly with a simple drag-and-drop method. ✅ Performance Optimization: The system is optimized to avoid low FPS and performance drops. All features of the inventory run smoothly without affecting your server’s performance. ✅ Multilingual Support: With support for different languages, you can cater to an international player base and build a larger community on your server. ✅ Flexible Customization Options: You can fully customize the inventory according to your needs and server rules. Choose between different outfits and animations to create a unique gaming experience. ✅ Comprehensive Help and Support: With 24/7 support, you can quickly resolve any issues you encounter. Our technical support and user guides are always here to assist you. Shop Now! Take your game to the next level with Inventory 1.0  and enjoy its unique features. Get ready to make a real difference in your roleplaying experience!   --------------------------TEBEX: https://matza.tebex.io/package/7174862 --------------------------
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock