Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   ≈ C4 retail fixes (https://postpacific.mmorpg-game.online/showthread.php?t=5425)

cypher 18.08.2006 21:35

Quote:

Originally Posted by TuMBLer (Post 65160)
very serious bug is an item dupe
it would be great if cypher will Deny this.

When player buy items from himself.

The warehouse way ? You can pm me how to replicate.

Mirror 18.08.2006 21:46

tumbler this was old as dinosaurs i think and works only with bots AFAIK. correct me if i'm wrong

TuMBLer 18.08.2006 21:48

its old but it works on C4 PTS OFF(

Mirror 18.08.2006 21:51

with bot or even with client?

TuMBLer 18.08.2006 22:01

I dont know the methods, i have only logs.

astrid 19.08.2006 02:34

Cypher, thank you #4 works very fine. I will report about any problem.

sparcode 19.08.2006 05:07

Hmm, dies after first connections ...
Code:

A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:1
L:Y:X:H=0:0:0:0:0
Crashed Thread[1].
Server Up Time : Sat Aug 19 07:49:05 2006
Current Time : Sat Aug 19 08:00:43 2006
Elapsed Time : 0 days 0 hours 11 minutes 38 seconds
IOBufferPool - 19955 / 20000,  PendingWrite 2256 bytes [0]
=============== object report
user[19/0], npc[33802/0], item[264/0], usersocket[31]
=============== npc server connection log
Connect : Sat Aug 19 07:50:40 2006

[(448) 2006/08/19 08:00:43]: =======================
an Access Violation in module L2server.exe at 0033:0080a173.
start at 2006/8/19 07:49:04
Write to location 7289db64 caused an access violation.

Registers:
EAX=00000000 CS=0033 EIP=0080a173 EFLGS=00010246
EBX=71723df4 SS=002b ESP=66a3e280 EBP=00000000
ECX=6eb773e0 DS=002b ESI=00000000 FS=0053
EDX=0004c158 ES=002b EDI=00976b04 GS=002b
Bytes at CS:EIP:
41 ff 8c 86 70 9d 17 01 48 8b 5c 24 70 48 8b 6c
Stack dump:
66a3e280: 71723df4 00000000 009de2d8 00000000 0000000f 00000000 00000000 00000000
66a3e2a0: 7125cef0 00000000 00000000 00000000 fffffffe ffffffff 00000133 00000000
66a3e2c0: 00000137 00000000 000630a4 00000000 0012ec30 00000000 0004c158 00000000
66a3e2e0: 00400000 00000000 005f2c30 00000000 71723df4 00000000 009f7f10 00000000
66a3e300: 00000000 00000000 65b9aa94 00000000 00000000 00000000 00000000 00000000
66a3e320: 7182aa64 00000000 0000001a 00000000 0e2857e8 00000000 00000000 00000000
66a3e340: 7125cef0 00000000 00000000 00000000 00000289 00000000 0000028f 00000000
66a3e360: fffffffe ffffffff 00000000 00000000 009cb538 00000000 009f7ee8 00000000
66a3e380: 00000000 00000000 695bb744 00000000 00000002 00000000 00000000 00000000
66a3e3a0: 73abf424 00000000 00000000 00000000 00000000 00000000 7131a2c0 00000000


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][0] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [1][281] (ahehe):  void IOThread_common(void *arglist) -> static bool ReplyExPacket(CDBSocket *socket, const unsigned char *packet) -> static bool ReplyHtmlBuilder_RP_GET_PLEDGE_ANNOUNCE_EX(CDBSocket *pSocket, const unsigned char *packet) -> void PledgeAnnounceHtmlBuilder::SendHtml() -> bool PledgeAnnounceHtmlBuilder::Announce(unsigned int userServerId, unsigned int pledgeDbId) -> void User::ShowHTML(const WCHAR* pszFileName, const WCHAR* pszHTML, unsigned int itemClassID)
    Lock Stack  :

ListenThread [13][31] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][719] (good):      Lock Stack  :

GuardInfo end



[(448) 2006/08/19 08:00:43]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception


zExz 19.08.2006 05:37

tryied to load without players - ok, dies after few first connections too

Drag 19.08.2006 08:46

Yup. Crash after some ... max ... = [16] (dont remember T_T)...

Anyway Cypher make great job :)

Phantom2005 19.08.2006 09:46

I tried it.. and it crashed my server about 2 times because of the same reason: creating a clan.

cypher 19.08.2006 10:22

Quote:

Originally Posted by Drag (Post 65200)
Yup. Crash after some ... max ... = [16] (dont remember T_T)...

Anyway Cypher make great job :)

I know it was crashing ... same did my computer and lost the source because VC6 was open. Anyway (god bless .lst dump) I got it back, made some changes and re-uploaded #4. Don't forget to also update the ini from latest zip as you need SqlFilter=true to enable inject filtering.

Cheer and thanks for helping out

zExz 19.08.2006 11:44

crash after 17min with version #4 build 2
Code:

A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:0
L:Y:X:H=0:0:0:0:0
Crashed Thread[0].
Server Up Time : Sat Aug 19 14:09:34 2006
Current Time : Sat Aug 19 14:27:07 2006
Elapsed Time : 0 days 0 hours 17 minutes 33 seconds
IOBufferPool - 49826 / 50000,  PendingWrite 9458 bytes [1]
=============== object report
user[101/0], npc[36253/0], item[3127/0], usersocket[102]
=============== npc server connection log
Connect : Sat Aug 19 14:12:00 2006

[(2536) 2006/08/19 14:27:07]: =======================
an Access Violation in module L2Server.exe at 0033:00620ab1.
start at 2006/8/19 14:09:33
Read from location 000000ae caused an access violation.

Registers:
EAX=fffffffe CS=0033 EIP=00620ab1 EFLGS=00010202
EBX=aa3be920 SS=002b ESP=660eeaf0 EBP=660eec00
ECX=660eec00 DS=002b ESI=aa3be920 FS=0053
EDX=aa3be920 ES=002b EDI=660eec00 GS=002b
Bytes at CS:EIP:
48 8b 80 b0 00 00 00 ff d0 84 c0 75 54 f0 ff 8b
Stack dump:
660eeaf0: 003e0000 00000000 003e02c8 00000000 1a7a077f 00000000 660eec18 00000000
660eeb10: 00000000 00000000 79594b43 000007ff 0000000a 00000000 00000067 00000000
660eeb30: 0004c158 00000000 7fc2dabb 000007ff 1a76c830 00000000 00000000 00000000
660eeb50: 00000a75 00000000 007d5603 00000000 0004c158 00000000 0e4466e8 00000000
660eeb70: 660eec38 00000000 660eec00 00000000 00000a75 00000000 00a01450 00000000
660eeb90: fffffffe ffffffff 00bf7950 00000000 00a01450 00000000 00000a75 00000000
660eebb0: 00000000 00000000 0000000a 00000000 0004c158 00000000 0004c158 00000000
660eebd0: 00000000 00000000 0040113a 00000000 660eec28 00000000 00000000 00000000
660eebf0: 660eec00 00000000 660eec00 00000000 fffffffe ffffffff 796679f4 000007ff
660eec10: 00000a75 00000000 00400000 00000000 000008ef 00000000 007d5e85 00000000


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][188] (ahehe):  void IOThread_common(void *arglist) -> CUserSocket::OnRead -> void CHeroSystem::SendHeroAchievements(CUserSocket *pSocket, int nClass, int nPage) -> void CNpcHtmlSender::SendHtml(std::xwstring &html) -> void CSocket::Send(const char* format, ...) -> void CSocket::SendV(const char* format, va_list va) -> ASYNCHRONOUS_SERIALIZE_IMPL_FAST(CSocket, AsyncSend, CIOBuffer*, pBuffer)
    Lock Stack  :

ListenThread [13][63] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][250] (good):      Lock Stack  :

GuardInfo end



[(2536) 2006/08/19 14:27:07]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception


xerogen 19.08.2006 11:48

testing myself now, see if i get a crash

cypher 19.08.2006 11:56

Quote:

Originally Posted by zExz (Post 65209)
crash after 17min with version #4 build 2
Code:

A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:0
L:Y:X:H=0:0:0:0:0
Crashed Thread[0].
Server Up Time : Sat Aug 19 14:09:34 2006
Current Time : Sat Aug 19 14:27:07 2006
Elapsed Time : 0 days 0 hours 17 minutes 33 seconds
IOBufferPool - 49826 / 50000,  PendingWrite 9458 bytes [1]
=============== object report
user[101/0], npc[36253/0], item[3127/0], usersocket[102]
=============== npc server connection log
Connect : Sat Aug 19 14:12:00 2006

[(2536) 2006/08/19 14:27:07]: =======================
an Access Violation in module L2Server.exe at 0033:00620ab1.
start at 2006/8/19 14:09:33
Read from location 000000ae caused an access violation.

Registers:
EAX=fffffffe CS=0033 EIP=00620ab1 EFLGS=00010202
EBX=aa3be920 SS=002b ESP=660eeaf0 EBP=660eec00
ECX=660eec00 DS=002b ESI=aa3be920 FS=0053
EDX=aa3be920 ES=002b EDI=660eec00 GS=002b
Bytes at CS:EIP:
48 8b 80 b0 00 00 00 ff d0 84 c0 75 54 f0 ff 8b
Stack dump:
660eeaf0: 003e0000 00000000 003e02c8 00000000 1a7a077f 00000000 660eec18 00000000
660eeb10: 00000000 00000000 79594b43 000007ff 0000000a 00000000 00000067 00000000
660eeb30: 0004c158 00000000 7fc2dabb 000007ff 1a76c830 00000000 00000000 00000000
660eeb50: 00000a75 00000000 007d5603 00000000 0004c158 00000000 0e4466e8 00000000
660eeb70: 660eec38 00000000 660eec00 00000000 00000a75 00000000 00a01450 00000000
660eeb90: fffffffe ffffffff 00bf7950 00000000 00a01450 00000000 00000a75 00000000
660eebb0: 00000000 00000000 0000000a 00000000 0004c158 00000000 0004c158 00000000
660eebd0: 00000000 00000000 0040113a 00000000 660eec28 00000000 00000000 00000000
660eebf0: 660eec00 00000000 660eec00 00000000 fffffffe ffffffff 796679f4 000007ff
660eec10: 00000a75 00000000 00400000 00000000 000008ef 00000000 007d5e85 00000000


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][188] (ahehe):  void IOThread_common(void *arglist) -> CUserSocket::OnRead -> void CHeroSystem::SendHeroAchievements(CUserSocket *pSocket, int nClass, int nPage) -> void CNpcHtmlSender::SendHtml(std::xwstring &html) -> void CSocket::Send(const char* format, ...) -> void CSocket::SendV(const char* format, va_list va) -> ASYNCHRONOUS_SERIALIZE_IMPL_FAST(CSocket, AsyncSend, CIOBuffer*, pBuffer)
    Lock Stack  :

ListenThread [13][63] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][250] (good):      Lock Stack  :

GuardInfo end



[(2536) 2006/08/19 14:27:07]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception




I re-uploaded new build. It looked like a CIOSocket pointer gone wild :) .. Please check that Hero thing.

Drag 19.08.2006 13:04

Cypher sweetie... Im just wonder. KTP shared Cached with sql injection fix.
What if someone will use it and ur patch...? Just small question :P

Small tip ^^
All patches have some info when loaded (tontors, l2extend). Make ur one
so user will be 'sure' that l2server is patched =)

xerogen 19.08.2006 13:12

Quote:

Originally Posted by Drag (Post 65220)
Cypher sweetie... Im just wonder. KTP shared Cached with sql injection fix.
What if someone will use it and ur patch...? Just small question :P

Small tip ^^
All patches have some info when loaded (tontors, l2extend). Make ur one
so user will be 'sure' that l2server is patched =)

Well im using the cacheD sql inject fix and the l2server inject fix, im having no problems upto now >.>

*fingers crossed*

zExz 19.08.2006 13:17

linerrorr:
Code:

A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:0
L:Y:X:H=0:0:0:0:0
Crashed Thread[0].
CRASH
Server Up Time : Sat Aug 19 15:06:19 2006
Current Time : Sat Aug 19 16:15:37 2006
Elapsed Time : 0 days 1 hours 9 minutes 18 seconds
IOBufferPool - 49750 / 50000,  PendingWrite 56887 bytes [6]
=============== object report
user[132/0], npc[36413/0], item[6292/4], usersocket[140]
=============== npc server connection log
Connect : Sat Aug 19 15:08:14 2006

[(364) 2006/08/19 16:15:37]: =======================
an Access Violation in module L2Server.exe at 0033:0054a6b8.
start at 2006/8/19 15:06:18
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=0033 EIP=0054a6b8 EFLGS=00010246
EBX=00000000 SS=002b ESP=660efd10 EBP=0004c158
ECX=6e1938d0 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:
660efd10: 1c4401d4 00000000 0004c158 00000000 009d0560 00000000 000630d8 00000000
660efd30: 1c4401d4 00000000 00000040 00000000 fffffffe ffffffff fffffffe ffffffff
660efd50: 0004c158 00000000 0061e5f9 00000000 1c4401d4 00000000 00400000 00000000
660efd70: 00000000 00000000 000630d8 00000000 714c5534 00000000 78d5fc97 00000000
660efd90: 0e4466e8 00000000 fffffffe ffffffff 00a05220 00000000 00000000 00000000
660efdb0: 00000000 00000000 0062294b 00000000 1c4401d4 00000000 00000000 00000000
660efdd0: 00a05220 00000000 00400000 00000000 00a05200 00000000 00400000 00000000
660efdf0: 00977230 00000000 0062501b 00000000 00bf7940 00000000 00000000 00000000
660efe10: 00977230 00000000 00400000 00000000 00000013 00000000 00000000 00000000
660efe30: 00000000 00000000 1c4401d4 00000000 1c440224 00000000 fffffffe ffffffff


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][578] (ahehe):  void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CDBSocket::OnClose() -> CacheSocket Closed
    Lock Stack  :

ListenThread [13][125] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][0] (good):      Lock Stack  :

GuardInfo end



[(364) 2006/08/19 16:15:37]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception


cypher 19.08.2006 13:31

Quote:

Originally Posted by zExz (Post 65225)
linerrorr:
Code:

A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:0
L:Y:X:H=0:0:0:0:0
Crashed Thread[0].
CRASH
Server Up Time : Sat Aug 19 15:06:19 2006
Current Time : Sat Aug 19 16:15:37 2006
Elapsed Time : 0 days 1 hours 9 minutes 18 seconds
IOBufferPool - 49750 / 50000,  PendingWrite 56887 bytes [6]
=============== object report
user[132/0], npc[36413/0], item[6292/4], usersocket[140]
=============== npc server connection log
Connect : Sat Aug 19 15:08:14 2006

[(364) 2006/08/19 16:15:37]: =======================
an Access Violation in module L2Server.exe at 0033:0054a6b8.
start at 2006/8/19 15:06:18
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=0033 EIP=0054a6b8 EFLGS=00010246
EBX=00000000 SS=002b ESP=660efd10 EBP=0004c158
ECX=6e1938d0 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:
660efd10: 1c4401d4 00000000 0004c158 00000000 009d0560 00000000 000630d8 00000000
660efd30: 1c4401d4 00000000 00000040 00000000 fffffffe ffffffff fffffffe ffffffff
660efd50: 0004c158 00000000 0061e5f9 00000000 1c4401d4 00000000 00400000 00000000
660efd70: 00000000 00000000 000630d8 00000000 714c5534 00000000 78d5fc97 00000000
660efd90: 0e4466e8 00000000 fffffffe ffffffff 00a05220 00000000 00000000 00000000
660efdb0: 00000000 00000000 0062294b 00000000 1c4401d4 00000000 00000000 00000000
660efdd0: 00a05220 00000000 00400000 00000000 00a05200 00000000 00400000 00000000
660efdf0: 00977230 00000000 0062501b 00000000 00bf7940 00000000 00000000 00000000
660efe10: 00977230 00000000 00400000 00000000 00000013 00000000 00000000 00000000
660efe30: 00000000 00000000 1c4401d4 00000000 1c440224 00000000 fffffffe ffffffff


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][578] (ahehe):  void IOThread_common(void *arglist) -> void CIOSocket::Close() -> void CDBSocket::OnClose() -> CacheSocket Closed
    Lock Stack  :

ListenThread [13][125] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][0] (good):      Lock Stack  :

GuardInfo end



[(364) 2006/08/19 16:15:37]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception




That's a problem with your cached. The server always crashes if the cached socket is closed. Doesn't look to be related to my work.

xerogen 19.08.2006 16:54

cypher your patch is working fine, even with sql cacheD inject fix :).

Thanks alot great work

dosmac 19.08.2006 18:25

Patch works near perfect up untill about 600 players, be warned about this. At about 600 players or more it spikes the CPU to 100%. Wondering if anyone else has tried this on a larger server? Worked flawless on our test server of 2 players ;). All the linerrors I see are posted with about 10-100 players. Great job Cypher.

hel 19.08.2006 20:00

Cypher, I don't understand, how to run logging cheaters.
I successfully patched L2Server and press enter, then I launch L2server, but when players tried to use html-exploits, no error-lines appears in l2server, but it seems html bugs not worked, thanks! Is there way to enable logging cheaters to logs? :|

Sakumi 19.08.2006 21:16

Quote:

Originally Posted by dosmac (Post 65241)
Patch works near perfect up untill about 600 players, be warned about this. At about 600 players or more it spikes the CPU to 100%. Wondering if anyone else has tried this on a larger server? Worked flawless on our test server of 2 players ;). All the linerrors I see are posted with about 10-100 players. Great job Cypher.

I did believe it was mentioned in the IRC channel as well (they had 1.5k users on a server with it and it crashed occasionly, or something to that effect)

cypher 19.08.2006 21:39

Quote:

Originally Posted by hel (Post 65247)
Cypher, I don't understand, how to run logging cheaters.
I successfully patched L2Server and press enter, then I launch L2server, but when players tried to use html-exploits, no error-lines appears in l2server, but it seems html bugs not worked, thanks! Is there way to enable logging cheaters to logs? :|

Check for stuff like "exploit-2006-08-19.txt" in l2server folder ;)

Sauron 20.08.2006 03:29

is #4 working ok with soomething like this? <button value="Change" action="bypass -h manor_select?reply=<?manorid?>&crop_id=<?cropid?>& ask=-255&data1= $data1 &data2= $data2 &data3= $data3 &data4= $data4 &keyword= $keyword"

TuMBLer 20.08.2006 11:34

CacheD.exe crashed
It never crashed before

CacheD.exe error.txt
=====
Code:

minidump result : 0
Crashed Thread[4].
Server Up Time : Sun Aug 20 02:09:57 2006
Current Time : Sun Aug 20 15:15:15 2006
Elapsed Time : 0 days 13 hours 5 minutes 18 seconds
IOBufferPool - 39985 / 39996,  PendingWrite 1269 bytes [0]
[(4644) 2006/08/20 15:15:16]: =======================
an Access Violation in module Cached.exe at 0023:004a0260.
start at 2006/8/20 02:09:57
Read from location 000000f8 caused an access violation.

Registers:
EAX=00000002 CS=0023 EIP=004a0260 EFLGS=00010202
EBX=00000002 SS=002b ESP=0615fe84 EBP=0615feec
ECX=00000004 DS=002b ESI=00000000 FS=0053
EDX=00000fa2 ES=002b EDI=00014f74 GS=002b
Bytes at CS:EIP:
8b 86 f8 00 00 00 83 04 8d 78 a6 8e 00 ff 8b 4c
Stack dump:
0615fe84: 00000000 0615fedc 004fadce ffffffff 0048195d 0832e4b3 1dc992f4 00000000
0615fea4: 0044a8b3 ffffffff 0002490a 48b0b841 05526f38 03cc0048 00000034 0044ab77
0615fec4: 1dc989f8 00000000 00000000 1dc78ca4 00000007 000136cc 0615ff38 004f8c56
0615fee4: 00000003 0615feec 1e43fec4 004401ce 049ce854 0832e4b3 05526f38 00000001
0615ff04: 00000000 00441653 00000001 00000002 00000000 00000000 00000004 0615ff70
0615ff24: 048c9560 00000000 1dc992f4 00000000 00000002 0615ff60 004f30e6 00000001
0615ff44: 004416a6 000136cc 00000000 00000004 048c9560 0615ff4c 0615fa7c 0615ffa0
0615ff64: 004d95ac 0054f9f8 00000000 0615ffb0 0044172d 00000004 048c9560 004d9ba8
0615ff84: 00000004 00000000 048c9560 048c9560 00000000 0615ff88 7d4d8988 0615ffdc
0615ffa4: 004d95ac 0055d288 00000000 0615ffec 004d9c36 00000000 7d4e0729 048c9560


GuardInfo :

IOThread [0][63] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [1][94] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [2][109] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [3][203] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [4][5250] (ahehe):  void IOThread_common(void *arglist) -> static bool RequestPackageSendToTarget(CSocket* pSocket, const unsigned char* packet) -> CUser::GetAccountID
    Lock Stack  :

IOThread [5][360] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [6][407] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [7][438] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [8][516] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [9][579] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [10][657] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

IOThread [11][735] (good):  void IOThread_common(void *arglist)
    Lock Stack  :

ListenThread [21][828] (good):  unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [20][507778406] (good):  MessageLoop_common
    Lock Stack  :

GuardInfo end



[(4644) 2006/08/20 15:15:18]: *.\ioc.cpp:648(Tue Dec 13 02:52:21 2005) exception


xerogen 20.08.2006 12:56

The last patch causes ALOT of item lag on server. After i applied it, the server floods with soulshot lag....

It also give "pUserSocket is NULL" errors as well, these problems wasnt there with old patch or without it :/

The one from the 18th seem to work fine. This gives new errors and alot of Item lag O.o

Hope this helps abit...

This is after players connect also

cypher 20.08.2006 13:33

Try to set the SqlFilter=false and see if it's the same.

xerogen 20.08.2006 13:35

I did that cypher same problems. When i use the patch from 18th it works fine. No problems (expect some stuff crashes server). But when i use most recent i get ALOT of item lag and pusersocket O.o

cypher 20.08.2006 13:48

Ok .. then we excluded a possible reason :)

xerogen 20.08.2006 13:50

Indeed :P. Im not sure what problem is tho, the old one works fine, doesnt cause any item lag or pUserSocket. But the newest one as soon as people connect it starts to cause ALOT of item lag.

See if anyone else has same problem :p

Drag 20.08.2006 14:19

xerogen its not cyphers patch problem...
pUsersocket is when u got some mistake on scripts...

Anyway I still get callstack... no matter which version...

Code:

08/20/2006 16:10:xx.xx1, --- call stack ---
08/20/2006 16:10:xx.xx1, [0] void IOThread_common(void *arglist)
08/20/2006 16:10:xx.xx1, [1] void CIOObject::TimerDispatch(bool bRootLoop)
08/20/2006 16:10:xx.xx1, [2] void CThreadLocalTimer::Dispath
08/20/2006 16:10:xx.xx1, [3] void CCreatureController::TimerExpired(int id)
08/20/2006 16:10:xx.xx1, [4] inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg)
08/20/2006 16:10:xx.xx1, [5] add exec - func call
08/20/2006 16:10:xx.xx1, [6] ASYNCHRONOUS_SERIALIZE_IMPL1(CCreatureController, AsyncTimerExpired, int, id)
08/20/2006 16:10:xx.xx1, [7] void CCreatureController::DoPendingAction(int nRecursiveCount)
08/20/2006 16:10:xx.xx1, [8] void CCreatureController::DoPendingAction(int nRecursiveCount)
08/20/2006 16:10:xx.xx1, [9] bool CSkillAction2::OnStart()
08/20/2006 16:10:xx.xx1, [10] void CNewAction::AddTimer(int nTick)
08/20/2006 16:10:xx.xx1, [11] void CCreatureController::AddTimer2(int nTickCount)
08/20/2006 16:11:xx.xx8, !!! deadlock or super-lag detected!!!  (diff 60 sec)

Exception occured. Flush Flush!!!


TuMBLer 20.08.2006 15:22

L2server.exe error

Code:

minidump result : 0
A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:1
L:Y:X:H=0:0:0:0:0
Crashed Thread[3].
CRASH
Server Up Time : Sun Aug 20 14:41:54 2006
Current Time : Sun Aug 20 18:56:18 2006
Elapsed Time : 0 days 4 hours 14 minutes 24 seconds
IOBufferPool - 45690 / 50000,  PendingWrite 7097790 bytes [866]
=============== object report
user[1000/792], npc[35894/25979], item[46661/62852], usersocket[1718]
=============== npc server connection log
Connect : Sun Aug 20 14:44:49 2006

[(1596) 2006/08/20 18:56:18]: =======================
an Access Violation in module L2Server.exe at 0033:004d305b.
start at 2006/8/20 14:41:52
Write to location 00000000 caused an access violation.

Registers:
EAX=00000000 CS=0033 EIP=004d305b EFLGS=00010246
EBX=0000af0e SS=002b ESP=9012d430 EBP=0004c158
ECX=85006920 DS=002b ESI=00a51e20 FS=0053
EDX=00000003 ES=002b EDI=00400000 GS=002b
Bytes at CS:EIP:
c6 00 01 65 48 8b 04 25 58 00 00 00 4a 8b 0c e0
Stack dump:
9012d430: 0000af0e 00000000 0004c158 00000000 0097d360 00000000 0000af0e 00000000
9012d450: 00011170 00000000 006f63d8 00000000 fffffffe ffffffff b724f6ac 00000000
9012d470: f4375044 00000000 00400000 00000000 00000000 00000000 0f1818ec 00000000
9012d490: 00000000 00000000 004d7cfd 00000000 009b10d0 00000000 0004c158 00000000
9012d4b0: f4375044 00000000 f43755e4 00000000 9012d4d0 00000000 0e446748 00000000
9012d4d0: fffffffe ffffffff f25fa504 00000000 00000000 00000000 00000000 00000000
9012d4f0: 00000000 00000000 0f1818dc 00000000 00000000 00000000 00000000 00000000
9012d510: a1a8be40 00000000 0006305c 00000000 00000000 00000000 0f1818ec 00000000
9012d530: 00400000 00000000 780d6044 00000000 780d6044 00000000 006bed80 00000000
9012d550: f4375044 00000000 007d5aea 00000000 f4375044 00000000 0004c158 00000000


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][6875] (good):  void IOThread_common(void *arglist) -> bool NpcCreatePacket(NpcSocket* pSocket, const unsigned char *pPacket) -> CNPC::Copy() -> CCreature::CCreature(const CCreature& other): CObject(other) -> (ST* CSharedFactory<T, ST, CONSTANT, SHIFT>::Add(T *object))
    Lock Stack  : d:\work\l2server\sharedfactory.h(2044[7fc])

IOThread [1][7781] (good):  void IOThread_common(void *arglist) -> bool NpcCreateOnePrivate(NpcSocket* pSocket, const unsigned char *pPacket) -> CNPC::Copy() -> CCreature::CCreature(const CCreature& other): CObject(other) -> (ST* CSharedFactory<T, ST, CONSTANT, SHIFT>::Add(T *object))
    Lock Stack  : d:\work\l2server\sharedfactory.h(2044[7fc])

IOThread [2][2737000] (good):  void IOThread_common(void *arglist) -> CUserSocket::OnRead
    Lock Stack  :

IOThread [3][9016] (ahehe):  void IOThread_common(void *arglist) -> bool NpcCreatePacket(NpcSocket* pSocket, const unsigned char *pPacket) -> CNPC::Copy() -> CCreature::CCreature(const CCreature& other): CObject(other) -> (ST* CSharedFactory<T, ST, CONSTANT, SHIFT>::Add(T *object)) -> shared memory free index invalid!
    Lock Stack  : d:\work\l2server\sharedfactory.h(2044[7fc])

ListenThread [13][3297] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][344] (good):      Lock Stack  :

GuardInfo end



[(1596) 2006/08/20 18:56:25]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception


hel 20.08.2006 16:13

cypher:
Can't find it, no logs. :(
Maybe I do a mistake in patching L2Server?
1. Checked ini file (don't understand about posible option lines, I leave c3expmap=true)
2. Patched L2Server successfully (as it sayd in console)
3. Press enter in console for exit.
4. Launched server. (No errors appears)
No "HTML:" lines appears by about 28 hours. My online is about 200 players. But after 28 hours my server crashed. In LinError.txt I see "Deadlock or superlag detected!".
If it possible. Correct me.
Thanks.

TuMBLer 20.08.2006 18:17

yet another linerror.txt

Code:

minidump result : 0
A:I:S:E:PE:DI:DE:BO=1.000000:1.000000:1.000000:1.000000:1.000000:0:0:1
L:Y:X:H=0:0:0:0:0
Crashed Thread[2].
Server Up Time : Sun Aug 20 15:28:49 2006
Current Time : Sun Aug 20 20:44:57 2006
Elapsed Time : 0 days 5 hours 16 minutes 8 seconds
IOBufferPool - 48181 / 50000,  PendingWrite 496215 bytes [60]
=============== object report
user[706/2], npc[35606/157], item[29382/5], usersocket[777]
=============== npc server connection log
Connect : Sun Aug 20 15:30:54 2006

[(5864) 2006/08/20 20:44:58]: =======================
an Access Violation in module L2Server.exe at 0033:00743c07.
start at 2006/8/20 15:28:48
Read from location a00ab400 caused an access violation.

Registers:
EAX=70c7b49d CS=0033 EIP=00743c07 EFLGS=00010213
EBX=0004c158 SS=002b ESP=7990ed10 EBP=738909d8
ECX=70c7b49d DS=002b ESI=0d51c540 FS=0053
EDX=52571dd7 ES=002b EDI=0000004d GS=002b
Bytes at CS:EIP:
44 39 6c d6 08 74 0b 8b 4c d6 18 83 f9 ff 75 e9
Stack dump:
7990ed10: 40000000 41b03a9d 40000000 41b03a9d f9776cc5 40d01d33 8894b014 00000000
7990ed30: 7990ee60 00000000 7990ed78 00000000 00000000 00000000 00000000 00000000
7990ed50: 00000000 00000000 8894b014 00000000 88988f2c 00000000 8899a074 00000000
7990ed70: 0bceb1a0 00000000 00000000 00000000 000003e4 00000000 00000005 00000009
7990ed90: 7990ed50 00000000 88988f04 00000000 00000000 41050090 00000000 40ef3240
7990edb0: 00000000 c0880000 6e0d6f1c 00000000 7990ed50 00000000 879cee9c 00000000
7990edd0: 738f5584 00000000 7570ea14 00000000 0000004d 00000000 00000000 fff80000
7990edf0: 37fec5a7 4110c148 435d0520 410562f8 67387a6c 40eb2322 00000000 c0b11000
7990ee10: 7990ed50 00000000 88988f2c 00000000 00000000 00000000 00742264 00000000
7990ee30: 7990ed50 00000000 8894b014 00000000 7990ed50 00000000 8894b014 00000000


ver = Dec 16 2005_22:03:13


GuardInfo :

IOThread [0][172] (good):  void IOThread_common(void *arglist) -> void NpcSocket::OnRead() -> void CIOSocket::Read(DWORD dwLeft)
    Lock Stack  :

IOThread [1][797] (good):  void IOThread_common(void *arglist) -> void CIOObject::TimerDispatch(bool bRootLoop) -> void CThreadLocalTimer::Dispath -> void CCreatureController::TimerExpired(int id) -> inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg) -> add exec - func call -> ASYNCHRONOUS_SERIALIZE_IMPL1(CCreatureController, AsyncTimerExpired, int, id) -> void CCreatureController::DoPendingAction(int nRecursiveCount) -> void CCreatureController::DoPendingAction(int nRecursiveCount) -> bool CMoveToTargetAction::OnStart() -> void CMoveToTargetAction::SetMoving() -> FVector CCreature::GetPassingPosOnSight(const FVector& vFrom, const FVector& vAttackPoint, PathFindResult& r, CCreature *pByCreature) -> PathFindResult CPathNodeWorld::PathFind(FVector vFrom, FVector vTo, FVector &vDest) -> CPathNodeWorld::PathFind-A* loop -> inline bool CNodeVisitHash::Visit(unsigned int PathNodeIndex, double Dist, bool bWrite = true)
    Lock Stack  :

IOThread [2][22266] (ahehe):  void IOThread_common(void *arglist) -> bool NpcAttackPacket(NpcSocket* pSocket, const unsigned char *pPacket) -> CCreature::Action() -> inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg) -> add exec - func call -> void CCreatureController::MoveToTarget(CObject *pTarget) -> void CCreatureController::DoFirstAction() -> bool CMoveToTargetAction::OnStart() -> void CMoveToTargetAction::SetMoving() -> FVector CCreature::GetPassingPosOnSight(const FVector& vFrom, const FVector& vAttackPoint, PathFindResult& r, CCreature *pByCreature) -> PathFindResult CPathNodeWorld::PathFind(FVector vFrom, FVector vTo, FVector &vDest) -> CPathNodeWorld::PathFind-A* loop -> inline bool CNodeVisitHash::Visit(unsigned int PathNodeIndex, double Dist, bool bWrite = true)
    Lock Stack  :

IOThread [3][1203] (good):  void IOThread_common(void *arglist) -> bool NpcMovePacket(NpcSocket* pSocket, const unsigned char *pPacket) -> CCreature::MoveToLocation -> inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg)
    Lock Stack  :

ListenThread [13][1313] (good):  void ListenThread_common() -> unsigned __stdcall WaitThread(void *)
    Lock Stack  :

MainThread [12][157] (good):      Lock Stack  :

GuardInfo end



[(5864) 2006/08/20 20:45:04]: *.\ioc.cpp:648(Tue Dec 13 02:52:40 2005) exception


Isachs 21.08.2006 04:16

Lol, dont use his files, this as*hole share troyans... On rag*z*ne he share file that copy info about your server including all passes and send it to creator.... very nice.....

SoaPy 21.08.2006 04:37

Quote:

Originally Posted by Isachs (Post 65342)
Lol, dont use his files, this as*hole share troyans... On rag*z*ne he share file that copy info about your server including all passes and send it to creator.... very nice.....

he didnt do that, someone copy cypher text and did that T_T, or that is what im almost 100% sure :P, joking i trust on cypher.

Drag 21.08.2006 05:29

hel... Same situation i got... 200+ online, but server cant handle sometimes 10 min with patch...

IVB 21.08.2006 09:36

How I may reinstall patch from, say, update #3 to update #4? Do I need patch _original_ .exe file, or just replace old .dll with new?

cypher 21.08.2006 10:51

Quote:

Originally Posted by Drag (Post 65345)
hel... Same situation i got... 200+ online, but server cant handle sometimes 10 min with patch...

More updates will come later this week when hopefully i'll have a server with at least 500+ online.

dosmac 21.08.2006 11:50

Still looks like noone has tested this on a server that on 600players+ that gives you the 100% CPU glitch. I dont think I mentioned the server is dual processor(NOT dualcore). Also, I've removed the patch entirely, and no more crashes every 15min-3hours. The crashes were IOSocket and Deadlocks constantly for no aparent reason. Since I took the DLL out, it's been going stable... for 2days 6hours now. ;) Looks like for now the DLL is used on up to 200 player servers ;) I'd post linerrors, but the only errors are deadlocks and 100% CPU :(


All times are GMT. The time now is 16:14.