Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > World of Warcraft > WoW Private Server
You last visited: Today at 10:41

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

Advertisement



[S] Person die mit bei WBB3 Script hilft

Discussion on [S] Person die mit bei WBB3 Script hilft within the WoW Private Server forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 1300
Join Date: Mar 2011
Posts: 9
Received Thanks: 0
[S] Person die mit bei WBB3 Script hilft

Hallo Members,

Ich möchte für WBB3 eine WoW Server kompentable Version anbieten.
Die wird für TrinityCore programmiert, und brauche eure Hilfe bei der Passwort aktualisierung.

Hier ist mein aktuelles Script:

PHP Code:
´            //TrinityCore Passwort aktualisierung
            
    
function sha_password($user,$pass){
            
$user strtoupper($user);
            
$pass strtoupper($pass);

            return 
SHA1($user.':'.$pass);
            }
            
            
$authdatabase "loginserver";
            
$wcfdatabase  "wcf";
                        
            
$gameusername $_REQUEST['username']
            
$shapassword1 $_POST['newPassword'];
            
$shapassword2 sha_password($gameusername,$shapassword1);
            
            
mysql_select_db($authdatabase);
            
            
mysql_query("UPDATE account SET v='0',s='0',sha_pass_hash='$shapassword2' WHERE username='$gameusername'");
            
            
mysql_select_db($wcfdatabase); 

Mit MySQL ist er in der Zeit schon längst verbunden. Eine neue Connection muss nicht eingebaut werden!

Jetzt zur meiner frage, es funktioniert nicht. Ich bekomm nach aktualisierung des Passworts eine weiße Seite zu sehen.
Ich glaube aber das es auch an der falschen Stelle ist.

Ich hab es hier reingetan:

PHP Code:
        if (!empty($password)) {
            if (!empty(
$updateSQL)) $updateSQL .= ',';
            
$updateSQL .= "password = '".$password."', salt = '".$salt."'";
            
$this->password $password;
            
$this->salt $salt;

                        
// Hier ist mein Script

                        

Hoffe auf eine funktionierende Antwort!

MFG CySiC95
CySiC95 is offline  
Reply


Similar Threads Similar Threads
[MOD] M4 Gold Alles dabei, 1st Person, 3rd Person, Killanzeige, Item Shop Anzeige ...
04/19/2011 - WarRock Guides, Tutorials & Modifications - 21 Replies
http://www.youtube.com/watch?v=3sb_0J5Cqo8 Dies ist ein M4 Mod. Es wurde in die Farbe Gold verändert. Ich möchte darauf hinweisen, das es nicht illegal ist, da es kein Script, o.Ä. ist. Es ist lediglich ein Mod, nur ihr seht es. Virustotal - Click Here Download - Click Here
[ SUCHE ] Ein/e Person die mir bei Problemen hilft / Habe ein paar [ SUCHE ]
02/28/2011 - Metin2 Private Server - 4 Replies
Hey Community, ich habe hier einen eigenen pServer jedoch sind bei mir ein paar Fragen offen. Jetzt suche ich einen Person der/die mir hilft die Probleme mit mir untereinander zu klären. Ich schildere mal meine Probleme: - Starterset (funzt nicht) - Regenbogenstein (funzt nicht) - Willkommensnachricht (im chat, geändert aber nichts) - Und anderes was den Server begehrt
[S] Jemand der mir mit dem Homepage Script hilft :)
08/15/2010 - Metin2 Private Server - 5 Replies
Wie der Titel schon sagt suche ich eine Person die mir hilft einem Homepage hochzuladen für meinen P-Server. Gruß DiinnZ :handsdown:
Suche jemand der mir hilft auth script einzustellen (root)
05/15/2010 - Metin2 Private Server - 2 Replies
Überschrift sagt alles p nme



All times are GMT +2. The time now is 10:41.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.