xenewor Posted May 5, 2011 Posted May 5, 2011 I was searching a vote reward for hopzone, nice job!! Quote
Legend™ Posted May 6, 2011 Posted May 6, 2011 tried it at game server votes are shown,but in game there should also be an announcement, there is nothing edit// worked Quote
ragerunner Posted May 8, 2011 Posted May 8, 2011 Great share but i got a newbie question. Where do i input this code? :) Quote
slayerofdark Posted May 17, 2011 Posted May 17, 2011 I Have those errors how i can fix it !? [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:44: ')' expected [javac] System.out.println("Server Votes: " votes); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:44: illegal start of expression [javac] System.out.println("Server Votes: " votes); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:45: ')' expected [javac] if (votes != 0 && getLastVoteCount() != 0 && votes >= getLastVoteCount() votesRequiredForReward) [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:45: not a statement [javac] if (votes != 0 && getLastVoteCount() != 0 && votes >= getLastVoteCount() votesRequiredForReward) [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:45: ';' expected [javac] if (votes != 0 && getLastVoteCount() != 0 && votes >= getLastVoteCount() votesRequiredForReward) [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:53: not a statement [javac] onlinePlayers; [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:62: not a statement [javac] for (int i = 0; i < itemId.length; i) [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:78: ')' expected [javac] setLastVoteCount(getLastVoteCount() votesRequiredForReward); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:78: illegal start of expression [javac] setLastVoteCount(getLastVoteCount() votesRequiredForReward); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:80: ')' expected [javac] Announcements.getInstance().announceToAll("Server Votes: " votes " | Next Reward on " (getLastVoteCount() votesRequiredForReward) " Votes."); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:80: not a statement [javac] Announcements.getInstance().announceToAll("Server Votes: " votes " | Next Reward on " (getLastVoteCount() votesRequiredForReward) " Votes."); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:80: ';' expected [javac] Announcements.getInstance().announceToAll("Server Votes: " votes " | Next Reward on " (getLastVoteCount() votesRequiredForReward) " Votes."); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:80: ';' expected [javac] Announcements.getInstance().announceToAll("Server Votes: " votes " | Next Reward on " (getLastVoteCount() votesRequiredForReward) " Votes."); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:80: not a statement [javac] Announcements.getInstance().announceToAll("Server Votes: " votes " | Next Reward on " (getLastVoteCount() votesRequiredForReward) " Votes."); [javac] ^ [javac] C:\workspace\Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java:80: ';' expected [javac] Announcements.getInstance().announceToAll("Server Votes: " votes " | Next Reward on " (getLastVoteCount() votesRequiredForReward) " Votes."); [javac] ^ [javac] 15 errors Quote
allanalcantara Posted May 19, 2011 Posted May 19, 2011 nice share . more there adaptation interlude? Quote
bloodhister Posted May 26, 2011 Posted May 26, 2011 Maybe iam stupid, but where i can find vote npc or vote command? Quote
AdrenalinE Posted June 29, 2011 Posted June 29, 2011 I Have those errors how i can fix it !? me too , 10 days ago was ok but now when i try to install again i have these error Quote
vampir Posted June 29, 2011 Posted June 29, 2011 me too , 10 days ago was ok but now when i try to install again i have these error u are moron, seriously!!!!!!!!!!!!!!!!!!!!!!!!!!! As i can see while adding code u used something like Replace all "+" to "" and now u dont have + anywhere Just use your brain, i know it may be hard for you but seriously... If your brain is still stucked and u dont know what to do, let me give u a solution, look at the first page, at first post, at the code and check where there are + and u dont have them inside your code. I hope u will never make your own server.. Quote
AdrenalinE Posted June 29, 2011 Posted June 29, 2011 u are moron, seriously!!!!!!!!!!!!!!!!!!!!!!!!!!! As i can see while adding code u used something like Replace all "+" to "" and now u dont have + anywhere Just use your brain, i know it may be hard for you but seriously... If your brain is still stucked and u dont know what to do, let me give u a solution, look at the first page, at first post, at the code and check where there are + and u dont have them inside your code. I hope u will never make your own server.. Wow sorry Einstain , but now works and not thx for you :) anyway thanks mr.brain ;) Quote
vampir Posted June 29, 2011 Posted June 29, 2011 Wow sorry Einstain , but now works and not thx for you :) anyway thanks mr.brain ;) np, always willing to help :) Quote
kodl2.com Posted July 1, 2011 Posted July 1, 2011 good patch, but votes not saved if server restart :D Quote
v1hack Posted July 5, 2011 Posted July 5, 2011 not so good need more checks if you cant connect to url you get plenty of errors Quote
Recommended Posts
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.