Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.06.2006, 08:20   #1
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default [TipShare] affect_scope=ally

This is my last share, i'm out =(
The correct person with the sufficient knowledge can do this.

TARGET_PARTY
004D4F65 . FF52 54 CALL DWORD PTR DS:[EDX+54]
004D4F68 . 84C0 TEST AL,AL
004D4F6A . 74 5A JE SHORT l2server.004D4FC6 -> 004D4FC6 > 8B4D F4 MOV ECX,DWORD PTR SS:[EBP-C]
004D4F6C . 8B06 MOV EAX,DWORD PTR DS:[ESI]
004D4F6E . 8BCE MOV ECX,ESI
004D4F70 . FF50 6C CALL DWORD PTR DS:[EAX+6C]
004D4F73 . 8B17 MOV EDX,DWORD PTR DS:[EDI]
004D4F75 . 8BCF MOV ECX,EDI
004D4F77 . 8BF0 MOV ESI,EAX
004D4F79 . FF52 78 CALL DWORD PTR DS:[EDX+78]
004D4F7C . 56 PUSH ESI
004D4F7D . 8BC8 MOV ECX,EAX
004D4F7F . E8 DC430100 CALL l2server.004E9360 -> Function::IsMyParty


TARGET_PLEDGE
004D5025 . FF52 18 CALL DWORD PTR DS:[EDX+18]
004D5028 . 84C0 TEST AL,AL
004D502A . 74 5A JE SHORT l2server.004D5086 -> 004D5086 > 8B4D F4 MOV ECX,DWORD PTR SS:[EBP-C]
004D502C . 8B06 MOV EAX,DWORD PTR DS:[ESI]
004D502E . 8BCE MOV ECX,ESI
004D5030 . FF50 78 CALL DWORD PTR DS:[EAX+78]
004D5033 . 8B17 MOV EDX,DWORD PTR DS:[EDI]
004D5035 . 8BCF MOV ECX,EDI
004D5037 . 8BF0 MOV ESI,EAX
004D5039 . FF52 78 CALL DWORD PTR DS:[EDX+78]
004D503C . 56 PUSH ESI
004D503D . 8BC8 MOV ECX,EAX
004D503F . E8 FC430100 CALL l2server.004E9440 -> The code after this.

004E9440 /$ 8B81 540F0000 MOV EAX,DWORD PTR DS:[ECX+F54]
004E9446 |. 8B80 98020000 MOV EAX,DWORD PTR DS:[EAX+298]
004E944C |. 85C0 TEST EAX,EAX
004E944E |. 74 1A JE SHORT l2server.004E946A
004E9450 |. 8B4C24 04 MOV ECX,DWORD PTR SS:[ESP+4]
004E9454 |. 8B91 540F0000 MOV EDX,DWORD PTR DS:[ECX+F54]
004E945A |. 3B82 98020000 CMP EAX,DWORD PTR DS:[EDX+298]
004E9460 |. 75 08 JNZ SHORT l2server.004E946A
004E9462 |. B8 01000000 MOV EAX,1
004E9467 |. C2 0400 RETN 4
004E946A |> 33C0 XOR EAX,EAX
004E946C \. C2 0400 RETN 4

Good Luck People. GO OUT LEECHERS
RipperX is offline  
Old 11.06.2006, 08:27   #2
silverdog
Архивный участник
 
Join Date: Apr 2005
Posts: 42
Default

Nice share, I was going to look at this tonight

Thanks.
silverdog is offline  
Old 11.06.2006, 08:39   #3
mantrastic
Архивный участник
 
Join Date: Apr 2006
Posts: 338
Default

nice , tnx!
mantrastic is offline  
Old 11.06.2006, 08:40   #4
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Ripper is definetely awesome :]
tpuNIsher is offline  
Old 11.06.2006, 09:41   #5
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

RipperX:
Wow!
Superbest share I think!
But I'm not an asmer and I understand nothing. :cry:
If anyone can help - send me a pm.
Thanks...
hel is offline  
Old 11.06.2006, 09:41   #6
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

.text:004E9360 55 8B EC 6A FF 68 90 BE 5A 00 64 A1 00 00 00 00 Uï8j hÉ+Z.dí....

if you look right.. you would know without this pointing out :]

*Thank Ripper already.....stop fucking leeching alone...*
Yours..
-NeosinneR
tpuNIsher is offline  
Old 11.06.2006, 09:52   #7
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

tpuNIsher:
If it hex is completed, I'll thanked you very much.

P.S.: I'm not a leecher.
I just don't know asm. :P
hel is offline  
Old 11.06.2006, 10:42   #8
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

No its not..
that address should be.. function ismyparty...

look down from there ...
mod..



done.
tpuNIsher is offline  
Old 11.06.2006, 11:23   #9
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

tpuNIsher:
You mean this is a party and pledge codes?
004D4F7F . E8 DC430100 CALL l2server.004E9360 -> Function::IsMyParty
and
004D503F . E8 FC430100 CALL l2server.004E9440 -> The code after this.
---
As I understand, function (for example IsMyPledge ("The code after this." as I understand, I need to replace it with this calling a function?) (may be I'm wrong)) after applying new code IsMyPledge working as IsMyAlly?
Correct me if I'm wrong.
Thanks...
hel is offline  
Old 11.06.2006, 12:04   #10
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

I will not correct you. Ripper wouldn't be happy..

Ask him. Not me..

Anyways.. Concept is "There is no IsMyAlly function in l2server.exe ( c1)
So... let us change a similar function to make it..."
tpuNIsher is offline  
Old 11.06.2006, 12:19   #11
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Quote:
let us change a similar function to make it...
You mean correct IsMyPledge function for return result value to TARGET_PLEDGE?
I confused.
hel is offline  
Old 11.06.2006, 18:04   #12
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

Quote:
Originally Posted by hel
Quote:
let us change a similar function to make it...
You mean correct IsMyPledge function for return result value to TARGET_PLEDGE?
I confused.
Modify Target_Pledge function to create a Target_Ally function.
RipperX is offline  
Old 11.06.2006, 18:08   #13
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

RipperX:
Lol...
I completely don't know asm and be waiting for completed fix. (if anyone will share it)
Thanks for reply.
hel is offline  
Old 11.06.2006, 19:23   #14
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Well, in theory, there is two ways to add in target_ally (or target_alliance)

You can add a target_ally to the actual skill parser, and set up the functions to recognize it.

Second, you can hook IsMyPledge, check the skill ID, and then manually buff the entire alliance depending on if the skill is an alliance skill or not.

The first one is the better way, but it's harder to do.


Btw, thanks for the share RipperX. I will try my best to put this to use and RELEASE the fix after I figure it out. I owe my L2 server knowledge to this forum, and I should do no less than try to give something back.
mcrabben7 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 17:05.