its really sad but i hope @clofriwen release his work in future. looks this emu can beat the rest.
Hope and hope ^^
Hi, long time without can use my computer (my health had deteriorated, but is littely better now).
Class on sharun work with this :
And must add Stats in Database :Code:enum CLASS { WARRIOR=0, LANCER, SLAYER, BERSERKER, SORCERER, ARCHER, PRIEST, MYSTHIC, REAPER, GUNNER, BROWLER, // NINJA CLASS_MAX }; int class_mat[] = { LEATHER, // Warrior METAL, // Lancer LEATHER, // Slayer METAL, // Berserker CLOTH, // Sorcerer LEATHER, // Archer CLOTH, // Priest CLOTH, // Mysthic LEATHER, // Reaper METAL // Gunner // here was Browler // here was Assassin (Ninja :D) }; // HP_CLASS_MOD same order than class_mat float HP_CLASS_MOD[] = { 1.057F, 1.057F, 1.057F, 1.0575F, 1.058F, 1.057F, 1.0581F, 1.0581F, 1.057F, 1.0575F, 1.0575F // here was Ninja };
`template`.`Name` values is Stat_Name in src/Stat.h :Code:INSERT INTO `template` (Class_ID, Race_ID, Sex, Mod, Name, Value, Server_ID) VALUES (-1, -1, -1, -1, ???, 35.2, 0);
But, i have a problem : have official game/server packet. With sniffer it's too bugged. Well i have begin to create a proxy for tera "Baraka_Proxy", it's a real proxy for tera and can save client/server packet.Code:enum Stat_Name { maxHP, maxMP, regHp, regMp, powerFactor, defenceFactor, impactFactor, balanceFactor, atkSpd, runSpd, critRate, critRcpt, critDmg, stunRcpt, weakRcpt, dmgRcpt, atk, def, cAtk, agrMod, healPower, STAT_NAME_MAX };
Another problem have make me bad, WINDOWS ! This ... false OS can't access to a thread from another thread without corrupt it (2 weeks to try correct it !). I think i will make Sharun only for linux and will not have ability to start tera client in localhost mode. (My Elin Launcher will continu to start it's like i want, update/self-update/file check/start client)
My projet (Sharun Dream's / Elin Launcher / Baraka Proxy) is on Git, but i have to continu Baraka_Proxy, without it, i don't think i will can to continu Sharun, i really need official packet and correct order of this.
Last edited by clofriwen; 02-06-16 at 06:23 PM.
Only linux? LOVLEY. My opinion is.... When a developer compile a serverside to wincrap somewhere a little bunny gonna cry. Keep it up!
Tapatalkkal küldve az én LG-D802 eszközömről
Baraka_Proxy begin to work, actually, he give "servers/list.en", but net stream and recod will come.
How to set Baraka_Proxy ? Edit (in admin mode) "C:\Windows\System32\drivers\etc\hosts" and add this line :
127.0.0.1 can be change by another IP.Code:127.0.0.1 sls.service.enmasse.com # TERA US 127.0.0.1 web-sls.tera.gameforge.com # TERA EU
Support of Baraka_Proxy is Private server ans US server. [STRIKE]For EU server, i need "servers/list.en" full url path.[/STRIKE] (and actually work on windows 7)
[STRIKE] Bad news... It's a epic fail... Windows have restarted while i dev, and he have lost all my Baraka_Proxy Data.[/STRIKE] Back to Linux, and test with laptop :$
Previous data is back and work. Baraka_Proxy is now give servers/list.xml auto-generated (from internal list) and give IP connection (to him) after a detection of network connexion (localhost, intranet & internet).
Internet IP was take from internal or go on Current IP Check to get current Internet IP.
Internet IP can be fixed inside exe realy easy :
will give a exe (baraka_proxy_fixed.exe) with internal ip fixed at xxx.xxx.xxx.xxx.Code:baraka_proxy.exe --set xxx.xxx.xxx.xxx
will give a exe (baraka_proxy_clenaned.exe) without internal ip, and will use internet to find it.Code:baraka_proxy.exe --del
I have try to connect official game US under official launcher US to baraka_proxy, and it's chat ! But stop before login, need more work. This official game US under official launcher US show offical server US, with a localhost server + 2 DEV servers + a Test server, in server list.
Baraka_Proxy startup...:
All "Network_Run (164) ::" was a thread.Code:clofriwen@........ ~/.../Baraka_Proxy $ ./Baraka_Proxy_fixed main (179) :: Init Ok. OpCodes_Init (71) :: 5 Groups of OpCodes Loaded. HTTP_Init (45) :: Get IP for Intranet... 192.168.0.51 HTTP_Init (70) :: Get IP for Internet (from internal)... 1.2.3.4 Network_Run (164) :: Network Started (ANY : 8080). Network_Run (164) :: Network Started (ANY : 14751). Network_Run (164) :: Network Started (ANY : 4566). Network_Run (164) :: Network Started (ANY : 14753). Network_Run (164) :: Network Started (ANY : 14752). Network_Run (164) :: Network Started (ANY : 14755). Network_Run (164) :: Network Started (ANY : 14754). Network_Run (164) :: Network Started (ANY : 14756). Network_Run (164) :: Network Started (ANY : 14757). Network_Run (164) :: Network Started (ANY : 14758). Network_Run (164) :: Network Started (ANY : 14759). Network_Run (164) :: Network Started (ANY : 14760). Network_Run (164) :: Network Started (ANY : 14761). Network_Run (164) :: Network Started (ANY : 14762). Network_Run (164) :: Network Started (ANY : 14763). Network_Run (164) :: Network Started (ANY : 14764). Network_Run (164) :: Network Started (ANY : 14765). Network_Run (164) :: Network Started (ANY : 14766). Network_Run (164) :: Network Started (ANY : 14767). Network_Run (164) :: Network Started (ANY : 14768). Network_Run (164) :: Network Started (ANY : 14769). Network_Run (164) :: Network Started (ANY : 14770). Network_Run (164) :: Network Started (ANY : 14771). Welcome on "Baraka Proxy" (ver. 1.0.0) Ready to work !
Last edited by clofriwen; 13-06-16 at 06:57 PM.
This is a really good job :o
I think is the link needed for EU server : http://web-sls.tera.gameforge.com:4566/servers/list.en
I have release Baraka_Proxy, it work good in my home. I have use it to log on official "Lake of Tears" in Velika, and Baraka have saved arround 7000 files before i dislog.
I've tested it and it's a very good jobs, thanks !
It will be very helpful for development :) (I've saved ~63k files)
Baraka_Proxy for what? it's packet sniffer or worked server?
It's a proxy (can allow help to connect at tera if your country IP was banned/blocked) and can save packets into files.
1 packet = 1 file. 1 Game sniffer (client + server) = 1 direcrtory.
The proxy/sniffer work without WinCAP because it's a direct connexion : Server <----> Baraka <----> Client.
Baraka_Proxy is not a Server.
Can work without OpCodes.
But, if your need/want/Understand saved packets, a OpCodes directory can help (allow it if you have added all versions needed)
Can work with 2+ OpCodes files (detect your game version).
Some new feature added soon (dynamic input port), embedded saved options more fonctionnal...
Last edited by clofriwen; 15-06-16 at 09:27 PM.
Any news ? Does someone still works on it ?
I'm still work on it, but, i need correct official packet to continue, and packet sniffer can't give it.
It's why, i have created Baraka_Proxy, and release it, because can help someone.
You can see date of lastest post on top of name (i have give some news this last 3 day) ;)
Sharun project take a little break, i will rewrite him and convert a lot of C part to C++, replace WIN32_Thread & WIN32_Mutex by PThread_WIN32 (i have a better result under windows with it), and add OpCodes_Function as plugin but skills will be a plugin too. But for to do this, i will have to rewrite OpCodes Manager from scratch.
I will try to do a plugin (windows = dll, linux = so) can have more of one OpCode_function in same plugin, and can add a new class without recompile Sharun.
A new ability will be created too : OpCodes_Promoter him work will be convert a old OpCode to a new and a new to a old.
Actual OpCodes system don't allow to add a new OpCode and can be compile with GNU/Make or MinGW32/Make. OpCodes_Manager will allow new OpCode.
Plugin system will be based on libdlfcn.
A plugin integrity check (MD5) can be add if someone would like it.
So the idea is to make a system that allows you to change the opcodes just changing some files and restarting the server? And the same for the skills?
I didnt get a strong idea about how you could use those plugins once the system is made... You could code skills/classes, compile it and add into Sharun?