Jump to content

Recommended Posts

Posted

I would like to share with you an auto vote reward for L2Ranksite.com. It is for interlude, l2jfrozen. It can be easily adapted for another chronicle or another project.

 

First go to com/l2jfrozen/gameserver/handler/AutoVoteRewardHandler.java

 

If you don't have this file, create it and add this:

http://pastebin.com/cPEF2yk9

 

If you do have this file, just replace it or add the lines above to your own file.

 

Then, go to com/l2jfrozen/gameserver/powerpak/PowerPakConfig.java

 

Replace, the whole code with the following one.

 

http://pastebin.com/ykeWSC2p

 

 

or add

 

public static String VOTES_SITE_L2RANKSITE_URL;

 

after

 

public static String VOTES_SITE_HOPZONE_URL;

 

and add

 

VOTES_SITE_L2RANKSITE_URL = p.getProperty("VotesSiteL2RanksiteUrl", "");

 

after

 

VOTES_SITE_TOPZONE_URL = p.getProperty("VotesSiteTopZoneUrl", "");

 

Then, find powerpak.properties and replace it with the following code

 

http://pastebin.com/1NAEpDp5

 

or add this

 

VotesSiteL2RanksiteUrl=

 

after

 

VotesSiteTopZoneUrl=

 

Have fun.

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