Jump to content
  • 0

[Help me ;) ] Vote Reward System


Stewie

Question

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

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...