[Discussion] Open Tibia with Dark Rift + Unity

drakylucas

Active Member
Joined
Dec 15, 2015
Messages
106
Reaction score
36
I was wondering, would it be possible and good enough to run a server made using Dark Rift + C# plugins, and a client using Dark Rift + unity?

https://www.assetstore.unity3d.com/en/#!/content/16711

Would it have a better or worse performance comparing to TFS?
Would it be hard to recode everything, even using the main idea of TFS (as it works similiar with protocols)?

I think I'm not able to do it yet, because I don't have such experience so far, but I like to learn new things and I was searching a bit about server-client multiplayer in Unity and I liked it.

Video tutorials:
Unity 5 Tutorial MMO with MySQL - YouTube

(I'm not the author, neither know him, I just liked his videos)


C# looks easier than C++, and coding games in Unity looks really easy, much more than using OTClient (even it still being a very nice alternative client, thanks edubart)


##
Sorry for my bad English xD
 

Cany

New Member
Joined
Sep 6, 2007
Messages
11
Reaction score
2
it's not necessary to create another server from scratch, c++ is more efficient and about the client: Unity3D client?
 
Last edited:

Znote

<?php echo $title; ?>
Staff member
Global Moderator
Premium User
Joined
Feb 14, 2008
Messages
6,380
Reaction score
1,074
Location
Norway, Oslo
The server project is really big, last project that came close to TFS was pyot, which was developed pretty actively for 2 years before the author gave it up.
Perhaps try to make a UTClient (Unity Tibia Client).

Although I feel with our OTClient, any next step is probably going to have to be web-based. But ey, unity can export to web. :)
 

Fenrisus

Ferin-Sha
Joined
Mar 19, 2010
Messages
205
Reaction score
325
Location
Canada
Those framework for amateurs. For Tibia - isnt a good choice. For other games... Hmm, probably not too. Also it's has specific things, just for unity, and less flexible then "closed source" hand-maded framework.

For compare, how it should looks:
(and also it can be used not only with Unity3D)
Project: Engine\SFL
Configuration: Debug
Scope: Project
Assembly: M:\Trunk\Framework\SFL\bin\Debug\SFL.dll
Maintainability Index: 83
Cyclomatic Complexity: 6 381
Depth of Inheritance: 3
Class Coupling: 554
Lines of Code: 18 295


SFL = Server Framework Library, SkyImmerse propietary framework.

For specialists:



Short list of features:
-Multi-Threaded. Thread Safe.
-Queryless MySQL/MSSQL Database Driver.
(You just operate objects without manually manipulate any Query. And that is not an ORM like NHybernate)
-Discrete TickEngine.
-Various Timers & UpdateTasks
-Initialization system before server start. (I.e. initialize network and other things step by step).
- Advanced Math.Library (partially based on XNA/Monogame engine Math.).
- My own system : Cluster server RPC communication via Protobuf-net over TCP.
- Localizer, configuration system and other misc systems.
-Designed for development any scale of MMORPG.
-Supports: WebSocket, TCP/UDP and any other protocols. Modular system.

Examples of games maded with that engine:

(Debugger here, from client-part of my framework.)


HTML5 && WebGL game, maded by me with those framework:

Any serious developers doing such things by self. Literally it's can be used only for rapid development of something like Agar.IO or diep.io or warin.space. Such types of games.

Plus as note: UTClient working well with default, common TFS/OTX/Avesta/Older servers. literally fine. And they are using client parts from my framework described above. It's actually does not matter what are you have on your server side. Such frameworks on Asset-store, on my vision (imho) was maded by their authors just for one thing - for accure popularity/customers/something else on top of Unity3D brand itself popularity.
 
OP
drakylucas

drakylucas

Active Member
Joined
Dec 15, 2015
Messages
106
Reaction score
36
@Fenrisus, it looks like you really know what you are doing xD
I've never developed games or anything using protocols, at college I'm used to developing stupid kind of softwares, in C++ and Java, but without using network yet. Just really simple applications, to learn the concepts of OOP.

Do you recommend any public free framework that is easy to use and have a nice documentation about it? Maybe some examples? xD
Thanks so much.
I'd like to try doing something following a tutorial to understand the concepts, like, I know I'm not able to do the next Tibia alone, but I'd like to understand how it works, doing small things per time (like an login-screen, and later on, an web-chat, etc)
 

Fenrisus

Ferin-Sha
Joined
Mar 19, 2010
Messages
205
Reaction score
325
Location
Canada
Do you recommend any public free framework that is easy to use and have a nice documentation about it? Maybe some examples? xD
Thanks so much.
Well, is best thing for learning - MSDN, Stackoverflow and other same resources. I strongly do not recommed start "learning" from already done frameworks. Cuz simple you dont understands how it works inside. Any framework (engine, networking and etc.) builded on top of simple functions (all other code is just an additionals).

Start learning from base things. Pretty base.

Just for learning about network, start from this. Try to make a simple chat via using those code:
======================
C++
Complete Winsock Server Code (Windows)

Asynchronus Sockets example (DarkOrbit and some other games uses them)
Asynchronous Client Socket Example
======================

Look how them works! Learn with code! If you learn how low-level things working, you will be able to write any your own framework for games in hours.
 
Top