|
You last visited: Today at 05:50
Advertisement
[RELEASE] WORKING Fixed Serverfiles+English gameclient!
Discussion on [RELEASE] WORKING Fixed Serverfiles+English gameclient! within the Dekaron Private Server forum part of the Dekaron category.
12/29/2008, 00:13
|
#526
|
elite*gold: 0
Join Date: Feb 2008
Posts: 93
Received Thanks: 2
|
Thanks. It worked.
|
|
|
12/29/2008, 00:28
|
#527
|
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
|
I've created the system dNS link and still the reg page giving me errors.
|
|
|
12/29/2008, 01:34
|
#528
|
elite*gold: 0
Join Date: Feb 2008
Posts: 93
Received Thanks: 2
|
Yeah, same here. I end up with a page that looks like this:
Code:
分区选择错误!
"); } $user_result=odbc_do($account_odbc,$strSql); $result_query=odbc_fetch_row($user_result); if (odbc_result($user_result,1)!= "") $errors[] = "该名称已经被占用,请重新输入"; //验证用户名是否规范 if(!preg_match("/^[0-9a-zA-Z]{6,12}$/i", $_POST[username])) $errors[]="只能用英文大小写字母数字的组合作为用户名"; //验证用户名长度 if(strlen($_POST[username])<6) $errors[] = "用户名的长度不能小于6位"; if(strlen($_POST[username])>12) $errors[]= "用户名的长度不能超过12位"; //验证密码是否规范 if(!preg_match("/^[0-9a-zA-Z]{6,12}$/i", $_POST[password1])) $errors[]="只能用英文大小写字母数字的组合作为密码"; if(preg_match("/^[0-9]{6,12}$/i",$_POST[password1])) $errors[]="不可使用纯数字作为密码"; //验证用户名和密码是否相同 if($_POST[username]==$_POST[password1]) $errors[]= "帐号和密码不能相同"; //验证密码长度 if(strlen($_POST[password1])<6) $errors[] = "密码的长度不能小于6位"; if(strlen($_POST[password1])>12) $errors[] = "密码长度不能大于12位"; //验证密码一致性 if($_POST[password2]!=$_POST[password1]) $errors[] = "输入的密码不一致"; //验证找回密码问题答案长度 if(strlen($_POST[question])>20) $errors[] = "找回密码问题大于20位,请返回重新输入"; if(strlen($_POST[question])<10) $errors[] = "找回密码问题小于10位,请返回重新输入"; if(strlen($_POST[answer])>20) $errors[] = "找回密码答案大于20位,请返回重新输入"; if(strlen($_POST[answer])<10) $errors[] = "找回密码答案小于10位,请返回重新输入"; //验证用户email正确性 if(!preg_match("/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/i",$_POST[mail])) $errors[]="Email地址不正确,请重新输入正确的Email地址"; //错误信息输出 if(sizeof($errors)>0){ $errorStr .= "
# "; $errorStr .= "信息输入错误:"; foreach($errors as $error) $errorStr .= "$error
"; $errorStr .= "
"; }else{ //加密密码 $passwd_user=md5($_POST[password1]); //获取user_no $dk_time=strftime("%y%m%d%H%M%S"); list($usec1, $sec1) = explode(" ",microtime()); $dk_user_no=$dk_time.substr($usec1,2,2); //用户注册语句 $dk_account_query="insert into user_profile(user_no,user_id,user_pwd,resident_no,user_type,login_flag,login_tag,ipt_time,login_time,logout_time,user_ip_addr,server_id) values('$dk_user_no','$_POST[username]','$passwd_user','801011000000','1','0','Y','01/01/2006 00:00:00',null,null,null,'000')"; //用户资料保存 $dk_account_query2="insert into Tbl_user(user_no,user_id,user_pwd,user_mail,user_answer,user_question) values('$dk_user_no','$_POST[username]','$_POST[password1]','$_POST[mail]','$_POST[answer]','$_POST[question]')"; //执行用户注册和资料保存语句 $dk_account_result1=odbc_do($account_odbc,$dk_account_query); $dk_account_result2=odbc_do($account_odbc,$dk_account_query2); odbc_close($account_odbc); } //返回错误消息到页面 return $errorStr; } ?>
|
|
|
12/29/2008, 01:45
|
#529
|
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
|
Yup, same as me.
|
|
|
12/29/2008, 03:45
|
#530
|
elite*gold: 0
Join Date: Feb 2008
Posts: 93
Received Thanks: 2
|
It goes from the register.html page to the register.php page. It's not executing the code, just kinda showing it to me. -_-
|
|
|
12/29/2008, 03:58
|
#531
|
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
|
Quote:
Originally Posted by jhustle
It goes from the register.html page to the register.php page. It's not executing the code, just kinda showing it to me. -_-
|
Do you have PHP enabled in your webserver?
|
|
|
12/29/2008, 13:40
|
#532
|
elite*gold: 0
Join Date: Dec 2008
Posts: 82
Received Thanks: 10
|
man i cant download the vidio
|
|
|
12/29/2008, 14:36
|
#533
|
elite*gold: 0
Join Date: Nov 2007
Posts: 44
Received Thanks: 4
|
This is the error I get when I try to register
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C:\xampp\htdocs\reg\register.php on line 28
Warning: odbc_do(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\reg\register.php on line 34
Warning: odbc_fetch_row(): supplied argument is not a valid ODBC result resource in C:\xampp\htdocs\reg\register.php on line 35
Warning: odbc_result(): supplied argument is not a valid ODBC result resource in C:\xampp\htdocs\reg\register.php on line 36
Warning: odbc_do(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\reg\register.php on line 81
Warning: odbc_do(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\reg\register.php on line 82
Warning: odbc_close(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\reg\register.php on line 83
|
|
|
12/29/2008, 16:00
|
#534
|
elite*gold: 0
Join Date: Feb 2008
Posts: 93
Received Thanks: 2
|
Quote:
Originally Posted by Razzen
Do you have PHP enabled in your webserver?
|
I'm using the webman thing that comes with the server. Do I need to install/enable php?
|
|
|
12/29/2008, 16:04
|
#535
|
elite*gold: 0
Join Date: Dec 2008
Posts: 21
Received Thanks: 3
|
Cannot Connect to the Server WHY ?
|
|
|
12/29/2008, 16:15
|
#536
|
elite*gold: 0
Join Date: Jun 2006
Posts: 18
Received Thanks: 1
|
Quote:
Originally Posted by DeeQ_OptixX
i dont know what is happen ?
What is wrong ?
Is it a Problem to connect for German PPl or what ? ^^
need help pls :=)
Bla Bla Bla .. Pictures Pictures... Bla.. 
|
Check Data.pak
|
|
|
12/29/2008, 17:36
|
#537
|
elite*gold: 0
Join Date: Oct 2008
Posts: 154
Received Thanks: 4
|
what in data.pak? give us some hints
|
|
|
12/29/2008, 17:48
|
#538
|
elite*gold: 0
Join Date: Dec 2008
Posts: 21
Received Thanks: 3
|
Quote:
Originally Posted by hollyman
Check Data.pak 
|
i know changing ip in data and p-server connector.exe
data 10 x ip and luncher 2 x ip
just from ,0,192.168.5.007,50005
to ,,192.168.2.075,50005
or is this wrong ?
|
|
|
12/29/2008, 18:28
|
#539
|
elite*gold: 0
Join Date: Oct 2008
Posts: 24
Received Thanks: 3
|
Quote:
Originally Posted by DeeQ_OptixX
i know changing ip in data and p-server connector.exe
data 10 x ip and luncher 2 x ip
just from ,0,192.168.5.007,50005
to ,,192.168.2.075,50005
or is this wrong ?
|
I would say..
just from ,0,192.168.5.007,50005
to ,0,192.168.2.075,50005
as the IP is the same size
|
|
|
12/29/2008, 18:47
|
#540
|
elite*gold: 0
Join Date: Dec 2008
Posts: 21
Received Thanks: 3
|
Quote:
Originally Posted by Beastie
I would say..
just from ,0,192.168.5.007,50005
to ,0,192.168.2.075,50005
as the IP is the same size 
|
exactly..
but I think my problem is another one but which one
no-one can fix this problem ?
|
|
|
All times are GMT +1. The time now is 05:55.
|
|