Jump to content
  • 0

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


claww

Question

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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 ;)

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...