3 Attachment(s)
Server TRAVIA Online [easy guide setup]
Русским если непонятно - обращайтесь на аську 353*352*50
Create server TRAVIA Online is easy [10 minutes]
This [easy guide] Requredmets:
Minimal is: CPU - 1.8ghz, RAM - 512mb, Static ip adress(no dynamic, no routers) Windows XP SP2
Normal is: CPU - 2.0ghz, RAM - 1gb, Static ip adress(no dynamic, no routers) Windows XP SP2
Server files TRAVIA
1. Download -TRAVIA Server files- and extract to disc D:/ (D:/travia/....)
Translated ITEMCHART (70%) , SKILLCHART (90%) , MONSTERCHART (90%) tnx Proi
Shops all characters set and weapon (easy lvl), upgrade scrools, wings, skill scrolls, potion hp mp antidote and others...
SQL
2. Download and setup SQL (I recomended 2000)
Create 3 databases in MSSQL Server Management:
Account
Game
Chart
Restore D:/travia/DB2-modify/account.bak into Account database.
Restore D:/travia/DB2-modify/game.bak into Game database.
Restore D:/travia/DB2-modify/Chart.bak into Chart database.
FIX ERROR CHARACTERS (player rejoin, character is error - fix)
open Query Analyzer, select db Chart, copy/paste this code:
UPDATE LEVELUPCHART SET LC_STATPOINT = 5, LC_SKILLPOINT = 1
Now go to account db edit there all SERVERTABLES (right click->open table->all rows) need replace 127.0.0.1 to your ip
Take a screenshots
Attachment 49077
Regedit
3. Run Attachment 49076 [mirror](edit all ip's from 84.*.*.* to your ip only leave db to 127.0.0.1) your ip - _www.myip.dk
Attachment 49081 reg files for regedit, after remain ip (your ip adress, don`t touch all ports)
Change sa password to @wmfxm1024$ use the program that blurcode made (ChangePassword.exe) to change default user/password (pass your SQL)
RESTART PC, after start pc, start server files;
.../mapeX/Start_Service.bat
.../run/Zemiworld.exe
.../mapeX/ZemiMap.exe
SERVER UP :)
Client
Client, need remain ip(your) adres and port(3333) redacting in Notepad.exe this files -> Launcher.dat wzconfig.ini traviaset.ini traviacfg.ini
TRAVIA client скачать (filer.lv)
TRAVIA client скачать (megaupload.com)
TRAVIA client скачать (filefront.com)
-
Client Original size ~180, after compressed 120mb :)
-
Game Master TRAVIA
tnx zamzany
Event GM
Account db - usertable - set ut_div - 3
and
Game db - chartable - set ct_div - 3
Super GM
Account db - usertable - set ut_div - 4
and
Game db - chartable - set ct_div - 4
Teleport Commands
/sp Čhar_nick - (any player teleport from gm)
/tp Čhar_nick - (gm teleport from player)
/mm 10101 (press Enter, after teleport in Balmor)
-
/mm 10101 BALMORE
/mm 10102 BALMORE DUNGEON1
/mm 10103 DARK FOREST
/mm 10104 ALTRAVAN DESERT
/mm 10105 FALLEN FLOWER
/mm 10106 BALMOR DUNGEON3
/mm 10107 LOST FOREST
/mm 10108 LOST FOREST [wtf]
/mm 10109 CREVATA
/mm 10110 HAMATRA
/mm 10111 BATTLE
/mm 10112 ANCIENT FOREST
/mm 10113 ELVENOA FOREST
/mm 10114 --ERROR--
/mm 10115 --ERROR--
/mm 10116 --no id--
/mm 10117 --no id--
/mm 10118 --no id--
/mm 10119 ANDARASA
/mm 10120 RACHU CAVE
/mm 10121 SKULL ISLAND [piratko]
/mm 10122 DUNGEON OF MYURAT
/mm 10123 CAYON OF DESPAIR
/mm 10124 --ERROR-- /Data/Terrain/ins_Dungeon/castle_ground05.bmx
/mm 10125 HEAVEN
/mm 10126 ABONDONED
Website Travia Online!
This all codes its working, see - TRAVIA online 3D (MMORPG) - ??????? ????????
Install webserver apache (only php) or xamp or wamp (who not know - use google.com)
1. travia_config.php (config for site)
PHP Code:
<?php
$user = 'sa';
$haslo = 'pass-SQL';
$nazwabazy = "Account";
$hostbazy = "127.0.0.1";
$topbaza = "Game";
$reg_open = true;
?>
2. TOP 15 Players (source code by vovancik)
PHP Code:
<table border=1 cellspacing=0 cellpadding=0 style="background-image:url(back.jpg); background-attachment:fixed; background-position:top;
color:#FFFFFF; text-align:center">
<tr>
<?php
# echo "<tr><td>Place</td><td>Name</td><td>LvL</td><tr>";
echo "<tr><td colspan=3><img src='top.gif'></td></tr>";
include('travia_config.php');
$conn=@mssql_connect($hostbazy,$user,$haslo) or die("<b>Critical Error</b><br>MSSQL server is offline OR I can't Access to it !");
@mssql_select_db($topbaza,$conn) or exit('Couldn\'t connext to db.');
$query = "SELECT CT_LVL, CT_NAME FROM CHARTABLE WHERE CT_DIV = 0 ORDER BY CT_LVL DESC";
$result = mssql_query($query);
$count = mssql_num_rows($result);
for ($i = 1; $i < 16; ++$i)
{
$char = mssql_fetch_row($result);
echo "<tr>\n";
print "\t<td width=22%>".$i."</td>\n";
print "\t<td width=53%>".$char[1]."</td>\n";
print "\t<td width=25%>".$char[0]."</td>\n";
echo "</tr>\n";
}
?>
</table>
3. Registration page (source by Fraps)
PHP Code:
<?php
include 'travia_config.php';
require 'travia_config.php';
echo "<font color='black'><b>1. <u>Remember to use only lower case characters!</u></b></font> <br><font color='black'><b>2.</b></font> If you cant login or/and having in-game issues know it's because you used BIG letters!<br><font color='black'><b>3.</b></font> Register only once per E-Mail, two accounts with same E-Mail will be eliminated!";
$tabelka = '<table>
<form action=register.php method=post>
<tr><td>Login</td><td><input type=text name=login value="'.$_POST['login'].'"></td></tr>
<tr><td>Password</td><td><input type=password name=pass></td></tr>
<tr><td>Repeat password</td><td><input type=password name=cpass></td></tr>
<tr><td>E-Mail</td><td><input type=text name=mail value="'.$_POST['mail'].'"></td></tr>
<tr><td><input type=submit value="Register"></td><td><input type=reset value="Clear fields"></td></tr>
</form>
</table>';
if($reg_open AND isset($_POST['login']))
{
$conn=@mssql_connect($hostbazy,$user,$haslo) or die("<b>Critical Error</b><br>MSSQL server is offline OR I can't Access to it !");
@mssql_select_db($nazwabazy, $conn) or die("<b>Critical Error</b><br>Database don't exists OR I can't Access to it !");
$login = $_POST['login'];
$pw = $_POST['pass'];
$cpw = $_POST['cpass'];
$email = $_POST['mail'];
$login = trim($login);
$pw = trim($pw);
$cpw = trim($cpw);
if(ereg("[^0-9a-zA-Z_-]", $login, $str))
{
echo 'Login zawiera niedozwolone znaki';
echo '<br>'.$tabelka;
}
elseif(ereg("[^0-9a-zA-Z_-]", $pw, $str))
{
echo 'Hasіo zawiera niedozwolone znaki';
echo '<br>'.$tabelka;
}
elseif (empty($login) || empty($email) || empty($pw) || empty($cpw))
{
echo 'Јaskawie wypeіnij pola<br>'.$tabelka;
}
elseif (strpos('\'',$email))
{
echo 'Naprawde uwaїasz їe '.$email.' to poprawny mail?<br>'.$tabelka;
}
else
{
$login_test = strtolower($login);
$resultx = mssql_query("SELECT LOWER(UT_USERID) FROM usertable
WHERE LOWER(UT_USERID) = ('$login_test')") or die;
if (mssql_num_rows($resultx))
{
echo '<br>ERROR:<BR>Login name `'.$login.'` already exist! please choose other login name!<br>'.$tabelka;
}
elseif (strlen($login) < 4)
{
echo '<br>ERROR:<br>Login minimum 4 characters<br>'.$tabelka;
}
elseif (strlen($pw) < 4)
{
echo '<br>ERROR:<br>Password minimum 4 characters<br>'.$tabelka;
}
elseif (strlen($pw) > 10)
{
echo '<br>ERROR:<br>Password max 10 characters<br>'.$tabelka;
}
elseif (strlen($login) > 10)
{
echo '<br>ERROR:<br>Login max 10 characters<br>'.$tabelka;
}
elseif ($pw != $cpw)
{
echo 'Wpisaіeњ dwa rуїne hasіa<br>'.$tabelka;
}
else
{
mssql_query("INSERT INTO usertable (UT_USERID,UT_PASSWORD,UT_ACCOUNTID,UT_DIV,UT_EMAIL) VALUES ('".$login."','".$pw."',convert(binary,'".$login."'),0,'".$email."')") or die('error, account exists');
echo "<br>Account Created, HAVE FUN!<BR>";
}
}
}
elseif($reg_open)
{
echo $tabelka;
}
else
{
echo 'Fraps';
}
//////////////////////////////////////////
echo "</html>";
?>
4. Online stats (source)
PHP Code:
<body style="background-color:#ff9900">
<table style=" border-collapse:collapse;font-family:calibri, arial, courier new; font-size:11px; background-color:#FF9900; border-color: #000000" border="1" cellspacing="0" width="100%">
<tr>
<td style="border-bottom-color:#00CCCC; border-bottom-width:thin; background-color:#CC6600">
<?php
include 'travia_config.php';
$conn=@mssql_connect($hostbazy,$user,$haslo) or die("Critical ErrorMSSQL server is offline OR I can't Access to it !");
@mssql_select_db($nazwabazy, $conn) or die("Critical ErrorDatabase don't exists OR I can't Access to it !");
$result = mssql_query("
SELECT JOIN010_ACCOUNTNAME
FROM JOIN010TL");
$count= mssql_num_rows( $result );
print "<b>Online - ".$count." Users</br>";
echo "</b></td>";
for ($i = 0; $i < $count; ++$i)
{
$char = mssql_fetch_row($result);
print "<tr><td>".$char[0]."</td></tr>";
}
?>
</table>
</body>
//////////////////////////////////////////////////////////////////////////
Good luck all
http://img233.imageshack.us/img233/2...2523438qw1.jpg
Re: Server TRAVIA Online [easy guide setup]
i try everting is ok
map ok
zemiworld ok
i write user and password it says :
Connecting to server please wait ..
and do nothing !!!
and NUMBERS DONT SHOW UP !! so what to put in last box ?
help !?
Re: Server TRAVIA Online [easy guide setup]
His registration file is little bugy...Look at the reg file script...there's your trouble is ... i fixed my error but that error goes with your computer you have to keep changing reg file till it works...this is my reg files...Im not sure that will help you...but just try dont forget to change ip's except the line "DB_IP"="127.0.0.1"
I changed my ip to "YOUR IP HERE" it will be more simple to change ip's...If that will help you let me know!
HERES THE FILEFRONT LINK --->>> Reg.rar - FileFront.com
HERES THE RAPIDSHARE LINK -->> RapidShare: 1-Click Webhosting
HERES THE SENDSPACE LNK --->>> Send big files the easy way. Files too large for email attachments? No problem!
Re: Server TRAVIA Online [easy guide setup]
Quote:
Originally Posted by
liora
i try everting is ok
map ok
zemiworld ok
i write user and password it says :
Connecting to server please wait ..
and do nothing !!!
and NUMBERS DONT SHOW UP !! so what to put in last box ?
help !?
Server start is ok, after join client not show CODE = problem port in files Launcher.dat wzconfig.ini traviaset.ini traviacfg.ini
This guide for clients port 3333
Re: Server TRAVIA Online [easy guide setup]
vytenizs
what Opertion system do u use ? i am using 2003 server with sql 2000
does that reg files fixed the CODE problem for you ?
Kagorec my client ports are find and they are all 3333
Re: Server TRAVIA Online [easy guide setup]
I dont know, why your server not see CODE... =(
Re: Server TRAVIA Online [easy guide setup]
Im trying to help everyone ... I had the same problem like all around here...but i just changed my ports ir databases like kagorec sayd...and changed reg files like i just shared thats all i did ... my client was downloaded from kagorec server ... i just changed my wan ip in client files and all client ports set to 3333 ips to wan ips and server files ips set to lan ips...because im using d link 604i my skype is ConQuest write me i will help you anyway...i used kagorec server files ... but code isnt showing while im not changed ports in databases...keep an eye on your databases...!!!
Re: Server TRAVIA Online [easy guide setup]
i mange to work the Codes ... i can go into my account now !
but there is problem .. aftar i make player i duble click on him and i get error :
"Cant Load Character data"
any help ?
Re: Server TRAVIA Online [easy guide setup]
How do you make server code to work? maybe client error...or database how did you creat account
Re: Server TRAVIA Online [easy guide setup]
I can share my db bak files if you need to ... just say... its not hard to...
Re: Server TRAVIA Online [easy guide setup]
u got msn ? icq ill explain u how i made codes work ..
there is to meny ConQuest in skype culdnt find u
Re: Server TRAVIA Online [easy guide setup]
TRAVIA elf Online - this guide server up =)
Welcome
Re: Server TRAVIA Online [easy guide setup]
D:\travia\mapeX>net start zemilogin
Служба "zemilogin" запускается.
Не удалось запустить службу "zemilogin".
Служба не сообщает об ошибке.
Для вызова дополнительной справки наберите NET HELPMSG 3534.
D:\travia\mapeX>net start ZmAuthServer
Затребованная служба уже запущена.
Для вызова дополнительной справки наберите NET HELPMSG 2182.
D:\travia\mapeX>pause
Для продолжения нажмите любую клавишу . . .
Что делать?
Re: Server TRAVIA Online [easy guide setup]
Quote:
Originally Posted by
Monstrik
D:\travia\mapeX>net start zemilogin
Служба "zemilogin" запускается.
Не удалось запустить службу "zemilogin".
Служба не сообщает об ошибке.
Для вызова дополнительной справки наберите NET HELPMSG 3534.
D:\travia\mapeX>net start ZmAuthServer
Затребованная служба уже запущена.
Для вызова дополнительной справки наберите NET HELPMSG 2182.
D:\travia\mapeX>pause
Для продолжения нажмите любую клавишу . . .
Что делать?
Уважай всех, пиши на интернацианальном языке =)
This problem is wrong ip adress in regedit, replace 84.*.*.* your ip, after restart pc...
Re: Server TRAVIA Online [easy guide setup]
Сори но я англиский плохо знаю=(
Да поменял =( И всеравно Не запускается=(
Мош стукнуть в аську плиз=)) --212824760