![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2005
Posts: 70
|
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. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
send packet to server with len=-1
server will disconnect such socket, afaik just try... |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Nov 2005
Posts: 70
|
Not sure how to do that. Mind to explain?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
dont know.. many ways..
write "monitor" or "proxy" that will "kill" or send "-1" to "inactive" server sockets.. or something else.. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
or.. inside lot server .ini files somewhere is something like "sockettimeout" and too big? =)
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Dec 2005
Posts: 82
|
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. |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Nov 2005
Posts: 70
|
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... |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2005
Posts: 285
|
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. |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
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. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
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. |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
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 |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
kenster, try removing what you added one by one and see if any of them causes the prob
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Dec 2005
Posts: 82
|
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)
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Mar 2006
Posts: 4
|
Well, cos this actually was pointless. Ill remove this, good luck with this problem tho :roll:
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Feb 2006
Posts: 5
|
this is a devs forum not a players whiner's spammers' forum
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
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.
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|