Jump to content

Recommended Posts

  • 2 weeks later...
Posted

I was thinking of adapting this code and adding a Config for the URL of the server and also the rewards ... so it won't be hardcoded... any more suggestions what should be put in configs?

Posted

I was thinking of adapting this code and adding a Config for the URL of the server and also the rewards ... so it won't be hardcoded... any more suggestions what should be put in configs?

 

that would be great

  • 2 months later...
Posted

[GR] private final String HOPZONE = "http://l2.hopzone.net/lineage2/moreinfo/L2Worldx20x1000PvP/74078.html";

+ // 60 * 1000(1000milliseconds = 1 second) = 60seconds

+ private final int initialCheck = 60 * 1000;

+ // 1800 * 1000(1000milliseconds = 1 second) = 1800seconds = 30minutes

+ private final int delayForCheck = 600 * 1000;

+ private final int[] itemId = {3500, 5000, 6500 };

+ private final int[] itemCount = { 1, 5, 4};

+ private final int[] maxStack = { 1, 1, 1 };

+ private final int votesRequiredForReward = 1;

 

alazoume tpt apo edw? gt t diko m t vote reward dn ein etsi :S

  • 2 months later...
Posted

i need some help... :|

 

i created in L2J_Server\java\com\l2jserver\gameserver\instancemanager AutoVoteRewardHandler.java

and ... where add AutoVoteRewardHandler.java ?! how to add this java in my server...?;\ one tutorial please :-<

 

  • 2 weeks later...
  • 2 weeks later...
Posted

seems does not work I get the error page offiline gs freya

this is an old code ! They had change the site style so this will not work anymore ... try to change the "getVotes()" with another one from another code and it will work ....

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