Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:37

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Closed Thread
 
Old 06/25/2014, 16:24   #16


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
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.
Korvacs is offline  
Old 06/25/2014, 18:29   #17
 
elite*gold: 0
Join Date: May 2014
Posts: 25
Received Thanks: 12
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.
Logic* is offline  
Thanks
1 User
Old 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
portscott is offline  
Old 06/26/2014, 15:21   #19
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
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.



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.
tkblackbelt is offline  
Old 06/26/2014, 19:27   #20
 
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
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
SteveRambo is offline  
Thanks
4 Users
Old 06/27/2014, 12:15   #21
 
elite*gold: 0
Join Date: Jun 2014
Posts: 69
Received Thanks: 13
just wondering why scala ?
OverKillasdwqe is offline  
Old 06/28/2014, 05:06   #22
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
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


tkblackbelt is offline  
Thanks
1 User
Old 07/11/2014, 03:38   #23
 
tkblackbelt's Avatar
 
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
tkblackbelt is offline  
Old 07/11/2014, 09:53   #24


 
KraHen's Avatar
 
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.
KraHen is offline  
Old 07/11/2014, 12:20   #25
 
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
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
Best Coder 2014 is offline  
Old 07/11/2014, 12:49   #26
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quote:
Originally Posted by KraHen View Post
I suppose that means that you don`t use ORM middleware. Nice progress, keep it up.

Quote:
Originally Posted by Best Coder 2014 View Post
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.
tkblackbelt is offline  
Old 07/11/2014, 14:03   #27


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Yep, I can`t read nowadays. Still awesome.
KraHen is offline  
Old 07/12/2014, 21:47   #28
 
sliwamaster's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 67
Received Thanks: 20
Sounds wonderful, what about predictions ? when You want to start that serv?
sliwamaster is offline  
Old 07/12/2014, 23:14   #29
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
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.
tkblackbelt is offline  
Old 07/13/2014, 00:19   #30
 
sliwamaster's Avatar
 
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
sliwamaster is offline  
Closed Thread


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.