Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 00:53

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


[Development] 4267 conquer server.

Discussion on [Development] 4267 conquer server. within the CO2 PServer - Discussions / Questions forum part of the Conquer Online 2 category.

Reply
 
Old 04/16/2010, 08:46   #376
 
elite*gold: 0
Join Date: Nov 2009
Posts: 745
Received Thanks: 539
Anyhow good news, I decided to face the reality and we're recoding cpx again and this time in C++.



ImmuneOne is offline  
Old 04/16/2010, 14:37   #377
 
elite*gold: 0
Join Date: Sep 2008
Posts: 178
Received Thanks: 62
Quote:
Originally Posted by ImmuneOne View Post
Anyhow good news, I decided to face the reality and we're recoding cpx again and this time in C++.
Lol... release the old source haha


.Kob is offline  
Old 04/16/2010, 16:14   #378
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 319
Quote:
Originally Posted by cakobu View Post
Lol... release the old source haha
Eh no, nobody is releasing that :P
New server progress:
Logging in, character creation.
Really don't know which database system I should use
Nullable is offline  
Old 04/18/2010, 22:09   #379
 
elite*gold: 0
Join Date: Nov 2009
Posts: 745
Received Thanks: 539
Updated exp calculations and doing correct dmg calculations now.


ImmuneOne is offline  
Old 04/19/2010, 04:33   #380
 
elite*gold: 0
Join Date: Jul 2006
Posts: 112
Received Thanks: 26
Good to know. Keep it up.
fishey07 is offline  
Old 04/19/2010, 10:06   #381
 
elite*gold: 0
Join Date: Jan 2007
Posts: 177
Received Thanks: 57
Quote:
Originally Posted by Korvacs View Post
See my updated post

Heres a picture of 100k Barbers spawned, still with 5 objects per cell, and the graphical representation of that.



Oh and memory usage for the game server at this stage is 36mb.

Edit: Just brought the number up to 300k (thats a third of the map covered now), the client reports between 70 - 300 ping, teleporting to an empty map and the client shows a ping of around 30, this leads me to beleive that the ping being shown on the busy map is entirely down to the client, since no data is sent after the initial spawn. Server memory is now 65mb, which isnt bad since im pretty sure ill never have more than 300k objects in the entire server at one time.

Edit2: Just decided to spawn an extra 700k barbers, memory usage is now 151mb, perfectly acceptable for 1 million npcs in my oppinion, im not atually able to get a graphical represenation for this, i had it setup to update ever 250ms and it just doesnt like it lol. It would just be pure green anyway.
if you get more people than [max allowed per cell] stacked in one spot, does the server crash trying to split it?
DarkMessiah is offline  
Old 04/19/2010, 14:38   #382
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,504
Quote:
Originally Posted by DarkMessiah View Post
if you get more people than [max allowed per cell] stacked in one spot, does the server crash trying to split it?
On the same Cordinate?

No, for starters the players do not move through the QuadTree in the same manner as npcs, as a result they dont atually directly effect the trees layout, not yet anyway. Im not sure im going to bother having Players or Monsters split the tree when they navigate through it.

However if i were to do that then i would have it so that if it cant find a more suitable location then they will remain within the same section. Also i could add a maximum number of layers for the tree, so that it bottoms out at say 5 layers, so in the case that your describing it would branch out to its maximum lowest layer and all entitys would reside there. Not exactly efficient however i dont really intend to go down this route.

Quadtrees are designed primarily to hold static objects which do not move, because of the way the entitys are designed, once they are in the quadtree, they move around, however they are contained in their original entry point (obviously a flaw), when their cordinates change, they move within the overall quadtree, but they are still contained in their entry point. This doesnt cause any problems, so i may just modify the quadtree to have an object store in it where dynamic entitys are stored, and then they will just move around the tree like normal.

So to sum up, no it doesnt crash the server because of the way the entitys interact with the tree. However this quadtree is by no means finshed, if i were ever to release a .dll with this functionality i would definately implement the neccassery checks to ensure this could never happen.

Ultimately i need to finsh the tree.
Korvacs is offline  
Old 04/20/2010, 02:15   #383
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 139
Jack I thought since the way a quad tree was designed that once full , it was supposed to over flow in to the next cell which then would take over that job as well. The way you layout was 4 blocks in a dark black circle. So once A was full B would pick up and so forth and on? Was looking into it and was testing some things with it correct me if im wrong tho?
ImFlamedCOD is offline  
Old 04/20/2010, 09:14   #384
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,504
Quote:
Originally Posted by ImFlamedCOD View Post
Jack I thought since the way a quad tree was designed that once full , it was supposed to over flow in to the next cell which then would take over that job as well. The way you layout was 4 blocks in a dark black circle. So once A was full B would pick up and so forth and on? Was looking into it and was testing some things with it correct me if im wrong tho?
The quadtree should subdivide once its full, so if you have a limit of 10 and you reach it, the tree subdivides untill you can place the next object which would put you over the limit, in a different branch, but it should be within the existing branch, not an adjacent branch.
Korvacs is offline  
Old 04/21/2010, 23:28   #385
 
elite*gold: 0
Join Date: Feb 2007
Posts: 53
Received Thanks: 3
When will we be able to play? :/
LankanSouljah is offline  
Old 04/21/2010, 23:30   #386
 
elite*gold: 0
Join Date: Apr 2010
Posts: 14
Received Thanks: 0
Any can give link to donwload soucer + tutorial + client .. i hope this old conquer is nice!
Livio Magno is offline  
Old 04/22/2010, 03:04   #387
 
elite*gold: 0
Join Date: Feb 2010
Posts: 129
Received Thanks: 30
Quote:
Originally Posted by Livio Magno View Post
Any can give link to donwload soucer + tutorial + client .. i hope this old conquer is nice!
Hahaha you made ma laugh ;P
No one is gonna hand out this source to you sorry bud
Øblivion is offline  
Thanks
1 User
Old 04/22/2010, 05:46   #388
 
elite*gold: 0
Join Date: Sep 2007
Posts: 576
Received Thanks: 106
Quote:
Originally Posted by Livio Magno View Post
Any can give link to donwload soucer + tutorial + client .. i hope this old conquer is nice!
This source development isn't for public release.
StarBucks is offline  
Thanks
1 User
Old 04/28/2010, 01:47   #389
 
elite*gold: 0
Join Date: Mar 2007
Posts: 111
Received Thanks: 5
anybody know if this is out, or if it will be out, if its still getting worked on or if its failed already?
IlikeBunnies is offline  
Old 04/28/2010, 02:04   #390
 
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
Quote:
Originally Posted by IlikeBunnies View Post
anybody know if this is out, or if it will be out, if its still getting worked on or if its failed already?
Read the 3 posts above.


©Hyperlink is offline  
Reply



« 5017 and C# | [Help]Converting From 5017 to 4267 »



All times are GMT +2. The time now is 00:53.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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