Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [TUTORIAL][HEX]Removing "Incorrect target." (https://postpacific.mmorpg-game.online/showthread.php?t=2120)

bwgreen 07.10.2005 09:25

Wow......... *no comment, just cash*

flakka 07.10.2005 10:00

Woot! Thanks Livid! :D

I;m gonna take that piece of knowlege and go off to mess with the server. :P I'm sure we can use it to apply other things like the abnormal visual effects. :D

tasol 07.10.2005 11:06

Livid !!!!! sorry for my noob's question but can you post your topic in rus language plzzzz!!! becaus my english simply bad and some words i don't understand...

hamidouch 07.10.2005 11:16

ty livid,
really nice info

toolpunk 07.10.2005 11:35

thx livid.
especially for the guide on how to find such things.
will be pretty useful. mb now someone can fix the skill animations :D
more info = higher chance hehe
so :thumbup:

HF 07.10.2005 11:54

sorry, i'm leecher :) Tell me please someone, 5470EE - UE compatible address?

wton 07.10.2005 12:09

jjjaa

thanks livid, nice

^^

toolpunk 07.10.2005 13:39

hmm
thx for this tip :)
so basically someone who knows java could help it. at least it would be useful for getting an idea on what to change...

Livid 07.10.2005 13:57

o_O WHo has deleted my post O_o

dio2 07.10.2005 14:17

why? post again :lol:

Livid 07.10.2005 14:27

Ok, repeating post, cuz i found a man who deleted mine... <_<
I wouldn't mind duel in verbal form, but not like that - that ruins a comunity.

Don't know how can that be useful on actual server, but in my testing (im working with skills stuff currently) it helps a lot so you don't need to run N clients on your PC.Ok, to the topic, thic simple hex removes check of target validity. So that any target considered valid. It doesn't remove peace zone etc etc.
Code:

005470EE    /EB 2D        JMP SHORT L2server.0054711D
That's it. Simple, huh? It was harder to find it then to change.

Small tip on how to find such things:
you can search exe for appropriate constant push. Like, in this case, server replied with "Invalid target" system message.
Look into systemmsg-e.dat (well, I used .txt, I hope you can decode it) Search for 'Incorrect target.' So that you will know the ID. It is 109dec = 6Dhex (you can use windows calc to convert if you need that (cf. if your brain works in decimal system instead of binary =p))
Ok, search l2server.exe for
0054710E . 6A 6D PUSH 6D
(it is 6a6d in opcodes if you wonder)
There will be just nine occurences. Now you can either add breakpoints there in debugger and then raise "Incorrect target" event, either use common sense. I used second if you wonder.
Then just scroll assembly up until you see some conditional jump that skips over this section or into this section and either change it to unconditional, or remove it (replace with nops) according to what you need.
Method is rather easy, isn't it. Longer to tell then to do.

bwgreen 07.10.2005 15:12

why was it deleted livid? flakka? anyone? HELP.. my kittens are attacking!!

Livid 07.10.2005 15:41

tip:search for a banned developer <_<

flakka 07.10.2005 21:19

Wasn't me, I didn't do anything.

Thanks for reposting it, Livid. :)

Domzelan 07.10.2005 21:35

Russian Mafia - fighting :)))

Plutonium239 07.10.2005 21:57

Yep! :D

Eliot 07.10.2005 22:31

Hmmm....so that's why some helpfull topics were removed a month ago...

Livid 08.10.2005 15:26

o_O That was not my wor at least -_-

lexa 22.10.2005 20:47

So I have not understood it is necessary to change EB 2D, or EB 0D
EB 2D - JMP SHORT 0054713D, and EB 0D - JMP SHORT 0054711D

khul 23.10.2005 08:36

thanks for your share Livid . maybe with goos share info like this maybe my brian will start to function again and ill be able to understand HEX eventually =)

P.S: pitty to see that that had happened here on this great comunity of such skillfulls devs. Not that you gotta be sorprised by this kind of events since you would be used to if if you ever been to Rz...

[/offtopic] what assembler you use? [offtopic]


All times are GMT. The time now is 21:45.