Jump to content
  • 0

Vote System When Gameserver/website Is On Different Machines


Question

Posted (edited)

Hello,

 

Is there any PHP vote system already done? How would i communicate with the GameServer after someone votes on the website server? (Is not the question anymore)

 

Thanks!

 

Edit: Actually the specific question would be on the PHP (website machine) side: How to know if someone voted with specific ip on those sites? (to not confuse the reward to someone else who voted at same time)

 

Edit2: Ok i think i have an idea about the solution: Everytime someone votes (clicks the vote banner) save it's IP in the db. Then if in game he uses voicedcommand .getreward the gameserver machine will check in the website machine database for the speicifc player P. If exists, give reward.

 

Now the question would be, how to check if he actually voted in a PHP way: parse topzoneWhateverSite to check votesCount and compare with lastest votesCount the user logged on site?. And in what way.. with a cron task 1 minute after he clicked the vote banner?

 

Thanks for your ideas :D

Edited by HappyLDE

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

You can make a task to check it ye... or maybe a mirror vote page that checks when u click the vote button.

But all these ways are banned by Hopzone and so.

Edited by ^Wyatt
  • 0
Posted

You can make a task to check it ye... or maybe a mirror vote page that checks when u click the vote button.

But all these ways are banned by Hopzone and so.

 

There are share/patches that parse vote page oh hopzone & topzone to check rank or number of votes to reward players. Does it mater if it is parsed from within the game or from within the site? :/

  • 0
Posted

There are share/patches that parse vote page oh hopzone & topzone to check rank or number of votes to reward players. Does it mater if it is parsed from within the game or from within the site? :/

Yep it is. Php-side is banned at least in Hopzone.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Add some share links, would be nice for people that still looking for them!
    • Please do not insult anybody and respect other works. Do not have hateful behaviour, last warning.
    • You cant add cloaks on interlude packs, is possible to find ones but will never work correct on character.
    • Hello everyone, want to sell some of my custom features in my server, someone might be interested. Collections: (50euro) - you need ingredients (min/max) - can you choose enchant level  - reward : custom skills Enemy Inventory and stats checker: (25euro) - you can check what is your enemy wearing - how much is it enchanted - you can see his detailed info about stats - pvp/pk/rebirth/pve dmg etc anything can be added Gamble (random craft item) - (50 euro)  - by using command .gamble - windown will pop up  - name of the item / chances / % of your points / maximum you can have shows  - you can buy instantly points / or item can be made for that  - each pack can have different prices/items  - refresh give another 5 random items. Custom Enchant System: (20euro)  - target all grades - one scroll can be used for any grade  - increaseEnchantby / decreaseEnchantBy Custom Rotated Farm Zone: (50euro)  - players will be automaticly flagged when enter / unflagged when leave  - you can make any zone like that  - you can add any restriction you want or dont.  - Rotation will be announced in Global  Chat  - in zone drop will be increased by 30% - or you can modify by config  - maybe you want zone where they need lets say 10x Enter to enter can be done - i can give you code, or i can also implement for you - if you want some other custom code, and im able to do it you can ask me discord:expllo#8222 or just expllo - if you won't find, message me here.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..