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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...