Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

vote system [help]

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 23, 2020
Messages
85
Reaction score
3
I have a problem in the voting part, when someone votes, keeps counting the time for all accounts and apparently time does not end

Code:
$_CONFIG['vote_enabled'] = true; 
$_CONFIG['vote_timedelay'] = 15;
 $_CONFIG['vote_toplists'] = array(    
        0 => array(
        'name' => 'Gtop 100', 
        'link' => 'https://gtop100.com/topsites/Flyff/sitedetails/Flyff-Testvote-99668?vote=1', 
        'earnVotePoints' => 10, 
        'timeLimit' => 43200
),
);

box_votescript.php




** EDIT **

If I create a new account now, and go to vote it will say that you already voted and keep counting the time to vote again

** EDIT² **

apparently i had another file on my server similar to box_votescript called vote.php in i also modified it as@ketchup commented:
Replace HTTP_CF_CONNECTING_IP with REMOTE_ADDR

and apparently it's working, thank you very much
 
Last edited:
Newbie Spellweaver
Joined
Mar 23, 2020
Messages
85
Reaction score
3
@Ketchup when any accounts votes, all accounts enter recharge time to vote

db vote system:

 
Last edited:
Upvote 0
Status
Not open for further replies.
Back
Top