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)

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.

EverCooL 16.11.2005 10:20

I must say REALY IMPRESSIVE job ! I've read the whole topic and what more can i say... greatly done!
Keep up the good work!
I'm setting up my test server right now and will give it a try :)

P.S. I was away of the project for sometime and i will need few days to get back on track with te changes since my last appearing ^^

Digital 16.11.2005 11:39

well... according to some ppl
they said that it is l2walker that is making it crash (server+dll)
not really sure if that's the truth since i'm not using the dll
(no offence to tontor ^^;)
just a msg to let u guys know and try to see if that is the case

HF 16.11.2005 12:39

Quote:

Originally Posted by Digital
well... according to some ppl
they said that it is l2walker that is making it crash (server+dll)
not really sure if that's the truth since i'm not using the dll
(no offence to tontor ^^;)
just a msg to let u guys know and try to see if that is the case

i have some different info about bug with walker:

- banned account have access to server (first stage), but not have access to select char
- default setting of walker is "Reconnect time is 1 sec"
- banned accounts reconnected to server while server not crashe or restart, because users sockets will be bigger (*2, *3 them user real sockets)... server dont crash, but users cant select chars.
Fuh.. :)

Bot-users - fucking ppl.

horyfilipe 16.11.2005 12:40

Tontor, thanks, i will test now. Man, i shall donate to you, thats a wonderful job. Let us know how to contribute.

Digital, do you know any specific action? Or just using l2walker?

PhDoc 16.11.2005 13:42

Quote:

Originally Posted by HF
- banned account have access to server (first stage), but not have access to select char

Only banned character (39\tName\tHour) have access to server. Banned account (pay_stat=0) have not. Try it.

lich 16.11.2005 18:00

New errors ;)
Quote:

Server Up Time Wed Nov 16 22:05:39 2005

Current Time : Wed Nov 16 22:55:06 2005

Elapsed Time : 0 days 0 hours 49 minutes 27 seconds
IOBufferPool - 623

[(4392) 2005/11/16 22:55:06]: =======================
an Access Violation in module L2Server.exe at 001b:0053aa21.
start at 2005/11/16 22:05:34
Write to location 00000000 caused an access violation.

Registers:
EAX=6f806060 CS=001b EIP=0053aa21 EFLGS=00010297
EBX=6f460960 SS=0023 ESP=6e1ff9c4 EBP=6e1ff9f8
ECX=00000007 DS=0023 ESI=6af393e4 FS=003b
EDX=69f17d88 ES=0023 EDI=00000059 GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 33 c9 89 88 10 20 00 00 c7
Stack dump:
6e1ff9c4: 004dfaae 00000059 6af39400 6af39408 20b3839c 6f5c1e2f c00dbb1a 6e1ff9cc
6e1ff9e4: 6af393e4 6e1ff9c8 6e1ffa68 005ab7a0 ffffffff 6e1ffa74 0043f75a 6f460960
6e1ffa04: 44be8e98 0000f000 6af393e4 00445caf 6af393e4 004df860 6f460960 0003c8e5
6e1ffa24: 48108f2e fffe5a5d 00000000 41812a88 3fff1ff4 00000000 00000000 947aca44
6e1ffa44: 006c090c 44b38df8 000000d6 000001f2 6f460960 000001f0 000001f4 000000d8
6e1ffa64: 6e1ffa20 6e1ffae4 005a4468 ffffffff 6e1ffaf0 0049deb7 44440024 48108f2e
6e1ffa84: 0000f000 a5ad11cd c0fa5a3c 8d6dabb4 410e472c 00000000 c0a98000 00000000
6e1ffaa4: 40b77000 005bd8b8 00000001 48108f2e fffe59fe 0003ca71 fffff344 fffe5a5d
6e1ffac4: 0003c8e5 fffff340 947aca44 8d4e27d4 8d4e27d4 00544b36 a5ad11cd 6e1ffacc
6e1ffae4: 6e1ffc38 005a7c80 ffffffff 6e1ffc44 00544c59 a5ad11cd c0fa5a3c 8d6dabb4


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 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() <--
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] (good): Lock Stack :

Thread[1] (ahehe): Lock Stack :




tontor 16.11.2005 21:10

lich: "Access Violation in module L2Server.exe at 001b:0053aa21. Write to location 00000000" indicates that the server believes it has run out of IO buffers and is intentionally crashing itself. Try increasing your IOBufferCount.

Firedaemon 16.11.2005 22:09

Thank you for sharing! Its contributers such as yourself that keep the community moving forward in such a positive direction.

lich 17.11.2005 05:39

Quote:

Originally Posted by tontor
lich: "Access Violation in module L2Server.exe at 001b:0053aa21. Write to location 00000000" indicates that the server believes it has run out of IO buffers and is intentionally crashing itself. Try increasing your IOBufferCount.

Ok. Anyway thanks a lot!

Kenster 17.11.2005 07:07

Yeah he had 693... that is low. I would guess that too.

lich 17.11.2005 10:31

Quote:

Originally Posted by Kenster
Yeah he had 693... that is low. I would guess that too.

3000 in l2server.ini. Try to set to 10000.

horyfilipe 17.11.2005 14:27

Absolutely perfect till now!!! 16h Online with 1500+ players, 16h Onlline with 700+ players (and no crash till now).

Only remaining issue is the usersocket problem, thats the unique cause for i am rebooting my servers.

Thanks!!!

Mirror 17.11.2005 15:33

great work tontor thanks!

<offtopic>
horyfilipe i wonder how this usersocket problem started...since it was no in c1..and l2server.exe remained the same...it must be an issue caused by the client..
</offtopic>

HF 17.11.2005 17:09

Quote:

Originally Posted by horyfilipe
Absolutely perfect till now!!! 16h Online with 1500+ players, 16h Onlline with 700+ players (and no crash till now).

Only remaining issue is the usersocket problem, thats the unique cause for i am rebooting my servers.

Thanks!!!

you can give me info about your Lineage II server? I mean: how much PC, where stay each module (i mean all on one or some module on different PC), hardware configuration on each PC, software for La2 (SQL version, SP, patches, system setting and etc)

I very want it. Help me :) Give me info. May in PM :)

napaHouK 17.11.2005 17:48

nice Thx ...
1 day work (not crash)
Very )))

<russion>
Я не могу понять всех кого знаю... у всех падает сервер
Х.з. у мя маленький онлайн да 100 человек туфта но даже есть у кого 100 тоже и тоже падает )))
Какие у вас серваки то ??
2:HF все жалуются на данную проблему...

Может дело в Оси или в настройки оси ??? серваки у всех одинаковые... я дал свой exe файл человечку у него тоже падает )
</russian>

Slipknight 17.11.2005 21:00

12++ uptime and I restarted it myself for other purposes so it works fine for me. But then again im not running my server with 1k+ people :wink:

midnight 17.11.2005 22:11

I have one problem, pls help...

Quote:

Server Up Time Thu Nov 17 11:00:24 2005

Current Time : Thu Nov 17 15:31:54 2005

Elapsed Time : 0 days 4 hours 31 minutes 30 seconds
IOBufferPool - 1658

[(2864) 2005/11/17 15:31:54]: =======================
an Access Violation in module L2Server.exe at 001b:0045a1f5.
start at 2005/11/17 11:00:19
Read from location 00008604 caused an access violation.

Registers:
EAX=8cb540cc CS=001b EIP=0045a1f5 EFLGS=00010202
EBX=747b9b5b SS=0023 ESP=7091fe34 EBP=7091fe8c
ECX=8cb56edc DS=0023 ESI=8cb540cc FS=003b
EDX=000085f4 ES=0023 EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 42 10 8b 70 60 89 4d e8 89 7d e0 3b 7d d4 7d
Stack dump:
7091fe34: 00000000 2487f808 77e4193e 00000000 00000019 0000001f 00002000 437c0015
7091fe54: 7a8e5994 00000000 00000001 00000000 48201981 00000000 00000000 000085f4
7091fe74: 748b52a0 7091fe40 7091fe34 7091feb8 005a4e68 ffffffff 7091fec4 0053adaf
7091fe94: 7a8e5994 747b9b43 00fcace3 00000001 77e4193e 0006c594 0000001f 747b9b30
7091feb4: 7091fe9c 7091fef0 005afb80 ffffffff 7091fefc 0053aed9 00000001 00000002
7091fed4: 00000000 00fcace3 00000001 77e4193e fffaa8d0 ffffffff 7091fed8 7091ff6c
7091fef4: 005afb90 ffffffff 7091ff78 0053cbe6 00000001 00000002 00000000 00000000
7091ff14: 00000000 3fcc22e8 00000000 00001000 00010000 bffeffff 00000001 00000001
7091ff34: 0000024a 00010000 0a000006 008affff 00000000 00000258 00870000 00000002
7091ff54: 0004f39c fbaa2d00 f5923bfc 00000000 2487f808 7091ff10 7091ffa8 005afca0


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

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

Thread[0] (ahehe): Lock Stack :



Firedaemon 19.11.2005 00:33

Our server runs with 1000+ on average daily. Thus far (after 5-6 days of production server testing), we have not experienced any problems with the implimentation of this patch.

Good job

iamrend 19.11.2005 00:39

my first crash with new dll. maybe it can help

:P

Code:

Server Up Time Fri Nov 18 19:43:28 2005

Current Time : Fri Nov 18 22:51:55 2005

Elapsed Time : 0 days 3 hours 8 minutes 27 seconds
IOBufferPool - 12376

[(3948) 2005/11/18 22:51:55]: =======================
an Access Violation in module kernel32.dll at 001b:77e6b458.
start at 2005/11/18 19:43:26
Write to location 77ff2038 caused an access violation.

Registers:
EAX=ffffffff CS=001b EIP=77e6b458 EFLGS=00010202
EBX=77ff0020 SS=0023 ESP=7195fe94 EBP=7195fec4
ECX=77ff2038 DS=0023 ESI=280da338 FS=003b
EDX=00000007 ES=0023 EDI=00000000 GS=0000
Bytes at CS:EIP:


Slipknight 19.11.2005 12:49

2 Days straight uptime and no crashes. Great work tontor :D

tontor 19.11.2005 16:29

Quote:

Originally Posted by iamrend
my first crash with new dll. maybe it can help

:P

Code:

Server Up Time Fri Nov 18 19:43:28 2005

Current Time : Fri Nov 18 22:51:55 2005

Elapsed Time : 0 days 3 hours 8 minutes 27 seconds
IOBufferPool - 12376

[(3948) 2005/11/18 22:51:55]: =======================
an Access Violation in module kernel32.dll at 001b:77e6b458.
start at 2005/11/18 19:43:26
Write to location 77ff2038 caused an access violation.

Registers:
EAX=ffffffff CS=001b EIP=77e6b458 EFLGS=00010202
EBX=77ff0020 SS=0023 ESP=7195fe94 EBP=7195fec4
ECX=77ff2038 DS=0023 ESI=280da338 FS=003b
EDX=00000007 ES=0023 EDI=00000000 GS=0000
Bytes at CS:EIP:



No stack info, not much use at all :)

Mirror 19.11.2005 16:43

great work tontor, thanks :). question, does this new release includes antistacked buff protection as you said it may ?

tontor 20.11.2005 02:15

Quote:

Originally Posted by Mirror
great work tontor, thanks :). question, does this new release includes antistacked buff protection as you said it may ?

Yes, when a user attempt to buff stack, it is logged to l2server logs and l2server console displaying the account id and skillid of the specific buff that was detected as a dupe, and aborts sending the packet to cached which saves the duplicate buffs effectively stopping overbuffing.

Slipknight 21.11.2005 14:10

used this for 1 week straight and no crashes or downtime besides me restarting it :D .

Papa_Wader 22.11.2005 01:28

Well, it seems that the clone's patch was overriden again.
I have the latest version of the tontor's patch on my server, yesturday i've noticed that "users connected" status was less than "user's playing" by 10 players.
Today i've parsed my cached logs and found on char 23 lvl, created yesturday:

21/11/2005 23:01:xx.xx8 : char Lorein (reystlin) sell item 57 (-45000000) [id: 155820]
21/11/2005 23:01:xx.xx4 : char Lorein (reystlin) sell item 1459 (30000) [id: 161796]
21/11/2005 23:01:xx.xx4 : char Lorein (reystlin) buy item 57 (-40000000) [id: 155820]

30 k C Crystals - strange for a newly created char, isn't it? =))

According to Cached logs, this crystals came from nowhere.

Eagerly waiting for a new clone fix.

Papa_Wader 22.11.2005 02:03

Here's more detailed log about duping

20/11/2005 21:39:xx.xx0 : char Lorein (reystlin) dropped item 1459 (790) [id: 149969]
20/11/2005 21:39:xx.xx2 : char DD (iceray) get item 1459 (790) [id: 149969]
!!!!!!! Warning : Another user get dropped item(s) !


20/11/2005 21:42:xx.xx5 : char DD (iceray) dropped item 1459 (790) [id: 149969]
20/11/2005 21:42:xx.xx3 : char Fighter (iceray) get item 1459 (790) [id: 149969]
!!!!!!! Warning : Another user get dropped item(s) !

20/11/2005 21:44:xx.xx0 : char Fighter (iceray) private store sell item 1459 (1580) [id: 149969]
20/11/2005 21:44:xx.xx0 : char Fighter (iceray) private store buy item 1459 (-790) [id: 149969]
20/11/2005 21:47:xx.xx8 : char Fighter (iceray) private store buy item 1459 (-1580) [id: 149969]
20/11/2005 21:47:xx.xx8 : char Fighter (iceray) private store sell item 1459 (3160) [id: 149969]
20/11/2005 21:49:xx.xx5 : char Fighter (iceray) private store buy item 1459 (-3160) [id: 149969]
20/11/2005 21:49:xx.xx5 : char Fighter (iceray) private store sell item 1459 (6320) [id: 149969]
20/11/2005 21:53:xx.xx4 : char Fighter (iceray) private store sell item 1459 (12640) [id: 149969]
20/11/2005 21:53:xx.xx0 : char Fighter (iceray) private store buy item 1459 (-6320) [id: 149969]
20/11/2005 21:57:xx.xx0 : char Fighter (iceray) private store sell item 1459 (25280) [id: 149969]
20/11/2005 21:57:xx.xx0 : char Fighter (iceray) private store buy item 1459 (-12640) [id: 149969]

bigfoot 22.11.2005 11:57

bug: prof Dark Wizard
WARNING: Possible exploit attempt ACCID:1 CMD:[link charkeren_q0412_02.htm].

tontor 22.11.2005 12:59

Quote:

Originally Posted by bigfoot
bug: prof Dark Wizard
WARNING: Possible exploit attempt ACCID:1 CMD:[link charkeren_q0412_02.htm].

Read the first post of this topic, it explains the possible problems.

HF 22.11.2005 13:21

tontor, i found stranges with your patch. With patch.dll no can use no one menu in L2Server interface. Why it have link with this features? :) I think what it is no good.
Now i can tell what only with your patch exist "User Socket overflow bug". I mean time, when user can autorize but cant select chars. User Sockets must upper, but users real sessions only fall down. Help only L2Server restart. No help L2Auth restart.

Maybe you can fix it all.

Aspire 22.11.2005 19:30

HF попробуй начать с чистой версии сервера, ибо все работает на ура, кстати креш сервера по summon npc вызван параллельно сделанным патчем на incorrect target, по крайней мере для моей версии так.

Sorry, but my english is to bad...


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