lagunyve Posted January 12, 2019 Posted January 12, 2019 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.
0 melron Posted January 12, 2019 Posted January 12, 2019 (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 January 12, 2019 by melron
0 Kara Posted January 12, 2019 Posted January 12, 2019 (edited) 1. Trash code - Trash pack 2. Post some code* Edited January 12, 2019 by Kara`
0 lagunyve Posted January 13, 2019 Author Posted January 13, 2019 This is the code I have: https://pastecode.xyz/view/96c10b28
0 lagunyve Posted January 14, 2019 Author Posted January 14, 2019 I think there's a problem with HWID condition. Can you help me to bypass HWID and check only char and IP ? Please.
0 xxstanxx Posted January 20, 2019 Posted January 20, 2019 hi i have the same problem with l2 mythras file any help?
0 lagunyve Posted January 25, 2019 Author Posted January 25, 2019 Okay problem was with HWID restriction. Just commented the HWID line in vote and it's fixed. You can close thread.
Question
lagunyve
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