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!

Tera Up to date EMU Server Files

Status
Not open for further replies.
Joined
Feb 2, 2012
Messages
413
Reaction score
249
don´t know
add to icq.. but had no time to talk till now.. and was off yesterday...
will check them out when i have.. hope theres some what helps with packets

i updated the serve now to lobby

but seems they added some variables to the lobby
char creating works so far..

but have a problem that when i click on char create after name entry where it writes the character.data to sql database
should write now 14 bytes before on 1725 only 8 bytes!
when i use 14 bytes what should be right after packet sending
i always get the error ingame that char name already exists or a server error happened
and i get back to lobby with no writing to the sql database! so no char created!

when i use 13 bytes character creation works! you see the char in the lobby
and it writes to database characters data
but on a restart i getting sql error and a crash of the game

when i add now manual to sql "00" zeros to the data table i get ingame and char is there ^^

a bit confusing why does it not work with 14 bytes what shoudl be the correct lenght
but with 13 creation works but there are 2 "00" missig at the end but game start works after adding manually 2 zeros to get again 14!

when i let 13 bytes in char data in sql i cant start the game always crash after server select to lobby^^

with 13 bytes + manual "00" add
i get ingame.. but on click on character i get dialog msg that char needs to be renamed every time^^

any ideas maybe?
i think its maybe the GetCharlist Packet..
reading back entrys...

14should right.. writing does work.. after creation > you get back to lobby and loads again the char list..
there is i think the error it reads back wrong string from char data sql
 
Newbie Spellweaver
Joined
Sep 22, 2006
Messages
75
Reaction score
0
P5yl0, thx for all you're doing.

How you can help the project in relation to packages or report bugs anyway ... I want to help improve ...
 
Newbie Spellweaver
Joined
Dec 2, 2008
Messages
5
Reaction score
0
Firstly, thanks to the devs for making the build, seems to be working fine! A very special thank you for continuing this even though Tera has gone F2P...

I was having issues with gameserver not connecting properly, but managed to fix it. To anyone currently having this issue (I've seen quite a few in this thread complaining about it)

First step is to make sure the SQL server is running for gameserver to connect to. There's enough information in the thread for that.
If that doesn't work, ensure all relevant ports are forwarded.

Now, if -that- doesn't work, uninstall and reinstall the .NET Framework. That was /my/ issue, so if you're still having trouble... try that.
 
Initiate Mage
Joined
Aug 19, 2013
Messages
2
Reaction score
0
I have error when i try to login (tied login by username and email):
REMOVED

Creating account is working in laucher, but in web error in 98 line
I'm using xampp 1.8.2 (Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16 and 5.5.32 - MySQL Community Server (GPL))
 
Newbie Spellweaver
Joined
Nov 25, 2008
Messages
89
Reaction score
2
I have error when i try to login (tied login by username and email):
REMOVED

Creating account is working in laucher, but in web error in 98 line
I'm using xampp 1.8.2 (Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16 and 5.5.32 - MySQL Community Server (GPL))

If you checked some older posts you would have seen that more people had this and that it is fixed by using the username to login instead of the user email
 
Newbie Spellweaver
Joined
Sep 4, 2006
Messages
53
Reaction score
2
There us acually a flaw in the auth.php file.
Simply modify it and the login will work.

Dont know if this site has been written here before but here it goes:
 
Joined
Feb 2, 2012
Messages
413
Reaction score
249
flaw... could you describe .. when you see some error why dont you post.. ?
writing only there is error but with no example is not so good...

I have error when i try to login (tied login by username and email):
Creating account is working in laucher, but in web error in 98 line
I'm using xampp 1.8.2 (Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16 and 5.5.32 - MySQL Community Server (GPL))


line 98? where? launcher source...
new auth.php? , register.php and else only have max 50 lines...
the old webregister function only has 100 lines...?!?
so more infos what line from where counld help maybe your erros not from launcher your errors from your webserver maybe?!?

auth.php > 35 lines!!!
config.php >13 lines
register.php > 52 lines

register web.php > 98 lines.. but this document isnt used anywhere..since registering with laucher works
you only can run this when you input the adress manually !!!
so .. i ask where is you line?!?

the only line 98 what has to do with authoring is in register form of launcher sourcer but oyu said registering works in launcher...

and in launcher main form line 98
is the close button function...
so where is your error...?!?
shoudl be your webserver something...

and when registering does work login should work to...
registering with username + pass should work with no porblems
registering with email + pass should work to but can do problemes..

so always use the username + pass..
 
Last edited:
Newbie Spellweaver
Joined
Sep 4, 2006
Messages
53
Reaction score
2
Hehe, might not be a flaw but yeah it's easly fixed.

Dunno why email has been added to the auth seems pointless to me but who knows, might be usefull somehow? :E

<?phpinclude "config.php"; // the database configuration file. Update this to connect to your databse


//Gets Input from launcher
$username = $_POST['username']; //username
$password = $_POST['password']; //password
//$email = $_POST['email']; //email


//check if the form was submitted
if((isset($_POST['username']) && $_POST['password'] != ""))
{
//check whether the username and e-mail exist or not
$sql="select Name from accounts where Name='".$_POST['username']."'";
$results=mysql_query($sql) or die(mysql_error());
if(mysql_num_rows($results)>0)
{
$row=mysql_fetch_row($results);
//check the username
if($_POST['username']==$row['0'])
{
echo 'username='.$_POST['username'].'&password='.$_POST['password'];
}
//checks the e-mail
/* elseif($_POST['email']==$row['1'])
{
echo 'username='.$_POST['username'].'&password='.$_POST['password'];
}*/
else
{
//somethings wrong return empty string
echo ("username=&password=");
}
}
}
?>
 
Joined
Feb 2, 2012
Messages
413
Reaction score
249
hmm yes and wheres the error?!?

you only removed email check... what is.. there inlcuded with an .. "OR"

i added the email check cause i wanted to to the login process with username or email
but after i got the launcher working so far with username login i haven done the email checks ready..

its only optional included.. !

the login process only works with username cause of... this line
echo 'username='.$_POST['username'].'&password='.$_POST['password'];

it sends for authoring only the username option back...
there has to be a to do a check ..
if its a username send back
echo 'username='.$_POST['username'].'&password='.$_POST['password'];

itf its an email... send back
echo 'email='.$_POST['email'].'&password='.$_POST['password'];

its not a big problem...
to do that.. but wim working on other thins else than some little undone features...
so deleting the lines for email do the same as let them there ...
chause tehre is no email check at moment !!

login with username should work with these line or without this email lines!!!
 
Last edited:
Newbie Spellweaver
Joined
Aug 28, 2007
Messages
35
Reaction score
1
How do you change from 127.0.0.1 in the launcher to your computer IP or your WANIP without messing the launcher up or getting errors? I have been trying every way I know but it keep getting error or mess up or it doesn't save right (been going at it for 3 hours now). I know I'm not good enough for these kind of stuff but it's getting frustrate. I use all the tools I found to change the IP but to no success T_T. Anyone know how exactly do you do to change 127.0.0.1 to your IP or WANIP, please direct me to the right direction. I got everything working from the server to the web register, just need that launcher IP change then I can test my server with friends.
 
Last edited:
Initiate Mage
Joined
Aug 19, 2013
Messages
2
Reaction score
0
@oldmagic
Still don't working login when i use username + pass:/

@P5yl0
Easy, i just want run TERA with localhost server, but i have the same error like ealier in laucher when i try login (registering is working(i can see created account in database)).
I mean error in register_web.php.
 
Newbie Spellweaver
Joined
Nov 25, 2008
Messages
89
Reaction score
2
@oldmagic
Still don't working login when i use username + pass:/

@P5yl0
Easy, i just want run TERA with localhost server, but i have the same error like ealier in laucher when i try login (registering is working(i can see created account in database)).
I mean error in register_web.php.

There is no register_web.php :S
If you would read better you would see that there is register_web.php being used at all.
It is old.
I suggest redownloading the repo and try it again.
 
Joined
Jan 13, 2011
Messages
774
Reaction score
177
Piople, are you look sources news?
I get new rev 30 an see what some in .\www folder is changed, and now sources of TeraLauncher have new path to .PHP-files and changet to.

People, are you look sources news?
I get new rev 30 an see what some in .\www folder is changed, and now sources of TeraLauncher have new path to .PHP-files and changed to.

P.S. So i try compiled version of new launcher gated from SVN in archive:
- create user - correctly
- login user – unworked...

Maybe something wrong in TeraLauncher login section

P.S. So i try compiled version of new launcher geted from SVN in .RAR-archive:
- create user - correctly
- login user - unworked...

Maybe somthing wrong in TeraLauncher login section
 
Last edited:
Newbie Spellweaver
Joined
Nov 25, 2008
Messages
89
Reaction score
2
P5yl0: If you have an update or added some nice stuff can you push them to your github?
If you need help with the OpCodes or anything please tell me.
 
Newbie Spellweaver
Joined
Aug 28, 2007
Messages
35
Reaction score
1
Ok I think I know how to change the IP in the launcher without getting errors. I was able to change the IP 127.0.0.1 to my internal IP and change all the IP in my server. I was able to run the webserver and the server with no problem, and the launcher with no problem. I was able to login on the launcher, but when I click play it just close and with a white square in the middle. So now I'm stuck with another problem. Anyone know what happen there? I try on OnTera and TeraShock and still the same. Any one know what I missed that make the client not running? Everything is running but the client won't open.
 
Joined
Feb 2, 2012
Messages
413
Reaction score
249
if you change ip you have to hex edit.. the tera-game.exe search for the line serverlist

edit.. but dont change the max lenght.. 49chars.. -3 .de/.fr./.us
so you have 49-3= 46 chars for writing your new adress to the serverlist on the webserver...
edit the line and the rename the www/ folders like in your edit!!!

you can overwrite the .de/.fr at the end but if you do .. the game will only start in one language and the langauge selector doenst work anymore...

if you do a mistake . and add 1 more char oder have 1 missing..
the game will crash on startup not showing the logo.. this means.. that it dindnt find the serverlist and stops running..!!!

if you edit .. be very serious any mistake and everyhing is corrupted..!!


@famas.. no i have no updates at 1725 revision @ now...
im workin at 2113 managed to save the chars to database..
on game starting it works so far ..but i have to shift offsets for reading..
in sql... female human warrior on game start in loby it shows human male lancer.. with a level of 2586 ^^
i hope i can get behind the new packet structure for reading ...
if you want to work to on it.. ill do a private github.. for devs..

maybe we get together faster to our goals


and again for the launcher people...^^

i work on a version2 but at moment i use the same what is on github 1:1 !!! like everyone else..!!!
copy the www files from launcher source to your web...
unzip the TeraLauncher.exe, tera-game.exe and cData folder to your client and everything works perfectly

Login with username!!! email not fixed at moment ..
and use max. username and pass 15 chars length!!! will be more on version 2!!!

i use the same launcher on 1725 and 2113 ...
so if you have some errors.. its something you do wrong!!!
 
Newbie Spellweaver
Joined
Nov 25, 2008
Messages
89
Reaction score
2
if you change ip you have to hex edit.. the tera-game.exe search for the line serverlist

edit.. but dont change the max lenght.. 49chars.. -3 .de/.fr./.us
so you have 49-3= 46 chars for writing your new adress to the serverlist on the webserver...
edit the line and the rename the www/ folders like in your edit!!!

you can overwrite the .de/.fr at the end but if you do .. the game will only start in one language and the langauge selector doenst work anymore...

if you do a mistake . and add 1 more char oder have 1 missing..
the game will crash on startup not showing the logo.. this means.. that it dindnt find the serverlist and stops running..!!!

if you edit .. be very serious any mistake and everyhing is corrupted..!!


@famas.. no i have no updates at 1725 revision @ now...
im workin at 2113 managed to save the chars to database..
on game starting it works so far ..but i have to shift offsets for reading..
in sql... female human warrior on game start in loby it shows human male lancer.. with a level of 2586 ^^
i hope i can get behind the new packet structure for reading ...
if you want to work to on it.. ill do a private github.. for devs..

maybe we get together faster to our goals


and again for the launcher people...^^

i work on a version2 but at moment i use the same what is on github 1:1 !!! like everyone else..!!!
copy the www files from launcher source to your web...
unzip the TeraLauncher.exe, tera-game.exe and cData folder to your client and everything works perfectly

Login with username!!! email not fixed at moment ..
and use max. username and pass 15 chars length!!! will be more on version 2!!!

i use the same launcher on 1725 and 2113 ...
so if you have some errors.. its something you do wrong!!!

If you want to do a private repo I suggest bitbucket.org it has free private repo's
 
Joined
Feb 2, 2012
Messages
413
Reaction score
249
-Char creation done (needs a little fix, on creation char is banned! but after a relog everything okay)
-Resting % needs to be fixxed


 
Newbie Spellweaver
Joined
Aug 28, 2007
Messages
35
Reaction score
1
if you change ip you have to hex edit.. the tera-game.exe search for the line serverlist

edit.. but dont change the max lenght.. 49chars.. -3 .de/.fr./.us
so you have 49-3= 46 chars for writing your new adress to the serverlist on the webserver...
edit the line and the rename the www/ folders like in your edit!!!

you can overwrite the .de/.fr at the end but if you do .. the game will only start in one language and the langauge selector doenst work anymore...

if you do a mistake . and add 1 more char oder have 1 missing..
the game will crash on startup not showing the logo.. this means.. that it dindnt find the serverlist and stops running..!!!

if you edit .. be very serious any mistake and everyhing is corrupted..!!

Tried it, doesn't work. All IP and paths match from launcher to webserver to server file. I don't think this server can go LAN or WAN IP. If you change 127.0.0.1 IP to anything else the client won't open at all or will it connect to the server. I have been trying for the past 3 days and no matter what I change correctly, the client won't connect to the server no matter what IP except 127.0.0.1, and I am very serious about this or else I won't be spending so much time trying to get it to connect LAN or WAN IP.
 
Status
Not open for further replies.
Back
Top