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)

lich 11.11.2005 18:25

Strange error
Code:

Server Up Time Fri Nov 11 22:36:10 2005

Current Time : Fri Nov 11 22:53:35 2005

Elapsed Time : 0 days 0 hours 17 minutes 25 seconds
IOBufferPool - 1285

[(5636) 2005/11/11 22:53:35]: =======================
an Access Violation in module L2Server.exe at 001b:0053aa21.
start at 2005/11/11 22:36:04
Write to location 00000000 caused an access violation.

Registers:
EAX=6df73ff0 CS=001b EIP=0053aa21 EFLGS=00010297
EBX=6e68a910 SS=0023 ESP=6da6f908 EBP=6da6f93c
ECX=00000007 DS=0023 ESI=6b2e6adc FS=003b
EDX=69760df8 ES=0023 EDI=0000008f GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 33 c9 89 88 10 20 00 00 c7
Stack dump:
6da6f908: 004df8de 0000008f 6b2e6af8 6b2e6b00 0000001f 6dd1e850 4002c7c3 6da6f910
6da6f928: 6b2e6adc 6da6f90c 6da6f9ac 005ab7a0 ffffffff 6da6f9b8 0043f75a 6e68a910
6da6f948: 4494cce8 0000f000 6b2e6adc 00445caf 6b2e6adc 004df860 6e68a910 000238ac
6da6f968: 481084a5 00004b2f 00000000 41812a88 3fffa758 00000000 00000000 946cb4ec
6da6f988: 006c090c 449358f8 00000154 0000018e 6e68a910 0000018c 00000190 00000154
6da6f9a8: 6da6f964 6da6fa28 005a4468 ffffffff 6da6fa34 0049deb7 44440024 481084a5
6da6f9c8: 0000f000 3d3a5d96 40d2cbf1 ecffd596 4101c565 00000000 c0a83000 00000000
6da6f9e8: 40b77000 005bd8b8 00000001 481084a5 00004b92 00023b43 fffff3d9 00004b2f
6da6fa08: 000238ac fffff3e8 946cb4ec 6da6fb08 946cb484 00543463 0004fbdd 6da6fa10
6da6fa28: 6da6fbac 005a7c80 ffffffff 6da6fbb8 00543abe 3d3a5d96 40d2cbf1 ecffd596


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

void IOThread_common(void *arglist) <--
void CIOSocket::ReadCallback(DWORD dwTransferred) <--
CUserSocket::OnRead <--
MoveToLocationPacket <--
CCreature::MoveToLocation <--
inline void AddExecutable(MemoryObject *Matrix, Native Func, CExecutionArgument* Arg) <--
add exec - func call <--
void CCreatureController::Move <--
void CCreatureController::DoFirstAction() <--
void CMoveAction::Start() <--
void CMoveAction::SetMoving() <--
void CCreatureController::ActionBroadcastMove(FVector vStart, FVector vTo) <--
void BroadcastToNeighborDist(FVector vPos, double dist, const char* format, ...) <--
FOR ALL NEIGHBOR USER FAST <--
ASYNCHRONOUS_SERIALIZE_FAST_IMPL(CSocket, AsyncSendConstBuffer, CIOBuffer*, pBuffer)

Thread[0] (ahehe):      Lock Stack  :

Thread[1] (good):      Lock Stack  :

Don't know if it linked with patch or not. Seems that creature cannot move to location.

tontor 11.11.2005 21:36

hory: I will redo the function that is in the crash log you posted.

lich: Your server detected a deadlock or "superlag" and intentionally crashed itself. I would not expect the dll to be the source.

napaHouK 11.11.2005 21:37

You will excuse badly I know how to write in the English... 6 it is hour test... Server... And not one problem... Even complaint or hanging up... Although I looked the first post server it fell after 6 it was hour work!!!


Sorr for bad Eng

Kenster 11.11.2005 22:52

This is crashing after 10 minutes. :/

Enishi 11.11.2005 22:56

Tontor is this the exact same dll you use?

tontor 11.11.2005 23:07

Quote:

Originally Posted by Kenster
This is crashing after 10 minutes. :/

In ntdll.dll?

Quote:

Originally Posted by Enishi
Tontor is this the exact same dll you use?

No, the version that I use contains unrelated modifications in addition to everything in this dll.

Kenster 11.11.2005 23:29

Tontor, I am using the last version you posted. What is NTDLL.DLL?

Here is a view of my server and I started using your DLL like for 1 day now.

http://2xx.xx8.2xx.xx:8000/cacti/gra...=18&rra_id=all

Enjoy.

Kenster 12.11.2005 01:09

Here ya go, one error :

Code:

Server Up Time Fri Nov 11 17:01:23 2005

Current Time : Fri Nov 11 19:52:56 2005

Elapsed Time : 0 days 2 hours 51 minutes 33 seconds
IOBufferPool - 9788

[(1856) 2005/11/11 19:52:57]: =======================
an Access Violation in module ntdll.dll at 001b:7c83286c.
start at 2005/11/11 17:01:20
Write to location 003b540a caused an access violation.

Registers:
EAX=71ac0648 CS=001b EIP=7c83286c EFLGS=00010246
EBX=003b0000 SS=0023 ESP=71acf828 EBP=71acf834
ECX=00000648 DS=0023 ESI=003b21c8 FS=003b
EDX=00000025 ES=0023 EDI=003b21c8 GS=0000
Bytes at CS:EIP:
66 89 44 ce 02 e9 bb cc ff ff 90 90 90 90 90 64
Stack dump:
71acf828: 003b0000 003b25d0 00000000 71acf91c 7c82ff8a 003b0178 003b0178 71acf8fc
71acf848: 00000000 00000003 003b25d8 00000000 00000000 00000000 00000000 003b0178
71acf868: 000004c5 00000000 00000000 00000000 00000000 00000000 00000000 00000000
71acf888: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 31000000
71acf8a8: 37343434 00000000 00000000 0000000a 00000000 00000000 00000000 00000000
71acf8c8: 00142e40 00000000 00000000 00000000 00000000 00000000 00000042 ffffffff
71acf8e8: 00000024 003b0000 00000000 71acf92c 00000408 00000648 0001c336 71acf84c
71acf908: 71acf454 71acfe80 7c82f680 7c82f9e0 ffffffff 71acf938 209e441d 003b0000
71acf928: 00000001 003b25d8 0000386f 71acfdf0 71acfe10 209e1e36 003b25d8 00000000
71acf948: 796c3e58 94179474 61707962 2d207373 656d2068 735f756e 63656c65 73613f74


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 SellItemsPacket(CDBSocket *socket, const unsigned char *packet)

Thread[0] (good):      Lock Stack  :

Thread[1] (ahehe):      Lock Stack  :


Kenster 12.11.2005 02:28

Again

Code:

Server Up Time Fri Nov 11 20:09:31 2005

Current Time : Fri Nov 11 21:24:34 2005

Elapsed Time : 0 days 1 hours 15 minutes 3 seconds
IOBufferPool - 10306

[(2024) 2005/11/11 21:24:35]: =======================
an Access Violation in module ntdll.dll at 001b:7c839e96.
start at 2005/11/11 20:09:27
Read from location fffffff8 caused an access violation.

Registers:
EAX=fffffff8 CS=001b EIP=7c839e96 EFLGS=00010206
EBX=00000102 SS=0023 ESP=71acaf2c EBP=71acb148
ECX=00000000 DS=0023 ESI=003b0178 FS=003b
EDX=00076439 ES=0023 EDI=003b25d0 GS=0000
Bytes at CS:EIP:
66 3b 18 0f 86 84 5e ff ff 8b 09 e9 6f 5e ff ff
Stack dump:
71acaf2c: 2d6e731c 00000400 00003f2b 00000000 00000000 00000000 00000000 00000000
71acaf4c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
71acaf6c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 003b25d0
71acaf8c: 00000000 00000000 00000000 00000008 00000000 00000000 00000000 00000000
71acafac: 00000000 003b21d0 00000000 00000000 00000000 00000000 00000000 00000000
71acafcc: 00000000 00000000 00000000 00000000 00000000 003b21d0 00000000 00000000
71acafec: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
71acb00c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
71acb02c: 00000000 00000000 00000000 003b21d0 00000000 00000000 00000000 00000000
71acb04c: 00000000 00000000 00000000 00000000 fffffff8 00000000 003b0178 00000000


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

void IOThread_common(void *arglist) <--
void CNPCSocketPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) <--
cpacket::oniocallback_funccall <--
bool NpcTeleportPacket(NpcSocket* pSocket, const unsigned char *pPacket)

Thread[0] (good):      Lock Stack  :

Thread[1] (ahehe):      Lock Stack  :


Radmin 13.11.2005 18:33

if use l2admin, and ban user into it,
and then unban him.
server down, if user connected.

==========================
how l2admin ban?
change into lin2world.user_data
account_id = -2

but, if unban change account_id = lin2db.user_account.uid

but. if u not logout server, and unban him. cashed used old data(-2). but auth used new data (uid).
And if user login, and user uid = -2 = server (included tonor fix) - shut down... %(((((((

really fucked info... need fix... tonor u are master.. ;)

Phantom2005 13.11.2005 18:43

didn't understand a word of that....
just use Query Analyzer:

use lin2db
update user_account
set pay_stat='0', block_flag='1', block_flag2='1'
where account='ACCOUNTNAME'

If you want to get the IP of someone:
use lin2db
(select last_ip from user_account where account='ACCOUNTNAME')

Radmin 13.11.2005 22:01

Fuck! I tell about l2admin.
bugged standart bunned procedure from chars...

I know how banned account.

but if need ban one char on account - used l2admin or set account_id=-2 into lin2world.user_data...

If u noob - not posted u noob request.

bob1122 13.11.2005 22:08

39\tName\tHours\n

Eliot 14.11.2005 00:00

Calm down Radmin, and dont call people names here.
First of all Your english is terrible and it's not easy to decode what You have in mind.
Second, i tested Your problem. And i dont get such behaviour, my L2admin works perfect with or without Tontors patch.

HF 14.11.2005 19:04

tontor, you can make different log for your console? It is will be very good...

Decaz 14.11.2005 19:45

this patch fix bug with help.htm?

napaHouK 14.11.2005 20:27

Quote:

Originally Posted by Decaz
this patch fix bug with help.htm?

Лол )))


server crash[php:1:0ea02b735a]Server Up Time Sat Nov 12 15:28:55 2005

Current Time : Mon Nov 14 03:47:29 2005

Elapsed Time : 1 days 12 hours 18 minutes 34 seconds
IOBufferPool - 5976

[(2304) 2005/11/14 03:47:29]: =======================
an Access Violation in module patch.dll at 001b:209d3c10.
start at 2005/11/12 15:28:48
Write to location 000000a0 caused an access violation.

Registers:
EAX=ac5000c0 CS=001b EIP=209d3c10 EFLGS=00010206
EBX=71fb54f0 SS=0023 ESP=6ea4f7c8 EBP=6ea4f7f4
ECX=00000028 DS=0023 ESI=ac5000c0 FS=003b
EDX=00000001 ES=0023 EDI=000000a0 GS=0000
Bytes at CS:EIP:
f3 a5 8b 55 e8 89 55 e0 eb 07 c7 45 e0 00 00 00
Stack dump:
6ea4f7c8: 6ea4fb70 6ea4fcdc 71fb54f0 00000000 ac5000c0 000000a0 000000a0 6ea4f7c8
6ea4f7e8: 6ea4fb74 209dbb00 ffffffff 6ea4f82c 209d3ab5 ac5000c0 bb924020 000000a0
6ea4f808: 209dfbc4 6ea4f86e 6ea4f8f4 6ea4f7fc 6ea4f800 6ea4f8c8 00000000 00000000
6ea4f828: 6e000000 6ea4f874 209d3a6e ac500020 bb924020 00000000 209dfbc4 6ea4fb74
6ea4f848: 209dfbc4 7c9106f0 ffffffff 7c9106eb 209d6031 003c0000 00000001 6ea4f834
6ea4f868: 6ea4f838 209d6057 1e848000 6ea4fb80 209d2ee4 ac500020 bb924020 00000000
6ea4f888: 6ea4fcdc 6ea4fe00 71fb54f0 00006d38 000c3500 b3f12020 00186a00 00186a00
6ea4f8a8: 00249f00 01999999 00186a00 00186a00 01999999 00186a00 209dfbc4 94249964
6ea4f8c8: 2c9eb002 bfe1516d 6ea50000 6ea46000 0000002e 6ea4fca4 7c90eafa 00000000
6ea4f8e8: 6ea4f910 6ea4f8f4 6ea4f910 c0000005 00000000 00000000 7c81cbac 00000002


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

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

Thread[0] (ahehe): Lock Stack :

Thread[1] (good): Lock Stack :



[/php:1:0ea02b735a]

Kenster 14.11.2005 20:39

How the hell do you get it to stay up for 1 day. Maybe I have more users? I get like 30 minutes max.

napaHouK 14.11.2005 21:24

100 online max...
i have local server ... and internet...

Eliot 14.11.2005 22:43

Newest version crashes after 30 minutes with same error as before.
1010 which is most stable crashes with CCreature error with 20-24h uptime.

napaHouK 14.11.2005 23:10

ok thanks )))

tontor 16.11.2005 04:05

Tested on 5 servers so far 2-3 of the servers are ~1100-1500 users. Only a few crashes which dont appear to be related. Give it a try and post your results :). Hopefully this resolves the issue crashing in ntdll for alot of people.

Kenster 16.11.2005 05:54

Thank you Tontor. Good job dude.

Domzelan 16.11.2005 08:23

I use 10 10 (150 users online) - up time 6 days.

HF 16.11.2005 08:39

Quote:

Originally Posted by Domzelan
I use 10 10 (150 users online) - up time 6 days.

you may no say nothing more, if you have 150 users online. I have 1500 online and server uptime crazy. Range from 30 mins - 11 hour.


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