![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Feb 2006
Posts: 204
|
Mh....
Last patch But after 1-2 hours server is crashed l2server Code:
A:I:S:E:PE:DI:DE:BO=xx.xx0000:xx.xx0000:xx.xx0000:xx.xx0000:1.000000:0:0:1
L:Y:X:H=0:0:0:0:0
Crashed Thread[0].
CRASH
Server Up Time : Sat Nov 04 22:50:16 2006
Current Time : Sun Nov 05 00:23:41 2006
Elapsed Time : 0 days 1 hours 33 minutes 25 seconds
IOBufferPool - 49431 / 50000, PendingWrite 66660 bytes [8]
=============== object report
user[264/0], npc[38475/0], item[10468/3], usersocket[305]
=============== npc server connection log
Connect : Sat Nov 04 22:54:11 2006
[(3288) 2006/11/05 00:23:41]: =======================
an Access Violation in module L2Server.exe at 0033:0054a6b8.
start at 2006/11/4 22:50:13
Write to location 00000000 caused an access violation.
Registers:
EAX=00000000 CS=0033 EIP=0054a6b8 EFLGS=00010246
EBX=00000000 SS=002b ESP=78e3fd10 EBP=0004c158
ECX=8455aa60 DS=002b ESI=00400000 FS=0053
EDX=00000000 ES=002b EDI=00000000 GS=002b
Bytes at CS:EIP:
c6 03 01 65 48 8b 04 25 58 00 00 00 48 8b 0c f8
Stack dump:
78e3fd10: 1c37e1d4 00000000 0004c158 00000000 009d0560 00000000 00063050 00000000
78e3fd30: 1c37e1d4 00000000 00000040 00000000 fffffffe ffffffff 00400000 00000000
78e3fd50: 0004c158 00000000 0061e5f9 00000000 1c37e1d4 00000000 00400000 00000000
78e3fd70: 00000000 00000000 00063050 00000000 87cbefe4 00000000 77d5fcd7 00000000
78e3fd90: 00000017 00000000 fffffffe ffffffff 00a05220 00000000 00000000 00000000
78e3fdb0: 00000000 00000000 0062294b 00000000 1c37e1d4 00000000 00000000 00000000
78e3fdd0: 00a05220 00000000 00400000 00000000 00a05200 00000000 00400000 00000000
78e3fdf0: 00977230 00000000 0062501b 00000000 00bf7a80 00000000 00000000 00000000
78e3fe10: 00977230 00000000 00400000 00000000 00000023 00000000 00000000 00000000
78e3fe30: 00000000 00000000 1c37e1d4 00000000 1c37e224 00000000 fffffffe ffffffff
ver = Dec 16 2005_22:03:13
GuardInfo :
IOThread [0][2328] (ahehe): void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CDBSocket::OnClose() -> CacheSocket Closed
Lock Stack :
ListenThread [13][250] (good): void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
Lock Stack :
MainThread [12][875] (good): Lock Stack :
GuardInfo end
[(3288) 2006/11/05 00:23:42]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception
Code:
minidump result : 0
Crashed Thread[21].
Deadlock or Super-Lag!!! CurrentTick[5905265] - DeadlockCheckerTick[5845187] = 60078
Server Up Time : Sat Nov 04 22:49:29 2006
Current Time : Sun Nov 05 00:23:32 2006
Elapsed Time : 0 days 1 hours 34 minutes 3 seconds
IOBufferPool - 39976 / 39996, PendingWrite 13822 bytes [1]
[(4084) 2006/11/05 00:23:32]: =======================
an Access Violation in module cached_block.exe at 0023:00441328.
start at 2006/11/4 22:49:28
Write to location 00000000 caused an access violation.
Registers:
EAX=00000000 CS=0023 EIP=00441328 EFLGS=00010246
EBX=7d4d168e SS=002b ESP=04ffecf0 EBP=005a4281
ECX=04ffed1c DS=002b ESI=0000eaae FS=0053
EDX=003b8ec8 ES=002b EDI=003b8ec8 GS=002b
Bytes at CS:EIP:
c6 00 01 8b 87 08 00 00 00 83 c4 10 83 04 85 78
Stack dump:
04ffecf0: 008ff138 00000002 00514cd8 0000003c 00000001 04ffed48 0491dddc 00000000
04ffed10: 0091dddc 003b8ec8 00000001 04ffff44 004f30bc 00000003 00424e4d 00000000
04ffed30: 00000000 0491d678 04ffff78 0491d678 01000000 00000001 00000000 0491dddc
04ffed50: 0491dde0 0491dde0 00000000 03d1f32c 03d1f348 03d1f348 04ffed44 00000000
04ffed70: 04ffed48 0491dddc 00000001 0000000c 04ffed44 00000000 04ffed48 0491dddc
04ffed90: 00000000 00000011 00000017 02020202 536e6957 206b636f 00302e32 00000000
04ffedb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
04ffedd0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
04ffedf0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
04ffee10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
GuardInfo :
IOThread [0][32813] (good): void IOThread_common(void *arglist) -> static bool LoadCharacterPacket(CSocket* pSocket, const unsigned char* packet) -> CAccountSP CAccount::Load(unsigned int nAccountID) -> CUserSP CUserDb::GetUser(int nUserId, bool bLoadIfNotExist) -> CUserDb::LoadFromDb(unsigned int) -> CUserSP CUserDbHelper::LoadUserFromDb(unsigned int nCharId) -> CUserSP CUserDbHelper::MakeNewUserObject() -> CUser::CUser(...) -> bool CWareHouse::LoadItems() -> DBConn::Execute
Lock Stack : RW ReadLock(32791132[1f45a5c])
IOThread [1][27156] (good): void IOThread_common(void *arglist) -> static bool LoadCharacterPacket(CSocket* pSocket, const unsigned char* packet) -> CAccountSP CAccount::Load(unsigned int nAccountID) -> CUserSP CUserDb::GetUser(int nUserId, bool bLoadIfNotExist) -> CUserDb::LoadFromDb(unsigned int) -> CUserSP CUserDbHelper::LoadUserFromDb(unsigned int nCharId) -> CUserSP CUserDbHelper::MakeNewUserObject() -> CUser::CUser(...) -> bool CWareHouse::LoadItems() -> DBConn::Execute
Lock Stack : RW ReadLock(32791132[1f45a5c])
IOThread [2][88625] (good): void IOThread_common(void *arglist) -> static bool RequestCreatePledge(CSocket* pSocket, const unsigned char* packet) -> int CPledgeDb::CreatePledge(WCHAR *sPledgeName, int nPledgeRulerId) -> CPledge::CPledge(unsigned int nId, const WCHAR *sName, unsigned int nRulerId, const WCHAR *sRulerName) -> bool CWareHouse::LoadItems() -> DBConn::Execute
Lock Stack : RW WriteLock(23673100[169390c])
IOThread [3][60078] (good): void IOThread_common(void *arglist) -> static bool RequestLoadPledge(CSocket* pSocket, const unsigned char* packet) -> CPledgeSP CPledgeDb::GetPledge(int nPledgeId)
Lock Stack : RW WriteLock(23673100[169390c])
IOThread [4][43641] (good): void IOThread_common(void *arglist) -> static bool RequestCreatePledge(CSocket* pSocket, const unsigned char* packet) -> int CPledgeDb::CreatePledge(WCHAR *sPledgeName, int nPledgeRulerId) -> CPledgeSP CPledgeDb::GetPledge(WCHAR* sPledgeName)
Lock Stack : RW WriteLock(23673100[169390c])
IOThread [5][1234] (good): void IOThread_common(void *arglist) -> static bool RequestChangeItemData(CSocket* pSocket, const unsigned char* packet) -> CWareHouse::ChangeItemData(CSocket* pSocket, const unsigned char* packet) -> bool CItem::Save(bool bForceSave) -> DBConn::Execute
Lock Stack : RW WriteLock(80870024[4d1fa88])
IOThread [6][74656] (good): void IOThread_common(void *arglist) -> static bool RequestSetPledgeInfo(CSocket* pSocket, const unsigned char* packet) -> bool CPledgeDb::SetPledgeInfo(unsigned int nPledgeId, unsigned int nUpdateFieldName, unsigned int nUpdateValue) -> CPledgeSP CPledgeDb::GetPledge(int nPledgeId)
Lock Stack : RW WriteLock(23673100[169390c])
IOThread [7][60484] (good): void IOThread_common(void *arglist) -> static bool LoadCharacterPacket(CSocket* pSocket, const unsigned char* packet) -> CAccountSP CAccount::Load(unsigned int nAccountID) -> CUserSP CUserDb::GetUser(int nUserId, bool bLoadIfNotExist) -> CUserDb::LoadFromDb(unsigned int) -> CUserSP CUserDbHelper::LoadUserFromDb(unsigned int nCharId) -> CUserSP CUserDbHelper::MakeNewUserObject() -> CUser::CUser(...) -> bool CWareHouse::LoadItems() -> DBConn::Execute
Lock Stack : RW ReadLock(32791132[1f45a5c])
IOThread [8][1500] (good): void IOThread_common(void *arglist)
Lock Stack :
IOThread [9][1500] (good): void IOThread_common(void *arglist)
Lock Stack :
IOThread [10][1500] (good): void IOThread_common(void *arglist)
Lock Stack :
IOThread [11][1500] (good): void IOThread_common(void *arglist)
Lock Stack :
ListenThread [21][19235] (ahehe): unsigned __stdcall WaitThread(void *) -> !!! deadlock or super-lag detected !!!
Lock Stack :
MainThread [20][5924500] (good): MessageLoop_common
Lock Stack :
GuardInfo end
[(4084) 2006/11/05 00:23:36]: *.\CacheD.cpp:660(Tue Aug 9 23:52:17 2005) exception
Thx |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Deadlock or Super-Lag!!! CurrentTick[5905265] - DeadlockCheckerTick[5845187] = 60078.
Perhaps better hardware? perhaps a database defrag.. |
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 204
|
Quote:
What about ValidatePosition, when it's =true more clents crached when char start walk. How it fix? Change client? And about packet bug, users send packet to server and server crashed( I don't know this packet 2Cypher can you make autoban if packet send not from client? And if bot send packet ban too |
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
Hmm just downloaded ampeD and work smooth.. 700 players online, uptime 22h.. but players report they can switch skills in hotbar.. wtf?
And my question to Cypher -> It is possible to make some delay when character logout? I have on server many PK that force shutdown client when they have problems..... so I want their char still in game for X second after logout.. its this possible to make via ampeD? can u look on that? thanks a lot :-) /bow for your work
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
using a good configuration for server = 0 problems . c4 retail files need more resources than c1 . trying to run a server with 4gb of ram = lag . why ?
1 . more npc 2. mobs ai +++ etc except ss delay in an earlier version , i never had problem with amped ;no crash , no hangs , no cached stoped, and i'm talking about maintenance 1 per week . average 2800 ppl on . good job cypher ![]() For all coders and server owners : amped is not solving ai , skills , geodata , bots problems . |
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
hmm our server have 4gb ram and we have only little lags.. with 700-800 players :-D
but L2Log is off........ |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Feb 2006
Posts: 204
|
Thx
My server crashed whith DOS attack) I'm fix this Question, i'm added cypher procedure but soulshot delay don't fix Who know how it fix? |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
It's not fully help you with soulshot delay, because your sql server could be lagged by other reason, for example low ram, big db and other things.
|
|
|
|
|
#9 | |
|
Архивный участник
Join Date: May 2006
Posts: 15
|
Quote:
This prevent all lag on database. |
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Feb 2006
Posts: 204
|
Thx Volpe
What about desconnect when ValidatePosition=true? How it fix? |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
last dll is super stable. the problem is that I have 4 sec delay at //ping stats. I have optimized the database but problem remains. I had no problem using the same hardware some days ago
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Apr 2005
Posts: 127
|
cypher, thank you again, you are the really free l2dev.
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
betepok, damn you, keep this info private, send it as a pm to cypher
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
Why is everyone so obsessed with keeping information that is freely available to anyone who knows how to google private on a forum regarding how to fix the issues themselves?
I don't mean to shoot this thread into being way off topic so I appologize, Cypher does great work. |
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 390
|
Quote:
Reason why is because everyone and their mothers know about this site. Not many know about the other ones. |
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
I checked ampeD .ini there is packet for logout.. how to use it? I want put some delay there.. it is possible? c'mon..someone.. help me .]
I think we ALL want this feature ;-) its boring when people logout in middle of battle.. |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
v150, after ~10 hours
A:I:S:E:PE I E:BO=1.000000:1.000000:1.000000:1.0 00000:1.000000:0:0:1L:Y:X:H=0:0:0:0:0 Crashed Thread[1]. Server Up Time : Mon Nov 06 19:44:21 2006 Current Time : Tue Nov 07 06:34:30 2006 Elapsed Time : 0 days 10 hours 50 minutes 9 seconds IOBufferPool - 49729 / 50000, PendingWrite 42355 bytes [5] =============== object report user[132/0], npc[35426/0], item[3831/0], usersocket[138] =============== npc server connection log Connect : Mon Nov 06 19:45:58 2006 [(2136) 2006/11/07 06:34:30]: ======================= an Access Violation in module ntdll.dll at 0033:78efc1d5. start at 2006/11/6 19:44:19 Write to location 00000023 caused an access violation. Registers: EAX=ffffffff CS=0033 EIP=78efc1d5 EFLGS=00010246 EBX=0e48b778 SS=002b ESP=78e3f780 EBP=fffac000 ECX=000d14fc DS=002b ESI=ffffffff FS=0053 EDX=00000000 ES=002b EDI=00000004 GS=002b Bytes at CS:EIP: ff 40 24 4c 8b f6 44 8b e2 41 83 e6 01 48 bf 43 Stack dump: 78e3f780: cb2990ec 00000000 77d7047f 00000000 3468e200 00000000 83d42f01 00000000 78e3f7a0: 00bf79a0 00000000 00000000 00000000 00000000 00000000 78e3f870 00000000 78e3f7c0: 00000048 00000000 00000001 41036ee5 00000000 00000000 000005d2 00000000 78e3f7e0: 00400000 00000000 773d5ab0 00000000 0e44fd58 00000000 78efc2a8 00000000 78e3f800: 0e48b778 00000000 00000000 00000000 00000004 00000000 00000001 00000000 78e3f820: 76287824 00000000 0078195b 00000000 0e48b740 00000000 0e48b778 00000000 78e3f840: 0e48b778 00000000 01160398 00000000 6d50c7b0 c0f29b51 008a3f75 00000000 78e3f860: 1e0259ec 00000000 1e0259ec 00000000 76287824 00000000 00000000 00000000 78e3f880: fffffffe ffffffff cf1aed3c c0f29c05 a2fb93e8 41036c8c 00000000 c0a86000 78e3f8a0: 000003e5 00000000 00000000 00000000 1ab25ae0 00000000 0e8aa840 00000000 ver = Dec 16 2005_22:03:13 GuardInfo : IOThread [0][0] (good): void IOThread_common(void *arglist) Lock Stack : IOThread [1][62] (ahehe): void IOThread_common(void *arglist) -> void CIOObject::TimerDispatch(bool bRootLoop) -> void CThreadLocalTimer: ispath -> void CVehicle::TimerExpired(int id) -> void CVehicleController::Arrived() -> void CVehicleController::TimerExpired(int id) -> void CVehicleController::TimerExpired(int id) -> FOR ALL OBJECT IN OBJECT MAPLock Stack : RW ReadLock(239646584[e48b778]) IOThread [2][0] (good): void IOThread_common(void *arglist) Lock Stack : IOThread [3][0] (good): void IOThread_common(void *arglist) Lock Stack : ListenThread [13][94] (good): void ListenThread_common() -> unsigned __stdcall WaitThread(void *) Lock Stack : MainThread [12][532] (good): Lock Stack : GuardInfo end [(2136) 2006/11/07 06:34:30]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
That's interesting because I could stumble into quite a few L2 related IRC channels and forums, just as an example, where everyone, their grandmother and their dog knows what these applications are.
The root of fixing these problems quicker than relying on a single person (as we saw with Tontor, no offense, just an example) is making the information available. PostPacific is currently the primary forum for this information to be passed along. Sure, the information could get in the wrong hands, say some retard who couldn't find google them out and possibly busts a few servers around with them, but consider what would happen if just the right person came along and picked it up then discovered how to fix the problem efficiently? Would that not be more beneficial than believing posting an exploit on PostPacific will cause more trauma than the exploit already is (assuming we're discussing a previously discovered exploit)? |
|
|
|
|
#19 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
Quote:
1) Check for changed CRCs on your client pack using an encrypted DLL and a custom engine key. This will prevent custom client files from being ran. 2) In the server, authenticate all GM hide packets and check that the player is indeed a builder. Problem solved. I assume L2Server does all builder checking inside the Say2 packet handler. Good old retarded NCsoft, we love them and hate them at the same time. |
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Sep 2006
Posts: 114
|
|
|
|
|
|
#21 | |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
Quote:
|
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
Re:
v150, after ~10 hours A:I:S:E:PEIE:BO=1.000000:1.000000:1.000000:1.0 00000:1.000000:0:0:1 L:Y:X:H=0:0:0:0:0 Crashed Thread[1]. Server Up Time : Mon Nov 06 19:44:21 2006 Current Time : Tue Nov 07 06:34:30 2006 Elapsed Time : 0 days 10 hours 50 minutes 9 seconds IOBufferPool - 49729 / 50000, PendingWrite 42355 bytes [5] =============== object report user[132/0], npc[35426/0], item[3831/0], usersocket[138] =============== npc server connection log Connect : Mon Nov 06 19:45:58 2006 [(2136) 2006/11/07 06:34:30]: ======================= an Access Violation in module ntdll.dll at 0033:78efc1d5. start at 2006/11/6 19:44:19 Write to location 00000023 caused an access violation. Registers: EAX=ffffffff CS=0033 EIP=78efc1d5 EFLGS=00010246 EBX=0e48b778 SS=002b ESP=78e3f780 EBP=fffac000 ECX=000d14fc DS=002b ESI=ffffffff FS=0053 EDX=00000000 ES=002b EDI=00000004 GS=002b Bytes at CS:EIP: ff 40 24 4c 8b f6 44 8b e2 41 83 e6 01 48 bf 43 Stack dump: 78e3f780: cb2990ec 00000000 77d7047f 00000000 3468e200 00000000 83d42f01 00000000 78e3f7a0: 00bf79a0 00000000 00000000 00000000 00000000 00000000 78e3f870 00000000 78e3f7c0: 00000048 00000000 00000001 41036ee5 00000000 00000000 000005d2 00000000 78e3f7e0: 00400000 00000000 773d5ab0 00000000 0e44fd58 00000000 78efc2a8 00000000 78e3f800: 0e48b778 00000000 00000000 00000000 00000004 00000000 00000001 00000000 78e3f820: 76287824 00000000 0078195b 00000000 0e48b740 00000000 0e48b778 00000000 78e3f840: 0e48b778 00000000 01160398 00000000 6d50c7b0 c0f29b51 008a3f75 00000000 78e3f860: 1e0259ec 00000000 1e0259ec 00000000 76287824 00000000 00000000 00000000 78e3f880: fffffffe ffffffff cf1aed3c c0f29c05 a2fb93e8 41036c8c 00000000 c0a86000 78e3f8a0: 000003e5 00000000 00000000 00000000 1ab25ae0 00000000 0e8aa840 00000000 ver = Dec 16 2005_22:03:13 GuardInfo : IOThread [0][0] (good): void IOThread_common(void *arglist) Lock Stack : IOThread [1][62] (ahehe): void IOThread_common(void *arglist) -> void CIOObject::TimerDispatch(bool bRootLoop) -> void CThreadLocalTimer:ispath -> void CVehicle::TimerExpired(int id) -> void CVehicleController::Arrived() -> void CVehicleController::TimerExpired(int id) -> void CVehicleController::TimerExpired(int id) -> FOR ALL OBJECT IN OBJECT MAP Lock Stack : RW ReadLock(239646584[e48b778]) IOThread [2][0] (good): void IOThread_common(void *arglist) Lock Stack : IOThread [3][0] (good): void IOThread_common(void *arglist) Lock Stack : ListenThread [13][94] (good): void ListenThread_common() -> unsigned __stdcall WaitThread(void *) Lock Stack : MainThread [12][532] (good): Lock Stack : GuardInfo end [(2136) 2006/11/07 06:34:30]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception |
|
|
|
|
#23 |
|
Архивный участник
Join Date: Oct 2006
Posts: 112
|
Bot Packets:
1. 0D 01 00 00 00 (CharacterSelected) 2. 03 74 FF 5D 01 75 5B 52 00 FF FF FF FF 87 4E B2 76 (Enter World) 3. 01 08 B6 FE FF 3B B4 03 00 55 F1 FF FF ED B5 FE FF 57 B4 03 00 6E F1 FF FF (MoveBackwardToLocation) Client Packets: 1. 0D 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (CharacterSelected) 2. 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (Enter World) 3. 01 08 B6 FE FF 3B B4 03 00 55 F1 FF FF ED B5 FE FF 57 B4 03 00 6E F1 FF FF 01 00 00 00 (MoveBackwardToLocation) It's easy to find L2Walker without //check_bot in auto mode Cypher, can you use even this packets to log L2Walker? Please answer... |
|
|
|
|
#24 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
I would rather he continue working on exploit fixes for now instead of feature requests... Just a thought.
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Jul 2006
Posts: 67
|
His work is great, donated to help keep it going!
|
|
|
|
|