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)

tontor 14.10.2005 11:33

Quote:

Originally Posted by Domzelan
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?

No. check my other posts in this thread for reverting changes neccesary to correct those failures.

iamrend 14.10.2005 13:39

nice work tontor :)

demon 14.10.2005 13:44

tontor, is there any possibility this patch.dll to have problem with ave ?
my server crash like.. anytime :) ONLY if i have more than 500 users usualy in 1000 so it crash always :) can u make it eat more ram ? than 30mb so it can handle or tell me what i can do. i have dual xeon 3.1 8gb ram its impossible to crash :/

horyfilipe 14.10.2005 13:49

demon i suppose you are running windows enterprise?

Eliot 14.10.2005 14:37

Im running Datacenter with /PAE and mine doesn't crash (similar config to Demon but 6gb ram instead of 8gb). And i dont have AvE.

LDragonL 14.10.2005 16:16

Quote:

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

Thanks tontor, i really appreciate all work you share.
:)

demon 14.10.2005 16:34

Yes horyfilipe,
i run win2k3 sp1 with /3GB /PAE and 10000 IoBufferPoolSize in both l2server,npc

Xadiaris 14.10.2005 16:44

Asxeto pros Demona (GEoDATA)
 
re si adelfe pou 8a bro C3 Geodata ola ta link edo eine break.

Mporeis na mou steilis?

demon 14.10.2005 18:42

1st rule, write in english
2nd rule, dont ask (first post?) use search
3rd rule, always follow rule 1 & 2

Sprinkle 14.10.2005 21:04

Thank you tontor

LDragonL 14.10.2005 22:53

Would anyone be so nice to share a clean C3 server exe with me ?
My l2server.exe keeps freezing and my npc server keeps crashing too.
I simply don't have a clean l2server.exe that works with this patch apperantly.

iamrend 14.10.2005 23:33

My l2server patched start to give lot of errors:
Inserting deleted object.
Safecast user
safecastcreature

tontor 14.10.2005 23:45

Quote:

Originally Posted by iamrend
My l2server patched start to give lot of errors:
Inserting deleted object.
Safecast user
safecastcreature

Safecasts are usually the result of inserting deleted object which almost always ends up in a crash. I have a feeling this is unrelated to the patch, its usually caused by a specific user calling a function to perform on an action on a null item, or item that no longer exists. Not really sure what causes this to happen but I've had these issues from time to time before ever applying any of my modifications.

Try getting rid of this user and you may see less problems. Find the error in your l2server log and get the exact time stamp, and check your cached log for entries very close to it. Often you will find a time stamp identical.

iamrend 15.10.2005 00:04

Ohh i banned a guy like you said me and now error no appear. Thanks tontor

iamrend 15.10.2005 00:13

i have a question. Your program advise in l2server each time a guy use a recipe, teleport, etc.
Because in my server appear "WARNING:....... recipe?id=20" recipe 20 is SSD but i looked in inventory and he has it.
http://img426.imageshack.us/img426/5161/hacks6xo.jpg
I dont know why. the player said me some times he didt use cheats or walker :?

Another ploblem is uptime. When server has 1h online he go down :(
error:
CACHED:
Code:

0/15/2005 03:26:xx.xx1, Error 22003:[Microsoft][ODBC SQL Server Driver][SQL Server]Error de desbordamiento aritmético al convertir expression al tipo de datos datetime.
10/15/2005 03:26:xx.xx1, Save Play Time Limit Error. [gold][0]
10/15/2005 03:26:xx.xx6, fetch error
10/15/2005 03:26:xx.xx6, sqlstate 24000
10/15/2005 03:26:xx.xx6, msgText [Microsoft][ODBC SQL Server Driver]Invalid cursor state
10/15/2005 03:26:xx.xx6, sql EXEC lin_LoadPledgeByName N'Avandor'
10/15/2005 03:26:xx.xx4, Error sql: EXEC lin_SaveTimeData 75487, 0, '2005-10-15 3:26:8' (0)
10/15/2005 03:26:xx.xx4, Error 22003:[Microsoft][ODBC SQL Server Driver][SQL Server]Error de desbordamiento aritmético al convertir expression al tipo de datos datetime.
10/15/2005 03:26:xx.xx4, Save Play Time Limit Error. [Blazyon][0]
10/15/2005 03:26:xx.xx4, Error sql: EXEC lin_SaveTimeData 66892, 0, '2005-10-15 3:26:24' (0)
10/15/2005 03:26:xx.xx4, Error 22003:[Microsoft][ODBC SQL Server Driver][SQL Server]Error de desbordamiento aritmético al convertir expression al tipo de datos datetime.
10/15/2005 03:26:xx.xx4, Save Play Time Limit Error. [jekan][0]
10/15/2005 03:26:xx.xx6, [Account.cpp][381] Cannot load day uesed time for account [74861]
10/15/2005 03:26:xx.xx6, [Account.cpp][321]Error. Cannot load Week play time, account id [74861]
10/15/2005 03:26:xx.xx6, [Account.cpp][381] Cannot load day uesed time for account [74861]
10/15/2005 03:26:xx.xx6, [Account.cpp][341]Error. Cannot load Week play time, account id [74861]

L2SERVER
Code:

10/15/2005 03:04:xx.xx5, WARNING: Possible exploit attempt ACCID:58202 CMD:[bypass -h recipe?id=20].
10/15/2005 03:04:xx.xx2, WARNING: Possible exploit attempt ACCID:58202 CMD:[bypass -h recipe?id=20].
10/15/2005 03:04:xx.xx6, WARNING: Possible exploit attempt ACCID:58202 CMD:[bypass -h recipe?id=20].
10/15/2005 03:05:xx.xx0, container NULL pos[179917, 23386] at file [world_server.cpp], line [568]
10/15/2005 03:06:xx.xx4, item [id:401053d4] null at file[UserSocket.cpp], line[898]

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()


jerrymouse 15.10.2005 07:49

tontor kavai, doomo arigatoo :)
thanks alot fot share
you can rely on me if you need any help.

demon 15.10.2005 09:01

well, i did set priority realtime to all l2server proccess (cached,auth,l2server,npc) ^^
(if u have slow cpu dont do it) and now i have all my (?) hexes working :) + patch.dll and no crash at least for now heheehe

melco 15.10.2005 10:25

new exception
Quote:

Server Up Time Sat Oct 15 13:03:01 2005

Current Time : Sat Oct 15 13:22:50 2005

Elapsed Time : 0 days 0 hours 19 minutes 49 seconds
IOBufferPool - 16732

[(3644) 2005/10/15 13:22:51]: =======================
an Access Violation in module ntdll.dll at 001b:7c817996.
start at 2005/10/15 13:02:59
Read from location fffffff8 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=7c817996 EFLGS=00010206
EBX=0000037f SS=0023 ESP=7253f61c EBP=7253f638
ECX=a53f0000 DS=0023 ESI=a53f0ed7 FS=003b
EDX=fffffff8 ES=0023 EDI=003b0178 GS=0000
Bytes at CS:EIP:
0f b7 32 8b 00 8d 5e 80 8b 31 3b de 0f 83 4d f9
Quote:

link patched: offset:5154b9 size:7 newcall_loc:20a52190
teleport patched: offset:515ffa size:22 newcall_loc:20a521f0
npchtml patched: offset:4a41f0 size:16 newcall_loc:20a513b0
bypass patched: offset:5156bf size:7 newcall_loc:20a51370
npcteleport patched: offset:4a95c7 size:6 newcall_loc:20a51350
talk_selected patched: offset:4a7a04 size:6 newcall_loc:20a51330
agit patched: offset:406828 size:18 newcall_loc:20a51300
cachedhtml patched: offset:5155ba size:6 newcall_loc:20a512e0
cachedhtml1 patched: offset:5155f9 size:6 newcall_loc:20a512c0
enterworld patched: offset:507231 size:6 newcall_loc:20a51290
recipe patched: offset:443ac8 size:6 newcall_loc:20a51270
sellitem patched: offset:457672 size:6 newcall_loc:20a51250
buyitem patched: offset:457c18 size:6 newcall_loc:20a51230
npcshowhtmlstring patched: offset:4a4594 size:6 newcall_loc:20a51210
npcshowbuypage patched: offset:4a9c80 size:6 newcall_loc:20a511f0
ctalkaction_onstart patched: offset:4d12c8 size:6 newcall_loc:20a511d0
clone patched: offset:4668e7 size:5 newcall_loc:20a51000
use latest dll ;)

iamrend 15.10.2005 10:35

with lattest dll you cant have more than 1k players :S

tontor 15.10.2005 12:45

Quote:

Server Up Time Sat Oct 15 13:03:01 2005

Current Time : Sat Oct 15 13:22:50 2005

Elapsed Time : 0 days 0 hours 19 minutes 49 seconds
IOBufferPool - 16732

[(3644) 2005/10/15 13:22:51]: =======================
an Access Violation in module ntdll.dll at 001b:7c817996.
start at 2005/10/15 13:02:59
Read from location fffffff8 caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=7c817996 EFLGS=00010206
EBX=0000037f SS=0023 ESP=7253f61c EBP=7253f638
ECX=a53f0000 DS=0023 ESI=a53f0ed7 FS=003b
EDX=fffffff8 ES=0023 EDI=003b0178 GS=0000
Bytes at CS:EIP:
0f b7 32 8b 00 8d 5e 80 8b 31 3b de 0f 83 4d f9
Please post a full dump from this error, need stack info and call return info.

LDragonL 15.10.2005 13:24

Hi guys, it really seems that if you put your server files' priority to realtime, the freezing issue doesn't seem to appear anymore.
I have the server running for 2,5 hours now and it didn't crash yet.
When it crashes i will post the dump, tonor.
Thnks again.

horyfilipe 15.10.2005 14:34

i have 2 servers.. one i limited to 800 players and the other 1,5k.. the 800 players is running for 8 hours at its limit (800 players on) at no crash(amazing).

The other with 1,5k limit, crashed with:

Elapsed Time : 0 days 2 hours 52 minutes 24 seconds
IOBufferPool - 8260

[(3800) 2005/10/15 04:33:57]: =======================
an Access Violation in module l2server.exe at 001b:005b4e59.
start at 2005/10/15 01:41:29
Write to location 0000003c caused an access violation.

Registers:
EAX=00000000 CS=001b EIP=005b4e59 EFLGS=00010206
EBX=00000000 SS=0023 ESP=6edffdf0 EBP=6edffe14
ECX=6edffe08 DS=0023 ESI=9953a96c FS=003b
EDX=3707ecd8 ES=0023 EDI=00000001 GS=0000
Bytes at CS:EIP:
c6 40 3c 01 6a 01 6a 00 54 ff b6 b8 19 00 00 e8
Stack dump:
6edffdf0: 992e66bc 00000002 00000000 6edffde0 6edffe4c 6edffdf0 6edffe4c 005ac6b0
6edffe10: ffffffff 6edffe58 00503181 00000026 70103f00 70103f00 992e66bc 00000002
6edffe30: 70103fe0 00000001 00013875 00000026 00000000 006c07cc 6edffe28 6edffeb8
6edffe50: 005acdf0 ffffffff 6edffec4 0050fa78 992e66bc 70103ff3 01da7f82 992e66bc
6edffe70: 77e6bb6d 00000001 6edffedc 00000000 71c02572 00338c10 6edffea0 71c0575e
6edffe90: 000003e5 01da7f5f 00336770 000003e5 6edfff78 0000000c 006c0794 2e838274
6edffeb0: 70103fe0 6edffe68 6edffee4 005ad778 ffffffff 6edffef0 00539866 01da7f82
6edffed0: 992e66bc 77e6bb6d 6edfff0c 6edffeec 6edffecc 6edfff6c 005afaa0 ffffffff
6edffef0: 6edfff78 0053be2a 0000000c 00000001 0053cbe6 00000001 0000000c 992e79ac
6edfff10: 00000000 00000001 6aef86b8 00000000 00001000 00010000 bffeffff 00000003


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

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

Eliot 15.10.2005 16:06

After applying newest .dll server started to randomly crash.

Error :

Code:

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 NpcShowPagePacket(NpcSocket* pSocket, const unsigned char *pPacket)

Any ideas ?

Eli

horyfilipe 15.10.2005 16:12

Hmm ive got same as Eliot as well

Eliot 15.10.2005 16:47

i reverted to 1010 version, we'll see what happens. 2 days ago it was stable like a rock.


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