PDA

View Full Version : [TipShare] affect_scope=ally


RipperX
11.06.2006, 08:20
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

silverdog
11.06.2006, 08:27
Nice share, I was going to look at this tonight :D

Thanks.

mantrastic
11.06.2006, 08:39
nice , tnx! :D

tpuNIsher
11.06.2006, 08:40
Ripper is definetely awesome :]

hel
11.06.2006, 09:41
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...

tpuNIsher
11.06.2006, 09:41
.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

hel
11.06.2006, 09:52
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

tpuNIsher
11.06.2006, 10:42
No its not..
that address should be.. function ismyparty...

look down from there ...
mod..



done.

hel
11.06.2006, 11:23
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...

tpuNIsher
11.06.2006, 12:04
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..."

hel
11.06.2006, 12:19
let us change a similar function to make it...
You mean correct IsMyPledge function for return result value to TARGET_PLEDGE?
I confused. :(

RipperX
11.06.2006, 18:04
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.

hel
11.06.2006, 18:08
RipperX:
Lol...
I completely don't know asm and be waiting for completed fix. (if anyone will share it) :)
Thanks for reply.

mcrabben7
11.06.2006, 19:23
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.