Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.05.2006, 19:17   #1
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default someone want talk about linex.dll?

hm, here is party packet stored in linex after main switch, red line is critical for offline inviting.

btw i can include it in any another exe, but it need some patient coz all exe is diferen, so need do it step by step, if someone neede we can start it here.

/piece of main switch 29h - party packet header/

.text:10003F1E
.text:10003F1E loc_10003F1E: ; CODE XREF: sub_10003E48+C1j
.text:10003F1E cmp eax, 29h
.text:10003F21 jnz short loc_10003F30
.text:10003F23 push [ebp+arg_0]
.text:10003F26 call sub_10002FC9
.text:10003F2B jmp loc_1000404C

/exit from main switch proc/
.text:1000404C loc_1000404C: ; CODE XREF: sub_10003E48+71j
.text:1000404C ; sub_10003E48+89j ...
.text:1000404C mov ebx, [ebp+arg_0]
.text:1000404F cmp byte ptr [ebx], 0A8h
.text:10004052 jbe short loc_10004072
.text:10004054 mov byte ptr [ebx], 0A8h
.text:10004057 mov word ptr [ebx-2], 1
.text:1000405D jmp short loc_10004072


.text:10004072 loc_10004072: ; CODE XREF: sub_10003E48+20Aj
.text:10004072 ; sub_10003E48+215j ...
.text:10004072 popa
.text:10004073 pop esi
.text:10004074 pop edi
.text:10004075 pop ebx
.text:10004076 leave
.text:10004077 retn 4
.text:10004077 sub_10003E48 endp

/code/
.text:10002FC9 push ebp
.text:10002FCA mov ebp, esp
.text:10002FCC add esp, 0FFFFFFF4h
.text:10002FCF push ebx
.text:10002FD0 push esi
.text:10002FD1 push edi
.text:10002FD2 pusha
.text:10002FD3 mov ebx, [ebp+arg_0]
.text:10002FD6 mov eax, ebx
.text:10002FD8 add eax, 1
.text:10002FDB push eax
.text:10002FDC call sub_10001AAD
.text:10002FE1 mov [ebp+var_4], eax
.text:10002FE4 mov eax, [eax+18h]
.text:10002FE7 mov [ebp+var_8], eax
.text:10002FEA push 2800h ; dwBytes
.text:10002FEF push 40h ; uFlags
.text:10002FF1 call GlobalAlloc
.text:10002FF6 or eax, eax
.text:10002FF8 jz short loc_10002FFF
.text:10002FFA mov [ebp+hMem], eax
.text:10002FFD jmp short loc_10003001
.text:10002FFF ; ---------------------------------------------------------------------------
.text:10002FFF
.text:10002FFF loc_10002FFF: ; CODE XREF: sub_10002FC9+2Fj
.text:10002FFF jmp short loc_10003024
.text:10003001 ; ---------------------------------------------------------------------------
.text:10003001
.text:10003001 loc_10003001: ; CODE XREF: sub_10002FC9+34j
.text:10003001 push [ebp+var_8]
.text:10003004 push offset aRequestpartyPa ; "RequestParty Packet Received, the Objec"...
.text:10003009 push [ebp+hMem] ; LPSTR
.text:1000300C call wsprintfA
.text:10003011 add esp, 0Ch
.text:10003014 push [ebp+hMem]
.text:10003017 call sub_10001035
.text:1000301C push [ebp+hMem] ; hMem
.text:1000301F call GlobalFree
.text:10003024
.text:10003024 loc_10003024: ; CODE XREF: sub_10002FC9:loc_10002FFFj
.text:10003024 mov eax, [ebp+var_8]
.text:10003027 mov [ebx+1], eax
.text:1000302A mov dword ptr [ebx+5], 0
.text:10003031 mov word ptr [ebx+9], 599h
.text:10003037 mov word ptr [ebx-2], 0Bh
.text:1000303D popa
.text:1000303E pop edi
.text:1000303F pop esi
.text:10003040 pop ebx
.text:10003041 leave
.text:10003042 retn 4
.text:10003042 sub_10002FC9 endp

/objectID conversion/
.text:10001AAD ; --------------- S U B R O U T I N E ---------------------------------------
.text:10001AAD
.text:10001AAD ; Attributes: bp-based frame
.text:10001AAD
.text:10001AAD sub_10001AAD proc near ; CODE XREF: sub_10002FC9+13p
.text:10001AAD
.text:10001AAD var_A0 = dword ptr -0A0h
.text:10001AAD var_C = dword ptr -0Ch
.text:10001AAD arg_0 = dword ptr 8
.text:10001AAD
.text:10001AAD push ebp
.text:10001AAE mov ebp, esp
.text:10001AB0 add esp, 0FFFFFF60h
.text:10001AB6 push ebx
.text:10001AB7 push edi
.text:10001AB8 push esi
.text:10001AB9 lea eax, [ebp+var_A0]
.text:10001ABF push eax
.text:10001AC0 push [ebp+arg_0]
.text:10001AC3 mov eax, 517B90h
.text:10001AC8 call eax
.text:10001ACA add esp, 8
.text:10001ACD sub esp, 124h
.text:10001AD3 mov esi, esp
.text:10001AD5 xor ebx, ebx
.text:10001AD7 mov dword ptr [esi+120h], 8Bh
.text:10001AE1 mov [esi+11Ch], ebx
.text:10001AE7 mov [esi+4], bx
.text:10001AEB lea edx, [ebp+var_A0]
.text:10001AF1 push edx
.text:10001AF2 mov eax, 58C8B6h
.text:10001AF7 call eax
.text:10001AF9 add esp, 4
.text:10001AFC push eax
.text:10001AFD lea eax, [ebp+var_A0]
.text:10001B03 push eax
.text:10001B04 mov ecx, esi
.text:10001B06 mov eax, 406970h
.text:10001B0B call eax
.text:10001B0D lea ecx, [ebp+var_C]
.text:10001B10 push ecx
.text:10001B11 mov ecx, 16922550h
.text:10001B16 mov eax, 41E4D0h
.text:10001B1B call eax
.text:10001B1D mov eax, [ebp+var_C]
.text:10001B20 pop esi
.text:10001B21 pop edi
.text:10001B22 pop ebx
.text:10001B23 leave
.text:10001B24 retn 4
.text:10001B24 sub_10001AAD endp
.text:10001B24
.text:10001B27
.text:10001B27 ; --------------- S U B R O U T I N E ---------------------------------------

russians understand me: its realy popa as ida say ".text:10004072 popa" XDD

something else?
i have another packet, but he have critical in exe, but can be use in dll after some changes)
Aspire is offline  
Old 19.05.2006, 19:27   #2
Bacek
Архивный участник
 
Join Date: Apr 2006
Posts: 110
Default

Aspire, one question, AutoSS which released in this dll - it is on dll side or on server side in hex fix?
Bacek is offline  
Old 19.05.2006, 19:28   #3
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

dll
Aspire is offline  
Old 19.05.2006, 19:38   #4
Bacek
Архивный участник
 
Join Date: Apr 2006
Posts: 110
Default

OK, is it possible to fix it? because it very bugy.. Do you have sources?
Bacek is offline  
Old 19.05.2006, 19:41   #5
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

so 1st step to include linex.dll into cmd of L2server:
[code]
16906: 33 c9
16908: 51
16909: 51
1690a: e8 aa 59 17 00
1690f: cc
16910: a3 9c 88 2f 20
16915: 68 4c ae 66 00
1691a: ff 15 14 52 5b 00
16920: 85 c0
16922: 0f 85 a5 99 17 00
16928: cc

from 16929 to 1693f fill with nop (90)

16940 c3

from 16941 to 16a5f fill with nop (90)
(16a60: 55)


1902c8: e9 43 66 e8 ff

26ae4c: 6c 69 6e 65 78 2e 64 6c 00


now when you run L2server you will get error notices, in that window will be shown offset where patch engine failed, for guys who know what to do: look on chinese exe from ezme at that offests and correct data in your exe, for all others - post here, i will reply.
Aspire is offline  
Old 19.05.2006, 19:42   #6
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

Interesting! Aspire plz answer in ICQ
Domzelan is offline  
Old 19.05.2006, 19:45   #7
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

post here.
Aspire is offline  
Old 19.05.2006, 19:55   #8
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

What can i say?
clan title dont work - clint crush
/invite offline - server crash
I try (use knowlage witch you can give to me) but i cant fix it - i think u can...
Domzelan is offline  
Old 19.05.2006, 20:02   #9
Bacek
Архивный участник
 
Join Date: Apr 2006
Posts: 110
Default

Aspire, thanks! One more question, I was trying to apply a few hex fixes for AvE effect, no one is correct, actually I do not understand completly how this fixes is working, which functions it's apply.. Can you please explain how make AvE working with this dll? Or it is also non server side?
Bacek is offline  
Old 19.05.2006, 20:05   #10
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

hm, EvE from HF pack basicaly work with this dll
Aspire is offline  
Old 19.05.2006, 20:14   #11
Bacek
Архивный участник
 
Join Date: Apr 2006
Posts: 110
Default

Quote:
Originally Posted by Aspire
hm, EvE from HF pack basicaly work with this dll
I used PP release, it doesnt work! No party buff, no AvE! Maybe it different with C4, because I working on C4 server, on client side I using fldrv.dll and l2ex.ini to connect. Even more I was looking in winhex, and found that offset is different, I found right one, trying apply but it still dosen't work, and no crashes, no errors..
Bacek is offline  
Old 19.05.2006, 20:16   #12
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Aspire, what are u trying to do ? fix linex.dll to work without crashes ? it will be very good...

or only attach to other l2server ?
FidoW is offline  
Old 19.05.2006, 20:18   #13
ZeroCoOl
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

yes, it will be fantastic!
ZeroCoOl is offline  
Old 19.05.2006, 20:24   #14
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Attaching linex.dll to other server, for what? :|
I think, this codes for discuss, how to fix errors, but maybe I'm wrong?
hel is offline  
Old 19.05.2006, 20:39   #15
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

hm, coz my own exe much better than ezmes)

i will not fix anything self - want to discuss go on, for its pice of shit i wont use it, but still can fix some features self(
Aspire is offline  
Old 19.05.2006, 21:17   #16
ZeroCoOl
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

Aspire, what is now workinig in your exe? multisell paty? ave? or something else?
ZeroCoOl is offline  
Old 19.05.2006, 21:22   #17
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

nothing, someone delete my screens from here, so in my exe work nothing.

i still dont get any help to fix party, so i stay on it and still trying to understand packet structure, coz i know what to fix but dont find where is it XDD

without party all my work is bullshit, so at this moment i have nothing as i think:P

and Thruth dont wanna ban me here, im a bad guy, very bad, im trying get a ban, but still cant get it, heh i will try again later:P
Aspire is offline  
Old 19.05.2006, 21:31   #18
ZeroCoOl
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

hmm... maybe i will help you, if i can!
ZeroCoOl is offline  
Old 19.05.2006, 21:44   #19
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

heh lets try it, if you try search party packet by sighnet constant - you will find this part:
110a3d:...

near you will see signature: JoinPartyPacket

but if you will try to search that packet by error codes from systemessage - you will get another offset without any jumps or call from first one, i just tryin to understand work algorith
Aspire is offline  
Old 19.05.2006, 21:46   #20
ZeroCoOl
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

yeah, i will see it tomorrow. Aspire pm me, i'll give you my icq
ZeroCoOl is offline  
Old 19.05.2006, 22:12   #21
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

hm, maybe better will be use party patch from zzcats dll, different patch engine but work without problems, can trace all steps and then we will se what and where, both patch engine hook "GetCmd" proc, so party can be realized like fix for /loc... maybe, maybe not:P
Aspire is offline  
Old 20.05.2006, 01:16   #22
GamesX
Архивный участник
 
Join Date: Apr 2006
Posts: 52
Default

Quote:
Originally Posted by Domzelan
What can i say?
clan title dont work - clint crush
/invite offline - server crash
I try (use knowlage witch you can give to me) but i cant fix it - i think u can...
He tries to enter in the server with a System different from which he also supports crash the server!
GamesX is offline  
Old 20.05.2006, 03:44   #23
khul
Архивный участник
 
Join Date: Oct 2005
Posts: 153
Default

i think this is most indicated thread to place this ,maybe is stupid idea but coudnt we change the name of the comand and rename it to something else that no1 but yourself will ever know and therefore protect us from server crash ? such as changing /invite por /invitx or whatever? delete mi post if idea is too stupid... :P
khul is offline  
Old 20.05.2006, 07:33   #24
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

Quote:
Originally Posted by khul
i think this is most indicated thread to place this ,maybe is stupid idea but coudnt we change the name of the comand and rename it to something else that no1 but yourself will ever know and therefore protect us from server crash ? such as changing /invite por /invitx or whatever? delete mi post if idea is too stupid... :P
You mean - turn off party? ))
Domzelan is offline  
Old 20.05.2006, 11:31   #25
vandalheart
Архивный участник
 
Join Date: Feb 2005
Posts: 24
Default

Think rename only /invite to /something, party still can work with Party Button, or i'm wrong ?
vandalheart is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:47.