Do all the same of Localhost Tutorial, but edit this files:
1.- The database.xml file, edit with the respective Host, database name, user, and password.
2.- Upload this web:
Edited WebSite for Tera-Shock
Patch to Fix Change-Pw and Profile
Thanks to @
nicolasn1 for this.
3.- Go to WebFolder/core/connect/ and edit database.php file:
Host = IP of MySQL Server.
Username = Username of MySQL Server.
Password = Password of MySQL Server.
dbname = The name of DataBase.
4.- Go to Navicat or PhpMyAdmin, and execute this SQL Query in your database, ex: terax1.
Code:
-- ----------------------------
-- Table structure for `accounts`
-- ----------------------------
DROP TABLE IF EXISTS `accounts`;
Create TABLE `accounts` (
`AccountId` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(32) NOT NULL DEFAULT '',
`password` varchar(256) CHARACTER SET latin1 DEFAULT '',
`email` varchar(45) CHARACTER SET latin1 DEFAULT 'null@null',
`access_level` smallint(6) NOT NULL DEFAULT '0',
`end_pay` bigint(15) NOT NULL DEFAULT '0',
`end_block` bigint(15) NOT NULL DEFAULT '0',
`last_ip` varchar(15) NOT NULL DEFAULT '',
`allow_ips` varchar(255) NOT NULL DEFAULT '*',
`comments` varchar(255) NOT NULL DEFAULT '',
`LastOnlineUtc` bigint(64) NOT NULL DEFAULT '0',
`EmailVerify` varchar(256) NOT NULL,
`PasswordRecovery` varchar(128) NOT NULL,
`Coins` int(11) NOT NULL DEFAULT '0',
`Ip` varchar(64) NOT NULL,
`Membership` int(1) NOT NULL DEFAULT '0',
`isGM` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`AccountId`),
KEY `access_level` (`access_level`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Thanks to @
nicolasn1 for this.
4.- Edit the serverlist.en file with the Public IP, not localhost or 127.0.0.1 and upload it to %WAMPSERVER%/www/server. Same in Localhost Tutorial, the
http://YOUR.IP.HERE/server/serverlist.en must be work, if not, you did it something wrong.
5.- Then, you must download this launcher:
Launcher for Tera-Shock
Thanks to @
gda123123 for this.
6.- Extract in Client Folder, and execute "Generator.exe".
In this, edit to you ServerPath, I recommend:
http://YOUR.IP.HERE/server/serverlist.en.
7.- Start you server, wait until "Gameserver started".
8.- Go to url for the Web, uploaded in the step 2.
9.- Register a New Account.
10.- If you want a GM Account, go to your database, ex: terax1, characters tab, and edit access level to 100.
11.- Start teraLauncher.exe, put your username and password, click in Play.
12.- Enjoy.