Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ skill effect animations (https://postpacific.mmorpg-game.online/showthread.php?t=1803)

flakka 01.10.2005 21:38

Quote:

Originally Posted by Eliot
I gathered the information that we have so far, if You want it i'll post it so we dont have to look thru all 9 pages.

If it's a viable way to help people without handing them the keys to the airplane, then by all means... :P

But if it'll cause more posts like the one in this topic, then maybe you can post it here first, lol. That way, we can get confirmation of it working and I can just make it a sticky (sans the spam) when the [Tutorial] section opens.

Eliot 01.10.2005 21:41

Flakka, Your post Was a very nice and large way to say :

"These showing off screenshots are just annoying everyone. Nothing else."

That's how i felt reading it.

bob1122 01.10.2005 21:43

Allright we have a deal, If someone (Livid, Digital, someone that knows that their talking about) is willing to spend a day or however long it takes to teach me to disassemble, hex and whatever you want . Ill write up a üßer post (i have to say uber) On how to do all this and make it as noob friendly as possible, thus allot less b.s. questions. Since I love to know as much as possible (Information freak), I really dont mind writing guide's tutorials and more, if it benifts the greater community.

And because i want pathetically to be a dev

The reason i havn't written up a SQL tutorial to remove characters new passes, blah blah blah, is because i beleive it wont ever be searched for and will become pointless after about 4 weeks (probably more like 6/7 days). Time wasted.

flakka i swear to god, you must have been a english teacher, and me your student, haha a perfectionist language.

Enishi 01.10.2005 21:45

Hah who says it hasnt been searched for? ^^

Eliot 01.10.2005 21:49

Ok, here is all the info that we gathered, in one post.

1. From Hamidouch :
Quote:

6 addresses has to be hexed
2. From Torune :
Quote:

ABNORMAL_VISUAL_EFFECT_BLEEDING => 0x0001
ABNORMAL_VISUAL_EFFECT_POISON => 0x0002
ABNORMAL_VISUAL_EFFECT_STUN => 0x0040
ABNORMAL_VISUAL_EFFECT_SLEEP => 0x0080
ABNORMAL_VISUAL_EFFECT_ROOT => 0x0200
ABNORMAL_VISUAL_EFFECT_HOLD_1 => 0x0400
ABNORMAL_VISUAL_EFFECT_HOLD_2 => 0x0800
ABNORMAL_VISUAL_EFFECT_BIG_HEAD => 0x2000
ABNORMAL_VISUAL_EFFECT_FLAME => 0x4000
3. From deathor and ustas.

Quote:

0xaf PartyMatchList
0xb0 PartyMatchDetail
0xb1 PlaySound
0xb2 StaticObject
0xb3 PrivateSellList2
0xb4 PrivateBuyList2
0xb5 PrivateStoreMsg
0xb6 ShowMinimapPacket
0xb7 ReviveRequest (deprecated)
0xb8 AbnormalVisualEffect <------ xmmm Confused
0xba TutorialShowQuestionMark
0xbb TutorialEnableClientEvent
0xbc TutorialClose
0xbd ShowRadar
0xbe DeleteRadar
0xbf MyTargetSelected

0xb8 this is header from C1... C3 dont have this header? abnormal status info included in the end of charifo and npcinfo packet`s... I have fixed this for 60% ?( My server still post after npcinfo packe itemdrop packet... )

4. From Livid

Quote:

1) void CNPC::SendNPCInfo(User *pUser, bool NewlyCreated) resides at 004961C0
2) void CCreature::CheckAbnormalVisualEffect() resides at 004486C0
3) void User::SendAbnormalStatusInfo() resides at 004F15D0
5. From Ustas but actually from Torune (i never saw it, it might be from hidden "dev" forums or just a fake :P we dont know)

Quote:

Like torune said - "I share it`s for you, one byte in one year"
First year - first byte: address 0049674E change 6A 22 to 6A 16
6. From Krapno (it failed but it might be usefull since it DOES something, showing a sword instead of the correct effect)

Quote:

address 0049674E change 6A 22 to 6A 16
7. From Alien003
Quote:

virtual adresses start at 0x00400000, and its not linear
use a disassembler or similar
8. Phantom2005
Quote:

maybe this will help u guys a bit Wink

Search in l2server.exe with ultraedit or something for:
6A22


there are only 12 6A22's..... now it's ur job to find which 6 you will have to edit =)

Eliot 01.10.2005 21:54

That's right Bob, mods promised a Tutorial section, then an SQL tutorial would be great. Im currently writing my WindowsXP and Windows2003 correct configuration tutorial, it's not big but might help someones with performance problems.

bob1122 01.10.2005 23:09

ok what i've managed to salvage. The following are my 12 '6A 22' offsets, and the line after (which i think is important).

__________________________________________________ _____


1st offset.

.00415A60: 6A 22
.00415A62: 68 44 D8 5B 00

Now torune (or whoever said that) says it starts at my 2nd offset. So i dont this that this (^^) offset is important.... maybe im wrong.

2nd offset.

.0049674E: 6A 22
.00496750: 68 C8 0C 5E 00

3rd offset.

.004968EF: 6A 22
.004968F1: 68 C8 0C 5E 00 (Notice Similarity to 2nd offset)

4th offset.

.004FDE11: 6A 22
.004FDE13: 6A 7A (not very similar to other ones....)

5th offset.

.004FF6C4: 6A 22
.004FF6C6: 68 A8 37 60 00

6th offset.

.004FFE57: 6A 22
.004FFE59: 68 A8 37 60 00 (notice similarity to 5th)

7th offset.

.00516BE1: E8 6A 22 FD FF (part of a string, not important)
.00516BE6: 8B CE


8th offset.

.00536E4A: 6A 22
.00536E4C: 68 F8 25 5D 00

9th offset.

.00536E6D: 6A 22
.00536E6F: 68 DC D5 5B 00

10th offset.

.00565521: E8 6A 22 EA FF (This is part of a string so i dont believe it is important)
.00565526: 8B 44 24 1C

11th offset.

.00574A58: 6A 22
.00574A5A: 8B 54 24 24

12th offset.

.00588B5E: 6A 22
.00588B60: E8 74 47 00 00

Now i've narrowed it down to most likly being the following offsets.
2nd
3rd
5th
6th
8th EDIT, NOT THIS
9th EDIT, NOT THIS

Now i asume that you must switch the '6A 22' to '6A 16'. Im not sure ill edit this once i have checked it.

Thats all for now, bob.

*EDIT* Its not the 8th and 9th, i am trying 11th and 12th right now, When i tried with 8th and 9th before i got major spamage, about skills and about castle seige. i got 3751 popups about Skills....

*EDIT* Not 11th and 12th :( Still swords...... Someone help me out... I think i have wrong combination or somthing... im going to try with JUST the second and third offsets hexed to '6A 12', see what happens.

Alien003 01.10.2005 23:32

actually I dont think it would be that easy...

but ..your 8 and 9 are bad as well

8 and 9 are from the RequestLoadAllCastle() function

*edit* btw thx to Livid for giving the hints to how to find funtion names

Eliot 01.10.2005 23:44

Bob, thank You very much. You posted earlier that You got somewhat mixed effects to show up, can You give the details ?

SoaPy 01.10.2005 23:51

tested and when i try to use //summon, the only thing that apear is a short_sword and the mobs is invisible and you cant see, and some weir errors with castles in l2server.

bob1122 02.10.2005 00:02

Oh shit sorry man(eloiot).... to get your hopes up, my player that testing is just stupid, he said he knew the game, apperntly not. :S I feel bad not i better edit that post....Player had a polymorphed gm beside him,,, apprently it turns stuned, sleeps and rooted when that happens.

another edit above ^^, I cant takle this on my own i dont even know what im doing, to much cars in a one way road.

Alien003 02.10.2005 00:12

ok ...just lets try one thing ...can ANY of the ppl that got this working confirm the change of atleast one byte from 22 to 16 ..I dont even care to know which one is it

I just really dont see the point of change the packet type from NpcInfo to DropInfo

rawrz 02.10.2005 00:18

look at this post:
https://postpacific.mmorpg-game.onli...light=dropitem

i think that is the reason why you get a sword drop instead of the animation...
0x16 = DropItem

I dont know if it helps at all, but there is
0xB8 AbnormalVisualEffect
0x97 AbnormalStatusUpdate
maybe change 22 to one of these? but if im not mistaken these arent used in c3, so maybe find what livid was talking about, with the npc abnormal status thingies maybe find the headers for them... ive looked and not come up with much, maybe l2-logger can help?

Mayii 02.10.2005 09:46

Quote:

Originally Posted by rawrz
look at this post:
https://postpacific.mmorpg-game.onli...light=dropitem

i think that is the reason why you get a sword drop instead of the animation...
0x16 = DropItem

I dont know if it helps at all, but there is
0xB8 AbnormalVisualEffect
0x97 AbnormalStatusUpdate
maybe change 22 to one of these? but if im not mistaken these arent used in c3, so maybe find what livid was talking about, with the npc abnormal status thingies maybe find the headers for them... ive looked and not come up with much, maybe l2-logger can help?

I'd say point actually is modifying those "AbnormalVisual" stuff to the NPCInfo, not doing crazy stuff of substituting the NPCInfo with DropItem....

top-gear 02.10.2005 11:10

Ok, I change this:

http://img375.imageshack.us/img375/6828/hex13su.jpg

into this:

http://img375.imageshack.us/img375/5739/hex28bf.jpg

and server crashes, cannot start correctly. :/

Ugmak 02.10.2005 11:29

instead of 40 shouldnt it be b8?

not usualy wakin gup this early so i migh tbe way off lol.

top-gear 02.10.2005 11:57

Quote:

Originally Posted by rawrz
0x0800 is just 800, all those id thingies are listed under the ave thingy in the dissasembly code, look at address 0056E6AB


0056E6AB |. C781 BC010000 >MOV DWORD PTR DS:[ECX+1BC],40
ABNORMAL_VISUAL_EFFECT_STUN => 0x0040


see? ^_^


so why b8? ;/ rawrz where is |. C781 BC010000 ?

rawrz 02.10.2005 15:28

Quote:

Originally Posted by top-gear
Quote:

Originally Posted by rawrz
0x0800 is just 800, all those id thingies are listed under the ave thingy in the dissasembly code, look at address 0056E6AB


0056E6AB |. C781 BC010000 >MOV DWORD PTR DS:[ECX+1BC],40
ABNORMAL_VISUAL_EFFECT_STUN => 0x0040


see? ^_^


so why b8? ;/ rawrz where is |. C781 BC010000 ?

just ignore that post lol its just to show where the ids that torune posted were, btw i tried changing 22 to b8, most dissamblers wont let me do that, and if i do it with hex editors disassemblers show it as push -48 ? O.o

Ugmak 02.10.2005 18:49

yeah i was way to tired this morning, not sure where that came from lol

bob1122 02.10.2005 19:01

Ok with Just hexing the 2nd offset i posted i can get a mob to drop a sword when i sleep / root it....

I think i need to now change the '6A 12 to '6A **' probably 40 , but i've only found one offset.... Need more help.'

CubAfull 02.10.2005 20:13

I think that they can be these 2 3 4 5 6 x. I believe that the problem is not here 6A22. we needed to find what we have to edit around that number.

173 broken l2server.exe

CubAfull 02.10.2005 20:14

sorry for this post :S I committed an error.

jouvmaster 02.10.2005 20:49

jajaj
 
lol me too have 220 broken l2.exe jajaja 8)

UStas 03.10.2005 13:50

WoW... How mutch info about abnormal :)))))) But all is wrong... LOL

toolpunk 03.10.2005 14:39

and you dont have anything better to do then posting a smiley?! XD
that makes me crazy lol


All times are GMT. The time now is 17:05.