Jump to content

.InyaProduction

Former Staff
  • Posts

    511
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Everything posted by .InyaProduction

  1. Hab mir jetzt gestern mal die ersten angeguckt echt gute Tutorials
  2. Runescape is rly the pioneer of MMORPG. It started up at 1999 and looked like shit. Now its like that:
  3. Excelent job! 3D Modelled and then rendered?
  4. Whoever of you is bored. Post your ask.fm links here and let others ask Questions http://ask.fm/InyaProduction
  5. I need the php code where the login of the player is handled..
  6. So he cant login anymore? Show me the login.php
  7. You dont need status block. When availDt is changed to a higher time than its at this moment you cant login. You will only be able to login after the date and time which is in availDt. So the player doesnt have to unblock himself manually. The system will do that automaticly Set the time to 1 day and try to login
  8. No dont change any tables it was my spelling mistake <?php if(isset($_SESSION['user_id'])){ if(isset($_POST['delay'])) { $delay = mysql_real_escape_string($_POST['delay']); $account_id = $_SESSION['user_id']; $start_date = date("Y-m-d H:i:s"); $end_date = date("Y-m-d H:i:s", strtotime("$delay day")); $sql01 = mysql_query("UPDATE account.account SET availDt = DATE_ADD(NOW() ,INTERVAL ".$delay." HOUR) WHERE id = $account_id"); if($sql01) { echo "Your account is blocked for $delay days.<br><br>"; } else { echo "sql error: ".mysql_error(); } } ?> <form action="freeze.php" method="POST"> <select name="delay"> <option value="24">1 day</option> <option value="48">2 day</option> <option value="72">3 day</option> <option value="168">1 week</option> </select> <input type="submit" name="submit" value="Submit"/> </form> <?php } else { echo "You dont have permission to go here"; } ?> Its hard to code without trying it myself
  9. No i just wrote availTd wrong xD wait a sec <?php if(isset($_SESSION['user_id'])){ if(isset($_POST['delay'])) { $delay = mysql_real_escape_string($_POST['delay']); $account_id = $_SESSION['user_id']; $start_date = date("Y-m-d H:i:s"); $end_date = date("Y-m-d H:i:s", strtotime("$delay day")); $sql01 = mysql_query("UPDATE account.account SET availDt = DATE_ADD(NOW() ,INTERVAL ".$delay." HOUR) WHERE id = $account_id"); if($sql01) { echo "Your account is blocked for $delay days.<br><br>"; } else { echo "sql error"; } } ?> <form action="freeze.php" method="POST"> <select name="delay"> <option value="24">1 day</option> <option value="48">2 day</option> <option value="72">3 day</option> <option value="168">1 week</option> </select> <input type="submit" name="submit" value="Submit"/> </form> <?php } else { echo "You dont have permission to go here"; } ?> This should work
  10. <?php if(isset($_SESSION['user_id'])){ if(isset($_POST['delay'])) { $delay = mysql_real_escape_string($_POST['delay']); $account_id = $_SESSION['user_id']; $start_date = date("Y-m-d H:i:s"); $end_date = date("Y-m-d H:i:s", strtotime("$delay day")); $sql01 = mysql_query("UPDATE account.account SET availlTd = DATE_ADD(NOW,INTERVAL ".$delay." DAY) WHERE id = $account_id"); if($sql01) { echo "Your account is blocked for $delay days.<br><br>"; } else { echo "sql error: ".mysql_error(); } } ?> <form action="freeze.php" method="POST"> <select name="delay"> <option value="1">1 day</option> <option value="2">2 day</option> <option value="3">3 day</option> <option value="7">1 week</option> </select> <input type="submit" name="submit" value="Submit"/> </form> <?php } else { echo "You dont have permission to go here"; } ?> Take this script and give me the error message thats showing
  11. Thats no the engine thats the modellers fault^^
  12. Map Textures are shitty in Metin2. But the 3D engine is a really good one. You can do some really high detailed stuff with that
  13. No dont delete line 18 o.o And you have to be logged in to access the site €dit: forgot to close one bracket <?php if(isset($_SESSION['user_id'])){ if(isset($_POST['delay'])) { $delay = mysql_real_escape_string($_POST['delay']); $account_id = $_SESSION['user_id']; $start_date = date("Y-m-d H:i:s"); $end_date = date("Y-m-d H:i:s", strtotime("$delay day")); $sql01 = mysql_query("UPDATE account.account SET avialTd = DATE_ADD(NOW,INTERVAL ".$delay." DAY) WHERE id = $account_id"); if($sql01) { echo "Your account is blocked for $delay days.<br><br>"; } else { echo "sql error"; } } ?> <form action="freeze.php" method="POST"> <select name="delay"> <option value="1">1 day</option> <option value="2">2 day</option> <option value="3">3 day</option> <option value="7">1 week</option> </select> <input type="submit" name="submit" value="Submit"/> </form> <?php } else { echo "You dont have permission to go here"; } ?>
  14. <?php if(isset($_SESSION['user_id']){ if(isset($_POST['delay'])) { $delay = mysql_real_escape_string($_POST['delay']); $account_id = $_SESSION['user_id']; $start_date = date("Y-m-d H:i:s"); $end_date = date("Y-m-d H:i:s", strtotime("$delay day")); $sql01 = mysql_query("UPDATE account.account SET avialTd = DATE_ADD(NOW,INTERVAL ".$delay." DAY) WHERE id = $account_id"); if($sql01) { echo "Your account is blocked for $delay days.<br><br>"; } else { echo "sql error"; } } ?> <form action="freeze.php" method="POST"> <select name="delay"> <option value="1">1 day</option> <option value="2">2 day</option> <option value="3">3 day</option> <option value="7">1 week</option> </select> <input type="submit" name="submit" value="Submit"/> </form> <?php } else { echo "You dont have permission to go here"; } ?>
  15. It would be possible with a team of 3 ore more ppl, but the amount of time spent for this compared to the improvement doesn't worth it at all. With 90%( price aounrd 200€) of the prebuilt workstation's on the market you can play Metin2 without any problems. So why invest 100's of houres to make the game playable for 95% of ppl with shitty computers? OpenGL is much faster even for Windows Computers and in my opinion it looks better
  16. You need to add the function to get the account_id at line 5
  17. We can help you best by showing you how to do it. Php error messages have a great documentation so you could use google aswell. but: <?php if(isset($_POST['delay'])) { $delay = mysql_real_escape_string($_POST['delay']); $account_id = 1234; //Here you have to add a code to get the logged in account_id $start_date = date("Y-m-d H:i:s"); $end_date = date("Y-m-d H:i:s", strtotime("$delay day")); $sql01 = mysql_query("UPDATE account.account SET avialTd = DATE_ADD(NOW,INTERVAL ".$delay." DAY) WHERE id = $account_id"); if($sql01) { echo "Your account is blocked for $delay days.<br><br>"; } else { echo "sql error"; } } ?> <form action="freeze.php" method="POST"> <select name="delay"> <option value="1">1 day</option> <option value="2">2 day</option> <option value="3">3 day</option> <option value="7">1 week</option> </select> <input type="submit" name="submit" value="Submit"/> </form>
  18. This is not a board for full codes. We want you to learn something while you manage to get i working. Without that helping would be senseless
  19. I understand the lib dont worry. But beginners wont
  20. I would recommend you not to change the version in the new sln but take the sln.old file. just rename it to an .sln and use it
  21. Nice one for a Portfolio but there are colors missing for an m2 page
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.