Register for your free account! | Forgot your password?

You last visited: Today at 18:02

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

Advertisement



CO Community Project

Discussion on CO Community Project within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 04/07/2010, 16:55   #91
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81
Quote:
Originally Posted by Korvacs View Post
This one is one that i wrote, in an old source of mine around 5100, works 100%
yeah i'm sure its a problem i have overlooked on my side, thanks.
ChingChong23 is offline  
Old 04/07/2010, 17:02   #92

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by Nullable View Post
NetBeans was quite amusing
I'll try that then.
Kiyono is offline  
Old 04/07/2010, 17:55   #93
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81
so i did a little bit of testing

Code:
CPU Usage (all players were in the same area)

0.14% CPU - 1 player (CoEmu)
0.00% CPU - 1 player (Jonquer)

0.6% - 0.20% CPU - 2 players (CoEmu)
0.00% - 0.01% CPU - 2 player (Jonquer)

0.11% - 0.30% CPU - 6 players (CoEmu)
0.2% - 0.4% CPU - 6 players (Jonquer)

Memory:

CoEmu 68mb
Jonquer 95mb
I honestly expected results like that, i'm using memory very well and caching a lot of data on initialization of the server and putting it into appropriate collections, instead of putting everything in an array and looping through it at runtime.

Of course, these results mean little until a proper test of at least 50-100 users are online.
ChingChong23 is offline  
Old 04/07/2010, 19:34   #94
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
looks promising tho^^
~Yuki~ is offline  
Old 04/07/2010, 21:35   #95
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81


i have all area-of-effect skills properly set up, includes weapon skills (can buy from pedlar's, can use) and killing monsters/players with it will increase skill exp/skill level.

got quite a bit of progress today, fixed a bunch of bugs and other things. Tomorrow ill work on the base for other skill types (line attack, aoe heal, single target attack, single target heal, variable aoe attack (direction & width/depth (scatter, FoH etc))

Code:
// Rage
StaticData.getSkills().put(7020, new AreaOfEffectAttack(SkillType.WEAPON_SKILL));
// Snow
StaticData.getSkills().put(5010, new AreaOfEffectAttack(SkillType.WEAPON_SKILL));
That's how easy it is to implement a skill

Code:
if(i.getWeaponType() == Formula.CLUB) // clubs use rage.
	i.setWeaponSpellID(7020);
if(i.getWeaponType() == Formula.WAND) // wands use snow.
	i.setWeaponSpellID(5010);
this is how to bind a weapon to initiate a weapon skill (7020 / 5010 being rage and snow)

if anyone knows of any other skills (normal skills or weapon skills) that have area of effect attacks, but are not limited to direction (fire circle, rage, snow) hit all targets around you. scatter and fire of hell don't, they hit in a direction.

gah now i just remembered somewhere in the INI files each spell does have it's own 'group type' so i don't even need to add the first part manually.
ChingChong23 is offline  
Old 04/07/2010, 21:44   #96

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
So which compiler do you use since NetBeans completely failed here.
Kiyono is offline  
Old 04/07/2010, 22:16   #97
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81
Quote:
Originally Posted by Kiyono View Post
So which compiler do you use since NetBeans completely failed here.
ugh, i use eclipse however you won't need an IDE if you just wanna run it.

get an SVN client (tortoise svn will do) figure out how to download the source package. once you got it, go into the base folder (where you have bin, lib, src etc) make a new text file, name it run.bat, edit it and put this text in there.

If you want an easier way, ill upload a distribution (including source) this is the latest one from my pc. just extract it somewhere and run the 'launch' file. If you get an error, google 'set java environmental variables' and make sure you have java installed.



you will need a 5017 client.
ChingChong23 is offline  
Old 04/07/2010, 22:32   #98
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Quote:
Originally Posted by ChingChong23 View Post
ugh, i use eclipse however you won't need an IDE if you just wanna run it.

get an SVN client (tortoise svn will do) figure out how to download the source package. once you got it, go into the base folder (where you have bin, lib, src etc) make a new text file, name it run.bat, edit it and put this text in there.

If you want an easier way, ill upload a distribution (including source) this is the latest one from my pc. just extract it somewhere and run the 'launch' file. If you get an error, google 'set java environmental variables' and make sure you have java installed.



you will need a 5017 client.
Here..This is a fast mirror..

Link should work in a few minutes.

1MB/S = Atleast it was for me..


500KB/S = Atleast it was for me..
PeTe Ninja is offline  
Old 04/08/2010, 00:58   #99
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Is there a reason you are going with 5017 for your java project? Why not go with 5095, 5165 or even better, 5180++?

5017 is kinda.. dead... especially seeing as there is hybrids if someone realllyy wanted to go with a 5017 server (not that hybrids can't be updated to a newer patch)

I dunno... just personal view but I'd say if you are gonna put that much work into a custom source... why not make it something that people will actually care about (cause as I've seen with coemu... no one cares about anything except the newest patch regardless of stability and horrible coding (</3 lotf so much)
pro4never is offline  
Old 04/08/2010, 07:22   #100
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81
I use 5017 because i like it being CO 2.0, without the ninja and other stupid things at the later versions (i may even downgrade it just to before the client has potency, don't know what patch that is though)

plus the newer the version, the more content you need to add. each time TQ added content after around the 5000 number it was usually bad.
ChingChong23 is offline  
Old 04/08/2010, 07:34   #101
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Yah makes sense. If I was taking that route I'd prob do it EARLY 2.0 (either before cps were added or just after)

back before lotto/pot/2nd reb/db lvling/mall/etc yet still into 2.0 so you don't have the rather.... basic... 1.0 graphics and UI.
pro4never is offline  
Old 04/08/2010, 07:49   #102
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
Go for 4351, CPs was implemented about that patch and i don't think potency was implemented yet
Nullable is offline  
Old 04/08/2010, 08:02   #103
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by Nullable View Post
Go for 4351, CPs was implemented about that patch and i don't think potency was implemented yet
Yeah, 4351 is the optimum version in my opinion, no potency but an alternate currency to money is extremely useful
© Haydz is offline  
Old 04/08/2010, 08:04   #104
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by Nullable View Post
Go for 4351, CPs was implemented about that patch and i don't think potency was implemented yet
pot was AGES after cp came out.... like a lonngg time cause I know lotto was out for probably 6+ months before pot came out and lotto wasn't that long ago (ok so I'm using my own skewed memory here... but w/e)
pro4never is offline  
Old 04/08/2010, 08:12   #105
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 81
4351 sounds good.. is there much difference in the packet structures between 5017 and that?
ChingChong23 is offline  
Reply


Similar Threads Similar Threads
Can a Community Project work out ?
08/03/2009 - Rappelz - 25 Replies
I am just thinking about the possibility to setup a community project to develop a Bot for Rappelz. But I don’t want to upload already compiled full working exe files for this. Instead I just want to publish the source code and everybody has to compile the final version on his own! My main motivation is to inspire the people to learn a programming languages. :D Can this work ? Are here some people that want to help with this task ?



All times are GMT +1. The time now is 18:03.


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.