I miss, I'm using the launcher uebari and I have no problem.
I miss, I'm using the launcher uebari and I have no problem.
Just started fresh downloaded the source from github and I get this error when I start the server:
14:16:43.7071 | Can't start server!
EXCEPTION OCCURRED
System.Collections.Generic.KeyNotFoundException: The given key is not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Tera.Services.MapService.CreateNpc(SpawnTemplate spawnTemplate) in c:\Development\Tera Online\Tera-Emulator\Tera\Services\MapService.cs:line 520
at Tera.Services.MapService.SpawnMap(MapInstance instance) in c:\Development\Tera Online\Tera-Emulator\Tera\Services\MapService.cs:line 206
at Tera.Services.MapService.Init() in c:\Development\Tera Online\Tera-Emulator\Tera\Services\MapService.cs:line 199
at Communication.Logic.GlobalLogic.ServerStart(String str) in c:\Development\Tera Online\Tera-Emulator\Communication\Logic\GlobalLogic.cs:line 21
at Tera.GameServer.RunServer() in c:\Development\Tera Online\Tera-Emulator\Tera\GameServer.cs:line 103
at Tera.GameServer.Main() in c:\Development\Tera Online\Tera-Emulator\Tera\GameServer.cs:line 32
TeraLauncher window login sucess, but login fail after click play button ?
It does send an MD5 to the launcher if you read the source to it, the newest one. Which you can find on the main github.
DO not use the originals source posted... it is out of a date and still buggy.. heavily. We've fixed a few things here and there so make sure you always check the github.
https://github.com/formatme/TeraEmulator
okay..with useing Visial Studio Express 2012 Windows Desktop... i got so such to much error .. maybe use wrong Visual.. but thats the one i found to use in any thread..?!?!?
uebari u may send me acctual link wer can direct DL from what i be need for compile this...
haha and im re.format all my comp days befor some ugly malware .. nvm... lol
Everything else works, but when i try to register with the launcher it sais "username does not exist or password incorret" like it's trying to login instead registering O.o
EDIT:
Ok i found the problem on the launcher i had, it seems on the webapi.php that i had (from the github)
a very tiny mistake of trying to insert 3 values instead the needed 2 at VALUES(?, ?, ?); ---> to VALUES(?, ?) fixed mine and stopped launcher from crashing too.Code:// Do we exist already? checkUser( $userData['username'] ); $password = md5( $userData['username'] . $userData['password'] ); $sth = $dbh->prepare("INSERT INTO `accounts` (name, password) VALUES(?, ?, ?); "); $sth->bindValue(1, $userData['username'], PDO::PARAM_STR); $sth->bindValue(2, $password, PDO::PARAM_STR); $sth->execute();
Last edited by Sinisterial; 21-05-13 at 07:29 PM.
how to fix this problem? can anyone help please?
when I trying to register I have the follow problem -->
return !string.IsNullOrEmpty(json_data) ? JsonConvert.DeserializeObject<T>(json_data) : new T();// Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
no, in tera-launcher source, file named WebAPI.cs
I using VertrigoServ, and when trying to register or log into with an existing login, I have this error! yes I connect to localhost! but, all another is very fine (I mean server and client connect)
Last edited by silvermain; 22-05-13 at 02:05 PM.
easier to explain, I downloaded the source code from github compiled the server, everything works perfectly, threw everything you need to root directory and the database mysql, then downloaded the client on-tera, tera compiled launcher, and the registration or login I get an error!
I looked in the vs2012 debugging and shows me that the file WebAPI.cs (file in the source code) is not correct string return! string.IsNullOrEmpty (json_data)? JsonConvert.DeserializeObject <T> (json_data): new T ();
and explains it:
Unexpected character encountered while parsing value: <. Path'', line 0, position 0.
are you sure that everything is correctly configured? to connect to a database DAT files?
I just did a rebuild of latest source yesterday with a fresh MySQL DB and have not experienced this problem.
However I've encountered another problem. I'm unable to log in to the server with any account. Nothing happens after the two SpTest messages that get sent in the OnAuthorized call in FeedbackService.cs.
I get the same results with both the Shock Tera client and the On Tera client.
Has anyone here run into this before or have any ideas?
Last edited by KOS_void; 22-05-13 at 06:34 PM.