Jump to content
  • 0

[Help me ;) ] Vote Reward System


Question

Posted

Hello, i have little problem wich appear... i tested my vote reward system and i put random link... and nothing happend ;) my vote's are still 0... and stay 0 no metter what changes...

My Vote Reward system is "Vote Reward System by GoldenBoy"

And here are confi....

#============================================
#       Vote Reward System by GoldenBoy     =
#============================================
#Set it "True" if you want to Enable Vote Reward System.
EnableVoteReward = True

#If you enable Vote Reward System you must fill your Html Patch.
#e.g. VoteHtmlPatch = http://l2.hopzone.net/lineage2/moreinfo/yourserver/65487.htm
# Html Patch for Your Vote Site
# Works with HopZone/HopZones/TopZone and other HopZone Like
ServerNameForVotes = L2Obsessive

#
VoteHtmlPatch = http://l2topzone.com/lineage2/server-info/7463/Sonic.html

#
VoteReward1Count = 10

#
VoteReward2Count = 100000

#
VoteReward1Id = 9627

#
VoteReward2Id = 57

#
VotesForReward = 5

What can be the problem?

error.jpg

 

6 answers to this question

Recommended Posts

  • 0
Posted

It's supposed to work . I'm not sure where is the problem . Try with a hopzone link .

 

Vote Reward System by GoldenBoy

oh, sorry about that.

 

Problems that can exist:

AutoVoteRewardHandler.getInstance(); - u didnt add this line.

Config.VOTE_REWARD_ENABLE - this is false

If u did it right, then ========= "+Config.SERVER_NAME_FOR_VOTES+" =========

should appear.

  • 0
Posted

Well, all works fine just... dont count vote's... infact i will try now all you say but i dont think its somthing for those all..

  • 0
Posted

System can't retrieve votes. A NPE on such stuff happens often because the list/map/whatever storing votes isn't initialized.

 

See what return getVotes(), ctrl+left click on it, and then search how it is used over your code. It should be initialized way before it is fed with SQL data.

Guest
This topic is now closed to further replies.


×
×
  • Create New...