Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.08.2006, 16:18   #1
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default 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.
Firedaemon is offline  
Old 11.08.2006, 16:27   #2
jim2006193
Архивный участник
 
Join Date: Jun 2006
Posts: 20
Default

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.
jim2006193 is offline  
Old 11.08.2006, 21:29   #3
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

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
vex is offline  
Old 12.08.2006, 06:46   #4
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

If you have some ideas, discuss them publicly so other people can also provide their input.
Firedaemon is offline  
Old 12.08.2006, 07:58   #5
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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 is offline  
Old 12.08.2006, 17:13   #6
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

testdude, can you share your dll fix with me for this memory leak?
Firedaemon is offline  
Old 13.08.2006, 02:29   #7
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

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
vex is offline  
Old 13.08.2006, 07:54   #8
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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 >.>
testdude is offline  
Old 13.08.2006, 08:14   #9
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Tnx bud !!!
TheOrder is offline  
Old 13.08.2006, 15:38   #10
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

thanks for uploading testdude
Firedaemon is offline  
Old 14.08.2006, 03:45   #11
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

that dll is normally loaded with a modified version of tontor's dll, but i think u can attach it with stud_pe also...
testdude is offline  
Old 14.08.2006, 11:03   #12
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

yes - it made working hair slot and something else - now analyzing
vex is offline  
Old 14.08.2006, 12:20   #13
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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.
FidoW is offline  
Old 14.08.2006, 12:25   #14
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

what error?
vex is offline  
Old 14.08.2006, 14:21   #15
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by vex
what error?
No one, nothing happen.
FidoW is offline  
Old 14.08.2006, 15:16   #16
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

ok, when i finish with it - i'm help you
vex is offline  
Old 14.08.2006, 20:39   #17
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

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?
Firedaemon is offline  
Old 15.08.2006, 05:27   #18
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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
testdude is offline  
Old 15.08.2006, 05:57   #19
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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.
FidoW is offline  
Old 15.08.2006, 06:58   #20
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

well i cant upload to rapidshare or any crappy place like that cos they have my ISP blocked...
testdude is offline  
Old 15.08.2006, 12:14   #21
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

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.
Firedaemon is offline  
Old 15.08.2006, 13:02   #22
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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...
FidoW is offline  
Old 15.08.2006, 15:10   #23
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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
testdude is offline  
Old 15.08.2006, 15:31   #24
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

-- Deleted --
FidoW is offline  
Old 15.08.2006, 16:57   #25
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

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
Mayii 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 15:38.