Jump to content

PeaceMaker

Member
  • Posts

    403
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by PeaceMaker

  1. hello, could the party function make a core crash , ?
  2. hello i was using a forget password script which is based on default php mail() function but for some reason the host has disabled this function and im not able to use this script , ( mail not sending ) i messaged the host to renable it and they refused and asked me to use SMTP mail , i succeeded with that on forum ( mybb) but with this script i have no idea how to convert it to SMTP mail so im asking if anyone have any idea how to do it thats the script im using: <div class="main main_title"> >> Reset Pass By Email </div><div class="main main_content"> <center> <?PHP if(isset($_POST['sfform']) && $_POST['sfform']=="reset") { if(!empty($_POST['account']) && !empty($_POST['sicherheitsf']) && !empty($_POST['sicherheitsa'])) { $acc = mysql_real_escape_string($_POST['account']); $frage = mysql_real_escape_string($_POST['sicherheitsf']); $antwort = mysql_real_escape_string(md5($_POST['sicherheitsa'])); $sqlCmd = "SELECT id FROM account.account WHERE login='".$acc."' AND question1='".$frage."' AND answer1='".$antwort."' LIMIT 1"; $sqlQry = mysql_query($sqlCmd,$sqlServ); if(mysql_num_rows($sqlQry)>0) { $newPass = substr(md5(rand(999,99999)),0,8); $setPass = "UPDATE account.account SET password=PASSWORD('".$newPass."') WHERE login='".$acc."' LIMIT 1"; $qryPass = mysql_query($setPass); if($qryPass) { echo'<p class="meldung" style="color:Green">Your Password has been successfully reseted.<br/><br/>The New password for the account <b>'.$acc.'</b> is: </p><p style="color : red"><b>'.$newPass.'</b>.</p><p class="meldung" style="color:Green"><br/><br/>Have Fun playing.</p>'; } else { echo'<p class="meldung">A new password could not be set.If you see this message, please contact an admin.</p>'; } } } else { echo'<p class="meldung">No data has been entered.</p>'; } } if(isset($_POST['emailreset']) && $_POST['emailreset']=="reset") { if(!empty($_POST['account']) && checkMail($_POST['email'])) { $acc = mysql_real_escape_string($_POST['account']); $email = mysql_real_escape_string($_POST['email']); $newPass = substr(md5(rand(999,99999)),0,8); $getUser = "SELECT id FROM account.account WHERE login='".$acc."' AND email='".$email."' LIMIT 1"; $qryUser = mysql_query($getUser); if(mysql_num_rows($qryUser)>0) { $setPass = "UPDATE account.account SET password=PASSWORD('".$newPass."') WHERE login='".$acc."' LIMIT 1"; $qryPass = mysql_query($setPass); if($qryPass) { echo'<p class="meldung" style="color:Green">Your password has been successfully reset. You will receive an e-mail with your new password.</p>'; $absender = $serverSettings['titel']." Password-service"; $email = $serverSettings['pass_mail']; $empfaenger = $_POST['email']; $mail_body = "Hello, Your password has been successfully reset. Account: ".$acc." New Password: ".$newPass." Have fun playing, Sincerely, ".$serverSettings['titel']."-Team This e-mail was generated automatically. Please do not reply to this address."; $titel = "Password of ".$serverSettings['titel']; $header .= "X-Priority: 3n"; $header .= "X-Mailer: mtVision Homepage Mailern"; $header .= "MIME-Version: 1.0n"; $header .= "From: ".$absender." <".$serverSettings['pass_mail'].">n"; $header .= "Reply-To: ".$serverSettings['pass_mail']."n"; //$header .= "Content-Transfer-Encoding: 8bitn"; $header .= "Content-Type: text/plain; charset=iso-8859-1n"; if(!mail($empfaenger, $titel, $mail_body, $header)) { echo'<p class="meldung">Fail with this mail server, please contact an admin.</p>'; } } else { echo'<p class="meldung">A new password could not be set.If you see this message, please contact an admin.</p>'; } } else { echo'<p class="meldung">The combination specified does not exist.</p>'; } } else { echo'<p class="meldung">You have not entered all data correctly.</p>'; } } ?> <div> <h3>Reset by security question</h3> <p>To reset your account, Enter the right answer according to the question you chose when registering.</p> <form action="index.php?s=lostpw" method="POST"> <table> <tr> <th class="topLine">Account:</th> <td class="tdunkel"><input type="text" name="account" size="16" maxlength="16"/></td> </tr> <tr> <th class="topLine">Secret Question:</th> <td class="thell"> <select name="sicherheitsf"> <?PHP foreach($sFrage AS $fragew => $frage) { echo'<option value="'.$fragew.'">'.$frage.'</option>'; } ?> </select> </td> </tr> <tr> <th class="topLine">Answer:</th> <td class="tdunkel"><input type="text" name="sicherheitsa" size="16" maxlength="16"/></td> </tr> <tr> <th class="topLine" colspan="2" style="text-align:center;"><input type="submit" name="sfform" value="reset"/></th> </tr> </table> </form> </div> <br/><br/> <div> <h3>Reset By Email</h3> <p>You need to specify the registered email linked to the account to be able to reset your password.</p> <form action="index.php?s=lostpw" method="POST"> <table> <tr> <th class="topLine">Account:</th> <td class="tdunkel"><input type="text" name="account" size="16" maxlength="16"/></td> </tr> <tr> <th class="topLine">E-Mail:</th> <td class="tdunkel"><input type="text" name="email" size="25" maxlength="25"/></td> </tr> <tr> <th colspan="2" class="topLine" style="text-align:center;"><input type="submit" name="emailreset" value="reset"/></th> </tr> </table> </form> </div> </center> </div> <div class="main main_bottom"> </div> thank you in advance ,
  3. its not working i already tryed it before ... anw thanks for trying to help
  4. Hello everyone , im looking up for national war quest with everything fixed and working in it ive writed my own national war quest 2 days ago but by mistake ive deleted the vdi that had that quest ;( too lazy to rewrite it so im willing to buy it please offer t h a n k s
  5. what about the normal hit damage how to change the claws to dagger resistance
  6. any one can release a working national war quest please ? ive searched all over the internet and didnt found any one working perfectly thanks in advance
  7. no i dont think its from mob_drop or any quest its just by accepting party from others , it happens to me once today when i clicked "Accept" to join the party the channel crashed and got the same syslog :Dec 27 10:44:39 :: COMMAND: fatteh: party_request_accept Dec 27 10:44:39 :: PARTY: Join Peace pid 570071 leader 576897 so please guys tell me where's the problem is it with the vanilla core or something else ?!
  8. For some reason my cores are crashing for a stupid reason which is party invitation ! everytime i get on my syslog the following error : Dec 27 10:44:39 :: COMMAND: fatteh: party_request_accept Dec 27 10:44:39 :: PARTY: Join IZRAIL pid 570071 leader 576897 but ofc each time different names and pids , im using vanilla core could anyone tell me whats the problem is ?
  9. got this one now : # mv: rename syslog to ./log/20141227/syslog.23: No such file or directory mv: rename syslog to ./log/20141227/syslog.00: No such file or directory
  10. better use normal , 3d grass sucks on metin2 and make alot of lags after being online for 30 minute +
  11. hello im having problem with the server , when in on putty i get some errors like this : mv: rename syslog to ./log/20141226/syslog.21: No such file or directory mv: rename syslog to ./log/20141226/syslog.22: No such file or directory mv: rename syslog to ./log/20141226/syslog.23: No such file or directory mv: rename syslog to ./log/20141226/syslog.24: No such file or directory can anyone tell me how to fix it maybe ? thanks in advance
  12. you have to edit your msm file , in my opinion take the gm logo msm and replace it with vip msm and just change names and everything should be fine if you need help doing this let me know
  13. cmon guys you were helpful community before .... and now i dont see any reply at any of my posts :/
  14. hello , i was adding some new pets from officials packs and look how they look ! [Hidden Content] can you tell me what is missing please ?
  15. Hello , ive bought the vanilla core and im trying to contact her since 1 month or more and nothing , i need someone to help me to make 6/7 adders works on costumes and hair styles idk if there anyway to fix it by a library but i can pay as much as you want just to help me thanks
  16. you should set ur GainSocketPercent to 3 if ur using new protos and if its the old one set socket_pct="3"
  17. Well vanilla was doing everything i ask to add on the core without any extra charges and for low price and im sure if she havent problems in her real life she could fix the bugs . anw can anyone write a lib for me that can add 6/7 bonus on costumes please ?
  18. yes but not anymore i already paid 50 euro but now she's offline since 3 weeks or more :/
  19. the paid vanilla does have lycan and you can enable it by adding this to CONFIG file RACE_5_ENABLE: 1 when its enabled he can use all the items and when its RACE_5_ENABLe: 0 he can use only warriors items she's not replying to anyone since 1 month :/
×
×
  • 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.