Jump to content

Voting Reward(Hopzone,topzone)


Recommended Posts

its 3 stupid lines

if(!hopzoneUrl.endsWith(".html"))

hopzoneUrl+=".html";

 

and

 

con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");

 

and how to catch the votes is

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

i know what lines are i have tried it so many times but the hopzone wont work i don't know what is wrong

Link to comment
Share on other sites

  • 2 weeks later...

   <button value="Vote for us on HopZone" action="bypass -h vote-hopzone" width=180 height=20 back="YourTexture" fore="YourTexture"/>
       <img src=L2UI_CH3.herotower_deco width=256 height=32>
       <button value="Vote for us on Topzone" action="bypass -h vote-topzone" width=180 height=20 back="YourTexture" fore="YourTexture"/>

to something like:L2UI_CH3.herotower_deco

 

Link to comment
Share on other sites

Hello, i addapted it for frozen, all oke, build successful but when i click "vote for hopzone" or "vote for topzone" nothing happnes, no error in gameserver.. anyknow has a clue about this ? cause i dont.. 

Link to comment
Share on other sites

Maybe it will help someone to adapt it is vote reward system with command (.getreward)

is working 100% on H5 servers and its for L2Network.eu

 

https://github.com/L2TopNetwork/TopNetowrk

Edited by Vagrancy™
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

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