Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Bots Online Server Files & Client

Status
Not open for further replies.
Joined
Sep 1, 2011
Messages
453
Reaction score
191
Bots Online Server Files!
Lets keep this Short and sweet ^-^



Note: Not for making a server with currently, needs to be worked on a bit more until we can get a stable build.

  • Requirements
    • Java Obv
    • Netbeans
    • Brains

  • Small Guides:
    • Editing Server IP

      • Edit IP in ChannelServer.java on Line 119
        Same in LoginServer.java on line 96
        Code:
        if(!Main.getip(socket).equals("127.0.0.1")){
    • To edit Client IP
      • 1.) Open patch.ini
        2.) Replace 127.0.0.1 with your server's ip leave the 0s sense there needed by the client!

    • Edit Mysql Information
      You can edit mysql information to fit your needs here, I'll be coding finishing the configs soon.

      Edit on line 61 in SQLDatabase.java (LoginServer),
      And Edit on line 69 in SQLDatabase.java (ChannelServer)

      Code:
                      String serverName = "localhost";
                      String mydatabase = "bout_evolution";
                      String url = "jdbc:mysql://" + serverName +  "/" + mydatabase; // a JDBC url
                      String username = "root";
                      String password = "pass";
  • Bugs:
    • Character Movements Aren't Correct Packet Related.
    • Some Mobs Don't Die, Packet Related.
    • Conf Files Arent Finished Being Coded in maybe Ill do that quick and re-upload.
    • Some things can be Cleaned.

  • Screenshots:
    • [IMG]https://forum.ragezone.com/ima...Bots Server Done Secured Multi Upload biz rar
    • Client Files -
I don't like the current Upload sites, If anyone wants to Mirror, I'd Gladly appreciate it!


Password:
Code:
secured


Be Sure to Keep my Credits in the Server files, removing will make me Sad</3
Be Sure to Press the +Like and +Rep Button as you Download!
 
Last edited:
Newbie Spellweaver
Joined
May 4, 2012
Messages
23
Reaction score
0
where the loginserver/channel programs .Java that start the server

i can't find them

re uload Client in mediafire - or jumbo files - somethign speeder than this sites not working


-----------
i added

CREATE TABLE IF NOT EXISTS `bout_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(40) NOT NULL,
`password` varchar(40) NOT NULL,
`coins` int(25) NOT NULL DEFAULT '0',
`banned` int(1) NOT NULL DEFAULT '0',
`online` int(1) NOT NULL DEFAULT '0',
`current_ip` varchar(100) NOT NULL DEFAULT '',
`logincount` mediumint(9) unsigned NOT NULL DEFAULT '0',
`last_ip` varchar(100) NOT NULL DEFAULT '',
`lastlogin` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`email` varchar(40) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

as table

then what to do after thaat to add new user ?
 
Last edited:
Joined
Sep 1, 2011
Messages
453
Reaction score
191
where the loginserver/channel programs .Java that start the server

i can't find them

re uload Client in mediafire - or jumbo files - somethign speeder than this sites not working


-----------
i added



as table

then what to do after that to add new user ?
Isn't that fairly self explanatory?
Insert a row with user information?

@thisguy
bots said:
hello
I N-log soft
I hope you delete http://forum.ragezone.com/f111/bots-online-server-files-client-843057/
Come back soon bots 2
An agreement with Nexon
I'm sorry bad english.
I am Korean
No.
 
Newbie Spellweaver
Joined
May 4, 2012
Messages
23
Reaction score
0
what i did wrong

Secured - Bots Online Server Files & Client - RaGEZONE Forums

Secured - Bots Online Server Files & Client - RaGEZONE Forums

Secured - Bots Online Server Files & Client - RaGEZONE Forums

Secured - Bots Online Server Files & Client - RaGEZONE Forums


* Appserv [appache]
Configs edited
Datebased edited , or bout_evolution File exported to the datebase
inserted a user in bout_users for example (1.userhere.passhere . . . . etc )

Mysql files edited + sqldatevase + ChannelServer + LoginServer

using Bat file to open dat file directly

patch file edited [ tried localhost , 127.0.0.1 ]


so why i can't to log in waiting and waiting and waiting nothing happens

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Do i need real server or i can loging with Appache server [appserv 5.9]

i just want to test and edit it at appserv

then to release it at real server
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Dec 21, 2007
Messages
1,040
Reaction score
127
Ahah, this is lovely. I was just playing Bots Evolution, decided to check RZ and I find this here :p I'm gonna check the server files out! Thanks for the release
 
Experienced Elementalist
Joined
Apr 2, 2011
Messages
249
Reaction score
3
AWESOME! If anyone make a server, i would gladly help out
 
Custom Title Activated
Loyal Member
Joined
Dec 21, 2007
Messages
1,040
Reaction score
127
Hey OP, is there any way to use the current Bouts Online client in order to connect to a localhost? I just wanted to try out and avoid having to download a whole new client for this.
Thanks in advance
 
Joined
Sep 1, 2011
Messages
453
Reaction score
191
Hey OP, is there any way to use the current Bouts Online client in order to connect to a localhost? I just wanted to try out and avoid having to download a whole new client for this.
Thanks in advance

Nope the client is edited a bit and the server is confugred to use that verision.

 
Custom Title Activated
Loyal Member
Joined
Dec 21, 2007
Messages
1,040
Reaction score
127
PHP:
<?php

	$host = 'localhost';
	$mysqlUser = 'root'; //Edit between the ' ' with your MySQL database connection username
	$mysqlPassword = ''; //Edit between the ' ' with your MySQL database connection password
	$mysqlDATABASE = 'bots'; //Edit between the ' ' with your BOTS ONLINE database name (default: bots_revolution)

		@mysql_connect($host, $mysqlUser, $mysqlPassword) or die(mysql_error()); // remove the @ to allow debug messages
		@mysql_select_db($mysqlDATABASE) or die(mysql_error()); // remove the @ to allow debug messages
?>

<html>

<head>

<title> Bots registration </title>

</head>
<body>

<center> Register<br>
Registered users: <?php print $users = mysql_num_rows(mysql_query("SELECT * FROM bout_users")); ?>

<form method="post">
Username: <input type="text" name="username" maxlength="16" /> </br>
Password: <input type="password" name="password" maxlength="24" /></br>
Email: <input type="text" name="email" /></br>
<input type="submit" value="Register" name="submit" />

<?php



		if(isset($_POST['submit'])) {

	$username = mysql_real_escape_string($_POST['username']);
	$password = mysql_real_escape_string(md5($_POST['password']));
	$email = mysql_real_escape_string($_POST['email']);
	$ip = $_SERVER['REMOTE_ADDR'];

		if(empty($username) || empty($password) || empty($email)) {
	die("<br>Please fill in all fields");

	}

	$check_username = mysql_num_rows(mysql_query("SELECT * FROM bout_users WHERE username ='$username'"));
	$check_email = mysql_num_rows(mysql_query("SELECT * FROM bout_users WHERE email ='$email'"));

		if($check_username > 0) {
	die("Username already exists");
	}
		if($check_email > 0) {
	die("Email already exists");
		} else {

	$do = mysql_query("INSERT INTO bout_users(username, password, current_ip, last_ip, email) VALUES('$username','$password','$ip','$ip','$email')") OR die(mysql_error());
		if($do) {
	print "Registration sucessfull, you may now login.";
	}


	}


	}


?>

simple registration script to whoever wants to create an account to try out the server.

p.s.: not sure if there's an extra hash along md5, didn't see anything on the server files

*edit

PHP:
<?php

	$host = 'localhost';
	$mysqlUser = 'root'; //Edit between the ' ' with your MySQL database connection username
	$mysqlPassword = ''; //Edit between the ' ' with your MySQL database connection password
	$mysqlDATABASE = 'bots'; //Edit between the ' ' with your BOTS ONLINE database name (default: bots_revolution)

		@mysql_connect($host, $mysqlUser, $mysqlPassword) or die(mysql_error()); // remove the @ to allow debug messages
		@mysql_select_db($mysqlDATABASE) or die(mysql_error()); // remove the @ to allow debug messages
?>

<html>
<head>
<title> Adding coins </title>
</head>
<body>

<center>
Adding coins to your account

<form method="post">
Account username: <input type="text" name="usernameCoins" /> <br>
Coins quantity: <input type="text" name="quantityCoins" /> <br>
<input type="submit" value="Add" name="submitCoins" /> <br>

<?php

if(isset($_POST['submitCoins'])) {
$accountUsername = mysql_real_escape_string($_POST['usernameCoins']);
$quantityCoins = mysql_real_escape_string($_POST['quantityCoins']);
if(empty($accountUsername) || empty($quantityCoins)) {
die("Fill in all fields");
}

$do = mysql_query("UPDATE bout_users SET coins=coins+$quantityCoins WHERE username='$accountUsername'");
if($do) {
print "Coins added";
}
}
?>

Adding coins script to purchase coins only equipment from the shop
 
Last edited:
Experienced Elementalist
Joined
Apr 2, 2011
Messages
249
Reaction score
3
PHP:
<?php

	$host = 'localhost';
	$mysqlUser = 'root'; //Edit between the ' ' with your MySQL database connection username
	$mysqlPassword = ''; //Edit between the ' ' with your MySQL database connection password
	$mysqlDATABASE = 'bots'; //Edit between the ' ' with your BOTS ONLINE database name (default: bots_revolution)

		@mysql_connect($host, $mysqlUser, $mysqlPassword) or die(mysql_error()); // remove the @ to allow debug messages
		@mysql_select_db($mysqlDATABASE) or die(mysql_error()); // remove the @ to allow debug messages
?>

<html>

<head>

<title> Bots registration </title>

</head>
<body>

<center> Register<br>
Registered users: <?php print $users = mysql_num_rows(mysql_query("SELECT * FROM bout_users")); ?>

<form method="post">
Username: <input type="text" name="username" maxlength="16" /> </br>
Password: <input type="password" name="password" maxlength="24" /></br>
Email: <input type="text" name="email" /></br>
<input type="submit" value="Register" name="submit" />

<?php



		if(isset($_POST['submit'])) {

	$username = mysql_real_escape_string($_POST['username']);
	$password = mysql_real_escape_string(md5($_POST['password']));
	$email = mysql_real_escape_string($_POST['email']);
	$ip = $_SERVER['REMOTE_ADDR'];

		if(empty($username) || empty($password) || empty($email)) {
	die("<br>Please fill in all fields");

	}

	$check_username = mysql_num_rows(mysql_query("SELECT * FROM bout_users WHERE username ='$username'"));
	$check_email = mysql_num_rows(mysql_query("SELECT * FROM bout_users WHERE email ='$email'"));

		if($check_username > 0) {
	die("Username already exists");
	}
		if($check_email > 0) {
	die("Email already exists");
		} else {

	$do = mysql_query("INSERT INTO bout_users(username, password, current_ip, last_ip, email) VALUES('$username','$password','$ip','$ip','$email')") OR die(mysql_error());
		if($do) {
	print "Registration sucessfull, you may now login.";
	}


	}


	}


?>

simple registration script to whoever wants to create an account to try out the server.

p.s.: not sure if there's an extra hash along md5, didn't see anything on the server files

*edit

PHP:
<?php

	$host = 'localhost';
	$mysqlUser = 'root'; //Edit between the ' ' with your MySQL database connection username
	$mysqlPassword = ''; //Edit between the ' ' with your MySQL database connection password
	$mysqlDATABASE = 'bots'; //Edit between the ' ' with your BOTS ONLINE database name (default: bots_revolution)

		@mysql_connect($host, $mysqlUser, $mysqlPassword) or die(mysql_error()); // remove the @ to allow debug messages
		@mysql_select_db($mysqlDATABASE) or die(mysql_error()); // remove the @ to allow debug messages
?>

<html>
<head>
<title> Adding coins </title>
</head>
<body>

<center>
Adding coins to your account

<form method="post">
Account username: <input type="text" name="usernameCoins" /> <br>
Coins quantity: <input type="text" name="quantityCoins" /> <br>
<input type="submit" value="Add" name="submitCoins" /> <br>

<?php

if(isset($_POST['submitCoins'])) {
$accountUsername = mysql_real_escape_string($_POST['usernameCoins']);
$quantityCoins = mysql_real_escape_string($_POST['quantityCoins']);
if(empty($accountUsername) || empty($quantityCoins)) {
die("Fill in all fields");
}

$do = mysql_query("UPDATE bout_users SET coins=coins+$quantityCoins WHERE username='$accountUsername'");
if($do) {
print "Coins added";
}
}
?>

Adding coins script to purchase coins only equipment from the shop

Masius, why don't you make a server since you are good at this xD
 
Newbie Spellweaver
Joined
May 4, 2012
Messages
23
Reaction score
0
PHP:
<?php

	$host = 'localhost';
	$mysqlUser = 'root'; //Edit between the ' ' with your MySQL database connection username
	$mysqlPassword = ''; //Edit between the ' ' with your MySQL database connection password
	$mysqlDATABASE = 'bots'; //Edit between the ' ' with your BOTS ONLINE database name (default: bots_revolution)

		@mysql_connect($host, $mysqlUser, $mysqlPassword) or die(mysql_error()); // remove the @ to allow debug messages
		@mysql_select_db($mysqlDATABASE) or die(mysql_error()); // remove the @ to allow debug messages
?>

<html>

<head>

<title> Bots registration </title>

</head>
<body>

<center> Register<br>
Registered users: <?php print $users = mysql_num_rows(mysql_query("SELECT * FROM bout_users")); ?>

<form method="post">
Username: <input type="text" name="username" maxlength="16" /> </br>
Password: <input type="password" name="password" maxlength="24" /></br>
Email: <input type="text" name="email" /></br>
<input type="submit" value="Register" name="submit" />

<?php



		if(isset($_POST['submit'])) {

	$username = mysql_real_escape_string($_POST['username']);
	$password = mysql_real_escape_string(md5($_POST['password']));
	$email = mysql_real_escape_string($_POST['email']);
	$ip = $_SERVER['REMOTE_ADDR'];

		if(empty($username) || empty($password) || empty($email)) {
	die("<br>Please fill in all fields");

	}

	$check_username = mysql_num_rows(mysql_query("SELECT * FROM bout_users WHERE username ='$username'"));
	$check_email = mysql_num_rows(mysql_query("SELECT * FROM bout_users WHERE email ='$email'"));

		if($check_username > 0) {
	die("Username already exists");
	}
		if($check_email > 0) {
	die("Email already exists");
		} else {

	$do = mysql_query("INSERT INTO bout_users(username, password, current_ip, last_ip, email) VALUES('$username','$password','$ip','$ip','$email')") OR die(mysql_error());
		if($do) {
	print "Registration sucessfull, you may now login.";
	}


	}


	}


?>

simple registration script to whoever wants to create an account to try out the server.

p.s.: not sure if there's an extra hash along md5, didn't see anything on the server files

*edit

PHP:
<?php

	$host = 'localhost';
	$mysqlUser = 'root'; //Edit between the ' ' with your MySQL database connection username
	$mysqlPassword = ''; //Edit between the ' ' with your MySQL database connection password
	$mysqlDATABASE = 'bots'; //Edit between the ' ' with your BOTS ONLINE database name (default: bots_revolution)

		@mysql_connect($host, $mysqlUser, $mysqlPassword) or die(mysql_error()); // remove the @ to allow debug messages
		@mysql_select_db($mysqlDATABASE) or die(mysql_error()); // remove the @ to allow debug messages
?>

<html>
<head>
<title> Adding coins </title>
</head>
<body>

<center>
Adding coins to your account

<form method="post">
Account username: <input type="text" name="usernameCoins" /> <br>
Coins quantity: <input type="text" name="quantityCoins" /> <br>
<input type="submit" value="Add" name="submitCoins" /> <br>

<?php

if(isset($_POST['submitCoins'])) {
$accountUsername = mysql_real_escape_string($_POST['usernameCoins']);
$quantityCoins = mysql_real_escape_string($_POST['quantityCoins']);
if(empty($accountUsername) || empty($quantityCoins)) {
die("Fill in all fields");
}

$do = mysql_query("UPDATE bout_users SET coins=coins+$quantityCoins WHERE username='$accountUsername'");
if($do) {
print "Coins added";
}
}
?>

Adding coins script to purchase coins only equipment from the shop

where did u got that ?
 
Status
Not open for further replies.
Back
Top