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 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...

a-dru 22.11.2005 20:57

Quote:

Originally Posted by napaHouK
nice Thx ...
1 day work (not crash)
Very )))

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

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


thanks for l2server.exe )))
BUT i find my error _)

and NOW my Server NORMAL working with 100-150 online Fro 2-3 Day with not RESTART and CRASH )

I very Glad )

Now my SYstem - Windows 2003 Enterprice !

Nurgl 23.11.2005 23:24

Quote:

Originally Posted by a-dru
Quote:

Originally Posted by napaHouK
nice Thx ...
1 day work (not crash)
Very )))

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

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


thanks for l2server.exe )))
BUT i find my error _)

and NOW my Server NORMAL working with 100-150 online Fro 2-3 Day with not RESTART and CRASH )

I very Glad )

Now my SYstem - Windows 2003 Enterprice !

<rus>
Чем круче железка тем дольше стоит сервер это 100% так на собственом опыте убедился.
</rus>

toolpunk 24.11.2005 16:49

uhm...
digital: how about readding the russian language section?
i think we dont need those posts flooding the original topics...

Nurgl 24.11.2005 19:13

Quote:

Originally Posted by toolpunk
uhm...
digital: how about readding the russian language section?
i think we dont need those posts flooding the original topics...

Sorry Sorry Sorry !!

Nasedo 24.11.2005 21:02

I get memeory overflow, low memory and the l2server crashes when the npc server finishes loading and then the npc server goes down too.

toolpunk 24.11.2005 21:43

Quote:

Originally Posted by Nurgl
Quote:

Originally Posted by toolpunk
uhm...
digital: how about readding the russian language section?
i think we dont need those posts flooding the original topics...

Sorry Sorry Sorry !!

dont get me wrong...
i didnt want to make you feel bad.
i think we should add a russian section anyway.
we got so many russian people here and of course its easier to explain things in your native language.
i only wanted to help ya ;)
but back to the topic :D

tontor 25.11.2005 11:31

Quote:

Originally Posted by Papa_Wader
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]

Check your l2server err logs for packet process abnormal around the same time as their logins, this happens when enterworld returns 1 instead of 0. I do this right before calling LeaveWorld for the original clone.

.rdata:00608A90 unicode 0, <file[%s], line[%d], packet process abnormal >

But does appear that if this patch hasn't failed for you in the console someone has found a way around it. I am aware of another method of cloning items but I wont release any information for community sake.


-------

Fixing the 'user socket' problem is more difficult because you cant attach a debugger after this has happened. Would require running l2server in a debugger for a day or 2 untill it happens, which would be laggy for the users.

EverCooL 25.11.2005 12:55

Question to tontor...
Will you be able to modify that patch.dll as a packet filter/interceptor/proxy or what ever you want to name it ? The idea of having this is to have one config.ini where are described the packets( headers structure ) we want to intercepted and send to a subserver that will process them correctly and return the proper result packet trough that very same dll to the server and all that the server has to do is send the processed packet. This in various ways will solve 90% of the mising stuff.

horyfilipe 25.11.2005 14:41

[half off]
About usersocket, ill try to contribute with this info:

I have 3 servers:
1) Dual opteron 244, 4GB ecc crucial, 2x36GB SCSI in raid0, win2k3 standard, windows firewall.
RUNS: l2server + l2npc
Average: 1500 players
User socket happens every 2 to 3h. from 2am to 11am it is more difficult to see this issue happening.

2) PIV 3.06ghz HT , 2GB DDR, 2x80GB SATA, win2k3 standard, windows firewall
RUNS: l2server + l2npc
Average: 700 players
User socket happens every 10 to 16h. from 2am to 11am it is more difficult to see this issue happening.

3) PIV 3.06ghz HT, 1GB DDR, 2x80, 2x200 SATA raid0, win2k3 standard, windows firewall.
RUNS: sql + authd + logd for both servers


[/half off]

rodier 27.11.2005 21:54

How to find what is really try to exploit and what is normal? Your console report normal players doing normal things.. so its hard to filter attackers :(

Maybe this first.. is someone who want attack.. or simply newbie who try to use BBS? ;-D

Code:

WARNING: Possible exploit attempt ACCID:23462 CMD:[bypass -h _bbsgetfav].
WARNING: Possible exploit attempt ACCID:23462 CMD:[bypass -h _bbsaddfav_list boa
rds_bbsinit_0_0_0_0_0_].
WARNING: Possible exploit attempt ACCID:23462 CMD:[bypass -h _bbsloc].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=333
&reply=15].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=333
&reply=15].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h multisell?id=15].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=9].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-22
0&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20954 CMD:[bypass -h menu_select?ask=106
&reply=3].
WARNING: Possible exploit attempt ACCID:20954 CMD:[bypass -h menu_select?ask=106
&reply=3].
WARNING: Possible exploit attempt ACCID:21413 CMD:[link gamble_master_07.htm].
WARNING: Possible exploit attempt ACCID:22712 CMD:[link prefect_brukurse001.htm]
.
WARNING: Possible exploit attempt ACCID:22712 CMD:[link prefect_brukurse001t.htm
].
WARNING: Possible exploit attempt ACCID:22872 CMD:[bypass -h menu_select?ask=-1&
reply=0].


horyfilipe 27.11.2005 22:01

Tontor, "warehouse access from anywhere" exploit is working, any idea?

tontor 29.11.2005 11:41

Quote:

Originally Posted by rodier
How to find what is really try to exploit and what is normal? Your console report normal players doing normal things.. so its hard to filter attackers :(

Maybe this first.. is someone who want attack.. or simply newbie who try to use BBS? ;-D

Code:

WARNING: Possible exploit attempt ACCID:23462 CMD:[bypass -h _bbsgetfav].
WARNING: Possible exploit attempt ACCID:23462 CMD:[bypass -h _bbsaddfav_list boa
rds_bbsinit_0_0_0_0_0_].
WARNING: Possible exploit attempt ACCID:23462 CMD:[bypass -h _bbsloc].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=333
&reply=15].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=333
&reply=15].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h multisell?id=15].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=9].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-22
0&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20930 CMD:[bypass -h menu_select?ask=-20
1&reply=1].
WARNING: Possible exploit attempt ACCID:20954 CMD:[bypass -h menu_select?ask=106
&reply=3].
WARNING: Possible exploit attempt ACCID:20954 CMD:[bypass -h menu_select?ask=106
&reply=3].
WARNING: Possible exploit attempt ACCID:21413 CMD:[link gamble_master_07.htm].
WARNING: Possible exploit attempt ACCID:22712 CMD:[link prefect_brukurse001.htm]
.
WARNING: Possible exploit attempt ACCID:22712 CMD:[link prefect_brukurse001t.htm
].
WARNING: Possible exploit attempt ACCID:22872 CMD:[bypass -h menu_select?ask=-1&
reply=0].


23462 <- innocent
20930 <- exploiter
22712 <- html typo or has space (check yout htmls)
22872 <- watch for more warnings for this id
20954 <- possible exploiter, possibly severe lag, check logs for other mutiple attempts

rodier 29.11.2005 16:45

thanks a lot :-)

edit:
;-(( 20930 is one of my friends accounts he dont know anything about L2 hacks.. so we're at start..

rodier 29.11.2005 17:23

Quote:

Originally Posted by Eliot
Yes, it never froze on me. Never crashed. Since almost 4 days. I'm VERY happy about this :)

can u upload your server .exe to rapidshare.de please? thanks

horyfilipe 29.11.2005 17:34

Tontor, I dont know how, but with your last DLL it is possible to use recipe bug and also use warehouse from anywhere..

rodier 29.11.2005 17:51

Quote:

Originally Posted by iamrend

L2NPC:
Code:

10/15/2005 03:25:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[280838] id[1097] level[6]
10/15/2005 03:25:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[280838] id[1097] level[6]
10/15/2005 03:25:xx.xx5, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:25:xx.xx5, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:25:xx.xx5, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx3, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx3, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx8, server socket close 19668(4dac0e2c) error(64)
10/15/2005 03:26:xx.xx8, --- call stack ---
10/15/2005 03:26:xx.xx8, [0] void IOThread_common(void *arglist)
10/15/2005 03:26:xx.xx8, [1] void CIOSocket::Close()
10/15/2005 03:26:xx.xx8, [2] void CServerSocket::OnClose()10/15/2005 03:25:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[280838] id[1097] level[6]
10/15/2005 03:25:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[280838] id[1097] level[6]
10/15/2005 03:25:xx.xx5, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:25:xx.xx5, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:25:xx.xx5, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx3, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx3, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx6, [PrecompiledHeaderDB.cpp][280] invalid skill_name_id[31243] id[122] level[11]
10/15/2005 03:26:xx.xx8, server socket close 19668(4dac0e2c) error(64)
10/15/2005 03:26:xx.xx8, --- call stack ---
10/15/2005 03:26:xx.xx8, [0] void IOThread_common(void *arglist)
10/15/2005 03:26:xx.xx8, [1] void CIOSocket::Close()
10/15/2005 03:26:xx.xx8, [2] void CServerSocket::OnClose()


I advice you to look in skilldata for these skills in id [bracket] .. I bet you dont have these skills in skill_pch or skill_pch2 = this can crash your server too..
if there is id[122] level [11] look in skilldatat.txt for id=122 and look on level 11 of that skill.
you see (for example) s_skill11 .. OK now look in skill_pch for s_skill11=NUMBER
If you dont have s_skill11 in skill_pch . make it. If you have it there, then look ton skill_pch2 for that NUMBER .. i bet 100% u dont have it there.

Simply.. L2NPC server dont use skill_pch but skill_pch2 numbers..
any player/npc want use skill NUMBER.. NPC look in skill_pch2 for that number.. but dont see it -> report it to console.

rodier 01.12.2005 03:03

im very sad ;-( I tried many tontor .dll version, few l2server .exe but server still crashing with npc packet error ;-( without is stable for 24h+...

avatard 01.12.2005 04:00

Quote:

Originally Posted by rodier
im very sad ;-( I tried many tontor .dll version, few l2server .exe but server still crashing with npc packet error ;-( without is stable for 24h+...

try mine, has been stable for a day or two on 1500 peak 1000 anytime, tried for two weeks

Attary 03.12.2005 16:13

Quote:

Originally Posted by tontor
The deleted object that the message refers to is an IO object. I've tested a modification on my test server that doesn't insert deleted objects, and everything appeared to work, but I've not yet tested it on our public server.

"Inserting deleted object" still make server down in some sec with last dll version.
In my exe "link" and "teleport" patch failed. Is this a reason of server down with "Inserting deleted object"?

horyfilipe 04.12.2005 18:51

User socket... pretty weird my dual opteron is acting like a bitch.. even on the first seconds its online it starts spawning UserSocket is null.. economy is null... altough my pIV server with half ram(2gb) it barely happens the usersocket issue and keeps online almost 24h without crash.. i thought it could be SQL server lag but the sql server is on a third machine and if it was the sql server, my PIV server should be spawning usersocket problem as well as my dual opteron.. so the problem is not with sql server..

Dual opteron..
http://www.horyu.com.br/img/uploads/91de389e3e.jpg


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