Jump to content

Autovote Reward System Top/hop/net


Reborn12

Recommended Posts

hello i have reworked l2jfrozen autovote system for l2jacis before some months and i think its time to share it..

If you Want to Install It In Your Server Please Make It Manual My Eclipse Is Crazy Sometimes And Maybe Patch Is Not The Best

You Can Set Each Site Delay and vote required to take reward

 

Link:

http://pastebin.com/vZGcHAbR

 

Have Fun..!!!

  • Upvote 2
Link to comment
Share on other sites

Its addapted to acis..working for all revisions maybe some addapt 1-2 lines needs but nothing more...

I dont have it for frozen

Link to comment
Share on other sites

hello i have reworked l2jfrozen autovote system for l2jacis before some months and i think its time to share it..

If you Want to Install It In Your Server Please Make It Manual My Eclipse Is Crazy Sometimes And Maybe Patch Is Not The Best

You Can Set Each Site Delay and vote required to take reward

 

Link:

http://pastebin.com/vZGcHAbR

 

Have Fun..!!!

were can i put this file??

Link to comment
Share on other sites

were can i put this file??

You should download Eclipse, and then you should start to learn how to use it. Watch me

Link to comment
Share on other sites

  • 4 weeks later...

Topzone not working!!!!!! and works again :) thanks reborn12

But replace this:

 

public static int getTopZoneVotes()

   {
       int votes = -1;
      
       try
       {
           final URL obj = new URL(Config.VOTES_SITE_TOPZONE_LINK_TOP);
final HttpURLConnection con = (HttpURLConnection) obj.openConnection();
 
con.addRequestProperty("User-Agent", "L2TopZone");
con.setConnectTimeout(5000);
 
final int responseCode = con.getResponseCode();
if (responseCode == 200)
{
try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())))
{
String inputLine;
while ((inputLine = in.readLine()) != null)
{
if (inputLine.contains("Votes:"))
{
votes = Integer.valueOf(inputLine.split("<br>")[1].replace("</div>", ""));
break;
}
}
}
}
}
       catch (Exception e)
       {
           System.out.println("Server TOPZONE is offline Trying to Reconnect");
           Announcement.VoteAnnouncements("TOPZONE is offline...Trying to Reconnect");
       }
       return votes;
   }
Edited by Mellion
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.



  • Posts

    • ¿Dónde puedo probar?  Where can I try?
    • be very careful... he likes to ask for money in advance in crypto... he doesn't seem like an honest person to me
    • chrome and ISP doesn't let me due to ssl errors in your website
    • Attention, attention, the heroes of Elmoraden are wanted! Get ready for new adventures, because our gates are open for you! We switch to the Interlude chronicles on Lionna x5 server, where exciting battles, exciting quests and incredible adventures await you! But that's not all! For beginners, we have a special offer – shadow equipment that will help you develop faster and more efficiently in the world of Elmoraden. With these powerful items, you can easily reach new heights! Join us on May 17th and become a part of the great saga! An unforgettable adventure awaits you on the Lionna X5 server with the Interlude chronicles. Don't miss your chance to become a real hero!     More info: - Characters created from 17.05 09:00 server time, when created will receive gifts in the form of chests with coupons for temporary weapons \ armor No Grade - A grade; - Characters created from 15.05 00:00 server time to 17.05 09:00 will receive gifts in the form of chests with coupons for temporary weapons \ armor No Grade - A grade; - Gifts are divided by grades (No Grade - A Grade) and gifts can be opened at levels corresponding to the grade of the gift. (A gift of D Grade can be opened at the 20th level, B Grade at 52, etc.), but the character's level when opening the gift should not exceed the 75th; - The duration of the equipment \ weapon is 10 hours; - Chaotic characters (characters whose PK counter is higher than 0) cannot use shadow equipment; - On 17.05 at 09:00 server time (10:00 Moscow time), you can meet Looney the Cat in the cities, who will exchange coupons for temporary weapons and equipment; Coupon amount in the gift chests: No Grade: 1 D Grade: 2 C Grade: 2 B Grade: 1 A Grade: 1   On 17.06 at 00:00 server time, the cats will disappear, and with them the chests and coupons. Items received for coupons are not deleted.
  • Topics

×
×
  • Create New...