Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Tutorials & Guides (https://postpacific.mmorpg-game.online/forumdisplay.php?f=44)
-   -   [Share] server side html exploit fix, cloning char fix (https://postpacific.mmorpg-game.online/showthread.php?t=2152)

Papa_Wader 24.01.2006 08:28

It's definetly a new exploit - never met this problem before - latest patch running for almost 2 weeks now/

01/24/2006 11:00:xx.xx8, __SafeCastUSer saved the server...
01/24/2006 11:00:xx.xx1, __SafeCastCreature saved the server...
01/24/2006 11:00:xx.xx0, __SafeCastUSer saved the server...
01/24/2006 11:00:xx.xx5, __SafeCastCreature saved the server...
01/24/2006 11:02:xx.xx3, __SafeCastUSer saved the server...
01/24/2006 11:02:xx.xx8, WARNING: Possible exploit attempt ACCID:2493 CMD:[link collector_pipi003.htm].
01/24/2006 11:02:xx.xx6, __SafeCastUSer saved the server...
01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1294450016_2].
01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1294450016_2].
01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1128959104_0].
01/24/2006 11:03:xx.xx8, WARNING: Possible exploit attempt ACCID:3841 CMD:[bypass -h teleport_1128959104_0].
01/24/2006 11:03:xx.xx8, item [id:401a7407] null at file[UserSocket.cpp], line[898]
01/24/2006 11:15:xx.xx0, !!! deadlock or super-lag detected!!! (diff 665 sec)

then the server crashes

tontor 24.01.2006 11:58

Quote:

Originally Posted by 2Rain
Ok. Ask my question by another

Tontor's patch don't fix this quest (Coin Collector):


class warehouse_keeper_sorint : warehouse_keeper

NPC just gives for cheaters these items:

L22075
....
push_const 198
push_const 1
func_call 77 // func[GiveItem1]

L22084
....
push_const 230
push_const 1
func_call 77 // func[GiveItem1]

L22093
....
push_const 95
push_const 1
func_call 77 // func[GiveItem1]

L22102
....
push_const 132
push_const 1
func_call 77 // func[GiveItem1]

L22111
....
push_const 2433
push_const 1
func_call 77 // func[GiveItem1]

L22120
....
push_const 632
push_const 1
func_call 77 // func[GiveItem1]

L22129
....
push_const 2456
push_const 1
func_call 77 // func[GiveItem1]

L22138
....
push_const 1149
push_const 1
func_call 77 // func[GiveItem1]

L22147
....
push_const 852
push_const 1
func_call 77 // func[GiveItem1]

L22156
....
push_const 853
push_const 1
func_call 77 // func[GiveItem1]

L22165
....
push_const 884
push_const 1
func_call 77 // func[GiveItem1]

L22174
....
push_const 916
push_const 1
func_call 77 // func[GiveItem1]


Anybody can fix?

If the NPC uses bypass and link which I'm sure it does since that's how all npcs work, by html, then you have a failed patch, probably link. It does not matter what quest it is, or what npc. you cannot call a bypass cmd that is not in the list of the html, and (if link is patched correctly) you cannot request any html that is not linked from another html . I'm starting to get tired of going over the same subjects over and over. Same with safecast. If you read this thread, yes I understand it is a large thread but you will see people have the same problems, there is nothing special about the coin collector quest.

Quote:

Originally Posted by vex
Quote:

Just because you get safecast errors does not relate to this patch, safecast errors are usually caused by users and often end in crashes. deadlock is caused by a timer expiring that is considered critical, usually where a packet to/from cached is so lagged it times out and the server forcefully crashes itself because it is unrecoverable.
Ok! I understand, but how exactly users affect to __SafeCast.. ? May some example? I want understand to try fix it.

"Safecasts are usually the result of inserting deleted object which almost always ends up in a crash." This is the most common, what causes safecasts? Many things. There is around 40-45 xrefs to safecastuser/safecastcreature any which could be the problem of each specific incident.


In most cases, checking the timestamps of the errors against cached logs will most likely find 1 that hits the time stamp very closely to the safecasts, and this is your user that is causing problems. Its not always intentional, sometimes it can happen to a perfectly innocent person. deadlock is caused by lag. Feel free to revert to other revisions of the dll, or stop using it to try to locate our problems, but none of these patches should effect causing safecasts.

testdude 24.01.2006 14:20

thnx for the help tontor, ill have to have a look into that...
but right now that isnt my only problem :| my server is being extremely unstable...
01/24/2006 06:08:xx.xx3, Pick item resut is different. server[28585432], db[29585432]
01/24/2006 06:08:xx.xx2, depth>200 at file[Inventory_server.cpp], line[703]
then... poof.
Code:

Server Up Time Tue Jan 24 05:57:27 2006

Current Time : Tue Jan 24 06:08:19 2006

Elapsed Time : 0 days 0 hours 10 minutes 52 seconds
IOBufferPool - 13017

[(956) 2006/01/24 06:08:19]: =======================
a Privileged Instruction in module L2Server.exe at 001b:005d7278.
start at 2006/1/24 05:57:25

Registers:
EAX=25157d2c CS=001b EIP=005d7278 EFLGS=00010202
EBX=4010368d SS=0023 ESP=71f1fdd0 EBP=71f1fe04
ECX=25157d2c DS=0023 ESI=000003bf FS=003b
EDX=005b9c38 ES=0023 EDI=78f247dc GS=0000
Bytes at CS:EIP:
6f 00 63 00 6b 00 65 00 74 00 20 00 2a 00 73 00
Stack dump:
71f1fdd0: 78f247dc 004d0e43 78f247dc 79e9af2c 81f50cd0 00000000 71369a58 79e9bf60
71f1fdf0: 00000000 71f1fdd8 71f1fe4c 005aac20 ffffffff 71f1fed5 005020ee 79e9af2c
71f1fe10: 00000018 00000001 4010368c 00000000 00000001 78f247dc 00000002 81f50cd0
71f1fe30: 00000041 00000000 00000018 00000001 4010368c 00000000 71f1fe24 71f1feb8
71f1fe50: 005acd20 ffffffff 71f1fec4 0050fa78 78f247dc 81f50ce3 08c2c87a 78f247dc
71f1fe70: 77e6bb6d 0000003e 71f1fedc 0000003e 71c02572 000000bb 71f1fea0 71c0575e
71f1fe90: 00000000 08c2c858 71369a58 000003e5 71f1ff78 00000013 006c0794 31c58fec
71f1feb0: 81f50cd0 71f1fe68 71f1fee4 005ad778 ffffffff 71f1fef0 00539866 08c2c87a
71f1fed0: 78f247dc 77e6bb6d 71f1ff0c 71f1feec 71f1fecc 71f1ff6c 005afaa0 ffffffff
71f1fef0: 71f1ff78 0053be2a 00000013 00000001 0053cbe6 00000001 00000013 78f25acc


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
ShortCutRegisterPacket <--
void CShortCut::AddShortCut(User *pUser, int slotnum, int shortcuttype, int id, bool bSendToUser)

Thread[0] (ahehe):      Lock Stack  :

as u can see from that error, 10 MINUTE UPTIME!!!!! thats the max uptime ive had all day!!!
also just noticed, could this addshortcut thing be the result of the same error as before? with the CCreature, i noticed when i was looking into the possible fix u posted tontor and just above the code for the null esi problem was this...
004434AB |. 68 70A25C00 PUSH l2server.005CA270 ; UNICODE "depth>200 at file[%s], line[%d]"

this was the error right before the server crashed, as displayed above, same problem? will the whole checking if esi is null stop this error too? or is it the same error? o.o

oooo 6 minute uptime! hawt! :o
Code:

Server Up Time Tue Jan 24 06:30:13 2006

Current Time : Tue Jan 24 06:36:53 2006

Elapsed Time : 0 days 0 hours 6 minutes 40 seconds
IOBufferPool - 13196

[(2692) 2006/01/24 06:36:53]: =======================
an Access Violation in module Unknown at 001b:002c0062.
start at 2006/1/24 06:30:10
Write to location 00047140 caused an access violation.

Registers:
EAX=05779e68 CS=001b EIP=002c0062 EFLGS=00010202
EBX=80e9be30 SS=0023 ESP=71f2fe2c EBP=71f2fe58
ECX=2e257d48 DS=0023 ESI=2e257d48 FS=003b
EDX=00047140 ES=0023 EDI=00000000 GS=0000
Bytes at CS:EIP:
31 02 1c 05 32 02 1c 05 33 02 1c 05 34 02 1c 05
Stack dump:
71f2fe2c: 0050757a 7905ab14 00000009 80e9be30 78b5dc48 78b5dc48 40108e28 71f2fe30
71f2fe4c: 71f2feb8 005ad1d0 ffffffff 71f2fec4 0050fa78 7905ab14 80e9be4a 08dcee72
71f2fe6c: 7905ab14 77e6bb6d 0000003e 71f2fedc 0000003e 71c02572 0000009c 71f2fea0
71f2fe8c: 71c0575e 00000000 08dcee50 7136a130 000003e5 71f2ff78 00000012 006c0794
71f2feac: 31c58fec 80e9be30 71f2fe68 71f2fee4 005ad778 ffffffff 71f2fef0 00539866
71f2fecc: 08dcee72 7905ab14 77e6bb6d 71f2ff0c 71f2feec 71f2fecc 71f2ff6c 005afaa0
71f2feec: ffffffff 71f2ff78 0053be2a 00000012 00000001 0053cbe6 00000001 00000012
71f2ff0c: 7905be04 00000000 00000000 78a83398 00000000 00001000 00010000 bffeffff
71f2ff2c: 00000001 00000001 0000024a 00010000 0401000f f4d54c88 e104660b fdd8b3c0
71f2ff4c: 00000005 00000012 000503a0 00000000 e10465da 7905be04 7905ab14 71f2ff10


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
UseItemPacket

Thread[0] (ahehe):      Lock Stack  :

someone told me that this is caused when cached lags for like 10-20 seconds, then all the items get used at once, hence UseItemPacket...

horyfilipe 24.01.2006 14:27

im running "stable" with lastest dll.. just usersocket stuff and few crashes..
[php:1:ce3726a149]
Server Up Time Tue Jan 24 09:00:36 2006

Current Time : Tue Jan 24 10:27:11 2006

Elapsed Time : 0 days 1 hours 26 minutes 35 seconds
IOBufferPool - 12763

[(2484) 2006/01/24 10:27:11]: =======================
an Access Violation in module l2server.exe at 001b:0054b840.
start at 2006/1/24 09:00:35
Read from location 00001070 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=0054b840 EFLGS=00010246
EBX=00001146 SS=0023 ESP=6ef7b45c EBP=6ef7b484
ECX=00000000 DS=0023 ESI=6af9f484 FS=003b
EDX=2417e684 ES=0023 EDI=000f7329 GS=0000
Bytes at CS:EIP:
8b 81 70 10 00 00 85 c0 7c 11 3b 05 98 03 71 16
Stack dump:
6ef7b45c: 0054cb6a 6ef7b6a4 00000000 00001146 6ef7c2a4 6ef7b428 6ef7b460 6ef7c4b0
6ef7b47c: 005b0360 ffffffff 6ef7c4bc 005b4dd9 99507f0c 00001141 000f7329 6ef804fa
6ef7b49c: 99418d14 369d5720 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b4bc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b4dc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b4fc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b51c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b53c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b55c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b57c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
SysCMD2Packet <--
bool BuilderCmd2Handler(CSocket* pSocket, const unsigned char *packet) <--
bool BuilderCmd_create_pet(CSocket *pSocket, User* pUser, WCHAR* pBuf) <--
void CPet::CreatePet(User* pUser, int nCollarClassID, int nPetClassID)
[/php:1:ce3726a149]
more crashes on http://www.horyu.com.br/admin2222222222222/

testdude 24.01.2006 14:30

Quote:

Originally Posted by horyfilipe
im running "stable" with lastest dll.. just usersocket stuff and few crashes..
[php:1:e0a15754e8]
Server Up Time Tue Jan 24 09:00:36 2006

Current Time : Tue Jan 24 10:27:11 2006

Elapsed Time : 0 days 1 hours 26 minutes 35 seconds
IOBufferPool - 12763

[(2484) 2006/01/24 10:27:11]: =======================
an Access Violation in module l2server.exe at 001b:0054b840.
start at 2006/1/24 09:00:35
Read from location 00001070 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=0054b840 EFLGS=00010246
EBX=00001146 SS=0023 ESP=6ef7b45c EBP=6ef7b484
ECX=00000000 DS=0023 ESI=6af9f484 FS=003b
EDX=2417e684 ES=0023 EDI=000f7329 GS=0000
Bytes at CS:EIP:
8b 81 70 10 00 00 85 c0 7c 11 3b 05 98 03 71 16
Stack dump:
6ef7b45c: 0054cb6a 6ef7b6a4 00000000 00001146 6ef7c2a4 6ef7b428 6ef7b460 6ef7c4b0
6ef7b47c: 005b0360 ffffffff 6ef7c4bc 005b4dd9 99507f0c 00001141 000f7329 6ef804fa
6ef7b49c: 99418d14 369d5720 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b4bc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b4dc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b4fc: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b51c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b53c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b55c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
6ef7b57c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
SysCMD2Packet <--
bool BuilderCmd2Handler(CSocket* pSocket, const unsigned char *packet) <--
bool BuilderCmd_create_pet(CSocket *pSocket, User* pUser, WCHAR* pBuf) <--
void CPet::CreatePet(User* pUser, int nCollarClassID, int nPetClassID)
[/php:1:e0a15754e8]
more crashes on http://www.horyu.com.br/admin2222222222222/

that crash is when someone tries to //creatpet something that isnt recognized, had it a few times on my server ^_^ yell at ur gms :P

vex 24.01.2006 18:52

yes! testdude - this 100per GM do some bad things with pet )

testdude 24.01.2006 19:03

wtf...
Code:

Server Up Time Tue Jan 24 09:11:32 2006

Current Time : Tue Jan 24 10:09:12 2006

Elapsed Time : 0 days 0 hours 57 minutes 40 seconds
IOBufferPool - 10860

[(1168) 2006/01/24 10:09:12]: =======================
an Access Violation in module Unknown at 001b:00210027.
start at 2006/1/24 09:11:28
Write to location c2000500 caused an access violation.

Registers:
EAX=005b9c38 CS=001b EIP=00210027 EFLGS=00010a82
EBX=00000000 SS=0023 ESP=71f1fdc0 EBP=71f1fe08
ECX=25092c5c DS=0023 ESI=7a4ab4a4 FS=003b
EDX=00602c04 ES=0023 EDI=25092c5c GS=0000
Bytes at CS:EIP:
00 05 00 05 00 c2 01 08 00 00 00 00 00 fc e3 8f
Stack dump:
71f1fdc0: 00440894 31c58fec 7a4ab4a4 00000000 71f1fdbc 71f1fe04 005a7040 00000000
71f1fde0: 71f1fe10 004ad8b9 40111890 31c58fec 7a4ab4a4 00000000 71f1fdc4 71f1fe4c
71f1fe00: 005a4200 ffffffff 71f1fe58 0050a5ff 25092c5c 00000000 71f1fe00 7a3e8964
71f1fe20: 00000002 84234d50 71f1feb4 00013842 00027ce5 fffff18b 2c565a9c 006c07d4
71f1fe40: 40111890 00000000 71f1fe1c 71f1feb8 005ad3c8 ffffffff 71f1fec4 0050fa78
71f1fe60: 7a3e8964 84234d63 099f52ab 7a3e8964 77e6bb6d 0000003e 71f1fedc 00491b2a
71f1fe80: 2ed0c220 00491b86 2ed0c22c 2c565a98 0000001c 099f52a8 209d5360 0049215d
71f1fea0: 2c565a98 00000014 006c0794 31c58fec 84234d50 71f1fe68 71f1fee4 005ad778
71f1fec0: ffffffff 71f1fef0 00539866 099f52ab 7a3e8964 77e6bb6d 71f1ff0c 71f1feec
71f1fee0: 71f1fecc 71f1ff6c 005afaa0 ffffffff 71f1ff78 0053be2a 00000014 00000001


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
ActionPacket <--
CCreature::Action()

Thread[0] (ahehe):      Lock Stack  :

another CCreature error... what the hell... npc server issues? 90% of my errors right now seem to be CCreature errors! >.>
does the patch edit anyting with ccreature that could cause this? ive tried with 100% default l2server from pp release with latest patch and i still have these problems.. gonna try earlyer releases and see whats up...

vex 24.01.2006 19:05

Okey tontor, thats me again! 8)
Leave SafeCast... Now we return back to our IconAction... :?
At this time I'm using yor latest dll definetly all offsets patched well, i'm sure 100% and pet patched to:
Quote:

link patched: offset:5154b9 size:7 newcall_loc:20a12270
teleport patched: offset:515ffa size:22 newcall_loc:20a122d0
npchtml patched: offset:4a41f0 size:16 newcall_loc:20a11530
bypass patched: offset:5156bf size:7 newcall_loc:20a114f0
npcteleport patched: offset:4a95c7 size:6 newcall_loc:20a114d0
talk_selected patched: offset:4a7a04 size:6 newcall_loc:20a114b0
agit patched: offset:406828 size:18 newcall_loc:20a11480
cachedhtml patched: offset:5155ba size:6 newcall_loc:20a11460
cachedhtml1 patched: offset:5155f9 size:6 newcall_loc:20a11440
enterworld patched: offset:507231 size:6 newcall_loc:20a11390
recipe patched: offset:443ac8 size:6 newcall_loc:20a11370
sellitem patched: offset:457672 size:6 newcall_loc:20a11350
buyitem patched: offset:457c18 size:6 newcall_loc:20a11330
npcshowhtmlstring patched: offset:4a4594 size:6 newcall_loc:20a11310
npcshowbuypage patched: offset:4a9c80 size:6 newcall_loc:20a112f0
ctalkaction_onstart patched: offset:4d12c8 size:6 newcall_loc:20a112d0
overbuff patched: offset:4fac3e size:5 newcall_loc:20a15ee0
clone patched: offset:4668e7 size:5 newcall_loc:20a110c0
clone2 patched: offset:506bbf size:5 newcall_loc:20a11110
pet patched: offset:5b4e59 size:6 newcall_loc:20a15fc0
antiinject patched: offset:53a0c3 size:6 newcall_loc:20a11000
skillhack patched: offset:50a936 size:5 newcall_loc:20a15fe0

However we got oops again:

Quote:

Server Up Time Tue Jan 24 08:50:08 2006

Current Time : Tue Jan 24 20:14:48 2006

Elapsed Time : 0 days 11 hours 24 minutes 40 seconds
IOBufferPool - 5036

[(1780) 2006/01/24 20:14:48]: =======================
an Access Violation in module l2server3.exe at 001b:03020100.
start at 2006/1/24 08:50:06
Write to location fffffd07 caused an access violation.

Registers:
EAX=fffffd07 CS=001b EIP=03020100 EFLGS=00010286
EBX=0f000001 SS=0023 ESP=6d90fdf0 EBP=6d90fe14
ECX=0000000f DS=0023 ESI=9a6d6304 FS=003b
EDX=34f40778 ES=0023 EDI=00000001 GS=0000
Bytes at CS:EIP:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Stack dump:
6d90fdf0: 9a069bdc 00000023 0f000001 6d90fde0 6d90fe4c 6d90fdf0 6d90fe4c 005ac6b0
6d90fe10: ffffffff 6d90fe58 00503181 fffffd07 6ec67301 6ec67301 9a069bdc 00000023
6d90fe30: 6ec67370 9a069bdc 00000018 fffffd07 0f000001 13fffd07 6d90fe28 6d90feb8
6d90fe50: 005acdf0 ffffffff 6d90fec4 0050fa78 9a069bdc 6ec673a4 1b04f4fa 9a069bdc
6d90fe70: 77e4193e 0000003e 6d90fedc 0000003f 71a912ca 0000003f 00399678 71aa1a16
6d90fe90: 00000000 1b04f4f7 003970b8 000003e5 6d90ff78 0000002c 006c0794 20b38474
6d90feb0: 6ec67370 6d90fe68 6d90fee4 005ad778 ffffffff 6d90fef0 00539866 1b04f4fa
6d90fed0: 9a069bdc 77e4193e 6d90ff0c 6d90feec 6d90fecc 6d90ff6c 005afaa0 ffffffff
6d90fef0: 6d90ff78 0053be2a 0000002c 00000001 0053cbe6 00000001 0000002c 9a06aecc
6d90ff10: 00000000 00000001 69955020 00000000 00001000 00010000 bffeffff 00000003


ver = Jun 8 2004____15:38:30 thread id=1

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
IconAction <--
User::IconAction()

Thread[0] (good): Lock Stack :

Thread[1] (ahehe): Lock Stack :

I'm sure for about a 90% thats we have deal with some bad staff. I'll try to look into this more detailed, but i think you can do it better :lol:

zeronc 24.01.2006 22:48

L2SERVER C3


help plss!!! :oops:

Quote:

Server Up Time Tue Jan 24 20:29:49 2006

Current Time : Tue Jan 24 21:07:11 2006

Elapsed Time : 0 days 0 hours 37 minutes 22 seconds
IOBufferPool - 8990

[(520) 2006/01/24 21:07:11]: =======================
an Access Violation in module l2server.exe at 001b:0053c884.
start at 2006/1/24 20:27:47
Write to location 00000000 caused an access violation.

Registers:
EAX=0000000c CS=001b EIP=0053c884 EFLGS=00010206
EBX=7c8092ac SS=0023 ESP=4b96fd0c EBP=4b96fd3c
ECX=4b96fd30 DS=0023 ESI=0000eaac FS=003b
EDX=00000000 ES=0023 EDI=01d07b68 GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 b9 28 a3 8c 16 c7 45 fc 00
Stack dump:
4b96fd0c: 00000000 241e0f08 3fcb9658 167103e8 00000000 241e0f08 3fcb9658 008fe46b
4b96fd2c: 4b96fd0c 4b96ff44 005afc90 ffffffff 4b96ff50 0048faad 00000000 00000000
4b96fd4c: 3fcb9658 3fcb9658 02020202 536e6957 206b636f 00302e32 00000000 4b96ffa4
4b96fd6c: 7c8fee18 7c900570 ffffffff 7c90056d 7c80f64a 00140000 00000000 41735b70
4b96fd8c: 000000c8 3fcb9658 7c80f657 4b96feb0 41735b70 f7ab25e2 e0d3db27 3fca31b8
4b96fdac: f7c75068 e0d3dd8e 00000048 00000001 00000000 00000038 00000023 00000023
4b96fdcc: 00000000 3fcb9878 3fcb9658 00000000 00000000 0058eabb 00000000 7c810856
4b96fdec: 0000001b 00000008 4b96fffc 00000023 00000000 003f0178 f8d0b118 3fcb96e8
4b96fe0c: f7ab2090 f8d0b118 00000044 00000014 003f0178 edc87b74 3fcb9880 00000014
4b96fe2c: 3fca31b0 38323030 003f0178 e0c25608 f7c75000 edc87ba4 00000002 00000018


ver = Jun 8 2004____15:38:30 thread id=12

void ListenThread_common() <--
unsigned __stdcall WaitThread(void *) <--
!!! deadlock or super-lag detected !!!

Thread[0] (good): Lock Stack :



[(520) 2006/01/24 21:07:15]: *L2Server.cpp:1042(Mon Jun 7 22:43:03 2004) exception



2Rain 25.01.2006 07:15

Quote:

If the NPC uses bypass and link which I'm sure it does since that's how all npcs work, by html, then you have a failed patch, probably link.
Thanks for answer, but I far time ago to fix "failed link" problem. Thrue hexing L2server.exe (somewhere on PP it was shared).

But on my server you tandem don't crushes much time. Server uptime was more 5 days. Maybe more, but I self reboot server for apply new patches. :)

While I just disable dangerous quest by change problem places (give items) to InstantTeleport in my special prison. ;)

Quote:

antiinject patched: offset:53a0c3 size:6 newcall_loc:20a11000
skillhack patched: offset:50a936 size:5 newcall_loc:20a15fe0
Hmmm... I hav not this. Where I can download newest version?

tontor 25.01.2006 12:21

Quote:

Originally Posted by 2Rain
Quote:

If the NPC uses bypass and link which I'm sure it does since that's how all npcs work, by html, then you have a failed patch, probably link.
Thanks for answer, but I far time ago to fix "failed link" problem. Thrue hexing L2server.exe (somewhere on PP it was shared).

But on my server you tandem don't crushes much time. Server uptime was more 5 days. Maybe more, but I self reboot server for apply new patches. :)

While I just disable dangerous quest by change problem places (give items) to InstantTeleport in my special prison. ;)

Quote:

antiinject patched: offset:53a0c3 size:6 newcall_loc:20a11000
skillhack patched: offset:50a936 size:5 newcall_loc:20a15fe0
Hmmm... I hav not this. Where I can download newest version?

https://postpacific.mmorpg-game.onli...oad.php?id=834

vex 25.01.2006 13:02

khe-khe
and what about me? :roll:

horyfilipe 25.01.2006 13:07

oxi
[php
Server Up Time Wed Jan 25 10:54:11 2006

Current Time : Wed Jan 25 11:05:15 2006

Elapsed Time : 0 days 0 hours 11 minutes 4 seconds
IOBufferPool - 14376

[(316) 2006/01/25 11:05:15]: =======================
an Access Violation in module l2server.exe at 001b:004fe6e6.
start at 2006/1/25 10:54:04
Read from location 00000000 caused an access violation.

Registers:
EAX=2a671f84 CS=001b EIP=004fe6e6 EFLGS=00010206
EBX=00000000 SS=0023 ESP=6f0ada78 EBP=6f0add14
ECX=2a671f84 DS=0023 ESI=00000000 FS=003b
EDX=00000000 ES=0023 EDI=9933122c GS=0000
Bytes at CS:EIP:
0f bf 02 50 b9 80 00 00 00 68 bc 2f 5e 00 2b cb
Stack dump:
6f0ada78: 1732315c 172fc05c 9933122c 48107867 00002000 00000000 6f0ada7c 6f0adaec
6f0ada98: 005af4a0 00000000 6f0adaf8 0052e69a 0000002e 443e0038 78a2f4a0 7807ed70
6f0adab8: 99236a6c 6f0adb04 004dfae2 7807ed82 78a2f4b2 004dfb0f 78a314b8 00000106
6f0adad8: 99236a88 99236a90 31beaffc 29dfc6f0 6f0adad4 6f0adad8 99236a6c 6f0adad4
6f0adaf8: 6f0adb74 005ab7a0 00000000 00780078 0065006c 00690074 00690063 00780061
6f0adb18: 00000078 78a2f4a0 99236a6c 00005000 00445d1a 99266d24 48107838 99268e30
6f0adb38: 00000000 41700000 00000000 41700000 99382114 6f0adb94 006c090c 44ad8df8
6f0adb58: 000001fb 00000119 78a2f4a0 00000114 00000118 000001fa 00000000 6f0afc0c
6f0adb78: 00000000 00000000 0000034f 0000034f 00000000 00000370 00000370 0000002f
6f0adb98: 000000cd 00000000 00000994 000001b7 000001d7 0000025b 00000000 000000cd


ver = Jun 8 2004____15:38:30 thread id=1

void IOThread_common(void *arglist) <--
void CDBPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
cpacket::oniocallback_funccall <--
static bool ManipulateItemPacket(CDBSocket *socket, const unsigned char *packet) <--
User::SendItemList() <--
User::SendUserInfo()

Thread[0] (good): Lock Stack :

Thread[1] (ahehe): Lock Stack : ??????????(187[bb])




[/php]

tontor 25.01.2006 22:53

I am not here to tell you the reason for your every crash. I don't mind at all that you post your crash dumps for me to look at, but don't expect for me to trace your every dump and tell you the exact reason for every crash. Posting them here is helpful to see if they are the result of a malicious user, bad handling, or problem with a previous patch. But I'm not here to solve your servers every specific problem, don't expect it.



Code:

text:004FE6BF loc_4FE6BF:                            ; CODE XREF: User__SendUserInfo+5D2j
.text:004FE6BF                mov    [ebp+var_2C], eax
.text:004FE6C2                mov    [ebp+var_24], 0
.text:004FE6C9                lea    esp, [esp+0]
.text:004FE6D0
.text:004FE6D0 loc_4FE6D0:                            ; CODE XREF: User__SendUserInfo+636j
.text:004FE6D0                cmp    [ebp+var_24], eax
.text:004FE6D3                jge    short loc_4FE718
.text:004FE6D5                mov    ecx, [edi+0A50h]
.text:004FE6DB                mov    eax, [ebp+var_24]
.text:004FE6DE                shl    eax, 5
.text:004FE6E1                mov    edx, [eax+ecx]
.text:004FE6E4                add    eax, ecx
.text:004FE6E6                movsx  eax, word ptr [edx]

EDX=00000000 EAX=2a671f84 ECX=2a671f84

you can see by eax+ecx that var_24 was set to 0 from the path above not jumped to, var24 loaded into eax,eax<<5, eax=ecx since eax is 0 and added together edx is the contents of 2a671f84 which is null, dunno why. couldnt tell you. edi is the userstruct edi+0x0a50 is a substruct contents of which i dunno since have no server running, but +0a54 is >>5 and +0a50 is << 5. debugging it in a few mins would show what exactly it does knowing what i said above. it uses the signed value loaded from eax pushes it with format h and calls assemble, after this process is done, loads 3 floats, which are probably x,y,z location, later i have commented that path is used for gmwindow user stat view. user manipulated an item while gm checked his inv? dont know. just that the pointer was null for some value in userstruct while sending userinfo packet.

Note: ustruct+0a20 -> ustruct+0xadb was locked during this process, so the value was incorrect before it started, not a race condition.







Quote:

Server Up Time Tue Jan 24 08:50:08 2006

Current Time : Tue Jan 24 20:14:48 2006

Elapsed Time : 0 days 11 hours 24 minutes 40 seconds
IOBufferPool - 5036

[(1780) 2006/01/24 20:14:48]: =======================
an Access Violation in module l2server3.exe at 001b:03020100.
start at 2006/1/24 08:50:06
Write to location fffffd07 caused an access violation.

Registers:
EAX=fffffd07 CS=001b EIP=03020100 EFLGS=00010286
EBX=0f000001 SS=0023 ESP=6d90fdf0 EBP=6d90fe14
ECX=0000000f DS=0023 ESI=9a6d6304 FS=003b
EDX=34f40778 ES=0023 EDI=00000001 GS=0000
Bytes at CS:EIP:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Stack dump:
6d90fdf0: 9a069bdc 00000023 0f000001 6d90fde0 6d90fe4c 6d90fdf0 6d90fe4c 005ac6b0
6d90fe10: ffffffff 6d90fe58 00503181 fffffd07 6ec67301 6ec67301 9a069bdc 00000023
6d90fe30: 6ec67370 9a069bdc 00000018 fffffd07 0f000001 13fffd07 6d90fe28 6d90feb8
6d90fe50: 005acdf0 ffffffff 6d90fec4 0050fa78 9a069bdc 6ec673a4 1b04f4fa 9a069bdc
6d90fe70: 77e4193e 0000003e 6d90fedc 0000003f 71a912ca 0000003f 00399678 71aa1a16
6d90fe90: 00000000 1b04f4f7 003970b8 000003e5 6d90ff78 0000002c 006c0794 20b38474
6d90feb0: 6ec67370 6d90fe68 6d90fee4 005ad778 ffffffff 6d90fef0 00539866 1b04f4fa
6d90fed0: 9a069bdc 77e4193e 6d90ff0c 6d90feec 6d90fecc 6d90ff6c 005afaa0 ffffffff
6d90fef0: 6d90ff78 0053be2a 0000002c 00000001 0053cbe6 00000001 0000002c 9a06aecc
6d90ff10: 00000000 00000001 69955020 00000000 00001000 00010000 bffeffff 00000003


ver = Jun 8 2004____15:38:30 thread id=1

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
IconAction <--
User::IconAction()

Thread[0] (good): Lock Stack :

Thread[1] (ahehe): Lock Stack :
Stack is messed up somewhere, EIP's value is quite odd 03020100, there is alot of stuff on stack including the exception handler from the begining of the call, somehow returning without cleaning up stack, giving incorrect eip, off by alot.

6d90fdf0: 9a069bdc 00000023 0f000001 6d90fde0 6d90fe4c 6d90fdf0 6d90fe4c 005ac6b0
6d90fe10: ffffffff 6d90fe58 00503181

I'll look into it i think i might know what its related to.

vex 25.01.2006 23:57

thanks to pay attention!
i'm never post stupid questions - i'm post my reports only to give some useful info to make your patch better and our community life easier

PS I'm not guru but i see many 6d90fd.. - intresting

testdude 26.01.2006 01:37

***delete cos the pic was anoying me xD***

srh 26.01.2006 06:26

2tontor:
i'm asking you in previos pages, about make handling of walker movements as it done in l2j. it is possible to add this func in your patch?

i mean block movement by walker. &%&% botterz :(

testdude 27.01.2006 06:33

ok tontor i tried what u said, and it seems that is my problem, i set it to return to that pos that u said, when eax=0, and it said the whole "item invenroty is null" (nice typo of nc again >.>) but, still went boom, with this linerror:
Code:

Server Up Time Thu Jan 26 21:37:20 2006

Current Time : Thu Jan 26 22:24:46 2006

Elapsed Time : 0 days 0 hours 47 minutes 26 seconds
IOBufferPool - 14430

[(2660) 2006/01/26 22:24:46]: =======================
an Access Violation in module L2Serverz0rz0z.exe at 001b:0053cbc7.
start at 2006/1/26 21:37:18
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=0053cbc7 EFLGS=00010202
EBX=77e6bb6d SS=0023 ESP=71f2ff10 EBP=71f2ff78
ECX=00000001 DS=0023 ESI=00000001 FS=003b
EDX=713e1748 ES=0023 EDI=168d767b GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 8b 45 e8 8b 4d ec 8b 11 50
Stack dump:
71f2ff10: 00000000 00000000 78a83398 00000000 00001000 00010000 bffeffff 00000001
71f2ff30: 00000001 0000024a 00010000 0401000f f4fd6c88 e104660b fd1fca28 00000005
71f2ff50: 00000000 000503a0 00000000 e10465da 00000000 2a984bb8 71f2ff10 71f2ffa8
71f2ff70: 005afca0 ffffffff 71f2ffb8 0053cd1b 00000000 78a83398 0058eb2a 00000000
71f2ff90: 00000000 00000000 78a83398 c0000005 71f2ff90 71f2fb3c 71f2ffdc 0058c42c
71f2ffb0: 00666658 00000000 71f2ffec 77e66063 78a83398 00000000 00000000 78a83398
71f2ffd0: 00000000 71f2ffc4 f4fd6ce4 ffffffff 77e6b798 77e66070 00000000 00000000
71f2fff0: 00000000 0058eabb 78a83398 00000000


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist)

Thread[0] (ahehe):      Lock Stack  : Creature_server.cpp(58[3a])

now i suspect that the reason it doesnt work is cos im a complete retard with asm and probably did it in the most inpractical inproffessional and inusable way xD but anyway, it also happened that i was looking on the pc the exact SECOND the server crashed, and got a print screen as vnc was refreshing the screen xD
http://img92.imageshack.us/img92/1774/invenroty6hl.jpg
that = boom... if it was hexed right would what you posted fix it? cos im stupid :P


and the whole depth>200 thing, could that be that someone, somehow, got more than 200 thingies in their inventory, which could cause the crash? O.o or is it something that has absolutly nothing to do with what it sounds like, just like everything else with the l2server :p


edit:: this has to be an exploit... ive replicated the some of the errors by filling my inventory with 200+ items, but i cannot seem to replicate the ones that happen upon crash, with 800+ players online its extremely hard to check the logs for 1 specific person doing something that is causing this, i just spent 2 hours looking through logs, compairing the logs of what im doing, to the logs from the crash... im 90% sure that this is someone crashing my server... btw, u can get 200+ items with multisell, as it will give u the item reguardless of inventory slots, and weight limit... aswell as CreatePet from AI, dont know what else... i tried putting in checkers into some stored procedures, check if someone has > 150 items in their inventory, but its just not working, i need help! >.>

supplier 27.01.2006 20:22

tontor, We're using unmodified sinas L2server.exe and Warning message appear (lack of Striders I guess) when server is starting and server waits for closing or clicking OK on it.

Is it possible to skip this window or something similar?
It's very inconvenient to submitting it when server starts.
Thanks!

tontor 28.01.2006 02:16

Quote:

Originally Posted by testdude
ok tontor i tried what u said, and it seems that is my problem, i set it to return to that pos that u said, when eax=0, and it said the whole "item invenroty is null" (nice typo of nc again >.>) but, still went boom, with this linerror:
Code:

Server Up Time Thu Jan 26 21:37:20 2006

Current Time : Thu Jan 26 22:24:46 2006

Elapsed Time : 0 days 0 hours 47 minutes 26 seconds
IOBufferPool - 14430

[(2660) 2006/01/26 22:24:46]: =======================
an Access Violation in module L2Serverz0rz0z.exe at 001b:0053cbc7.
start at 2006/1/26 21:37:18
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=0053cbc7 EFLGS=00010202
EBX=77e6bb6d SS=0023 ESP=71f2ff10 EBP=71f2ff78
ECX=00000001 DS=0023 ESI=00000001 FS=003b
EDX=713e1748 ES=0023 EDI=168d767b GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 8b 45 e8 8b 4d ec 8b 11 50
Stack dump:
71f2ff10: 00000000 00000000 78a83398 00000000 00001000 00010000 bffeffff 00000001
71f2ff30: 00000001 0000024a 00010000 0401000f f4fd6c88 e104660b fd1fca28 00000005
71f2ff50: 00000000 000503a0 00000000 e10465da 00000000 2a984bb8 71f2ff10 71f2ffa8
71f2ff70: 005afca0 ffffffff 71f2ffb8 0053cd1b 00000000 78a83398 0058eb2a 00000000
71f2ff90: 00000000 00000000 78a83398 c0000005 71f2ff90 71f2fb3c 71f2ffdc 0058c42c
71f2ffb0: 00666658 00000000 71f2ffec 77e66063 78a83398 00000000 00000000 78a83398
71f2ffd0: 00000000 71f2ffc4 f4fd6ce4 ffffffff 77e6b798 77e66070 00000000 00000000
71f2fff0: 00000000 0058eabb 78a83398 00000000


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist)

Thread[0] (ahehe):      Lock Stack  : Creature_server.cpp(58[3a])

now i suspect that the reason it doesnt work is cos im a complete retard with asm and probably did it in the most inpractical inproffessional and inusable way xD but anyway, it also happened that i was looking on the pc the exact SECOND the server crashed, and got a print screen as vnc was refreshing the screen xD
http://img92.imageshack.us/img92/1774/invenroty6hl.jpg
that = boom... if it was hexed right would what you posted fix it? cos im stupid :P


and the whole depth>200 thing, could that be that someone, somehow, got more than 200 thingies in their inventory, which could cause the crash? O.o or is it something that has absolutly nothing to do with what it sounds like, just like everything else with the l2server :p


edit:: this has to be an exploit... ive replicated the some of the errors by filling my inventory with 200+ items, but i cannot seem to replicate the ones that happen upon crash, with 800+ players online its extremely hard to check the logs for 1 specific person doing something that is causing this, i just spent 2 hours looking through logs, compairing the logs of what im doing, to the logs from the crash... im 90% sure that this is someone crashing my server... btw, u can get 200+ items with multisell, as it will give u the item reguardless of inventory slots, and weight limit... aswell as CreatePet from AI, dont know what else... i tried putting in checkers into some stored procedures, check if someone has > 150 items in their inventory, but its just not working, i need help! >.>


actually would need to check if EDX is null since its the register used as the pointer, before the movsx, youll have to jump to a small code cave and insert the movzx after checking if edx is null and return back or if null return to err msg, but i assume you know that. sorry i still dont have a server to work on the stuff with so i cant really do too much :).

horyfilipe 28.01.2006 03:18

tontor, i can give you a test server, pm

testdude 28.01.2006 03:51

Quote:

Originally Posted by tontor
actually would need to check if EDX is null since its the register used as the pointer, before the movsx, youll have to jump to a small code cave and insert the movzx after checking if edx is null and return back or if null return to err msg, but i assume you know that. sorry i still dont have a server to work on the stuff with so i cant really do too much :).

k i have no idea what that means >.<... basically what i did was...
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX]
put my jump here.... them my code checked EAX for being null, then if it was, return to error, if not...
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX]
00443526 8BC8 MOV ECX,EAX
00443528 FF52 48 CALL DWORD PTR DS:[EDX+48]
do those 3 which were cut out by my jump, and then return to the code after my jump... so... i should do it after the edx mov or what? i have absolutly no idea how any of this works soooo.... also, is there any way for me to determine what chars are causing the depth>200 errors, i ran a script on the db and no chars have more than 120 items in their inventory, except mine which i was testing with...

horyfilipe 28.01.2006 04:37

tontor, ill be grateful if you take a look at https://postpacific.mmorpg-game.onli...?p=30406#30406

thanks

horyfilipe 28.01.2006 17:31

weird
[php:1:20bbbe55d6]
Server Up Time Sat Jan 28 14:08:52 2006

Current Time : Sat Jan 28 15:15:24 2006

Elapsed Time : 0 days 1 hours 6 minutes 32 seconds
IOBufferPool - 12082

[(1496) 2006/01/28 15:15:24]: =======================
an Access Violation in module Unknown at 001b:54878aa2.
start at 2006/1/28 14:08:51
Read from location 00000001 caused an access violation.

Registers:
EAX=fffe824b CS=001b EIP=54878aa2 EFLGS=00010282
EBX=0d024ab1 SS=0023 ESP=6efafdf0 EBP=6efafe14
ECX=00000057 DS=0023 ESI=96336934 FS=003b
EDX=379c5078 ES=0023 EDI=00000001 GS=0000
Bytes at CS:EIP:
af e6 9f e7 8f e8 7f e9 5f ea df e3 cf e4 bf e5
Stack dump:
6efafdf0: 9a38541c 00000002 0d024ab1 6efafde0 6efafe4c 6efafdf0 6efafe4c 005ac6b0
6efafe10: ffffffff 6efafe58 00503181 fffeba4b 7a990101 7a990101 9a38541c 00000002
6efafe30: 7a990150 00000001 000120fa fffeba4b 0d024ab1 e76c07cc 6efafe28 6efafeb8
6efafe50: 005acdf0 ffffffff 6efafec4 0050fa78 9a38541c 7a990163 08a9f5dd 9a38541c
6efafe70: 77e6bb6d 00000010 6efafedc 00000010 71c02572 000002b0 6efafea0 71c0575e
6efafe90: 00000000 08a9f5da 00336710 000003e5 6efaff78 00000017 006c0794 31be8fec
6efafeb0: 7a990150 6efafe68 6efafee4 005ad778 ffffffff 6efafef0 00539866 08a9f5dd
6efafed0: 9a38541c 77e6bb6d 6efaff0c 6efafeec 6efafecc 6efaff6c 005afaa0 ffffffff
6efafef0: 6efaff78 0053be2a 00000017 00000001 0053cbe6 00000001 00000017 9a38670c
6efaff10: 00000000 00000000 3fce2288 00000000 00001000 00010000 bffeffff 00000003


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
IconAction <--
User::IconAction()

Thread[0] (ahehe): Lock Stack :

Thread[1] (good): Lock Stack :




[/php:1:20bbbe55d6]

vex 29.01.2006 10:59

EDI again - something with stack...
i am already post this - tontor promise to look at this. we have nothing to do except waiting

Aspire 29.01.2006 18:55

Quote:

Originally Posted by tontor
Quote:

Originally Posted by sct
Quote:

Originally Posted by Aspire
Server Up Time Fri Jan 13 21:16:19 2006

Current Time : Fri Jan 13 22:18:12 2006

Elapsed Time : 0 days 1 hours 1 minutes 53 seconds
IOBufferPool - 9939

[(1608) 2006/01/13 22:18:12]: =======================
an Access Violation in module L2server.exe at 001b:0053a121.
start at 2006/1/13 21:16:09
Read from location 6683fb44 caused an access violation.

Registers:
EAX=680368d6 CS=001b EIP=0053a121 EFLGS=00010202
EBX=6699fb14 SS=0023 ESP=6699f990 EBP=680387f0
ECX=00000002 DS=0023 ESI=6683fb44 FS=0038
EDX=00000002 ES=0023 EDI=680368d4 GS=0000
Bytes at CS:EIP:
f3 a4 8b f8 8b 44 24 1c 0f be 00 85 c0 0f 85 c2
Stack dump:
6699f990: a1856f24 680367e0 6699f9d8 a195436c 004dfbcb 680367f2 00001ffe 00603805
6699f9b0: 6699fa1c 00000001 a1856f24 a195436c 00000356 00000395 6699f9b4 6699fa00
6699f9d0: 005ab7b0 ffffffff 6699fa0c 004dfca8 006037cc 6699fa1c 00000001 a1856f24
6699f9f0: a195436c 00000000 000000cb 6699f9e8 6699fd90 005ab7c0 ffffffff 6699fd9c
6699fa10: 004ffabd a1856f24 006037cc 05f00403 00014302 0002420a fffff278 00000000
6699fa30: 481077cf 6699fbc4 00000002 00000000 00000021 00000000 0000096b 000009c3
6699fa50: 000009bd 0000025f 00000160 0000094a 00000040 00000000 00000000 00000000
6699fa70: 00000000 00000000 00000126 0000023e 00000000 00000000 0000007a 00000055
6699fa90: 0000007a 00000055 0000007a 00000055 0000007a 00000055 da65ba81 3ff6915f
6699fab0: 4e25d2cf 40008cb4 00000000 401e0000 00000000 40380000 00000001 00000000


ver = Jun 8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOObject::TimerDispatch(bool bRootLoop) <--
void CThreadLocalTimer::Dispath <--
void CIOObject::OnIOCallback(BOOL bSucess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
User::TimerExpired() <--
User::SendCharInfo() <--
FOR ALL NEIGHBOR USER FAST RECT <--
void CSocket::Send(const char* format, ...) <--
void CSocket::SendV(const char* format, va_list va)

Thread[0] (ahehe): Lock Stack :

Thread[1] (good): Lock Stack :

Thread[2] (good): Lock Stack :

Thread[3] (good): Lock Stack :



[(1608) 2006/01/13 22:18:12]: *ioc.cpp:665(Sat May 15 01:37:29 2004) exception

Having the same problem

This is related to sql injection fix, but my hijack checks the return address to make sure CDBSocket::SendV is the calling function, appears somewhere along the line something is incorrect. I'll take a look at it sometime.

Stil crashing :cry:

testdude 30.01.2006 06:21

[Inventory_server.cpp][110] Push failed. because g_SharedIteme.GetObjectSP failed.
[User.cpp][3669] FindObject Failed(spams about 5000 times)
then....
depth>200 at file[Inventory_server.cpp], line[703]
[c:\serverservice\l2server\ThreadSafeLibrary.h][100] referencing NULL object.
[Creature_server.cpp][68] item in invenroty is null.
crash, i checked the EXACT timestamp of the log of these, to actions of players, nothing is out of the ordinary that would cause this... :| and, the code i put in to check for the null must work, otherwise it would not say the "item in invenroty is null" thing... cos thats what the code returns to if its null... so i dont know.. i really need help with this cos its crashing my server every 5 minutes... ive had probably a max of 4 hours uptime...

vex 01.02.2006 23:59

Hey, tontor! There is some news on IconAction and messed stack?

testdude 02.02.2006 00:17

just wondering.. anyone else get this?...
Code:

erver Up Time Wed Feb 01 15:33:13 2006

Current Time : Wed Feb 01 15:50:18 2006

Elapsed Time : 0 days 0 hours 17 minutes 5 seconds
IOBufferPool - 14415

[(2364) 2006/02/01 15:50:18]: =======================
an Access Violation in module Unknown at 001b:00210027.
start at 2006/2/1 15:33:11
Write to location de000500 caused an access violation.

Registers:
EAX=005b9c38 CS=001b EIP=00210027 EFLGS=00010a82
EBX=00000000 SS=0023 ESP=71f1fdc0 EBP=71f1fe08
ECX=2821c61c DS=0023 ESI=94c7116c FS=003b
EDX=00602c04 ES=0023 EDI=2821c61c GS=0000
Bytes at CS:EIP:
00 05 00 05 00 de 01 08 00 00 00 00 00 fc e3 8f
Stack dump:
71f1fdc0: 00440894 31c58fec 94c7116c 00000000 71f1fdbc 71f1fe04 005a7040 00000000
71f1fde0: 71f1fe10 004ad8b9 4010930a 31c58fec 94c7116c 00000000 71f1fdc4 71f1fe4c
71f1fe00: 005a4200 ffffffff 71f1fe58 0050a5ff 2821c61c 00000000 71f1fe00 79da0bfc
71f1fe20: 00000002 83983df0 71f1fe64 000153be 000242ea fffff2c0 713704d8 006c07d4
71f1fe40: 4010930a 00000000 71f1fe1c 71f1feb8 005ad3c8 ffffffff 71f1fec4 0050fa78
71f1fe60: 79da0bfc 83983e03 00f5e606 79da0bfc 77e6bb6d 00000001 71f1fedc 00000000
71f1fe80: 71c02572 7158b3d8 71f1fea0 71c0575e 000003e5 00f5e603 71452e38 000003e5
71f1fea0: 71f1ff78 00000014 006c0794 31c58fec 83983df0 71f1fe68 71f1fee4 005ad778
71f1fec0: ffffffff 71f1fef0 00539866 00f5e606 79da0bfc 77e6bb6d 71f1ff0c 71f1feec
71f1fee0: 71f1fecc 71f1ff6c 005afaa0 ffffffff 71f1ff78 0053be2a 00000014 00000001


ver = Jun  8 2004____15:38:30 thread id=0

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
ActionPacket <--
CCreature::Action()

Thread[0] (ahehe):      Lock Stack  :

fear my uptime!

vex 02.02.2006 00:46

may be try to lower IOBuffer?

testdude 02.02.2006 01:31

ill try.. but i think my friend tried that, and then the server ran out of iobuffers b4 it could crash :|
lowered it to 5k, still crash every 5 - 20 minutes, same ccreature:action shit

scott 02.02.2006 06:06

"tontor patch" not crash server. its hardware

vex 02.02.2006 14:22

or something else, but no tontor patch

vex 04.02.2006 12:56

I'm sorry, Tontor, but i still have IconAction some times (or IconAction have me). Not posting big report againg , but say that EIP contain some shirty value again and aging different: EIP=f1e2e800, and so Read from location f1e2e800 caused an access violation.

demon 22.02.2006 12:22

tontor is it possible to post code to revert pet fix (the original code) or tell me offset

demon 23.02.2006 09:58

? hello

midnight 07.03.2006 18:03

03/07/2006 09:58:xx.xx0, WARNING: Possible exploit attempt ACCID:12954 CMD:[bypass -h ????????????????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????????????????????????? ?????????????????????????????????????????????????? ???????_????????????????????????????????????????? ????????????????y???????????????????????????????¡ ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????O??????????????????????????????????? ??????????¡?????????????????????????????????????? ?????????????????????????????????????????????????? ??????????????????????~??????????????????????????? ??????????????????????#???????????????????????O??? ?????????????????????????????????????????????????? ????????????????????¡??????[??????????????????????????????????????????].

new exploit??

Shawnmb 08.03.2006 03:40

No, that just looks like he's using a client-side HTM with tons of question marks or other data, the end bracket is there so it looks like the request was filtered, not that it would get you anywhere if it went through...

Attary 12.03.2006 18:03

Dear, Tontor-san :wink:
You made a perfect patch and i have no idea how to use my server without it.
But, Tontor, with recent dll versions my server crashes every start/end siege. With previous to vxx.xx.06 dll my server crashes on siege with 50/50 chances =).
And without your patch server works correct and does not crash.

Each crash caused by this or very similiar error:
Quote:

Elapsed Time : 0 days 1 hours 50 minutes 35 seconds
IOBufferPool - 1286

[(10660) 2006/03/11 21:41:33]: =======================
an Access Violation in module L2Server.exe at 001b:0053aa21.
start at 2006/3/11 19:50:56
Write to location 00000000 caused an access violation.

Registers:
EAX=72b6e4b0 CS=001b EIP=0053aa21 EFLGS=00010297
EBX=729613c0 SS=0023 ESP=70fefd7c EBP=70fefdb0
ECX=00000007 DS=0023 ESI=78db6bd4 FS=003b
EDX=7815ee38 ES=0023 EDI=000000c9 GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 33 c9 89 88 10 20 00 00 c7
Stack dump:
70fefd7c: 004df8de 000000c9 78db6bf0 78db6bf8 77e6ba12 0002a554 169138d4 0000189d
70fefd9c: 78db6bd4 70fefd80 70fefe04 005ab7a0 ffffffff 70fefe10 0043f75a 729613c0
70fefdbc: 729613c0 0000189d 91f950bc 004f0a15 78db6bd4 004df860 729613c0 00000168
70fefddc: 03493808 00000000 70fefe20 00000168 03493808 00000000 70fefd84 70fefde4
70fefdfc: 2b965320 70fefdd8 70fefe38 005ac440 ffffffff 70fefe44 00491572 005c4680
70fefe1c: 0000001d 00000000 03493808 178cd728 946b69d8 00000000 70fefe20 70fefe68
70fefe3c: 005a7430 ffffffff 70fefe74 00539505 00000000 00000000 178ce6c8 178cd728
70fefe5c: 178cc844 178cb7e0 70fefe50 70fefed0 005afa60 ffffffff 00000000 0053a241
70fefe7c: 00000001 00000000 00000000 70fefedc 178cd728 174d0e58 00000002 0053c19e
70fefe9c: 4eee6625 00000000 77e6bb6d 0006fc80 0053aa74 7815ee44 7c82f4c3 9a2fdbb4


ver = Jun 8 2004____15:38:30 thread id=2

void IOThread_common(void *arglist) <--
void CIOObject::TimerDispatch(bool bRootLoop) <--
void CThreadLocalTimer::Dispath <--
void CIOObject::OnIOCallback(BOOL bSucess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CL2Time::TimerExpired(int id) <--
void BroadCastToAllUser(const char* format, ...) <--

FOR ALL OBJECT IN OBJECT MAP <--
in_code <--
ASYNCHRONOUS_SERIALIZE_FAST_IMPL(CSocket, AsyncSendConstBuffer, CIOBuffer*, pBuffer)

Thread[0] (good): Lock Stack :

Thread[1] (good): Lock Stack :

Thread[2] (ahehe): Lock Stack : RW ReadLock(378616020[169138d4])

Thread[3] (good): Lock Stack :
Can your patch cause this error?
I will very much appreciate whether any hint or complete solution.

mwg 07.04.2006 21:05

Hello all
I have two questions:

1st: the question concerns that how to use all these patches and dll. Here we shall assume, I downloaded new dll, what I need to make with it? To replace old dll? Or again to start patch.exe?
I apologize, can already be about it somewhere wrote here, but I have thumbed through 35 pages and have not found. Or can it is bad searched.

2nd: Used dll from xx.xx.2005 in current 1,5 months and a server worked just fine. 5 and more days uptime.
Did not change anything except for npcdata.txt and ai.obj, and here more recently a server as have changed - the maximum of 1,5 day works no more than day.
In what a problem?
Sorry 4 my English.
<rus>
Кароч есть два вопроса: вопрос касается того как использовать все эти патчи и dll.
Вот предположим, я скачал новую dll, что мне нужно сделать с ней? заменить старую? или же снова запустить patch.exe

И второй: Использовал dll датированную xx.xx.2005 в течении 1,5 месяца и сервер работал просто прекрасно. 5 и более дней аптайм.
Не изменял ничего кроме npcdata.txt и ai.obj, а вот совсем сервер как буд-то всбесился работает не более суток, максимум 1,5 суток
</rus>


All times are GMT. The time now is 15:22.