|
You last visited: Today at 04:23
Advertisement
[Development] 4267 conquer server.
Discussion on [Development] 4267 conquer server. within the CO2 Private Server forum part of the Conquer Online 2 category.
04/16/2010, 08:46
|
#376
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
Anyhow good news, I decided to face the reality and we're recoding cpx again and this time in C++.
|
|
|
04/16/2010, 14:37
|
#377
|
elite*gold: 0
Join Date: Sep 2008
Posts: 178
Received Thanks: 62
|
Quote:
Originally Posted by ImmuneOne
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
|
|
|
04/16/2010, 16:14
|
#378
|
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
|
Quote:
Originally Posted by cakobu
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
|
|
|
04/18/2010, 22:09
|
#379
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
Updated exp calculations and doing correct dmg calculations now.
|
|
|
04/19/2010, 04:33
|
#380
|
elite*gold: 0
Join Date: Jul 2006
Posts: 112
Received Thanks: 26
|
Good to know. Keep it up.
|
|
|
04/19/2010, 10:06
|
#381
|
elite*gold: 0
Join Date: Jan 2007
Posts: 177
Received Thanks: 57
|
Quote:
Originally Posted by Korvacs
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?
|
|
|
04/19/2010, 14:38
|
#382
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by DarkMessiah
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.
|
|
|
04/20/2010, 02:15
|
#383
|
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
|
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?
|
|
|
04/20/2010, 09:14
|
#384
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by ImFlamedCOD
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.
|
|
|
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? :/
|
|
|
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!
|
|
|
04/22/2010, 03:04
|
#387
|
elite*gold: 0
Join Date: Feb 2010
Posts: 129
Received Thanks: 30
|
Quote:
Originally Posted by Livio Magno
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
|
|
|
04/22/2010, 05:46
|
#388
|
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
|
Quote:
Originally Posted by Livio Magno
Any can give link to donwload soucer + tutorial + client .. i hope this old conquer is nice!
|
This source development isn't for public release.
|
|
|
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?
|
|
|
04/28/2010, 02:04
|
#390
|
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
|
Quote:
Originally Posted by IlikeBunnies
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.
|
|
|
All times are GMT +1. The time now is 04:25.
|
|