Jump to content

Recommended Posts

Posted

Hello here is the fix of NEW hopzone changes!

 

Index: /trunk/***/java/com/***/gameserver/handler/AutoVoteRewardHandler.java
===================================================================
--- /trunk/***/java/com/***/gameserver/handler/AutoVoteRewardHandler.java
+++ /trunk/***/java/com/***/gameserver/handler/AutoVoteRewardHandler.java	
@@ -235,7 +235,7 @@
			while ((inputLine = in.readLine()) != null)
			{
-				if (inputLine.contains("moreinfo_total_rank_text"))
+				if (inputLine.contains("rank anonymous tooltip"))
				{
-					votes = Integer.valueOf(inputLine.split(">")[2].replace("</div", ""));
+					votes = Integer.valueOf(inputLine.split(">")[2].replace("</span", ""));
					break;
				}

 

Tested...

  • 1 year later...
Posted

First of all as far as i know none hopzone reward systems had that

votes = Integer.valueOf(inputLine.split(">")[2].replace("</div", ""));

they all had that

votes = Integer.valueOf(inputLine.split(">")[2].replace("</span", ""));

 

What i did to fix was this :

if (inputLine.contains("no steal make love")||inputLine.contains("no votes here")||inputLine.contains("bang, you don't have votes")||inputLine.contains("la vita e bella"))

and bam! it is working!

Posted

Too bad you can not see the code ... I asked 200 Post  :okey:

first of all you idiot you can se emine -.-

 

second of all post maker please dude lower the count for one line of code which i don't know if it even works

Posted

first of all you idiot you can se emine -.-

 

second of all post maker please dude lower the count for one line of code which i don't know if it even works

 

December 28, 2011,

 

Of course and its not working!

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


×
×
  • 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..