Jump to content

Hopzone & Topzone Vote Reward System.


Recommended Posts

How about u give the rightful credits, and give yourself the adaptation credits.

How about understanding it's created by me, just the idea was taken by someone else?

Link to comment
Share on other sites

{Gr}Na se rwtisw man

egw exw 300 atoma sto server an valw to vote reward to diko sou

kai kanei kapoios vote 8a pernei kateu8eian to reward h prepei na

perimenei na kanoun vote kai h alloi?

 

Kathe x votes(configs) tha pernoun oloi reward. Otan o server exei rank sto hopzone < x(configs) tha pernoun kalitero reward.

Link to comment
Share on other sites

mporeis na ftiakseis ena vote reward pou otan kanei enas vote

na pataei sto game .reward kai na to pernei

 

pantws h douleia sou einai poli kali!!

Thelei php. Pantos mporeis na checkareis afto p exei kanei share o Elfocrash, litourgei kapos etsi. Episeis an baleis ena boolean kai na to kaneis true kathe fora pou kapios to xrisimopoiei(ksexoristo gia topzone kai hopzone) kai kaneis check meta ama kapios paei na to kanei kai einai true to boolean na min mporei tha einai kai protected. Gl.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 4 weeks later...

Good, but I tried on a server with 300 people, and every time to be a reward, print server that mistake:

 

Players do not get a reward. Any ideas for fix ?  ???

 

Votes needed for next reward: 9
Exception in thread "GeneralSTPool-4" java.lang.NullPointerException
        at com.l2jserver.gameserver.model.entity.VoteRewardHopzone.reward(VoteRewardHopzone.java:142)
        at com.l2jserver.gameserver.model.entity.VoteRewardHopzone.access$000(VoteRewardHopzone.java:34)
        at com.l2jserver.gameserver.model.entity.VoteRewardHopzone$1.run(VoteRewardHopzone.java:66)
        at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:86)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Server votes on topzone: 1115
Server is on the first page of topzone.
Votes needed for next reward: 9
Exception in thread "GeneralSTPool-9" java.lang.NullPointerException
        at com.l2jserver.gameserver.model.entity.VoteRewardTopzone.reward(VoteRewardTopzone.java:142)
        at com.l2jserver.gameserver.model.entity.VoteRewardTopzone.access$000(VoteRewardTopzone.java:34)
        at com.l2jserver.gameserver.model.entity.VoteRewardTopzone$1.run(VoteRewardTopzone.java:66)
        at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:86)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Link to comment
Share on other sites

  • 2 weeks later...

this code doesn't work for me. If i past it into gameserver.java

 

if (Config.ALLOW_HOPZONE_VOTE_REWARD)

{

VoteRewardHopzone.getInstance();

}

if (Config.ALLOW_TOPZONE_VOTE_REWARD)

{

VoteRewardTopzone.getInstance();

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...