Jump to content

Question

Posted

Hello,

 

I'm actually using L2Mythras Hi5 shared files.

 

The problem I have is with actual vote system.

Simple, when someone vote on topzone website on the server, it has to wait 12h to receive rewards again.

 

The problem is, when someone receive 12h wait time, everyone in the server has the same delay event if they never used .vote command before.

 

Do you know how to do ?
I use default RewardVote.java code from L2Mythras.


Thanks.

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

2 possible things you should check.

1) SQL wrong syntax in your query when updating the character field that is responsible for the vote time and instead of edit 1 column, is updating the whole table (characters)

 

2) If you are looping the whole world while checking the objId check if this loop is correct. Maybe is updating every player 

Edited by melron
Guest
This topic is now closed to further replies.


×
×
  • Create New...