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!

[DEV] Sharun Dream's

Junior Spellweaver
Joined
Oct 19, 2014
Messages
108
Reaction score
6
The items drop by players exist in tera servers. In dependence of your karma you could drop items on die. The items drops are from your inventory and/or equipmment.

There is a battlefield which is a 3v3 arena... In a future maybe advanced pvp systems could be done. Remember dev is step by step.

About safe zones...I think it could be done. In tera shock there are defined the safe zones in xmls(territories.xml) Also at undefined safe zones you could do whatever you want.
 
Newbie Spellweaver
Joined
Aug 23, 2008
Messages
74
Reaction score
19
If you need new opcodes take a look at my github repo. Mostly they are up2date there.
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
300 skills to dev alone... not realy fun :$
My health is not really good and someone try to hack my accounds (Skype, PlayStation, Steam, ...)

Well, sorry, but i take a break in my project. I will continu soon.
 
Last edited:
Newbie Spellweaver
Joined
May 10, 2005
Messages
35
Reaction score
1
recuperate and hope you can soon resume the project.
 
Junior Spellweaver
Joined
Oct 19, 2014
Messages
108
Reaction score
6
300 skills to dev alone... not realy fun :$ My health is not really good and someone try to hack my accounds (Skype, PlayStation, Steam, ...) Well, sorry, but i take a break in my project. I will continu soon.
Dont do all the work alone... I could help you to write the skills. I really want to help you to get a full tera server so when you need some help just send me a PM. Greets and take care.
 
Banned
Banned
Joined
Dec 3, 2010
Messages
1,581
Reaction score
619
Any info about this project? Would love to see an early release

Tapatalk-kal küldve az én LG-D802-el
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
Hi, i have continu Sharun DEV.

My last test is compatibility windows ( win7 64bit, compiled mingw 32bit ).
Result: Login, select character, spams in world = ok, but a i have see a little error.

Remind: Linux version is dev in 64bit and compiled in 64 bit.

Actualy, i work on bind items system.
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
Hi, i have create a little tools to parse S_INVEN binary.

Output of tools :
Code:
-> Total: 49
-> Start Pos: 51

-> Character Id: 263520554 (0x0FB5012A)
-> Sub Chara Id: 33587200 (0x02008000)
-> Money: 37242875 (0x00000000023847FB)
-> Frame Show: 0 (0x00)
-> Must be 1: 1 (0x0001)
-> Item Slot: 88 (0x00000058)
-> Unknow: 361 (0x00000169)
-> Unknow: 357 (0x00000165)
-> Unknow: 0 (0x00000000)
-> Unknow: 0 (0x00000000)
-> Unknow: 0 (0x00000000)

[............]

-> Pos: 4750
-> Next Pos: 4933
-> Stats Count: 3 (0x0003)
-> Stats Pos: 4909 (0x132D)
-> Unknow (Special) Pos: 4907 (0x132B)
-> Item Ref: 55655 (0x0000D967)
        [URL="http://teradatabase.net/us/item/55655/"]Boil & Bubble - Tera Database 1.0[/URL]
-> Item Id: 332393054 (0x0000000013CFEA5E)
-> Character Id: 1640450 (0x00190802)
-> Sub Chara Id: 0 (0x00000000)
-> Index: 1 (0x00000001)
        Index < 39 : Equiped
        SLOT_WEAPON
-> Must Be 0: 0 (0x00000000)
-> Count: 38654705665 (0x0000000000000001)
-> Must Be 0: 0 (0x00000000)
-> Binded: 1 (0x01)
-> Crystal 0: 8126 (0x00001FBE)
        [URL="http://teradatabase.net/us/item/8126/"]Fine Bitter Crux - Tera Database 1.0[/URL]
-> Crystal 1: 8379 (0x000020BB)
        [URL="http://teradatabase.net/us/item/8379/"]Fine Swift Crux - Tera Database 1.0[/URL]
-> Crystal 2: 8391 (0x000020C7)
        [URL="http://teradatabase.net/us/item/8391/"]Fine Brilliant Crux - Tera Database 1.0[/URL]
-> Crystal 3: 8541 (0x0000215D)
        [URL="http://teradatabase.net/us/item/8541/"]Fine Carving Crux - Tera Database 1.0[/URL]
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x00)
-> Unknow: 353 (0x00000161)
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x0000000000000000)
-> Unknow: 0 (0x0000000000000000)
-> Bind Owner: 1640450 (0x00190802)
-> Unknow: 0 (0x00000000)
-> Unknow: 0 (0x00000000)
-> Unknow: 0 (0x00)
-> Rolled Bonus 0?: 128 (0x80)
-> Rolled Bonus 1?: 1 (0x01)
-> Rolled Bonus 2?: 0 (0x00)
-> Rolled Bonus 3?: 0 (0x00)
-> Unknow: 0 (0x00000000)
-> Unknow (Special): 0 (0x0000)
-> Stats ???: 510010 (0x0007C83A)
-> Stats ???: 510070 (0x0007C876)
-> Stats ???: 510050 (0x0007C862)
..........
(Binary parsed from offical EU or NA server)
(note: tool don't write name but url !)

I use packetsniffer for capture S_INVEN packet, and, i converted text to Binary format (perl tools).
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
Hi everyone.
Here, some news about Sharun.

I have added a binary system for load items, mounts, npcs, monsters data. (Load from Mysql can take 1 to 10min, depend of computer, with binary is less of 5sec and it's use full for dev/debug)
This binary is created for Mysql and can be from sqlite.
While i dev binary system, i have see Sharun load a lot of time same data (to 5 times for 1 aera !). I have correct it and now Sharun use less memory ! (167mo -> 19mo now. Actualy, 1 player use 2mo, must you have not quests, skills, ...)

I have tested with 39.07 client. After a minor ajustement of S_GET_USER_LIST, i have able to login, but, my character was under map. I have try with another character and this one was too high !
In log of Sharin i can see X and Y data sended by client was correct but Z is wrong and still "0" value.
I think it's a S_LOAD_TOPO or S_SPAWN_ME problem and need an ajustement too, but packetsniffer lost to many time packet.
clofriwen - [DEV] Sharun Dream's - RaGEZONE Forums


To start this project, i have take my inspiration on Tera Shock project, and i have save my files like Shock... But now, it's a bit complicated to find good file for correct it. Well i have change it and move files into dedicated step.
Now we have : 00_connexion, 01_login, 02_exit, chat, inventory, ping_time, quests, ..., world.

Before:
clofriwen - [DEV] Sharun Dream's - RaGEZONE Forums


After:
clofriwen - [DEV] Sharun Dream's - RaGEZONE Forums
 
Last edited:
Newbie Spellweaver
Joined
Apr 9, 2015
Messages
30
Reaction score
5
I hope my repo is usefull if you use SQL as datapack rather than XML. You can grab all data from tera database, just check my repo and i also have Tera-XML data with map, spawn, etc update
 
Newbie Spellweaver
Joined
Jun 18, 2011
Messages
46
Reaction score
0
Hey clofriwen,
I have a question for you, so this server contains reaper and brawler classes? and will we be able to change character sizes?
I am really interested in your project and wish you the best of luck!
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
You can grab all data from tera database, just check my repo and i also have Tera-XML data with map, spawn, etc update
I have go to see and it's can help me. I will use it later.

this server contains reaper and brawler classes?
Yes, it's true.

able to change character sizes?
Can be, but, need to find in DB where is saved (64 unamed variables)

About Sharun ability, I have think to add a Opcode_Upgrader for play with a tera 39 & 37 in same time, without recompile.

Sharun and Ninja class ... Just add stats, and skill and it's done.(no magic code, only math : Class_Race = 10000 + (player->Race_Id * 2 + 1 + player->Sex) * 100 + player->Class_Id + 1;)

I think to open gitub after i have added frist skill (Mysthic TP), but, in source a lot of comment was in russain (copy from SHOCK) and lot of function uncomment (function name explain it).

My futur Gitub will content Sharun and Elin_Launcher (a launcher for Tera, can download it and check files, and download have a auto restart if you loose your net connexion).
 
Last edited:
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
when execly you gonna open github? for that project?
I don't know realy, but soon.

I'm still working on basic system. I when Sharun can run a tera client without extra software. It's my new idea, in same application have : game server, http server, and game launcher.
And part can work online/offline (offline will be localhost : 127.0.0.1).

Game Server : Need more work.
Http Server : for html file, i have begin to make it, and it's work funny.
Game Launcher : todo, a small implatation of My Elin_Launcher to start Tera Client into localhost mode.

For localhost database, Mysql will be useless, it's will be SQLite (choice in config.ini).

Game Server and Http Server use same port (can choice but it's linked). I have find how to detect if a accepted connxion was a tera client or firefox (detect http header "GET" or "POST").

How Sharun will understand to start in localhost mode or mmo mode ?
Easy ! Localhost mode :
Code:
Sharun_Dream.exe
MMO Mode :
Code:
Sharun_Dream ID

note : ID is server ID (a number... 1; 2; 3...). Sharun is created to share Database.

In futur, i hope a Sharun can connect to another Sharun for Dungeon or PvP aera, like official server. And it's why "Game Server" and "Http Server" must work on same port, because i want to see if it's not a prob and add for sharun2sharun.
 
Newbie Spellweaver
Joined
Oct 25, 2015
Messages
46
Reaction score
51
It's not time to do a release, it's just a github sharing soon. Some work need to do.
Final plan for release is source + windows 32bits compiled (64bits maybe, mingw64 and test will be needed).

I would like to make a proxy for tera with saving packet option (i have a realy big problème with paquet grabed with WinPcap). For make it, i need to know official dns server name or where is saved official serverlist.

Sharun HTTP server part can do easy change "on fly"of html file.
./Sharun_Saves/www/stats.html
PHP:
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>%SERVER_NAME% - Stats</title>
        <link rel="shortcut icon" href="/Elin.ico" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="refresh" content="60" />
    </head>
    <body>
        <h1>%SERVER_NAME% - Stats</h1>
        Server "<b>%SERVER_NAME%</b>" running from <b>%SERVER_START_TIME%</b> and started <b>%SERVER_START_COUNT% times</b>.<br>
        <b>%PLAYERS_COUNT% Players</b> loged :<ul>%PLAYERS_LIST%</ul>
    </body>
</html>
become :

PHP:
<!DOCTYPE html> <html lang="en">
    <HEAD>
        <title>Test_1 - Stats</title>
        <link rel="shortcut icon" href="/Elin.ico" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="refresh" content="60" />
        <!-- Created by Clofriwen, inspired from Tera Shock. http://forum.ragezone.com/f796/dev-sharun-dreams-1085405/ -->
        <!-- Copyright from team of this server -->
    </HEAD>
    <BODY>
        <h1>Test_1 - Stats</h1>
        Server "<b>Test_1</b>" running from <b>2016-03-29 03:40:33</b> and started <b>280 times</b>.<br>
        <b>1 Players</b> loged :<ul><li>[GM] Ta Mère</li></ul>
        <!-- Signature from team of this server -->
        <sup>Sharun Dream's (1.0.0), a Tera server. Http server side.</sup>
    </BODY>
</html>
And, in same time, i'm logged with Tera on same port from same computer !
 
Last edited:
Back
Top