|
You last visited: Today at 22:37
Advertisement
[Development] 4267 Private server built using the Typesafe stack (Scala, Akka)
Discussion on [Development] 4267 Private server built using the Typesafe stack (Scala, Akka) within the CO2 Private Server forum part of the Conquer Online 2 category.
06/25/2014, 16:24
|
#16
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by tkblackbelt
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
|
#17
|
elite*gold: 0
Join Date: May 2014
Posts: 25
Received Thanks: 12
|
Quote:
Originally Posted by tkblackbelt
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
|
#18
|
elite*gold: 0
Join Date: Jan 2006
Posts: 86
Received Thanks: 10
|
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
|
#19
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by Logic*
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
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.
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
|
#20
|
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
|
Quote:
Originally Posted by tkblackbelt
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
|
#21
|
elite*gold: 0
Join Date: Jun 2014
Posts: 69
Received Thanks: 13
|
just wondering why scala ?
|
|
|
06/28/2014, 05:06
|
#22
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by OverKillasdwqe
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
|
|
|
07/11/2014, 03:38
|
#23
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
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
|
#24
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
I suppose that means that you don`t use ORM middleware. Nice progress, keep it up.
|
|
|
07/11/2014, 12:20
|
#25
|
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
|
Quote:
Originally Posted by KraHen
I suppose that means that you don`t use ORM middleware.
|
Well, his first post it does say:
Quote:
Originally Posted by tkblackbelt
Technologies:
- Scala (Functional programming language running on the JVM)
- Akka (Actor library)
- Slick (ORM)
- Spray (Library for building high performance network applications)
- MySQL
|
|
|
|
07/11/2014, 12:49
|
#26
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by KraHen
I suppose that means that you don`t use ORM middleware. Nice progress, keep it up. 
|
Quote:
Originally Posted by Best Coder 2014
Well, his first post it does say:

|
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
|
#27
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
Yep, I can`t read nowadays. Still awesome.
|
|
|
07/12/2014, 21:47
|
#28
|
elite*gold: 0
Join Date: Nov 2010
Posts: 67
Received Thanks: 20
|
Sounds wonderful, what about predictions ? when You want to start that serv?
|
|
|
07/12/2014, 23:14
|
#29
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by sliwamaster
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
|
#30
|
elite*gold: 0
Join Date: Nov 2010
Posts: 67
Received Thanks: 20
|
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
|
|
|
Similar Threads
|
[Development] 4267 conquer server.
06/16/2010 - CO2 Private Server - 408 Replies
Heya,
I've started a new development for a classic co server as I never saw one succesfull build up with a from scratch written and not leeched source.
We're currently aiming to add-in bot protection, proxy detection and various protections to prevent hacking.
So let's talk more about the source itsself, It's made from scratch and self written socket system, database handling is currently flatfile based. The loginserver is done but we're working on the gameserver now.
(Will be...
|
All times are GMT +1. The time now is 22:37.
|
|