![]() |
User Socket &^%$&
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. |
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. |
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 |
If you have some ideas, discuss them publicly so other people can also provide their input.
|
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 |
testdude, can you share your dll fix with me for this memory leak?
|
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 |
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 >.> |
Tnx bud !!!
|
thanks for uploading testdude
|
that dll is normally loaded with a modified version of tontor's dll, but i think u can attach it with stud_pe also...
|
yes - it made working hair slot and something else - now analyzing
|
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. |
what error?
|
Quote:
|
ok, when i finish with it - i'm help you
|
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? |
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 |
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.
|
well i cant upload to rapidshare or any crappy place like that cos they have my ISP blocked...
|
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.
|
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...
|
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
|
-- Deleted --
|
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
|
| All times are GMT. The time now is 16:19. |