Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 06.03.2006, 23:20   #1
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default Sockets and Scrolls

Having a real issue with user sockets.

Its not the attack people had recently where the player count would skyrocket. This is just user sockets that are being opened, but will never close.

We have hundreds of players that, when disconnect, cant log back in because their socket never closed, and the server refuses to close it.

Cannot Kick (charid)(charname)

Thats the error that is showing up.

Not only that, scrolls of escapes mysteriously stopped working, along with scrolls of ressurection. This all happened within the term of 24 hours, and we havnt found any reasonable solutions.

If anyone can offer any advice, I would appreciate it. Thank you.
sct is offline  
Old 06.03.2006, 23:40   #2
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

send packet to server with len=-1
server will disconnect such socket, afaik
just try...
humordwarf is offline  
Old 06.03.2006, 23:57   #3
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

Not sure how to do that. Mind to explain?
sct is offline  
Old 07.03.2006, 00:05   #4
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

dont know.. many ways..
write "monitor" or "proxy" that will "kill" or send "-1" to "inactive" server sockets..
or something else..
humordwarf is offline  
Old 07.03.2006, 00:07   #5
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

or.. inside lot server .ini files somewhere is something like "sockettimeout" and too big? =)
humordwarf is offline  
Old 07.03.2006, 00:27   #6
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

My server gets this error and also these:
NPC:
[serversocket.cpp][2106] Invalid user [48108c16]
[serversocket.cpp][2106] Invalid user [48108ccf]

L2Server:
[DBSocket.cpp][3535] Invalid user[48108ccf]
[DBSocket.cpp][4608] pUserSocket is NULL.

When this happens no one can login and it lags pretty bad. This error occurs around the same time every day.
SlayerX is offline  
Old 07.03.2006, 00:31   #7
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

Eh does seem like the solution really.

Everything was fine, until last night. Its so random.

The scrolls of escape also... random... They work 1/4 of the time...
sct is offline  
Old 07.03.2006, 06:40   #8
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

just closing usersockets wont help. even more growing sockets are not a problem at all. even if you close it propertly your players cant login.

as for scrolls (and im sure ss and bottles stop working too or lag too much) - check your db performance, seems you have a bottleneck somewhere (in 75% cases in your storage system), or something that heavely loads your db - eg: web scripts. check it with Profiler and Performance tool.
hr is offline  
Old 09.03.2006, 06:32   #9
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Ok. Its no Web scripts. It has to with something I added.

Added : TOI NPCPOS (Shouldn't cause a problem).
Added : Um, Hallate (Raid Boss) with AI to control the door in TOI. So when he is alive, its open, when dead, closed.
Added : Some stupid Sounds to the Coliseum, when you get MP/HP it says "Prepare to fight".
Added : A TOI quest basically I just SetMemo(talker, 372, 1); and then call that in other AI / HTMLs.

Could any of this calls SOEs and RES Scrolls not to work. And a bunch of errors such as Invalid ClassID and such, I never had these, but can't see what I added even close to being the same to what I have here.
Kenster is offline  
Old 09.03.2006, 06:34   #10
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Also added the Dimension Stones to teleport you to higher areas.

I am getting no DB Sockets closing, and also a "Cannot kick (NAME)" error. Maybe some just got the DB some how through new exploit, and its just the occasion it happened now?

Along with the TOI scrolls that you click summon an NPC, give you an item, and then despawn.
Kenster is offline  
Old 09.03.2006, 09:08   #11
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

When players crash/logout, they stay in game. And they cannot re-log back in to get in. Anyone have a problem as such?

http://l2-paradise.com/downloads/omgwtf.jpg
Kenster is offline  
Old 09.03.2006, 09:48   #12
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

kenster, try removing what you added one by one and see if any of them causes the prob
Mirror is offline  
Old 09.03.2006, 11:45   #13
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

Kenster same thing happening to me. I get crazy database errors out of no where and a lot of server lag, it has nothing to do with the # of players online or my script files. I think this is some new kind of exploit (not the socket flood attacks)
SlayerX is offline  
Old 09.03.2006, 22:14   #14
kimmoman
Архивный участник
 
Join Date: Mar 2006
Posts: 4
Default

Well, cos this actually was pointless. Ill remove this, good luck with this problem tho :roll:
kimmoman is offline  
Old 09.03.2006, 23:03   #15
Lacuna
Архивный участник
 
Join Date: Feb 2006
Posts: 5
Default

this is a devs forum not a players whiner's spammers' forum
Lacuna is offline  
Old 10.03.2006, 03:48   #16
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Ok, Well I removed my TOI spawns, and it seemed to calm down. I think the issue was with Hallate. He controled the door, and the door was open and mybe I tried to open and open door = causing an issue? I dont know. I will add in all of TOI once I see the server stablisze. And then, hopefully ping it down the hallate and fix it. Very very odd.
Kenster 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 21:02.