Skip to content

[Help]Who know PHP or other language for Help me

Featured Replies

I whish to make a system which gives you death penalty if you dont vote... i mean.. to set in data base if an Character dont click on one link.. in every day... i think is possible but i dont know PHP... anyone know do that ?? thanks

Adding an extra field in the character table (vote, true/false) and doing a check for it in Enterworld.java to add the debuff would probably be the best (easiest) way.

 

Then on your website you could execute a query like this when a player votes:

 

<?php

mysql_query("UPDATE characters SET vote = true WHERE char_name = '$charName'");

?>

 

Either way this is not done by just PHP ;)

  • Author

Adding an extra field in the character table (vote, true/false) and doing a check for it in Enterworld.java to add the debuff would probably be the best (easiest) way.

 

Then on your website you could execute a query like this when a player votes:

 

<?php

mysql_query("UPDATE characters SET vote = true WHERE char_name = '$charName'");

?>

 

Either way this is not done by just PHP ;)

 

... that ideea is great for make players to vote...  but need java knowledge :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.