Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 21.12.2005, 03:50   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default i'm back :)

right.. exams are over
so yeah... back to l2c#
sad part was development was behind by mths now
so i'd probably start over again to take advantage of any improvements made recently (since this would mainly be l2j -> l2c# for the time being, porting, modifications would be done to get better performance outfa it as well of cuz
as i'd like to do this full time and try to complete this lil project in the shortest time possible, since i'm doing it alone. (good help is hard to find)
so funding for the project would be great, and the advantage for doing so would be direct access to the svn for the sources and executables as well as technical support.
so to those who are interested in this porting service, drop me a mail here or on irc or whatever communications line u could find to me..
Digital is offline  
Old 21.12.2005, 04:10   #2
Feldan
Архивный участник
 
Join Date: Nov 2005
Posts: 27
Default

Well i may be interested in putting some $$ towards the project. But...i have a hard time believeing you are going to be able to put out good work in a timely manner. Don't take it the worng way, and i hope you prove me wrong. If you can and do i will gladly put some money in for the project.

Feldan
Feldan is offline  
Old 21.12.2005, 05:06   #3
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

yes, that's a valid and just concern i'm sure.
however it's quite hard to put justification on how to put a performance/time indicator for a programmer?
we cant exact count it like files/day/week either...
well personally, i'm quite a hardcore programmer.
those who had seen me coding l2c# b4 i went for my exams would know how it went and the extend of it as well.
there were recoding, redesigning and decision making as well, from core and up.
but trust on my words alone, isnt worth much credit i'd say.. lol
so i'd suggest some ideas here to track the performance instead.
1) i'd keep a changelog as to what is modified thru svn
2) i'd try to have daily updates to code changes
3) i'll list out milestones to hit and as well as ideas/decisions made with reasons and i'll also report if things slip under the timeline, hopefully before hand.
i hope these would clear up some of the worries due, if there's anything else do sound it out
Digital is offline  
Old 21.12.2005, 06:12   #4
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default Re:

I've been working on a C# version myself, its pretty incomplete right now as I'm working on bits and pieces, but I have a pretty much finished networking core right now which uses reusable socket and buffer pools for long term performance gains that take advantage of reusing sockets thanks to the new disconnect method, as well as smart thread pool driven async receive, send, and accept socket callbacks using new C# 2.0 generic queues and throttles.

This engine steps away from l2j's way of starting a new thread for each client connection (which causes performance problems around 200 - 300 players), I see no reason why this network core can't support 4000 players on a decent machine, probably more if compiled with large memory support on a x64 machine with 4gigs plus memory.

Compared to most emulators, lineage 2 packets are actually quite small and should require less overhead then alot of emulators even taking into account decrypting and encrypting. I see no reason why aiming for 10k users on one decent machine isn't feasible.

I've been mulling over database ideas and I/O right now, as thats my main concern for server bottle necking. SQL is nice, but I think it would be better to move away from it and aim for a high performance reusable engine, maybe a form of serialization or templating.

Anyway I've been doing it solo so its been slow going, but if you need help just drop me a PM, I'd be more then willing to join in on the project.
Sindol is offline  
Old 21.12.2005, 11:02   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

yes, u are quite right on the l2j's aspect and sadly java cant do much abt that either...
and the thread pool for the sockets is a very good decision as well.
for the db wise, there's a couple of ideas i had abt it...
first i'd talk abt my previous implementation -> odbc
i chosen that due to it's high supportability, u could make dbs out of almost anything u could think of. (txt, mssql, mysql, oracle, access, etc)
and with this idea in mind, i constructed a l2dbfactory to internally manage the connection, to keep cpu&mem usage low and reduce coding and better management.
and of cuz the next idea was to make it into a multi threading pooling service (ala cached idea).
but the downside of this would be not so optimized performance
of cuz if u would like to go for full performance
u probably have to go either ado.net + tons of stored procedures or go for a object based db on a seperate machine which would yield the best results.
(all these are according to my own opinions.. correct me if i'm wrong in any way
and yeah... c#'s managed code is really good. good bye to buffer overflow exploits
sure... it'd be great to have more hands on a project then struggling alone of cuz, do u have msn/icq or something?
Digital is offline  
Old 21.12.2005, 14:08   #6
Feldan
Архивный участник
 
Join Date: Nov 2005
Posts: 27
Default

Well it all sounds good to me i am not a good enough coder to help out so i will help out with some money once i see stuff is rolling. Also as you know we are on C3 now and its going to go to C12 by the sounds of it. I have seen quite a few of these projects start and than die after a few months. I hope to see this 1 last

I will be watching and hoping

Feldan
Feldan is offline  
Old 21.12.2005, 14:54   #7
navy
Архивный участник
 
Join Date: Nov 2005
Posts: 41
Default

I think I can help a little, so I write it for my self, why not share the work But I think it's better to use existing l2j datapack so need conpatibility And, SQL is more stable data store than other ways IMHO
navy is offline  
Old 21.12.2005, 16:01   #8
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

well.. i do intend to use j# for the scripting engine...
is simple and very very scriptable. (others include lua.net, c# itself, etc)
l2j uses jscript which is very much similar. (they have since ditched jython, good move )
actually, we have both the format for l2j-dp and l2off-dp
parsing them shouldnt be that much of a problem.
it is the rest of the framework that require more attention and given more thoughts into.
Digital is offline  
Old 23.12.2005, 21:29   #9
silverdog
Архивный участник
 
Join Date: Apr 2005
Posts: 42
Default

Quote:
Originally Posted by Feldan
Well i may be interested in putting some $$ towards the project. But...i have a hard time believeing you are going to be able to put out good work in a timely manner. Don't take it the worng way, and i hope you prove me wrong. If you can and do i will gladly put some money in for the project.

Feldan
I would also be glad to help out with $$, since I don't know the programming languages needed.
silverdog is offline  
Old 24.12.2005, 03:47   #10
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

Right... as of now.. LS is almost done, with just 3 more stuff to recode
1) LS/GS seperation 40%
2) Threading 25%
3) Config Management 70%

[edit] oh yes, all l2j functionality are included except telnet service

the current db is based on odbc... which we'll change in the future as well.
it's used so that development will be faster..

so we'll go in this order of things LS -> GS -> DB coding
hopefully i'd complete LS coding by next week (it's xmas after all
Digital is offline  
Old 26.12.2005, 06:05   #11
navy
Архивный участник
 
Join Date: Nov 2005
Posts: 41
Default

So, i was thinking about DB concept, and try the original MySQL connector for .Net It's realy good. Maybe it would be intersting for you. And i rewrite the config reader from java, but for use the XML file If you want to use it, I can share it.
navy is offline  
Old 27.12.2005, 09:42   #12
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

sure it'd be cool.. actually i'm doing the same thing as well.. lolz

just to report, bad things happened over xmas.
my pc is under virus attack and i cant seem to be able to get rid of it.. :\
i've confined it currently.. but i cant seem to locate the dll that's kept respawning the virus and running it...
so work would be pulled back a few days for OS reinstalling :|
terribly sorry for the waste in time... hope to see u guys soon
Digital is offline  
Old 27.12.2005, 13:32   #13
navy
Архивный участник
 
Join Date: Nov 2005
Posts: 41
Default

Here config.cs and ConfigAdapter.cs For work with config files. I think about some improvings in it, but not now.
navy is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:04.