ČυяŞŀŅğ Posted March 15, 2013 Posted March 15, 2013 code has stoped working , cant find the vote count . maybe hopzone change ?
Luigiiiik Posted March 17, 2013 Posted March 17, 2013 Do we have the fix? ofc ... only little change in hopzone file.
mirsadse Posted March 20, 2013 Posted March 20, 2013 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;
maximilion2 Posted March 21, 2013 Posted March 21, 2013 good share bro thanx :D i was searching for a good vote system :)
Aphopis Posted March 26, 2013 Posted March 26, 2013 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
Porthos Posted March 27, 2013 Posted March 27, 2013 you should mention on your title that this is for interlude.
GLO Posted March 31, 2013 Posted March 31, 2013 Does anyone have problems with Hopzone? I don't get rewards.
IKnowWtf Posted April 2, 2013 Posted April 2, 2013 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.
Boorinio Posted April 5, 2013 Posted April 5, 2013 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
IKnowWtf Posted April 6, 2013 Posted April 6, 2013 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.
Boorinio Posted April 6, 2013 Posted April 6, 2013 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..
Recommended Posts