![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
I have been an admin of an l2server for two years now. I know most everything about getting things done. However, I have yet to solve the troublesome "User Socket" problems.
The Problem After 4 hours of uptime, User Sockets build up and nobody can logon to the server anymore. What we have done so far We have our authd setup with a custom and lengthy blowfishkey to keep outgame applications from connecting. We have great heardware. SCSi drives, 6GB ram and dual xeons. MSSQL server is located on a seperate box and so is our logon server and website. Our disk queue and ram usage is always good. Disk queue is always low and ram always has at least 1.5GB of headroom. What can I do? Please only reply if you have something constructive to say from your own experience. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jun 2006
Posts: 20
|
Well, if i remeber why, i think it what that the login and logout packets had changed from C3 to C4. My idea that i came up with but never got around to doing was to bring in another application layer, in a way make a second auth server, so when that one gets the C4 disconnect packet, that auth server takes it and sends it to the real auth server, but has converted the C4 disconnect packet to the C3 version, therefor there is a total disconnect with no sockets left open. I wanted to make something like this, but im not skilled enough in programing yet. I hope this has helped.
~James P.S. If im wrong, don't make a big deal, just let me know. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
I'm very interest in it too and I tring to investigate this
I think we have to debug LoginPacket procedure. I have some ideas - contact to me |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
If you have some ideas, discuss them publicly so other people can also provide their input.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
if ur retail c4 u shouldnt have this problem O.o an associate of mine has had 5 1/2 days uptime untill it crashed because his datacenter upgraded his pc xD
but with c1 server, is a memory leak, simple dll fix for it, the one i got conflicts with l2extend tho, makes hair accessories not viewable because it also has a hair slot fix, and im too lazy to remove it xP |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
testdude, can you share your dll fix with me for this memory leak?
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
yes
i think it is memory allocate issue too but i still have not enough experience to fix it if you can share this dll - i can learn it and attach to server w/o problems or if you can't share just give me some tips |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
http://www.megaupload.com/?d=EB0DGZR2
i am not taking any credit for the making of this dll i do not know who made it and if it offends the person who did, for that i am sorry, this has already been posted here before but no one noticed it as it was bundled together with an extended dll that was posted and dont ask me to upload to rapidshare >.> |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
Tnx bud !!!
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
thanks for uploading testdude
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
that dll is normally loaded with a modified version of tontor's dll, but i think u can attach it with stud_pe also...
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
yes - it made working hair slot and something else - now analyzing
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
I try to attach this DLL with Stup_PE to my l2server and dont load... I try to attach to a l2server without dlls injected (only tontor dll) and same problem... what im doing wrong ?
I try to attach with a pacth.exe modified of tontors patch and no see any different.. L2server dont load. |
|
|
|
|
#14 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
what error?
|
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
|
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
ok, when i finish with it - i'm help you
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
I have not tested it yet, but I will take a look at it tonight.
testdude, do you have the modified version of tontor's dll? |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
http://www.megaupload.com/?d=ENLIT3UR
just put patch2.dll in the same dir as l2server.exe and patch.dll and it will load it on start up |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
I try to download the file with Firefox... with I.Explorer... file start downloading... but... finish to fast hahahaha 0 bytes... i try to download like 7 or 8 times.
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
well i cant upload to rapidshare or any crappy place like that cos they have my ISP blocked...
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
With the custom tontor dll and the patch2.dll, l2server wont load. There is no visible error because the app window doesnt load and there is nothing in linerror.txt.
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Now i can download modified tontors dll... and have the same problem as Firedaemon. I try this before... (inject pacht2.dll in tontor dll) and nothing...
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
try a plain l2server.exe and see if it works i dunno, maybe i uploaded the wrong dll, i have more dll's that i can think of
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
-- Deleted --
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Aug 2005
Posts: 113
|
it probably isn't loading because it's the version I unpacked of that dll. my unpacked version was never supposed to load, was just to analyze it. ask testdude to download the original, packed version :P
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|