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)

melco 12.10.2005 14:57

Quote:

However this one is related in some way, but i need the base address of the dll if you could click on the console icon in top left and edit->mark all, copy it right after it loads the dll and paste to me here, i can tell what call its in. Looks like stack got messed up returning somewhere it shouldn't.
link patch failed: offset:5154b9 size:7 newcall_loc:209d21f0
teleport patch failed: offset:515ffa size:22 newcall_loc:209d2240
npchtml patched: offset:4a41f0 size:16 newcall_loc:209d13b0
bypass patched: offset:5156bf size:7 newcall_loc:209d1370
npcteleport patched: offset:4a95c7 size:6 newcall_loc:209d1350
talk_selected patched: offset:4a7a04 size:6 newcall_loc:209d1330
agit patched: offset:406828 size:18 newcall_loc:209d1300
cachedhtml patched: offset:5155ba size:6 newcall_loc:209d12e0
cachedhtml1 patched: offset:5155f9 size:6 newcall_loc:209d12c0
enterworld patched: offset:507231 size:6 newcall_loc:209d12a0
recipe patched: offset:443ac8 size:6 newcall_loc:209d1280
sellitem patched: offset:457672 size:6 newcall_loc:209d1260
buyitem patched: offset:457c18 size:6 newcall_loc:209d1240
npcshowhtmlstring patched: offset:4a4594 size:6 newcall_loc:209d1210
npcshowbuypage patched: offset:4a9c80 size:6 newcall_loc:209d11f0
ctalkaction_onstart patched: offset:4d12c8 size:6 newcall_loc:209d11d0
clone patched: offset:4668e7 size:5 newcall_loc:209d1000

Phantom2005 12.10.2005 17:31

Quote:

Originally Posted by melco
link patch failed: offset:5154b9 size:7 newcall_loc:209d21f0
teleport patch failed: offset:515ffa size:22 newcall_loc:209d2240

Like he said... you have to use a l2server without link and teleport patch....

bob1122 12.10.2005 19:55

Quote:

Originally Posted by kembl
As I understand, all of this are commans with wrong CRC, that cant tome send to server by original unmodified client?

[bypass -h _agitauclist].
[bypass -h _agitaucmy].
[bypass -h create_pledge?].
[bypass -h creativ_ghost_item].
[bypass -h deposit bypass menu_select?].
[bypass -h deposit].
[bypass -h deposit_pledge].
[bypass -h dismiss_pledge].
[bypass -h dupe_item].
[bypass -h dupe_item_creativ].
[bypass -h forth player@ 83400 147943 -3404 teleport_player_to].
[bypass -h forth strider 1 0 temporary-ride].
[bypass -h jbf_ride 12526 1].
[bypass -h learn_skill].
[bypass -h level_up_pledge?].
[bypass -h menu_select?ask= &reply=].
[bypass -h menu_select?ask= 1 &reply=].
[bypass -h menu_select?ask= 403 &reply= 2].
[bypass -h menu_select?ask= lala &reply= op op].
[bypass -h menu_select?ask= op &reply=].
[bypass -h menu_select?ask=0337&reply=1].
[bypass -h menu_select?ask=-1&reply=0].
[bypass -h menu_select?ask=-1&reply=1].
[bypass -h menu_select?ask=-1&reply=10].
[bypass -h menu_select?ask=-1&reply=8].
[bypass -h menu_select?ask=-201&reply=1].
[bypass -h menu_select?ask=-201&reply=2].
[bypass -h menu_select?ask=216&reply=3].
[bypass -h menu_select?ask=333&reply=15].
[bypass -h menu_select?ask=334&reply=1].
[bypass -h menu_select?ask=334&reply=7].
[bypass -h menu_select?ask=334&reply=9].
[bypass -h menu_select?ask=403&reply=2].
[bypass -h menu_select?ask=419&reply=1].
[bypass -h menu_select?ask=503&reply=3].
[bypass -h menu_select?ask=503&reply=9].
[bypass -h multisell?id= 1].
[bypass -h multisell?id= 2].
[bypass -h multisell?id=].
[bypass -h multisell?id=0].
[bypass -h multisell?id=2].
[bypass -h multisell?id=4].
[bypass -h multisell?id=6].
[bypass -h recipe?id=20].
[bypass -h recipe?id=21].
[bypass -h recipe?id=24].
[bypass -h recipe?id=30].
[bypass -h recipe?id=334].
[bypass -h recipe?id=340].
[bypass -h recipe?id=46].
[bypass -h recipe?id=55].
[bypass -h recove_pledge].
[bypass -h talk_select].
[bypass -h teleport_1120176160_1].
[bypass -h teleport_1154531928_3].
[bypass -h teleport_1159621888_4].
[bypass -h teleport_request].
[bypass -h withdraw].
[bypass -h withdraw_pledge].

no some of those are attepts
i dont know about : [bypass -h teleport_request] ... and [bypass -h deposit]... but most others are exploits ... the dll blocks them and reports them to the console window

Enishi 12.10.2005 19:56

Anyone has this working without it freezing?

Eliot 12.10.2005 20:40

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

Chabonline 12.10.2005 20:48

I haved some problems too Enishi but don't thing freezing are patch problem. And, great work :)

Tya

LDragonL 12.10.2005 21:09

Here's my version of l2server without freezings.

http://www.megaupload.com/?d=ZMGZPPEU

Remember it uses port 8888 and it includes safe enchant to +10.
All work done to this file is done with the great help of some tutorials here at postpacfic ;)

tontor 12.10.2005 21:42

These can fall into catagory of most likley someone using walker teleport_892374_1 stuff is 99% walker(or some really really bad lag).
Quote:

Originally Posted by kembl
[bypass -h create_pledge?].
[bypass -h deposit].
[bypass -h deposit_pledge].
[bypass -h dismiss_pledge].
[bypass -h learn_skill].
[bypass -h level_up_pledge?].
[bypass -h multisell?id=0].
[bypass -h multisell?id=2].
[bypass -h multisell?id=4].
[bypass -h multisell?id=6].
[bypass -h recipe?id=20].
[bypass -h recipe?id=21].
[bypass -h recipe?id=24].
[bypass -h recipe?id=30].
[bypass -h recipe?id=334].
[bypass -h recipe?id=340].
[bypass -h recipe?id=46].
[bypass -h recipe?id=55].
[bypass -h recove_pledge].
[bypass -h talk_select].
[bypass -h teleport_1120176160_1].
[bypass -h teleport_1154531928_3].
[bypass -h teleport_1159621888_4].
[bypass -h teleport_request].
[bypass -h withdraw].
[bypass -h withdraw_pledge].

These are exploiters.
Quote:

[bypass -h menu_select?ask= &reply=].
[bypass -h menu_select?ask= 1 &reply=].
[bypass -h menu_select?ask= 403 &reply= 2].
[bypass -h menu_select?ask= lala &reply= op op].
[bypass -h menu_select?ask= op &reply=].
[bypass -h menu_select?ask=0337&reply=1].
[bypass -h menu_select?ask=-1&reply=0].
[bypass -h menu_select?ask=-1&reply=1].
[bypass -h menu_select?ask=-1&reply=10].
[bypass -h menu_select?ask=-1&reply=8].
[bypass -h menu_select?ask=-201&reply=1].
[bypass -h menu_select?ask=-201&reply=2].
[bypass -h menu_select?ask=216&reply=3].
[bypass -h menu_select?ask=333&reply=15].
[bypass -h menu_select?ask=334&reply=1].
[bypass -h menu_select?ask=334&reply=7].
[bypass -h menu_select?ask=334&reply=9].
[bypass -h menu_select?ask=403&reply=2].
[bypass -h menu_select?ask=419&reply=1].
[bypass -h menu_select?ask=503&reply=3].
[bypass -h menu_select?ask=503&reply=9].
[bypass -h creativ_ghost_item].
[bypass -h deposit bypass menu_select?].
[bypass -h dupe_item].
[bypass -h dupe_item_creativ].
[bypass -h forth player@ 83400 147943 -3404 teleport_player_to].
[bypass -h forth strider 1 0 temporary-ride].
[bypass -h jbf_ride 12526 1].
exploit or messed up html, space between = and 1
Quote:

[bypass -h multisell?id= 1].
[bypass -h multisell?id= 2].
[bypass -h multisell?id=].
This has to do with the fact the html for agit doesnt close after you click it, therefor doesnt fetch the html again, and doesnt add the commands again, reporting it as invalid and denying it. You can ignore the warnings.
Quote:

[bypass -h _agitauclist].
[bypass -h _agitaucmy].

tontor 13.10.2005 01:11

Quote:

However this one is related in some way, but i need the base address of the dll if you could click on the console icon in top left and edit->mark all, copy it right after it loads the dll and paste to me here, i can tell what call its in. Looks like stack got messed up returning somewhere it shouldn't.
Quote:

link patch failed: offset:5154b9 size:7 newcall_loc:209d21f0
teleport patch failed: offset:515ffa size:22 newcall_loc:209d2240
Revert these changes i mentioned in one of my other posts and see if you continue to have problems.

bob1122 13.10.2005 03:39

ok it used to work now its bugged, im having the 1hour problem ...

Code:

Server Up Time Wed Oct 12 21:36:21 2005

Current Time : Wed Oct 12 23:24:42 2005

Elapsed Time : 0 days 1 hours 48 minutes 21 seconds
IOBufferPool - 2975

[(3912) 2005/10/12 23:24:42]: =======================
an Access Violation in module patch.dll at 001b:209f12a8.
start at 2005/10/12 21:36:18
Read from location 00001a88 caused an access violation.

Registers:
EAX=6cf7feb8 CS=001b EIP=209f12a8 EFLGS=00010202
EBX=6e512f80 SS=0023 ESP=6cf7fe14 EBP=6cf7fe58
ECX=00000003 DS=0023 ESI=00000000 FS=003b
EDX=006c0d68 ES=0023 EDI=983b52b4 GS=0000
Bytes at CS:EIP:
ff b6 88 1a 00 00 e8 8d 0c 00 00 61 68 37 72 50
Stack dump:
6cf7fe14: 983b52b4 00000000 6cf7fe58 6cf7fe34 6e512f80 006c0d68 00000003 6cf7feb8
6cf7fe34: 983b52b4 00000002 6e512f80 00491b2a 2ed9c220 6e512f80 6cf7feb8 005ad1a0
6cf7fe54: ffffffff 6cf7fec4 0050fa78 983b52b4 6e512f93 123d3e7d 983b52b4 77e4193e
6cf7fe74: 00539c15 034954a0 68631a28 2d0cbb80 6d267200 0053ae34 0061d030 0000060e
6cf7fe94: 123d3e6a 00000000 123d3e7d 00000001 00000025 006c0794 31ce903c 6e512f80
6cf7feb4: 6cf7fe68 6cf7fee4 005ad778 ffffffff 6cf7fef0 00539866 123d3e7d 983b52b4
6cf7fed4: 77e4193e 6cf7ff0c 6cf7feec 6cf7fecc 6cf7ff6c 005afaa0 ffffffff 6cf7ff78
6cf7fef4: 0053be2a 00000025 00000001 0053cbe6 00000001 00000025 983b65a4 00000000
6cf7ff14: 00000000 6865eb20 00000000 00001000 00010000 bffeffff 00000001 00000001
6cf7ff34: 0000024a 00010000 1f00000f 00000000 00000000 00000000 00000000 00000025


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  :

... And suggestions tontor ?

tontor 13.10.2005 06:39

Quote:

Originally Posted by bob1122
ok it used to work now its bugged, im having the 1hour problem ...

Code:

Server Up Time Wed Oct 12 21:36:21 2005

Current Time : Wed Oct 12 23:24:42 2005

Elapsed Time : 0 days 1 hours 48 minutes 21 seconds
IOBufferPool - 2975

[(3912) 2005/10/12 23:24:42]: =======================
an Access Violation in module patch.dll at 001b:209f12a8.
start at 2005/10/12 21:36:18
Read from location 00001a88 caused an access violation.

Registers:
EAX=6cf7feb8 CS=001b EIP=209f12a8 EFLGS=00010202
EBX=6e512f80 SS=0023 ESP=6cf7fe14 EBP=6cf7fe58
ECX=00000003 DS=0023 ESI=00000000 FS=003b
EDX=006c0d68 ES=0023 EDI=983b52b4 GS=0000
Bytes at CS:EIP:
ff b6 88 1a 00 00 e8 8d 0c 00 00 61 68 37 72 50
Stack dump:
6cf7fe14: 983b52b4 00000000 6cf7fe58 6cf7fe34 6e512f80 006c0d68 00000003 6cf7feb8
6cf7fe34: 983b52b4 00000002 6e512f80 00491b2a 2ed9c220 6e512f80 6cf7feb8 005ad1a0
6cf7fe54: ffffffff 6cf7fec4 0050fa78 983b52b4 6e512f93 123d3e7d 983b52b4 77e4193e
6cf7fe74: 00539c15 034954a0 68631a28 2d0cbb80 6d267200 0053ae34 0061d030 0000060e
6cf7fe94: 123d3e6a 00000000 123d3e7d 00000001 00000025 006c0794 31ce903c 6e512f80
6cf7feb4: 6cf7fe68 6cf7fee4 005ad778 ffffffff 6cf7fef0 00539866 123d3e7d 983b52b4
6cf7fed4: 77e4193e 6cf7ff0c 6cf7feec 6cf7fecc 6cf7ff6c 005afaa0 ffffffff 6cf7ff78
6cf7fef4: 0053be2a 00000025 00000001 0053cbe6 00000001 00000025 983b65a4 00000000
6cf7ff14: 00000000 6865eb20 00000000 00001000 00010000 bffeffff 00000001 00000001
6cf7ff34: 0000024a 00010000 1f00000f 00000000 00000000 00000000 00000000 00000025


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  :

... And suggestions tontor ?




Null csocket struct, and there was no check for it before access was made, sounds like user disconnected as making a request. I know exactly what this issue is and it is an error on my part. Almost finished fixing something from another dump someone posted to me, then i will fix this one. Thanks for the feedback. Should be able to post a new dll sometime soon.

lich 13.10.2005 11:40

I think same problem as bob1122 has

Quote:

Server Up Time Thu Oct 13 13:21:05 2005

Current Time : Thu Oct 13 16:02:26 2005

Elapsed Time : 0 days 2 hours 41 minutes 21 seconds
IOBufferPool - 2167

[(708) 2005/10/13 16:02:26]: =======================
an Access Violation in module patch.dll at 001b:20a112a8.
start at 2005/10/13 13:20:58
Read from location 00001a88 caused an access violation.

Registers:
EAX=708cfeb8 CS=001b EIP=20a112a8 EFLGS=00010202
EBX=75191720 SS=0023 ESP=708cfe14 EBP=708cfe58
ECX=00000003 DS=0023 ESI=00000000 FS=003b
EDX=006c0d68 ES=0023 EDI=8c1d2f14 GS=0000
Bytes at CS:EIP:
ff b6 88 1a 00 00 e8 3d 0c 00 00 61 68 37 72 50
Stack dump:
708cfe14: 8c1d2f14 00000000 708cfe58 708cfe34 75191720 006c0d68 00000003 708cfeb8
708cfe34: 8c1d2f14 00000002 75191720 8c0dd300 00000000 75191720 708cfeb8 005ad1a0
708cfe54: ffffffff 708cfec4 0050fa78 8c1d2f14 75191733 0bb101ca 8c1d2f14 77e4193e
708cfe74: 00000001 708cfedc 00000000 71c012ca 0039ba30 0039ba30 71c11a16 000003e5
708cfe94: 0bb101b7 00398c30 000003e5 708cff78 00000025 006c0794 31cc906c 75191720
708cfeb4: 708cfe68 708cfee4 005ad778 ffffffff 708cfef0 00539866 0bb101ca 8c1d2f14
708cfed4: 77e4193e 708cff0c 708cfeec 708cfecc 708cff6c 005afaa0 ffffffff 708cff78
708cfef4: 0053be2a 00000025 00000001 0053cbe6 00000001 00000025 8c1d4204 00000000
708cff14: 00000000 73c7bba0 00000000 00001000 00010000 bffeffff 00000003 00000002
708cff34: 0000024a 00010000 0209000f ffdff900 e0b58b40 fadeb858 fadeb7b8 00000025


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 :

anoma 13.10.2005 14:24

7 days server work's non-stop! Tnx, tontor RULZ

tontor 13.10.2005 14:28

Quote:

Server Up Time Thu Oct 13 13:21:05 2005

Current Time : Thu Oct 13 16:02:26 2005

Elapsed Time : 0 days 2 hours 41 minutes 21 seconds
IOBufferPool - 2167

[(708) 2005/10/13 16:02:26]: =======================
an Access Violation in module patch.dll at 001b:20a112a8.
start at 2005/10/13 13:20:58
Read from location 00001a88 caused an access violation.

Registers:
EAX=708cfeb8 CS=001b EIP=20a112a8 EFLGS=00010202
EBX=75191720 SS=0023 ESP=708cfe14 EBP=708cfe58
ECX=00000003 DS=0023 ESI=00000000 FS=003b
EDX=006c0d68 ES=0023 EDI=8c1d2f14 GS=0000
Bytes at CS:EIP:
ff b6 88 1a 00 00 e8 3d 0c 00 00 61 68 37 72 50
Stack dump:
708cfe14: 8c1d2f14 00000000 708cfe58 708cfe34 75191720 006c0d68 00000003 708cfeb8
708cfe34: 8c1d2f14 00000002 75191720 8c0dd300 00000000 75191720 708cfeb8 005ad1a0
708cfe54: ffffffff 708cfec4 0050fa78 8c1d2f14 75191733 0bb101ca 8c1d2f14 77e4193e
708cfe74: 00000001 708cfedc 00000000 71c012ca 0039ba30 0039ba30 71c11a16 000003e5
708cfe94: 0bb101b7 00398c30 000003e5 708cff78 00000025 006c0794 31cc906c 75191720
708cfeb4: 708cfe68 708cfee4 005ad778 ffffffff 708cfef0 00539866 0bb101ca 8c1d2f14
708cfed4: 77e4193e 708cff0c 708cfeec 708cfecc 708cff6c 005afaa0 ffffffff 708cff78
708cfef4: 0053be2a 00000025 00000001 0053cbe6 00000001 00000025 8c1d4204 00000000
708cff14: 00000000 73c7bba0 00000000 00001000 00010000 bffeffff 00000003 00000002
708cff34: 0000024a 00010000 0209000f ffdff900 e0b58b40 fadeb858 fadeb7b8 00000025


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 :
Yep, same problem should be resolved in next dll i post.

avatard 13.10.2005 14:28

wtb anoma's l2server.exe.. only managed to get a clean exe to run for 5 hours.. could have been a problem with something else though :[

darkagent 13.10.2005 15:24

3 days uptime.. all works fine.. great thx 2 tontor
all patches fine...

p.s. patched from original l2server.exe (just have some old distribs..)

demon 13.10.2005 17:50

the big question is HOW MANY ONLINE PLAYERS U HAVE ? coze it works only for 350 and less lol with 1000 1200 = crash crash crash

horyfilipe 13.10.2005 17:57

yeah i keep freezing even with ldragonl.. actualy its freezing less.. but still.. average is 3h online, 1,3k players

Eliot 13.10.2005 20:59

You are freezing because this software was not ment to run 1200 players on a single or dual machine.
Our poor C1 servers are just beta/test versions for L2 developers RELEASED by the chinese. These never were ment to hold ANY players at all. They are like EMUs of the real servers. Because the real ones, even Prelude, run on 7 machines, dual 1.4ghz each with 6gb ram each...
Besides i dont think that tontor .dll is able to handle such humongous number of data flowing thru this "proxy" program. It's very simple to begin with.

LDragonL 13.10.2005 21:01

Yep, confirmed, mine freezed/crashed too at random times today.
Can someone please share us a clean l2server.exe cos i'm not sure mine wasn't patched before, considering the freezes, appearantly it was :(
Looking forward to Tontor's new fix.
Btw, i have an average of 12 players left now.
My system is p43,4ghz with 2gb ddram400.
Anyway if someone has a nice auto reboot/keepalive script, it's welcome too as a temporary solution to this little problem.

e2x 13.10.2005 21:22

ok, tired of searching for a nice tool..
im gona make a service and a web site for check AND manage server status..
Anyone interested? im gona use c#.net or vb.net for this..

Sauron 13.10.2005 21:26

Quote:

Originally Posted by demon
the big question is HOW MANY ONLINE PLAYERS U HAVE ? coze it works only for 350 and less lol with 1000 1200 = crash crash crash

1300 players, 2 days uptime

LDragonL 13.10.2005 22:08

Quote:

Originally Posted by e2x
ok, tired of searching for a nice tool..
im gona make a service and a web site for check AND manage server status..
Anyone interested? im gona use c#.net or vb.net for this..

Would be very nice when u can !

tontor 14.10.2005 11:13

Fixed the null user struct problem, a stack issue, and a few other little things. Updated dll below.

Domzelan 14.10.2005 11:25

I dont understand, if i have
link patch failed: offset:5154b9 size:7 newcall_loc:209d21f0
teleport patch failed: offset:515ffa size:22 newcall_loc:209d2240
this errors - is my server safe from hackers?


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