[RELEASE] WORKING Fixed Serverfiles+English gameclient!

12/29/2008 00:13 jhustle#526
Thanks. It worked. :D
12/29/2008 00:28 Razzen#527
I've created the system dNS link and still the reg page giving me errors.
12/29/2008 01:34 jhustle#528
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 Razzen#529
Yup, same as me.
12/29/2008 03:45 jhustle#530
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 Razzen#531
Quote:
Originally Posted by jhustle View Post
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 hafasdfgdsfasf#532
man i cant download the vidio :(
12/29/2008 14:36 Recaci#533
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 jhustle#534
Quote:
Originally Posted by Razzen View Post
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 DeeQ_OptixX#535
i dont know what is happen ?
What is wrong ?
Is it a Problem to connect for German PPl or what ? ^^
need help pls :=)


[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
12/29/2008 16:15 hollyman#536
Quote:
Originally Posted by DeeQ_OptixX View Post
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.. :D


Check Data.pak :D
12/29/2008 17:36 ProToPro#537
what in data.pak? give us some hints
12/29/2008 17:48 DeeQ_OptixX#538
Quote:
Originally Posted by hollyman View Post
Check Data.pak :D

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 Beastie#539
Quote:
Originally Posted by DeeQ_OptixX View Post
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 DeeQ_OptixX#540
Quote:
Originally Posted by Beastie View Post
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 ?