Jump to content

Recommended Posts

Posted

First of all Thanks for great share An4rchy  ;)

 

Can u tell what exactly needs to be changed??

 

On the line 305 you will see this

 

if (line.contains("Anonymous User Votes"))

 

Replace it with:

if (line.contains("rank anonymous tooltip"))

 

this code doesn't work for me. If i past it into gameserver.java

 

if (Config.ALLOW_HOPZONE_VOTE_REWARD)

{

VoteRewardHopzone.getInstance();

}

if (Config.ALLOW_TOPZONE_VOTE_REWARD)

{

VoteRewardTopzone.getInstance();

}

 

Lion code work fine you just need to include imports in your GameServer.java

 

import PATH TO YOUR FILE .VoteRewardHopzone;

import PATH TO YOUR FILE .VoteRewardTopzone;

 

example:

 

import com.l2jfrozen.gameserver.model.entity.VoteRewardHopzone;
import com.l2jfrozen.gameserver.model.entity.VoteRewardTopzone;

Posted

is not working hopzone changed a lot of things... every second the string change

 

<li><span class="rank anonymous tooltip" title="la vita e bella">222</span></li>

<li><span class="rank anonymous tooltip" title="no steal make love">222</span></li>

<li><span class="rank anonymous tooltip" title="no votes here">222</span></li>

 

can anyone fix this ? thx

Posted

First of all Thanks for great share An4rchy  ;)

 

On the line 305 you will see this

 

if (line.contains("Anonymous User Votes"))

 

Replace it with:

if (line.contains("rank anonymous tooltip"))

 

This is the solution. If it still won't work it means that you've got to browse the source of the your server's hopzone page and check the latest difference of the counting show-off script.

 

So far the change of the guy posted the above fix is actual.

Posted

guys just make this

if (line.contains("Anonymous User Votes"))

to 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"))

se mia koutalia nero pnigeste

Posted

guys just make this

if (line.contains("Anonymous User Votes"))

to 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"))

se mia koutalia nero pnigeste

 

What's that long code needed for, check above.

Posted

What's that long code needed for, check above.

i don't know if the other thingy works i didn't try it but mine works and it is long cause hopzone started putting random words before the votes these are the 4 options..

Guest
This topic is now closed to further replies.

×
×
  • Create New...