Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 03:11

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

Advertisement



[TestSrxS]searching people

Discussion on [TestSrxS]searching people within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
[TestSrxS]searching people

Test SRX Server

Im searching people who can help me with server.i created server to test xsense srx project server stability,bugs. I need help to create reg page and with some other things.
I use hamaci becouse my internet is not mine...
I will not buy deticated server because its to expensive for me, im just 16y.old ... Write here if you can help me .thanks to xsense for hes job.

Dont blame me .. Today we had 7users ;D.
* White * is offline  
Old 08/10/2011, 23:57   #2
 
Kungenbaz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 133
Received Thanks: 19
I can't fix the reg page for you, but is there anything else you need help with, if you are serious about this server, i could help you, if not i don't want to.

I want something to do, I'm on vacation, from work, so i don't know what to fil all my days with, so a project would be awesome, please tell me what else i could help you with.
Kungenbaz is offline  
Old 08/11/2011, 00:12   #3
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
Quote:
Originally Posted by Kungenbaz View Post
I can't fix the reg page for you, but is there anything else you need help with, if you are serious about this server, i could help you, if not i don't want to.

I want something to do, I'm on vacation, from work, so i don't know what to fil all my days with, so a project would be awesome, please tell me what else i could help you with.
Search bugs,if you dont like hamachi you can host on your pc,
help me to update it when xsense realese new version,compile it,i can but i didnt download c# ,
Write in xcoding.net all bugs
And test,play game.help to players
* White * is offline  
Old 08/11/2011, 00:15   #4
 
evolution007's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 284
Received Thanks: 90
how offen you open your server? at free time i can help
evolution007 is offline  
Old 08/11/2011, 00:30   #5
 
killercom's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 391
Received Thanks: 53
ok server ip please
killercom is offline  
Old 08/11/2011, 10:01   #6
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
ok i did all . But when i go to reg.htm i get this .

Code:
>>>> YOUR_DATABASE <<<<< AND replace it with your database NAME! // Xsense ////////////////////////////////////////////////////////////////////////////////////// $mssql = array( 'host' => "N0601-SAN\SQLEXPRESS", //Your mssql host goes here 'user' => "sa", //Your mssql username goes here 'pass' => "1234" //Your mssql password goes here ); function anti_injection($sql) { $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql); $sql = trim($sql); $sql = strip_tags($sql); $sql = addslashes($sql); return $sql; } if($_POST['activ'] == '1') { $accname = anti_injection($_POST['accname']); $accpass1 = anti_injection($_POST['accpass1']); $accpass2 = anti_injection($_POST['accpass2']); $con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']); $result1 = mssql_query("SELECT * FROM N0601-SAN\SQLEXPRESS.dbo.users WHERE id = '".$accname."'",$con); $row1 = mssql_num_rows($result1); if(empty($accname) || empty($accpass1) || empty($accpass2)|| empty($accname)) { echo "
You didnt fill in all fieldsGo Back"; } elseif($row1 > '0' || $row2 > '0') { echo "
This Account name already exists.Go Back"; } elseif($accpass1 != $accpass2) { echo "
The passwords did not matchGo Back"; } elseif($accpass1 == $accname) { echo "
Account name and password are the same.Go Back"; } elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accname)) { echo "
Enter a account name only with 0-9 , a-z and A-Z.Go Back"; } elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accpass1)) { echo "
Enter a password only with 0-9 , a-z and A-Z.Go Back"; } elseif(strlen($accname) < 3 || strlen($accname) > 15) { echo "
Username Must be above 3 and lower then 15 Go Back"; } elseif(strlen($accpass1) < 3 || strlen($accpass1) > 15) { echo "
Password Must be above 3 and lower then 15 .Go Back"; } else { $accpass = md5($accpass1); $con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']); mssql_query("INSERT INTO N0601-SAN\SQLEXPRESS.dbo.users ( id, password, online, unknown, unknown2, silk, gold ) VALUES ( '".$accname."', '".$accpass."', '0', '0', '0', '0', '0' )",$con); ?>



here is my reg.htm
Code:
<style type="text/css">
<!--
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #FFFFFF;
}
body {
	background-color: #000000;
}
-->
</style>
<?php
//////////////////////////////////////////////////////////////////////////////////////
// IMPORTANT!!!!!!
// SEARCH FOR >>>>> N0601-SAN\SQLEXPRESS <<<<< AND replace it with your database NAME!
// Xsense
//////////////////////////////////////////////////////////////////////////////////////
$mssql = array(
		'host' => "N0601-SAN\SQLEXPRESS",		//Your mssql host goes here
		'user' => "sa",		//Your mssql username goes here
		'pass' => "1234"		//Your mssql password goes here
	);

function anti_injection($sql) {
   $sql 			= preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
   $sql 			= trim($sql);
   $sql 			= strip_tags($sql);
   $sql 			= addslashes($sql);
   return $sql;
}

if($_POST['activ'] == '1') {

		$accname 		= anti_injection($_POST['accname']);
		$accpass1 		= anti_injection($_POST['accpass1']);
		$accpass2 		= anti_injection($_POST['accpass2']);
		$con 			= mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
		$result1 		= mssql_query("SELECT * FROM N0601-SAN\SQLEXPRESS.dbo.users WHERE id = '".$accname."'",$con);
		$row1 			= mssql_num_rows($result1);
		
		if(empty($accname) || empty($accpass1) || empty($accpass2)|| empty($accname)) {
			echo "<br>You didnt fill in all fields<a href='javascript:history.back()'>Go Back</a>";
		} elseif($row1 > '0' || $row2 > '0') {
			echo "<br>This Account name already exists.<a href='javascript:history.back()'>Go Back</a>";
		} elseif($accpass1 != $accpass2) {
			echo "<br>The passwords did not match<a href='javascript:history.back()'>Go Back</a>";
		} elseif($accpass1 == $accname) {
			echo "<br>Account name and password are the same.<a href='javascript:history.back()'>Go Back</a>";
		} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accname)) {
			echo "<br>Enter a account name only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
		} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accpass1)) {
			echo "<br>Enter a password only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
		} elseif(strlen($accname) < 3 || strlen($accname) > 15) {
			echo "<br>Username Must be above 3 and lower then 15 <a href='javascript:history.back()'>Go Back</a>";
		} elseif(strlen($accpass1) < 3 || strlen($accpass1) > 15) {
			echo "<br>Password Must be above 3 and lower then 15 .<a href='javascript:history.back()'>Go Back</a>";
		} else {

		$accpass 		= md5($accpass1);
		$con 			= mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
						  mssql_query("INSERT INTO N0601-SAN\SQLEXPRESS.dbo.users (
						  											id,
																	password,
																	online,
																	unknown,
																	unknown2,
																	silk,
																	gold
																)
														VALUES 	(
																	'".$accname."',
																	'".$accpass."',
																	'0',
																	'0',
																	'0',
																	'0',
																	'0'
																)",$con);
?>
	<center>
		<table width="500">
			<tr>
	  			<td colspan='2' align='center'><img src="top.jpg" width="500" height="300" /></td>
			</tr>
			<tr>
	  			<td colspan="2" align="center" bgcolor="#333333">
					Welcome to srevolution! Below are your details! Keep them safe!
				</td>
			</tr>
			<tr>
	  			<td bgcolor="#666666">
					Account name: 
				</td>
				<td bgcolor="#666666">
					<b><?php echo "".$accname.""; ?></b>
				</td>
			</tr>
			<tr>
	  			<td bgcolor="#333333">
					Your password: 
				</td>
				<td bgcolor="#333333">
					<b><?php echo "".$accpass1.""; ?></b>
				</td>
			</tr>
		</table>
	</center>

<?php
		}

} else {

	$con 			= mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
	$result1 		= mssql_query("SELECT * FROM N0601-SAN\SQLEXPRESS.dbo.users",$con);
	$row1 			= mssql_num_rows($result1);
?>	

	<form action='reg.php' method='POST'>
		<center>
			<table width="500">
				<tr>
	  				<td colspan='2' align='center'>
						<img src="top.jpg" width="500" height="300" />
					</td>
				</tr>
				<tr>
					<td bgcolor="#333333">Account Name</td>
					<td bgcolor="#333333">
						<input type='text' name='accname' maxlength='12'>
					</td>
				</tr>
				<tr>
					<td bgcolor="#666666">Password</td>
					<td bgcolor="#666666">
						<input type='password' name='accpass1' maxlength='12'>
					</td>
				</tr>
				<tr>
					<td bgcolor="#333333">Again pass.</td>
					<td bgcolor="#333333">
						<input type='password' name='accpass2' maxlength='12'>
					</td>
				</tr>
				<tr>
					<td align='center' bgcolor="#666666">
					</td>
	  				<td align='right' bgcolor="#666666">
						<input type='hidden' name='activ' value='1' />
        				<input name="submit" type='submit' value='Create Account' />
					</td>
				</tr>
			</table>
		</center>
	</form>
	
<?php
}
?>







IF i use other reg page. then here

i get Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\reg.php on line 115
* White * is offline  
Old 08/11/2011, 10:11   #7
 
evolution007's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 284
Received Thanks: 90
you haven't changed this part:
Quote:
N0601-SAN\SQLEXPRESS
evolution007 is offline  
Old 08/11/2011, 11:02   #8
 
* White *'s Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 717
Received Thanks: 330
Quote:
Originally Posted by evolution007 View Post
you haven't changed this part:
where ? look to code man, all changed
* White * is offline  
Old 08/11/2011, 11:24   #9
 
evolution007's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 284
Received Thanks: 90
Quote:
style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
}
body {
background-color: #000000;
}
-->
</style>
<?php
//////////////////////////////////////////////////////////////////////////////////////
// IMPORTANT!!!!!!
// SEARCH FOR >>>>> N0601-SAN\SQLEXPRESS <<<<< AND replace it with your database NAME!
// Xsense
//////////////////////////////////////////////////////////////////////////////////////
$mssql = array(
'host' => "N0601-SAN\SQLEXPRESS", //Your mssql host goes here
'user' => "sa", //Your mssql username goes here
'pass' => "1234" //Your mssql password goes here
);
look at N0601-SAN\SQLEXPRESS
evolution007 is offline  
Old 08/11/2011, 13:02   #10
 
Kungenbaz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 133
Received Thanks: 19
I could help you search for bugs, and be ingame support if you will make this server serious.
Kungenbaz is offline  
Old 08/11/2011, 13:11   #11
 
elite*gold: 0
Join Date: Aug 2008
Posts: 38
Received Thanks: 3
any update yet??
jeandree is offline  
Old 08/11/2011, 13:13   #12
 
Bershka's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 645
Received Thanks: 198
he is the biggest afk guy in the world.
Bershka is offline  
Old 08/11/2011, 13:14   #13
 
Aerox1337's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 401
Received Thanks: 102
I can come in that server to test . reply ty !
Aerox1337 is offline  
Old 08/11/2011, 13:24   #14
 
elite*gold: 0
Join Date: May 2011
Posts: 812
Received Thanks: 701
my internet is not mine
MKNocivo is offline  
Old 08/11/2011, 15:18   #15
 
Kungenbaz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 133
Received Thanks: 19
How much does it cost to make the server dedicated, so you don't have to use hamachi to connect?
Kungenbaz is offline  
Reply


Similar Threads Similar Threads
Hi All - Searching for people to help us ^_^
03/18/2011 - SRO Private Server - 16 Replies
we have a server on srevolution base and ofc xcoding got copyrights make a community ; we are searching for people who want to help and are talented in : - video editing - photoshop - media.pk2 - php , html , css that mean website
[Searching]Hi people i'm searching media.pk2 for 2.019 english (SWSRO)
07/21/2009 - SRO Private Server - 4 Replies
TItile it's exist a media.pk2 in english? of SWSRO version 2.019...
[Glory Online] Searching for project people
12/13/2008 - CO2 Private Server - 23 Replies
FORUM: http://gloryonline-forum.co.cc Team Completed! Coder(s): -FireBlazer- (Official Coder ¹) TwinBladez (Official Coder ²) ~Reflexis (Help Coder) Hoster(s):
[Request] Searching for people for my idea!
07/25/2008 - Conquer Online 2 - 13 Replies
Hey i was thinking about making a website with the newest news of Conquer Online 2.0 about updates and the newest scams that people are using and realy everything about conquer news ^^ but the only problem is well i can make a website and i can keep it updated but its boring when i do it alone so that is stupid and that is why i wanna make a team of mmhhmmm 5 people or something do u guys know what i mean? People that i must have: ^^ 1. Website Designer (im the website desginer) 2. I need...



All times are GMT +2. The time now is 03:11.


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.