Register for your free account! | Forgot your password?

You last visited: Today at 03:06

  • Please register to post and access all features, it's quick, easy and FREE!

 

[MT2GS]Invite System

Closed Thread
 
Old   #16
 
elite*gold: 0
Join Date: Feb 2012
Posts: 262
Received Thanks: 198
...wtf?

When you create a new account
link_ref = `link_ref` bigint(250) NOT NULL AUTO_INCREMENT'
UNIQUE KEY `link_ref` (`link_ref`) USING BTREE'
and the increment start from 10000000

url:

why too many string for the link.



MrGanja is offline  
Old   #17
 
elite*gold: 0
Join Date: Oct 2010
Posts: 178
Received Thanks: 85
What the hell can not operate on this hmm?
is there any you can only properly be put in places.
Register your part is not a joke!

Sory bad english


TraxWall is offline  
Old   #18
 
elite*gold: 0
Join Date: Jan 2013
Posts: 20
Received Thanks: 3
Quote:
Originally Posted by TraxWall View Post
What the hell can not operate on this hmm?
is there any you can only properly be put in places.
Register your part is not a joke!

Sory bad english
Man Please Help Me
vampir4k is offline  
Old   #19
 
elite*gold: 0
Join Date: May 2013
Posts: 4
Received Thanks: 0
HILFE ICH WURDE GEHACKT


verruecktemongo123123 is offline  
Old   #20
 
elite*gold: 0
Join Date: Mar 2012
Posts: 646
Received Thanks: 693
Quote:
Originally Posted by verruecktemongo123123 View Post
HILFE ICH WURDE GEHACKT
Fühlst du dich jetzt weil du eine Account.sql decrypten kannst?
Mfg
QuickFlameZ is offline  
Thanks
1 User
Old   #21
 
elite*gold: 0
Join Date: Oct 2010
Posts: 178
Received Thanks: 85
SQL Code
This account database query to be sent as an F6
Code:

Code:
CREATE TABLE `referer_links` (
  `id` int(20) unsigned NOT NULL AUTO_INCREMENT,
  `acc_id` int(20) NOT NULL,
  `code` varchar(60) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3221 DEFAULT CHARSET=latin1;
Register PHP |MT2GS

PHP Code:
    <p>Registration</p>
    </div>
    <div id="middle_con">
<?PHP
  
  $regCoins 
0// Startcoins
  
  
$laufZeit 365//Tage autoloot,safebox
  
$calcLZ = (60*60*24)*365;
  
$expireStamp time()+$calcLZ;
  
$expireDate date("Y-m-d H:i:s",$expireStamp);
  
  if(
$serverSettings['register_on'] && (!isset($_SESSION['user_admin']) && !checkInt($_SESSION['user_admin']) && !$_SESSION['user_admin']>=0)) {
  
    if(isset(
$_POST['submit']) && $_POST['submit']=="Registrer") {
      if((
checkAnum($_POST['account']) && strlen($_POST['account'])>=&& strlen($_POST['account'])<=16) && checkAnum($_POST['pass'])  && strlen($_POST['pass'])>=&& strlen($_POST['pass2'])<=16 && !empty($_POST['pass2']) && (checkName($_POST['uname']) && strlen($_POST['uname'])>=&& strlen($_POST['uname'])<=20) && $_POST['pass']==$_POST['pass2'] && checkMail($_POST['email']) && strlen($_POST['email'])<=40 && $_POST['captcha']==$_SESSION['captcha_id'] && $_POST['email']==$_POST['email2'] && (checkAnum($_POST['sicherheitsa']) && strlen($_POST['sicherheitsa'])>=&& strlen($_POST['sicherheitsa'])<=16) && checkInt($_POST['sicherheitsf']) && (checkAnum($_POST['loeschcode']) && strlen($_POST['loeschcode'])==7)) {

        
$hashSF md5($_POST['sicherheitsa']);
        
$sfNum mysql_real_escape_string($_POST['sicherheitsf']);
        
$lcode mysql_real_escape_string($_POST['loeschcode']);
        
        
$zuFall rand(99999,999999999);
        
$userpass=mysql_real_escape_string($_POST['pass']);
        
        
$aktivHash = ($serverSettings['mail_activation']) ? md5($zuFall):'';
        
$accountStatus = ($serverSettings['mail_activation']) ? 'BLOCK':'OK';
    if (
strlen($refcode) > 0)
{
    
$mysql_query[1] = mysql_query("SELECT * FROM account.referer_links WHERE code = '".$refcode."' LIMIT 1");
    
    if(
mysql_num_rows($mysql_query[1]) == 1)
    {
        
$mysql_result[1] = mysql_fetch_assoc($mysql_query[1]);
        
        
$mysql_query[2] = mysql_query("SELECT * FROM account.account WHERE id = '".$mysql_result[1]['acc_id']."' LIMIT 1");
        
        if(
mysql_num_rows($mysql_query[2]) == 1)
        {
            
$mysql_result[2] = mysql_fetch_assoc($mysql_query[2]);
            
            
mysql_query("UPDATE account.account SET coins = '".($mysql_result[2]['coins'] + 5)."' WHERE (id = '".$mysql_result[2]['id']."')");
        }
    }
}
    
        
$sqlCmd "INSERT INTO account.account 
        (login,password,real_name,email,social_id,question1,answer1,create_time,status,coins,autoloot_expire,safebox_expire,web_aktiviert) 
        VALUES 
        ('"
.$_POST['account']."',PASSWORD('".$userpass."'),'".mysql_real_escape_string($_POST['uname'])."','".mysql_real_escape_string($_POST['email'])."','".$lcode."','".$sfNum."','".$hashSF."','".$sqlZeit."','".$accountStatus."','".$regCoins."','".$expireDate."','".$expireDate."','".$aktivHash."')";
        
$sqlQry mysql_query($sqlCmd,$sqlServ);
        if(
$sqlQry) {
          
          
          
$absender $serverSettings['titel']." Registration";
          
$email $serverSettings['reg_mail'];
          
$empfaenger $_POST['email'];
          
$mail_body "Hallo ".$_POST['uname'].",
          
          deine Registration auf "
.$serverSettings['titel']." war erfolgreich! Um auch auf dem Server spielen zu können, musst du deinen Account aktivieren.
          Das kannst du über den folgenden Link tun:
          
          "
.$serverSettings['url']."/index.php?s=login&do=aktivieren&hash=".$aktivHash."
          
          Deine Daten sind:
          Account: "
.$_POST['account']."
          Passwort: "
.$userpass."
          
          Löschcode: "
.$lcode."
          Sicherheitsfrage: "
.$sFrage[$sfNum]."
          Antwort: "
.$_POST['sicherheitsa']."
          
          Viel Spaß beim Spielen,
          
          Dein "
.$serverSettings['titel']."-Team
          
          
          Diese E-Mail wurde automatisch generiert. Bitte keine Antworten an diese Adresse schicken."
;
          
$titel "Registrierung auf ".$serverSettings['titel'];
          
          
$header "X-Priority: 3\n";
          
$header .= "X-Mailer: ".$serverSettings['titel']." Homepage Mailer\n";
          
$header .= "MIME-Version: 1.0\n";
          
$header .= "From: ".$absender." <".$serverSettings['reg_mail'].">\n";
          
$header .= "Reply-To: ".$serverSettings['reg_mail']."\n";
          
$header .= "Content-Type: text/plain; charset=iso-8859-1\n";
          
          
          if(
$serverSettings['mail_activation']) {
            
mail($empfaenger$titel$mail_body$header);
            echo
'<p class="meldung">Account erfolgreich angelegt. Bitte &uuml;berprüfen Sie Ihr Postfach, um die Registrierung zu best&auml;tigen.</p>';
          }
          else {
            echo
'<p class="meldung">Account erfolgreich angelegt. Sie k&ouml;nnen sich nun anmelden.</p>';
          }
          
        }
        else {
          echo
'<p class="meldung">Registrierung fehlgeschlagen: Der Account existiert bereits.</p>';
        }
        
      }
      else {
        echo
'<p class="meldung">Registrierung fehlgeschlagen: bitte alle Felder richtig angeben</p>';
      }
    }
  
?>
    <p>Alle Felder sind Pflichtfelder und m&uuml;ssen ausgef&uuml;llt werden.<?PHP if($serverSettings['mail_activation']) { echo'<br/><b>Der Account wird per E-Mail aktiviert, also eine richtige E-Mail eingeben!</b>'; } ?></p>
    <form action="index.php?s=register" method="POST">
    <input type="hidden" name="referer" value="<?php print $_GET['referer']; ?>" />
      <table>
        <tr>
          <th>Account:</th>
          <td><input class="bar" type="text" name="account" maxlength="16" size="16" title="6-16 Zeichen (nur a-Z,0-9)"/></td>
        </tr>
        <tr>
          <th>Name:</th>
          <td><input class="bar" type="text" name="uname" maxlength="16" size="16" title="3-20 Zeichen (nur a-Z,0-9)"/></td>
        </tr>
        <tr>
          <th>Passwort:</th>
          <td><input class="bar" type="password" name="pass" maxlength="16" size="16" title="8-16 Zeichen (nur a-Z,0-9)"/></td>
        </tr>
        <tr>
          <th>Password wiederholen:</th>
          <td><input class="bar" type="password" name="pass2" maxlength="16" size="16" title="Passwort wiederholen"/></td>
        </tr>
        <tr>
          <th>E-Mail:</th>
          <td><input class="bar" type="text" name="email" maxlength="50" size="25" title="max. 40 Zeichen"/></td>
        </tr>
        <tr>
          <th>E-Mail wiederholen:</th>
          <td><input class="bar" type="text" name="email2" maxlength="50" size="25" title="E-Mail wiederholen"/></td>
        </tr>
        <tr>
          <th>L&ouml;schcode:</th>
          <td><input class="bar" type="text" name="loeschcode" maxlength="7" size="7" title="7 Zeichen (nur a-Z,0-9)"/></td>
        </tr>
        <tr>
          <th>Sicherheitsfrage:</th>
          <td>
            <select title="Sicherheitsfrage w&auml;hlen" class="bar" name="sicherheitsf">
              <?PHP
                
foreach($sFrage AS $fragew => $frage) {
                  echo
'<option value="'.$fragew.'">'.$frage.'</option>';
                }
              
?>
            </select>
            </td>
            </tr>
            <tr>
            <th>Antwort:</th>
            <td>
            <input class="bar" type="text" name="sicherheitsa" maxlength="16" size="16" title="3-16 Zeichen (nur a-Z,0-9)"/>
          </td>
        </tr>
        <tr>
          <th>Captcha:</th>
          <td><img src="./captcha/captcha.php" title="Captcha"/>&nbsp;<input title="Captcha-code eingeben" class="bar" type="text" name="captcha" maxlength="5" size="5"/></td>
        </tr>
        <tr>
          <th style="text-align:center;" colspan="2"><input class="blogin" type="submit" name="submit" value="Registrer"/> <input class="blogin" type="reset" value="Reset"/></th>
        </tr>
      </table>
    </form>
  <?PHP
  
}
  else {
    echo
'<p class="meldung">Die Registration ist deaktiviert oder Sie sind bereits angemeldet. Es kann kein weiterer Account erstellt werden.</p>';
  }
?>
TraxWall is offline  
Old   #22
 
elite*gold: 0
Join Date: Sep 2010
Posts: 15
Received Thanks: 0
login.php error

Parse error: syntax error, unexpected $end in /home/gadictne/metin2/test/login.php on line 121
zerorespect is offline  
Old   #23
 
elite*gold: 0
Join Date: Jun 2013
Posts: 23
Received Thanks: 4
Will this system check if the ip is the same ?
Because players can do 10000 of accounts and recive the Dragon coins.
SirFulgeruL is offline  
Old   #24
 
elite*gold: 56
Join Date: Oct 2014
Posts: 144
Received Thanks: 32
Sehr hilfreich, danke für das Release!
κнαʟıғα is offline  
Old   #25
wherever the light ends

 
elite*gold: 244
Join Date: Feb 2011
Posts: 4,876
Received Thanks: 2,786
Quote:
Originally Posted by SirFulgeruL View Post
Will this system check if the ip is the same ?
Because players can do 10000 of accounts and recive the Dragon coins.
TraxWall was online in August the last time, pushing old topics is also not allowed. (closerequested)

Greetings


Nick is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
[MT2GS-Addon]Premium System PHP
#Deleted
6 Replies - Metin2 PServer Guides & Strategies
MT2GS Account Activate system ? :s
Hello everyone. How it may be MT2GS his side registration activating one ingredient to set things . Would somebody write it down? Thank you.
1 Replies - Metin2 PServer - Discussions / Questions
[MT2] Ticket System für dein MT2GS CMS...
Hallo Liebe Leute, da ich den ganzen Tag nichts zu tun habe und mir bis 21 Uhr die Zeit vertreieben muss, hab ich mal ein kleines Ticketsystem für...
24 Replies - Metin2 PServer Guides & Strategies
[MT2] PN System für dein MT2GS CMS...
Heyo Leute, ich hatte vor einigen Wochen ein PN System für das MT2GS CMS von hen! getippt. Dieses Script wollt ich auch in der Trading Section für...
23 Replies - Metin2 PServer Guides & Strategies
Biete Pn System Addon für MT2GS
Ich biete euch ein Pn-System Addon für die MT2GS Homepage von Hennik.+ Funktionen: Der User hat die Möglichkeit andere Spieler und Teamler zu...
3 Replies - elite*gold Trading



All times are GMT +1. The time now is 03:06.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.