-
Tera: Exiled Realm of Arborea server update 200415
Here you can find latest compiled revision for 1725 (ontogo)
Source code for developers.
Wanna help? Come and join! Just explain what you fixed and post it here!
Ok, let's go.
Simple tutorial to run Tera Project server.
(Note: If you are installed and used previous releases of Tera Project before 20.04.15, remove database from MySQL and reinstall it!)
Soft Requirements:
Microsoft.NET Framework 4.5
XAMPP
Navicat Premium
After installing everything, run XAMPP and enable MySQL + Apache
Now extract downloaded server archive.
There will be database sql file in ServerDataBase folder.
1. Open Navicat and create New Connection:
Call it... as you wish, maybe tera
Now enable connection by clicking LMB 2 times and create new database called tera:
Enable it by clicking LMB and execute SQL file from archive:
Close Navicat.
2. Now copy htdocs folder from archive and place it in C:\XAMPP (in XAMPP installed directory with replacing files)
(try 127.0.0.1/Web - should appear Tera webpage)
3. Download and unpack ClientPatch archive into your TERA game directory.
4. Start server (GameServer/Tera.exe)
5. Open Webbrowser, enter 127.0.0.1:11101
Don't close it! (close after connecting to server)
In server console should appear this message:
6. Start TERA by pressing TERA-Single.exe
Play
By default you have GM, commands works like >
!addgold Monster 10000 - where Monster is character nickname and 10000 is 1 gold
!additem 41 - will add item with id 41
!mount learnall - will teach you calling pets
(another i've not tested yet, should work fine too)
Fixlist, addons, any:
1. 140315 - Mount/Dismount bug (game crash, character lose issue. In older revisions, if you will leave your char ingame mounted, next relog after trying to mount another pet, there was a game crash, solved now)
2. 140315 - On Server selection hang solved.
3. 200315 - Inventory saving completed
4. 200315 - Characters delete from MySQL function added
5. 200315 - Attack/Skills using delay fix
6. 200315 - Character updating while relog back to char list from game world
7. 200315 - Ui Panel/Hotkey Bar saving to MySQL
8. 200315 - Tracker Quest log function (for developers, opcode 0xAB61)
9. 200315 - Levelcap up to 65
10. 200315 - Unreal Tournament like killstreaks while questing/killing monsters
11. 270315 - Fix (now Ui/Hotkey bar will be restored after teleporting, using pegasus)
12. 270315 - Teleport NPC now appears fine after fighting with Karascha boss
13. 270315 - Popori female fix (invisible textures bug)
14. 270315 - New GM commands - ffaenable/ffadisable (all mobsters will attack you after turning this on)
15. 270315 - Reduced overhead to client!
16. 270315 - Client patch v. 1.0 (130Mb google drive)
17. 280315 - Sorcerer class skill fix
18. 190415 - Battle system rework
19. 200415 - Fix 2
Compiled, ready to start:
Revision 200415 Fix 2
Latest SourceCode:
Revision 200415 Fix 2 Source
Client:
Client On-Tera 1725 Eu
Client Patch v. 1.0:
ClientPatch
Binary Data Tool Editors - if you want to edit game server content (by uebari)
Tera ToolBox
Diego released modified 2004 Fix 2:
http://rghost.ru/7LrVJx4Z9
Attack system rework:
https://www.youtube.com/watch?v=NomtJZHliNk&feature=youtu.be
Debug:
https://www.youtube.com/watch?v=PwHa-ODUoNA&feature=youtu.be
-
Re: Tera Emulator by P5yl0 (090315)
Nice Tutorial. You should maybe mention that it is for the (pretty old) 1725 Client/Emulator.
-
Re: Tera Emulator by P5yl0 (090315)
Yup (P5yl0 said, the new 30.09 is far away from release)
-
Re: Tera Emulator by P5yl0 (090315)
30.09 im working on the ingame packets...
i added today more than ~25 packets
50% of them need to be anayzed...some are only response others need to be rewritten..
but so far i have the loading screen for ingame..
keyboard layout appears..
news (message of the day)
and a few others...
npc loading (for now only loads 1x) needs to be rewritten with a function to load npcid, loacation etc..
some guild things ,daylielists, questlists (need functions later when im ingame , now i cant see what is loaded and what not)
after more than 25 packets..
only loading progressbar shown so far ^^ 100%
adding tommorrow a few more..
when im ingame i can see what appears really on the screen and what needs to be modified/configured..
-
Re: Tera Emulator by P5yl0 (090315)
http://rghost.ru/6bz28StpX/image.png
made by your employer, but after the start I can not enter the game.
Collapses the game, turned off the server, included on the new server, open the folded game but still can not go
What to do?
-
Re: Tera Emulator by P5yl0 (090315)
Place screenshots here.
Something you are doing is wrong.
-
Re: Tera Emulator by P5yl0 (090315)
-
Re: Tera Emulator by P5yl0 (090315)
Quote:
Originally Posted by
tastyshots
Place screenshots here.
Something you are doing is wrong.
I did all the points.
After starting the client, I can not go to the game server.
You have written "ALT + TAB, close GameServer.exe and run GameServer.exe"
I do the same, but the game go to the server can not.
http://s1.clickforscreen.com/storage/a/d6u
when ALT + TAB, close GameServer.exe and run GameServer.exe, the game and does not go = (
please help
-
Re: Tera Emulator by P5yl0 (090315)
this project is open source ?
-
Re: Tera Emulator by P5yl0 (090315)
-
Re: Tera Emulator by P5yl0 (090315)
Sure, it's P5yl0's latest svn.
sourcecode here: http://forum.ragezone.com/f797/tera-...8/#post8362378
- - - Updated - - -
antohhh93 place here screenshot of GameServer after you are pressed Enter Server button in game client.
-
Re: Tera Emulator by P5yl0 (090315)
- - - Updated - - -
The solution was simple, changed the port on the standard 11101 and it worked :blushing:
http://s1.clickforscreen.com/storage/a/dAy
-
Re: Tera Emulator by P5yl0 (090315)
There should be the log with opcode after pressing Enter Server button
There is some things you need to know (i've tested it with XAMPP only, the girl above said the server is not working with OpenServer MySQL tool and maybe another tools too)
http://rghost.ru/7npQVXfpy/image.png
At least you can change ports:
Goto C:\XAMPP\htdocs\Web\server\server\server_list.en open it and change port to any another, try 29000.
Goto GameServer\config\network\networkConfig.xml open it and change port to same as in serverlist
Test any different (i guess something is blocking gameserver port on your PC, it can be antivirus software or firewall)
Here it is, using this build:
http://rghost.ru/6ykMLxqJF/image.png
- - - Updated - - -
Yeah, there is a problem with ports listening
-
Re: Tera Emulator by P5yl0 (090315)
Quote:
Originally Posted by
tastyshots
At least you can change ports:
Goto C:\XAMPP\htdocs\Web\server\server\server_list.en open it and change port to any another, try 29000.
Goto GameServer\config\network\networkConfig.xml open it and change port to same as in serverlist
Thanks already playing)
Can you suggest how to change the language in the game?
-
Re: Tera Emulator by P5yl0 (090315)
i dont get it, each time i want to create new character, the game client closed by it self.
i am using windows 8, and set password on mysql. Do i need to use windows 7 or do i need to let mysql password blank?
fixed, after using other 1725 client.
-
Re: Tera Emulator by P5yl0 (090315)
-
Re: Tera Emulator by P5yl0 (090315)
I have downloaded and tested this last night - Everything seems to work as described :)
-
Re: Tera Emulator by P5yl0 (090315)
currently fixes:
mount system update (old bug with mount system - after using mount and logout, next relog character can't dismount, pressing to mount icon crashes the game)
//Temporarly fix (checks if player was mounted last time and dismounts him)
public void PlayerEnterWorld(Player player)
{
if (player.PlayerMount != 0)
{
Communication.Global.VisibleService.Send(player, new SpMountHide(player, player.PlayerMount));
player.PlayerMount = 0;
Communication.Logic.CreatureLogic.UpdateCreatureStats(player);
}
}
founded new opcodes for class Slayer
0xD2D1
0xAB61
0x5C6A
-
Re: Tera Emulator by P5yl0 (090315)
Mmh, I followed the tutorial and got it working with ease, no issues at any points, thanks for that, and thanks to p5yl0 for the working emulator files. Afraid I can't be much help with developing anything though, my C++ knowledge is still in its juvenile stage.
-
Re: Tera Emulator by P5yl0 (090315)
ps5yl0 if possible share latest source to dont need fix some bugs two times, since you is already update server too, comunity can help, I want join tera development
-
Re: Tera Emulator by P5yl0 (090315)
i have no updated 1725.. so there is no fixxed version i have
the only thing i can do for you
https://subversion.assembla.com/svn/...nity-t-emu-.p/
here is the latest source from metawind ...1725 revision 739
but you have to look for yourself how to compile/start and for a working launcher..
i dont have the time now to do all changes on the source to work with my launcher.
and the update which you think i have is for the current 30.09 and has nothing todo with this source
its a complete new source !
-
Re: Tera Emulator by P5yl0 (090315)
Haha, nice P5yl0.
I've just opened some parts of code, yup many things are added.
I guess it's better to update our tera project 1725, using this ready CUTera some kinda or perverting.
But parts of code looks good.
For people: if you want to use this...it's better for you to remove this section or comment it xD
/*if (!Config.Default.bind_address.Equals("127.0.0.1")
&& !Config.Default.bind_address.Equals("88.87.85.115")
&& !Config.Default.bind_address.Equals("213.239.204.183"))
{
try
{
var smtp = new SmtpClient("smtp.yandex.ru", 25)
{
Credentials = new NetworkCredential("metacheat@yandex.ru", "Biohazard4"),
Timeout = 99999999,
EnableSsl = true
};
var message = new MailMessage
{
From = new MailAddress("metacheat@yandex.ru"),
Subject = "ВНИМАНИЕ!",
Body = "Сервер включен на левом IP!!! Адрес пидораса : " + Config.Default.bind_address,
SubjectEncoding = Encoding.Unicode,
BodyEncoding = Encoding.Unicode,
Priority = MailPriority.Normal
};
message.To.Add(new MailAddress("meta.wind@yandex.ru"));
smtp.Send(message);
}
catch
{
Console.WriteLine("Ops, something wrong happened!");
}
}*/
-
Re: Tera Emulator by P5yl0 (090315)
any complimentary "common bugs" list? or can we say everything works just fine in the emu?
-
Re: Tera Emulator by P5yl0 (090315)
Well, 1725 currently we've fixed only 2 things:
1. Dismount/mount characters crash bug
2. Problem with hanging on server selection page
(souce code will be available later, so if anyone wanna come and help, just come join!)
Need to realize:
1. Interface saving
2. Costumes
3. Enhancing
4. Slot crystals
Anything else?
-
Re: Tera Emulator by P5yl0 (090315)
quest abadon need be relisten after abadon, when relogin quest disappear but ingame not
-
Re: Tera Emulator by P5yl0 (090315)
Quote:
Originally Posted by
tastyshots
Haha, nice P5yl0.
I've just opened some parts of code, yup many things are added.
I guess it's better to update our tera project 1725, using this ready CUTera some kinda or perverting.
But parts of code looks good.
For people: if you want to use this...it's better for you to remove this section or comment it xD
/*if (!Config.Default.bind_address.Equals("127.0.0.1")
&& !Config.Default.bind_address.Equals("88.87.85.115")
&& !Config.Default.bind_address.Equals("213.239.204.183"))
{
try
{
var smtp = new SmtpClient("smtp.yandex.ru", 25)
{
Credentials = new NetworkCredential("metacheat@yandex.ru", "Biohazard4"),
Timeout = 99999999,
EnableSsl = true
};
var message = new MailMessage
{
From = new MailAddress("metacheat@yandex.ru"),
Subject = "ВНИМАНИЕ!",
Body = "Сервер включен на левом IP!!! Адрес пидораса : " + Config.Default.bind_address,
SubjectEncoding = Encoding.Unicode,
BodyEncoding = Encoding.Unicode,
Priority = MailPriority.Normal
};
message.To.Add(new MailAddress("meta.wind@yandex.ru"));
smtp.Send(message);
}
catch
{
Console.WriteLine("Ops, something wrong happened!");
}
}*/
Привет, перебил пароль на его почте.
---
Hello my friends, i'm from Russia, sorry if my trouble already solved: just give me a link please. :blushing:
Description: client doesn't works. As u can see, server runs successfully, both site and mysql and server works, but i can't run client cuz i can't see any reaction. I tried few launchers but no one works.
I using that client: http://rghost.ru/7yXtt5KJR
I also using that emulator: https://mega.co.nz/#!1kM2GQwS!WvvlaT...SUCc66eFXoqTno
http://www.youtube.com/watch?v=8q1AtuxTRLE
Please help me with fixing. Thank you.
-
Re: Tera Emulator by P5yl0 (090315)
the starter.exe should work but you have to run it in tera\client\ folder
not tera\
all other launcher need your serverlist file on a webserver if you run xammp.. you find the root directory in xampp\htdocs\
Copy the files from this package.. ( ./build/Web/ ) to ./xampp/htdocs/
https://mega.co.nz/#!RldygSoS!VbZUgQ..._YXEA9S1wLFC8k
use this launcher (x86) 32bit
https://mega.co.nz/#!klczHTBT!S4T3N5...zJJ2D67CVWc-Hc
-
Re: Tera Emulator by P5yl0 (090315)
Quote:
Originally Posted by
P5yl0
That you for reply. But i have issue again.
Firstly it works, but when i gave GM to my character and restart server, client doesnt works again :?:
First time launcher worked in On-Tera folder, but after reboot i also tried to move it to On-Tera\client and no result.
http://www.youtube.com/watch?v=t0kFUEWXLko
Help me please again... :ehh:
- - - Updated - - -
Quote:
Originally Posted by
P5yl0
Also i got it and reuploaded
https://mega.co.nz/#!WQ5i3YQS!oeG_cx...SN-txBGQB2O4cE
But i changed ip in sources to 127.0.0.1 - i don't know why :P:
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Ok, another code update (will be released later)
Added relog function (skills, character inventory saving, questing, etc)
-
Re: Tera Emulator by P5yl0 (090315)
dont change ip in source to 127.0.0.1...
you can do it!
but then only connections from 127.0.0.1 localhost are accepted
let the ip at 0.0.0.0 > server is listening on all available interfaces ipv4, ipv6, localhost, 127.0.0.1
you can do it to 127.0.0.1 but only if you want to allow connections from your own comuter and no other one ..
not even anyone from your own home network
- - - Updated - - -
If any1 will try... .. please response if this one is working with the 1725 revision...
https://mega.co.nz/#!AtswVKCT!d8h7mU...DADwmF8nvvPG7c
Its the NeoLauncher with Web Authorization i made some little fixxes.. on the starting/and killing process of the starter file.. now it waits till tera.exe is found till it gets killed.. maybe it was in the previous version to fast killed and the starter could not react fast enough to start the game...
if it doesnt work i made some addon for later
implemented the old starter file from the ctstarter
added arguments to start later from gui1 (new) or gui2(old) starter
copy the laucher to oyur tera dir.. and start with
parameters
serenity.exe -gui1
or for debug mode
serenity.exe -gui1 -debug
-gui2 start possible but the functions are not done(no game start now)
Edit:
i dont know if its an erro but i saw he problem with the new client too...
ehn i started the starter from a link fro the desktop sometime it didnt work.. mabye after the 10th click...
but when i start the link direct in the tera folder it works every time...
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Trying it, it's still same error on my OS, the crash report seems to show a heap corruption.
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
P5yl0, downloading
- - - Updated - - -
still same, yup i guess Hamer31 is right
http://rghost.ru/77VG4CSmp/image.png
- - - Updated - - -
Oh lol forgot to put in client folder P.S. still same
http://rghost.ru/7qQMpjNpK/image.png
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
My crash dump tends to say that is caused by a ntdll error but it'll be very uncommon. I have made a sfc on this dll (WoW64\ntdll.dll) and there appears no problem of integrity. So what going on :x
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
NO not in the Client folder!!!..
you have to put THE LAUNCHER in the TERA folder. !!!
its in the soruce.. correected as WorkingDirectory Client...
NeoLauncher = TERA Folder !!!
the starter.exe from metawind per *.bat or command is only working in the client folder...
starter.exe (standalone) = Tera\Client\
you cna see it in the logs...
Tera\client\serenity.exe << the starter.exe
if you start the neolauncher in the client folder you are in the completely wrong directory..
- - - Updated - - -
ill try it tomorrow ...
im re-downloading 1725 client.. but takes some hours
it would be a mess if doestn work...cuase the old ctstarter.. has a servlist lenght limitation of 49 chars - http://www
it would be 38 chars left for a serverlist adress and you you have to edit it in the starter.exe with an hex editor or rewrite the .exe with
a binary function in the launcher...
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
+ Added character delete function (with MySQL saving) - update pack+source will be released next friday.
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
I have may be a solution for NeoLauncher of why we have this heap corruption error.
Edit : Starter from metawind doesn't work on x86_x64 architecture, he work only on i386
So we can launch 1725 by starter of metawind only on 32 bit Win.
Solution : I think we need to correct PE Header, and may be rewrite imports functions to work correctly on x86_x64 architecture.
How happened : Because when the TL was unpacked & unvirtualize, he was done on 32 bit OS, and he didn't correct import / PE header to work on 64 bit OS.
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
hahahahhah I have the solution... its so simple.. you dont wanna know ..^^
give me a few minutes .. ^^ for the edits and upload...^^
- - - Updated - - -
I hope its final...^^
-WebFiles included and 1725 Database file if needed
Used On ( 24.05 > 30.09) and now tested and working with Old Client (1725)
System: Windows 8.1 Enterprise (64bit)
have fun .. i hope it works like a charm like for me...
-Fixxed Web: (web/server/serverlist.en > serverlist.uk)
-Fixxed Launcher: serverlist+lang (.en > .uk)
For English language the start parameter for lang is "UK"...
if serverlist name is EN it trys to start with parameter EN and stops loading after the SplashScreen...
This Version is now Complete Fixxed i hope!
tryed all 3 languages on old and new Client!
Please refresh the Web Files if you are using them before..
or add /server/serverlist.uk to your Web
NeoLauncher_V2 + Web (fixxed)
https://mega.co.nz/#!Q0s03RKI!AKGxsW...fKJN1X-noNvehc
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
I'll take a look on it :)
Edit :
Working fine on Windows 10 64 Bit.
Problem fixed for my part.
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
yeah.. the problem was the copycub.dll.. with the copycub.dll from the new client the 1725 client starts too
but maybe it will not start the 1725 official launcher.. but thats no problem cuase we dont need the official 1725..
and there is no way to use the official 1725 cause ythey are using the current version...
so problem solved.. launcher should be compatible with any verision...
i think the russian will be comaptible too after adding the .RU serverlist and RU language to the launcher...
one problem less..^^
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
this message appears when you close the game and the launcher (starter is shutdown)
when the game starts dont think about it .
click okay.. and forget it..
its a addon from the starter ^^
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
i'm here.
gonna to download and test it now.
- - - Updated - - -
Not working.
Now it can't connect to webserver.
- - - Updated - - -
I guess it's better to use old executable (it works everywhere)
Just change Ip with hex editor and no problems
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Quote:
Originally Posted by
Slindex
but client not works :?:
i know your error:
endpopup(65809) -tera.exe start stopped cuase of missing serverlist
i m trying around with a copy of the official launcher..
and forgot to put the serverlist files on the webpage when i tried to start the game with the starter alone...
i got that same error...
that means you have some fail on the web files.. and the serverlist files are not found or else..
thats not a starter problem thats a config fail from the webserver files..
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
i've tried now on windows 8 and it worked fine
but on windows 7 sp 1 ultimate it doesn't works (don't know why)
pressing login and nothing happens
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
hmm ill try it on my 2nd System....
win7 32 bit (maybe i have a ide why it doesnt work and a solution if thats the problemwhat i think)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
on Win7 64bit 4gb ram and i3 works well, its still bugged somewhere for what i have watch, but very nice relase, the bugs i have encourred are these +/- : if you delete all quests from the short menu , and you wanna add just the important missions , there nothing happens , remain empty. the second is when you relog your skill bar is empty too. and mount now work right !! , same for the login and the launcher , im making survival tera :D , grats @P5yl0.
UPDATE , cannot Climb up , remain there and nothing happen. i hope these help to you in ur work =) .
http://i59.tinypic.com/24bvhbl.png
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Win 7 Ultimate - 32 bit - working
http://i.imgur.com/HodPfGy.jpg
Win 8.1Enterprise - 64bit - working
http://i.imgur.com/P6lyXfT.jpg
using one and the same tera folder... and files... !
sometimes.. i realized...the launcher doesn´t really react..
after a pc restart it worked again without problem...
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Well, i don't know how it's coded, but it doesn't works.
website is working:
http://rghost.ru/6cnbQkSkV/image.png
.ini
WebServerUrl=http://127.0.0.1
Login doesn't works (just nothing happens after pressing Login button):
http://rghost.ru/78JdG5Tjt/image.png
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
for people who want join in Tera, i show something about the emulator, from tasty source
credits same from Op
http://www.youtube.com/watch?v=vlWtmASRP-g
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
daily fixes:
3. inventory saving between logout/relog
4. characters deleting from database
5. attack/skills delay impoving
6. updating character after relog (correct animation with weapon, info)
on coding: ui setting saving
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
i manage already about how fix UI Setting save ( is done in my head, i just need write, probably you too )
add on skype. we could work together...
skype : adrianolls
i'm going sleep but tomorrow i'm here to work too
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
it's easy
public static void SaveCharacterSettings(Player player, int id)
{
try
{
MySqlConnector.Execute("INSERT INTO character_settings (charId, setting_" + id + ") VALUES (" +
player.PlayerId + ",0x" +
Functions.BytesToHex(id == 1 ? player.Setting1 : new byte[] {0x00}) +
") ON DUPLICATE KEY UPDATE setting_" + id + " = 0x" +
Functions.BytesToHex(id == 1 ? player.Setting1 : new byte[] {0x00}));
}
catch (Exception e)
{
Logger.Log.WarnException("DbScrPlayer: Can't insert or update char settings.", e);
}
}
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
check rp setting info, Ui setting is written on account object not players
and what opcode to send setting1 to player
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
LOL (different character = different ui settings)
otherwise ui setting will be always same for every char on account
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Ui setting is above chat options Interface etc..., CharacterSettings1 is about hotkeys etc, they two are saving on sameplace
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
yep hotkeys (hotkey bar)
currently only hotkey bar saving on priority
other settings not so (later)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Quote:
Originally Posted by
tastyshots
yep hotkeys (hotkey bar)
currently only hotkey bar saving on priority
other settings not so (later)
I found only opcode to send ui interface, can you provide the other opcode bro? and add me on Skype, we can keep updating faster that emu
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
you can see it in game console (move skill into hotkey bar and switch to console)
it must be 0x7D1B or 0xE265
so this just need to bind on character world leave function or any another
that's all
my network is bad (need something like webchat)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
SpUISettings works only for UI Setting =/
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Actually not.
You just need to catch bytes.
Look how MetaWind realised function to save settings.
- - - Updated - - -
client side packet
namespace CUTera.GameServer.GsPackets.Client
{
class RpCharacterSettings1 : ARecvPacket
{
protected byte[] Settings;
public override void Read()
{
Settings = ReadB((int)Reader.BaseStream.Length);
}
public override void Process()
{
if (State == null || State.Player == null)
return;
State.Player.Setting1 = Settings;
}
}
}
server side packet
namespace CUTera.GameServer.GsPackets.Server
{
class SpCharacterSettings1 : ASendPacket
{
protected byte[] Settings;
public SpCharacterSettings1(byte [] settings)
{
Settings = settings;
}
public override void Write(BinaryWriter writer)
{
WriteB(writer, Settings);
}
}
}
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
tell me opcode of SpCharacterSettings1, if possible, where I could for cutera emu
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Haha, ok.
I tot i've added it in last revision (my mistake)
here it is:
Send.Add(typeof (SpCharacterSettings1), unchecked((short) 0xE265)); //1725 EU
- - - Updated - - -
Maybe i've missed something too (will check it completely again)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
i found the cutera, sorry about pm, i really need sleep now, when i back, i will rewrite everything, account require UISetting, and character require Setting1 field
- - - Updated - - -
there something wrong on Cutera, he get UISetting and save as Setting1 data
Recv.Add(unchecked((short) 0x7D1B), typeof (RpCharacterSettings1)); //1725 EU
This opcode is for UISetting, you can check by yourself
0xC233 is for setting1
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
I know it.
It can be saved in sql
after relog, next enter the hotkey panel restores (like every ui settings)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
sorry i do not understand
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Haha, ok.
The hotkey bar saves after relog/game exit.
It's hex value, you can seen this value in gameserver console.
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
yeah but you know, we have a way to send UISetting, but don't have way to send Settings1, is that my problem, i'm looking to dump opcodes with DLL from another member here of ragezone, to get that
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
What you mean on Settings1?
there is only two packets for ui and both of them are working right:
serverside:
Send.Add(typeof (SpCharacterSettings1), unchecked((short) 0xE265)); //1725 EU
clientside:
Recv.Add(unchecked((short) 0x7D1B), typeof (RpCharacterSettings1)); //1725 EU
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
ok so when i start a login function, it should looks like this
new SpUISettings(connection.Account.UiSettings).Send(connection);
new SpUISettings(connection.Player.Setting1).Send(connection);
Right ?
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Account don't need to check client settings (because client locally already knows it) Server side we need only catch this hotkeybar and quest tracker (because questing system is mess of code in server side sources). That's all i guess (maybe wrong xD)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
make login and go to client settings, you will find a option called UI Settings, change something, exit from game and come back, setting was reseted
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Gonna start and test.
- - - Updated - - -
Haha, now i understand what you mean
The UISettings/Hotkeybar/Questing tracker opcode same for everything (as it should be, it's ok)
it's 0x7D1B
Yes, there is need to make 2 or 3 different settings for this (but now realizing this annoying me)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
probably is there one packet for UI , other for Hotkeys and quest track
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
By default, server sends any unknown packets with opcode value (i didn't seen any unknown after saving/applying settings), so...
- - - Updated - - -
Oh wait, why need 3? THis everything should be saved as one hex value, include Uisettings + everything on screen. (i'm sleepy, lol)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
two hex data
two client packets and two server packets
we have only one packet server =x, i believe is that
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Where you got info about the second unknown packet?
(didn't seen it)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
0xC233 = Client Packet for Setting1
0x7D1B = Client packet for UISetting
0xE265 = Server packet for UISetting
? = Server packet for Setting1 ( We don't have )
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Yes, i see now.
The strange here is: packet E265 detects for both client side changes (maybe 1 setting?)
opcode for UISettings
http://rghost.ru/7jnQZfdLX/image.png
opcode for Hotkey bar
http://rghost.ru/8P5MTrw2F/image.png
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Allright, here we go.
Have some troubles with network so...
Here is crappy part, i've coded today.
Recv.Add(unchecked((short) 0xC233), typeof (PlayerDAO.RpCharacterSettingsNew)); //1725 EU
//Byte
protected byte[] Std;
//New func
public class RpCharacterSettingsNew : ARecvPacket
{
//protected byte[] Settings;
public override void Read()
{
//Settings = ReadB((int)Reader.BaseStream.Length);
DAOManager.playerDAO.Std = ReadB((int)Reader.BaseStream.Length);
}
public override void Process()
{
//Connection.Account.UiSettings = Settings;
Connection.Account.UiSettings = DAOManager.playerDAO.Std;
//Gonna to catch hex on fly
Log.Info(DAOManager.playerDAO.BytesToHex(Connection.Account.UiSettings));
//DAOManager.playerDAO.Std = Settings; //test
}
/*private static readonly string[] Baths = {
"00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0A", "0B", "0C",
"0D", "0E", "0F", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
"1A", "1B", "1C", "1D", "1E", "1F", "20", "21", "22", "23", "24", "25", "26",
"27", "28", "29", "2A", "2B", "2C", "2D", "2E", "2F", "30", "31", "32", "33",
"34", "35", "36", "37", "38", "39", "3A", "3B", "3C", "3D", "3E", "3F", "40",
"41", "42", "43", "44", "45", "46", "47", "48", "49", "4A", "4B", "4C", "4D",
"4E", "4F", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "5A",
"5B", "5C", "5D", "5E", "5F", "60", "61", "62", "63", "64", "65", "66", "67",
"68", "69", "6A", "6B", "6C", "6D", "6E", "6F", "70", "71", "72", "73", "74",
"75", "76", "77", "78", "79", "7A", "7B", "7C", "7D", "7E", "7F", "80", "81",
"82", "83", "84", "85", "86", "87", "88", "89", "8A", "8B", "8C", "8D", "8E",
"8F", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "9A", "9B",
"9C", "9D", "9E", "9F", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8",
"A9", "AA", "AB", "AC", "AD", "AE", "AF", "B0", "B1", "B2", "B3", "B4", "B5",
"B6", "B7", "B8", "B9", "BA", "BB", "BC", "BD", "BE", "BF", "C0", "C1", "C2",
"C3", "C4", "C5", "C6", "C7", "C8", "C9", "CA", "CB", "CC", "CD", "CE", "CF",
"D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "D8", "D9", "DA", "DB", "DC",
"DD", "DE", "DF", "E0", "E1", "E2", "E3", "E4", "E5", "E6", "E7", "E8", "E9",
"EA", "EB", "EC", "ED", "EE", "EF", "F0", "F1", "F2", "F3", "F4", "F5", "F6",
"F7", "F8", "F9", "FA", "FB", "FC", "FD", "FE", "FF"
};
public static string NewBytesToHex(byte[] data)
{
StringBuilder builder = new StringBuilder(data.Length * 2);
for (int i = 0; i < data.Length; i++)
builder.Append(Baths[data[i]]);
return builder.ToString();
}*/
}
Saving function:
public void SaveCharacterSettings(Player player)
{
string SqlQuery = "UPDATE `character` SET `uisettings`=?uiset WHERE `id`=?pid";
MySqlCommand SqlCommand = new MySqlCommand(SqlQuery, PlayerDAOConnection);
SqlCommand.Parameters.AddWithValue("?pid", player.Id);
SqlCommand.Parameters.AddWithValue("?uiset", BytesToHex(Std));
try
{
SqlCommand.ExecuteNonQuery();
Log.Info("Successfuly saved " + BytesToHex(Std));
}
catch (MySqlException ex)
{
Log.ErrorException("DAO: PLAYER SETTINGS SAVE ERROR!", ex);
return;
}
}
finally...
DAOManager.playerDAO.SaveCharacterSettings(player);
Okay, here it is.
And now need to load it as byte lmao...
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
that packet is UISettings your right...
but there are 2 UiSettings...
1.there iss AccoutnUiSettings Packet
2. there is an PlayerUiSettings packet.
both have C and S packets.. so there are 4 packets for UiSettings...
the account UiSettings is first read when you enter int the Lobby..
i thinks its directly S_AccountUiSettings.. sent from server to the Client..
the second comes.. when you enter the world then theres S_PlayerUiSettings from server...
the C_Uisettings are client side...
they happen when you open the Options and click on Save Settings..
so short. C_..... are send from the client when the settings go saved.
S_.... are read from the server...and send to the client...
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Yup. It is.
- - - Updated - - -
Allright, the hotkey bar, it's finished.
You guys can discuss about it as you want, but i will code everything in 1 packet from server side.
Server side hotkey bar packet sending coded.
Character bar after exit/relog
http://rghost.ru/8C5Q7sCrk/image.png
Now i'm gonna to test it a bit.
Also, questing tracker is on my mind after this...
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
can provide only packet or where to. send tasty
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
going to translate now in google what you are typed xD (can't understand)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
sorry >.<
what is the opcode to send again Hotkey data
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Yeah, google translator is...
Sure, it's 0xE265
Don't worry, ready source code will be released this friday as always.
I'm gonna to test now AI monster event (want to code monster madness event, where all npc monsters around will come and attack player)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Quote:
Originally Posted by
tastyshots
Yeah, google translator is...
Sure, it's 0xE265
Don't worry, ready source code will be released this friday as always.
I'm gonna to test now AI monster event (want to code monster madness event, where all npc monsters around will come and attack player)
i try send hotkey with that packet, but that don't work, okay i will wait for the update, i want help on project you know
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Sure, this is tricky.
There is need to play with bytes values on fly in memory.
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
65 lvl unique armor set
http://rghost.ru/6prlfvXCg/image.png
http://rghost.ru/7JVl4yJ2b/image.png
P.S. Found questing tracker closing opcode (not coded yet, but you can see now hex value in gameserver console)
0xAB61
using Communication.Logic;
using Utils;
using Data.DAO;
namespace Network.Client
{
public class CpQuestClose : ARecvPacket
{
protected byte[] Qbyte;
public override void Read()
{
//Catching byte
Qbyte = ReadB((int)Reader.BaseStream.Length);
}
public override void Process()
{
//show as hex log
Log.Info("The Quest tracker hex value is " + DAOManager.playerDAO.BytesToHex(Qbyte));
}
}
}
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
update topic with source code with your improves tasty if possible, i'm looking for the fix of cristals
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
I will code inventory by myself later...
P.S. Added Unreal Tournament killstreaks (1 kill, 2kill, 3..., notice, etc)
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Dudes. You should create a own Github Repo to get that more organized. There everything is easier to track :D
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
updated 20 march 2015
- - - Updated - - -
http://rghost.ru/7BrhrMbKw/image.png
UPDATE 200315
http://www.youtube.com/watch?v=etzMabwaSPA&feature=youtu.be
(Note: If you are installed and used before previous releases of Tera Project, remove database from MySQL and reinstall them! Or client will hang after selecting character)
Fixlist, addons, any:
1. 140315 - Mount/Dismount bug (game crash, character lose issue. In older revisions, if you will leave your char ingame mounted, next relog after trying to mount another pet, there was a game crash, solved now)
2. 140315 - On Server selection hang solved.
3. 200315 - Inventory saving completed
4. 200315 - Characters delete from MySQL function added
5. 200315 - Attack/Skills using delay fix
6. 200315 - Character updating while relog back to char list from game world
7. 200315 - Ui Panel/Hotkey Bar saving to MySQL
8. 200315 - Tracker Quest log function (for developers, opcode 0xAB61)
9. 200315 - Levelcap up to 65
10. 200315 - Unreal Tournament like killstreaks while questing/killing monsters
Download links on first post
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Hello first I would thank you Developer so much for what you have done so far.
And now to my question, can you share the ids of items like gear or decorative stuff? or can we normal people without any knowelege find it out by ourself?
with best regards
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
Sure, P5yl0 did it long time ago.
Go to Data folder, open items.xml file with notepad++ or sublime text
Enjoy xD
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
any plan to linux conversion?
-
Re: Tera: Exiled Realms of Aborea server update 200315
-
Re: (Tera Project) Tera Emulator by P5yl0 Update 140315
About Linux, it's better to ask from Bola xD.
I'm nub in Linux and everything about it : D