![]() |
making own la2 server, java -> exe
As I heard, main problems of Java servers are
1. so called "resource limit" wich brings low numbers of supported online about 500 max or so. 2. geodata ;) What if compile java to exe to free from java virtual machine and solve problem 1? Is it possible? There are programms, that can make such a compilation. Would they help? russian: Что если ява сервер скопилировать в ехе и освободиться от ограничений ява-машины? Есть программы которые делают такую компиляцию. Помогут ли они? |
i'm thinking recode java server in c++ lenguage for full resource, and the geodata will be the same like l2 off server, btw the new server coded in c++ will be more complete.
cya |
yeah, but why "recode"? We can just "compile" it.
|
Quote:
|
the problem is another:
L2J: uses NIO = 1 Thread = 1 Socket L2off: uses IOCP (overlapped ports, works only with win2k3, win2k and, limited, winXP): 1 Thread = N Sockets (usually is 2 Threads for every CPU plus 1 Thread dedicated to the "Accept" of the connection request from the client) The cause that makes L2J sink is just this (and also bad coding, but the bigger thing is this). Of course no way to do IOCP under Java (too much "free-OS" language), same for Mono (on Linux IOCP doesn't exists, but someone said me that is possible to do something like this on openBSD... dunno.) In C++/Delphi/C#/VB, instead, you can do it. L2d, my freezed "porting" of l2j to delphi (but using DB of L2off), is using IOCP and i have successfully tested it with I/O with 10k users connected for 1 hour... (just junk data,don't think that was working with the L2 client!!) If there are Delphi developers, it will be nice to resume the L2d project... (working alone is sad). Actually implemented: Log system IOCP system Packets Encrypt\Decrypt something else... |
Emulate Java machine? o_O
I don't think, that it increase resource limit =\ btw, Geodata in a L2J already not a problem ;) |
eh, you mean that l2j don't have geodata?
wanna walk thru some walls? |
Quote:
but, L2J w/geo already in testing ^^ :) |
Quote:
|
i'm a delphi developer, if i can help, will be nice
but limit to version 7 (not delphi 2004-2005/.NET version) |
Very good l2j
:D |
What point in discussing l2j *here* eh?
l2j.sf.net isn't enough anymore? |
Quote:
|
Quote:
|
L2j is better... my opinion... so waht if a monster goes from a wall (l2j) ? better then stucking in middle of the road (l2off)
YES! L2off was better at begining (and now for high capacity of players), but now L2j is much more better (about 800 players, but java do not suport more then that...,) Easy to edit, easy to fix bugs for your own... Of course a better alternative, like a hybrid L2off with L2j will result in smt better then all... again.. is my opinion... |
I never think l2j can handle more than 500+ ppl and will not think about it with current ugly dev team (most talent coders have been quit or kicked out)...
|
L2J = 800users??
L2J = 100 users man xD |
l2j = 100 :D
l2j = 150 user crash server :P |
l2j ~ 400 users ... but no matter ... want to make an l2 emu in delphi or not ? :)
|
| All times are GMT. The time now is 15:27. |