[Development] 4267 Private server built using the Typesafe stack (Scala, Akka)

06/25/2014 16:24 Korvacs#16
Quote:
Originally Posted by tkblackbelt View Post
Awesome, thanks! I'll give that a try after work today
I don't think its in 4267, I tried for a long time to get it working using stuff found in 5017 sources, but could never get it to present itself, if you do somehow manage it please let me know.
06/25/2014 18:29 Logic*#17
Quote:
Originally Posted by tkblackbelt View Post
I'll most likely release the code for the stress tool.

Today I implemented mob and guard ai and a start to the magic attack system. Does anyone know if 4267 has a packet for a re-spawn animation? Currently the mobs just re-appear without an animation.

I'm going to run the stresser overnight with 15k bots again and see how the mob ai handles to all those clients :)

Guard using Tornado!!!!
Set the Action (Like cool, bow,..) to SIT on Mobs when they respawn.
06/26/2014 04:10 portscott#18
mobs didnt really have an animation for spawning back then. they just appeared from the ground if i remember correctly.

+ if u need some help let me know im QUITE keen to get this going
06/26/2014 15:21 tkblackbelt#19
Quote:
Originally Posted by Logic* View Post
Set the Action (Like cool, bow,..) to SIT on Mobs when they respawn.
That worked and looks much better than them just appearing. Thanks :)

Quote:
Originally Posted by portscott View Post
mobs didnt really have an animation for spawning back then. they just appeared from the ground if i remember correctly.

+ if u need some help let me know im QUITE keen to get this going
Thanks, I'll let you know


--------------------

Ran the server for 24 hours with the new Mob AI and 15k clients and the server was perfectly stable resource wise :)

There was a roughly 200,276,952 of both chat & jump packets sent to the server and roughly 502,316,572 packets sent to clients.

[Only registered and activated users can see links. Click Here To Register...]

I'm currently thinking of the best way to validate jumps and set places to taken on a dmap without needing to synchronize the core dmap structure, since there could be potentially 1000's of actors (clients, mobs, item drops) accessing this concurrently (checking if step is take & setting that a stop is taken). If I just put a lock in place it would cause contention and be a bottle neck. I'll have to keep think of the best way to do this.
06/26/2014 19:27 SteveRambo#20
Quote:
Originally Posted by tkblackbelt View Post
There was a roughly 200,276,952 of both chat & jump packets sent to the server and roughly 502,316,572 packets sent to clients.
Haha, roughly
06/27/2014 12:15 OverKillasdwqe#21
just wondering why scala ?
06/28/2014 05:06 tkblackbelt#22
Quote:
Originally Posted by OverKillasdwqe View Post
just wondering why scala ?

It's my main programming language these days. I use it for most of my projects (mainly Android stuff). I like the language for several reason.

- Hybrid functional language. Wants you to code in a functional style but allows you to code in a OO style without any fuss.
- Has access to the entire Java ecosystem.
- Has many cool frameworks like Play (Similar to Rails), Slick (ORM), and AKKA(Actor Library) which is just epic.
- Type inference
- Case classes
- Pattern Matching
- Anonymous functions
- SBT (Simple build tool).
- IntelliJ supports the language very well.
- Growing in popularity. Some big name companies use it (LinkedIN, Twitter, etc)

If you're interested check out these links

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
07/11/2014 03:38 tkblackbelt#23
Update!

I have implemented a few more features on the server.

- Teams
- MySql connection pooling
- Automated Database backup with encryption and compression
- Automated database staging (If a change is made to the database you can run a class to generate all the database interaction stuff)
- Bunch of stuff to the configuration file. Basically everything implemented so far can be configured though files now.
- Re-structured some of code after I though of a better way to handle stuff.

More to come :)
07/11/2014 09:53 KraHen#24
I suppose that means that you don`t use ORM middleware. Nice progress, keep it up. :D
07/11/2014 12:20 Best Coder 2014#25
Quote:
Originally Posted by KraHen View Post
I suppose that means that you don`t use ORM middleware.
Well, his first post it does say:
Quote:
Originally Posted by tkblackbelt View Post
Technologies:
- Scala (Functional programming language running on the JVM)
- Akka (Actor library)
- Slick (ORM)
- Spray (Library for building high performance network applications)
- MySQL
:o
07/11/2014 12:49 tkblackbelt#26
Quote:
Originally Posted by KraHen View Post
I suppose that means that you don`t use ORM middleware. Nice progress, keep it up. :D

Quote:
Originally Posted by Best Coder 2014 View Post
Well, his first post it does say:


:o
Yeah, I'm using Slick as my orm. The database staging generates Scala Slick code that is used to interact with the database. This has the benefit of everything being type safe, if I changed a field from varchar to int and re-ran the program it would generate the new code using an Int instead of String. The compiler can then point out all errors caused by this change. It's also kind of cool because this lets me re-create the schema for any supported database without needing to know the syntax differences or w/e.
07/11/2014 14:03 KraHen#27
Yep, I can`t read nowadays. Still awesome. :D
07/12/2014 21:47 sliwamaster#28
Sounds wonderful, what about predictions ? when You want to start that serv?
07/12/2014 23:14 tkblackbelt#29
Quote:
Originally Posted by sliwamaster View Post
Sounds wonderful, what about predictions ? when You want to start that serv?
Thanks for the interest :)

I'm going to be doing a closed beta before the server is public. I still have quite a bit to do and I'm taking my time so the design is sound. I think the beta will start sometime in September. I'm hoping to find around 5 - 10 people to help test it.
07/13/2014 00:19 sliwamaster#30
I will be waiting, my heart hurts when i see actually Conquer..


I think that You founded one tester ^^
My english is not very well, it's not mine native language but I can help from now if You need of course ;p