Hi Everyone,
Before I begin I'd just like to give a shout out to Korvacs for his packet wiki ([Only registered and activated users can see links. Click Here To Register...]). It's been extremely helpful :)
Just wanted to give you guys a preview of the server I've been working on for the past month.
The server is built using the Typesafe stack with includes the below core technologies. The server seems to handle lots of clients. I've tested it by spawning 15,000 bot clients over all game maps and had them jump and talk every 1 - 2 seconds. It handled this well but of course this is spread out over the entire world. On a single map the server currently seems to handle around 1000 clients before lag starts hitting. I've also designed the server in a way that would allow each map to be run on a different server or all on a single server. This would allow further scalability.
Technologies:
- Scala (Functional programming language running on the JVM)
- Akka (Actor library)
- Slick (ORM)
- Spray (Library for building high performance network applications)
- MySQL
Testing Server:
- Ubuntu 14.04 server running under Windows 8 Hyper V
- 5 Cores allocated
- 4 Gigs of ram
The server is designed using the Actor model. This model makes building highly concurrent applications much easier. All objects (Actors) communicate with each other by sending messages to one another.
As of today (June 22, 2014) the server has the following features developed:
- Login
- Interacting with other players
- Trading
- Warehouse
- NPC Scripting system
- Buying & Selling to NPCs
- DMap loading
- Mob spawning
- Basic monster AI
- Basic stat calculations
- Attack monsters
- Portals
- Dropping/Picking up items from the world
First preview video:
[Only registered and activated users can see links. Click Here To Register...]
I will update this thread as more is developed :)
Before I begin I'd just like to give a shout out to Korvacs for his packet wiki ([Only registered and activated users can see links. Click Here To Register...]). It's been extremely helpful :)
Just wanted to give you guys a preview of the server I've been working on for the past month.
The server is built using the Typesafe stack with includes the below core technologies. The server seems to handle lots of clients. I've tested it by spawning 15,000 bot clients over all game maps and had them jump and talk every 1 - 2 seconds. It handled this well but of course this is spread out over the entire world. On a single map the server currently seems to handle around 1000 clients before lag starts hitting. I've also designed the server in a way that would allow each map to be run on a different server or all on a single server. This would allow further scalability.
Technologies:
- Scala (Functional programming language running on the JVM)
- Akka (Actor library)
- Slick (ORM)
- Spray (Library for building high performance network applications)
- MySQL
Testing Server:
- Ubuntu 14.04 server running under Windows 8 Hyper V
- 5 Cores allocated
- 4 Gigs of ram
The server is designed using the Actor model. This model makes building highly concurrent applications much easier. All objects (Actors) communicate with each other by sending messages to one another.
As of today (June 22, 2014) the server has the following features developed:
- Login
- Interacting with other players
- Trading
- Warehouse
- NPC Scripting system
- Buying & Selling to NPCs
- DMap loading
- Mob spawning
- Basic monster AI
- Basic stat calculations
- Attack monsters
- Portals
- Dropping/Picking up items from the world
First preview video:
| Gallery | |
|
|
|
[Only registered and activated users can see links. Click Here To Register...]
I will update this thread as more is developed :)