Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   skill effect animations (https://postpacific.loc-online.com/showthread.php?t=1803)

top-gear 14.09.2005 12:41

skill effect animations
 
Can anyone tell me where the skill effect animations are stored? I can't see sleep root and stun effects on mobs. Just a hint,thats all I ask! I wouldn't want to use other pll's work for free

top-gear 14.09.2005 12:47

I think that this is just client side

Metalmurphy 14.09.2005 12:48

You need to hex l2server in 6 diferent adresses. It has been done already so now we know its possible

top-gear 14.09.2005 13:12

o.O are you sure it's not client side? Can you give me a little tip about these adresses? I don't know so much about hexing but I can work on it :)

Metalmurphy 14.09.2005 15:09

I wish i could but i dont know it my self, and those who do know want to keep it for themselfs :(

flakka 14.09.2005 16:13

Forgive me for being completely dense, but you guys are talking about the effect of the skill, right? I mean, my root, sleep and stun works but is there supposed to be something more to the animation I'm missig? My lilith casts the huge AE hold and we do get stuck. So is there some kind of indicator or graphic that I'm supposed to see to let me know something is rooted or something?

Enishi 14.09.2005 16:25

Yeah the litle pink thingy is suppose to show at your feet.
They are talking about the skill effect animations for sleep/root/ etc

flakka 14.09.2005 16:28

Ah ok. I was thinking there was something more. I never played on official or never seen what it's supposed to actually look like. But hey, at least it works. :P

Thanks for the confirmation Enishi. :)

Kenster 14.09.2005 17:29

L2Extreme has there's working, but they won't share it. This is a huge bug, Would love to see a fix! :O

Sundh 14.09.2005 17:32

ye true, should be nice if the person who did the fix released it or maby gaved us a hint. But its just my opinion.

Enishi 14.09.2005 17:54

They have given us hints.
6 addresses need hexing

toolpunk 14.09.2005 18:19

XD
thats nearly as much as nothin...
u still need 2 know asm very well i u want 2 find n fix it.
however its a start and u probably wont hex 2 much.
just at the wrong addresses :p

Metalmurphy 14.09.2005 20:18

Well this is an understable thing if they dont want to sure, i mean if they did it themselfs whitout anyhelp its a HUGE thing to do and even i wouldnt share it :p But if they followed some other threads (chinese forums maybe) then i think they should point us to it.

toolpunk 14.09.2005 20:37

so why dun we just look for it ourselfs?
if any info was made public we will b able 2 find it at the usual places ;)

Metalmurphy 14.09.2005 21:20

Heh what do u think ive been doing since i saw the pics hamidouch posted :p

top-gear 15.09.2005 09:41

Sharing is good guys, especially when we all work for a common purpose. It's not for personal gains but for the development of the game.

HongK 16.09.2005 08:13

Its either a charinfo or userinfo packet ... cant remember ... They used to handle abnormal effects differently but now its handled through one or the other of the above mentioned...userinfo is typically what you see on yourself, I.E. your run speed etc and charinfo is usually what you see around you on other players...

Kenster 16.09.2005 08:27

I took about 15 minutes and looked at the l2.exe and looked for difference between L2.exe and the 98.rar - l2.exe. I found a few difference, but didnt edit yet, and im only like 1/4 of the way through it. If I get them all, do the caculation on the different combos, and test them all 1 by 1. Could be a bugger eh?

top-gear 16.09.2005 17:08

nice. I haven't managed to do any progress but tonight that I have free time I'll search a bit more

top-gear 18.09.2005 17:27

I only found this from client decompilation

//================================================== ==============================
// SkillVisualEffect.
//================================================== ==============================

class SkillVisualEffect extends Object
Native
Export
HideCategories(Object);

struct SkillActionInfo
{
var() editinlineuse SkillAction Action;
var() int SpecificStage;
};

var(General) name Desc;
var(Visual) array<SkillActionInfo> CastingActions;
var(Visual) array<SkillActionInfo> PreshotActions;
var(Visual) array<SkillActionInfo> ShotActions;
var(Visual) array<SkillActionInfo> ExplosionActions;
var(Visual) float FlyingTime;

top-gear 18.09.2005 17:39

also found this one for sleep

//================================================== ==============================
// su_sleep_ta.
//================================================== ==============================

class su_sleep_ta extends Emitter;

defaultproperties
{
Emitters=

AutoDestroy=True

bNoDelete=False

DrawScale=0.05

bDirectional=True

}

top-gear 18.09.2005 17:41

these ones for stun

//================================================== ==============================
// at_stun_attack_ca.
//================================================== ==============================

class at_stun_attack_ca extends Emitter;

defaultproperties
{
Emitters=

AutoDestroy=True

bNoDelete=False

DrawScale=0.20

bDirectional=True

}


//================================================== ==============================
// at_stun_attack_ta.
//================================================== ==============================

class at_stun_attack_ta extends Emitter;

defaultproperties
{
Emitters=

AutoDestroy=True

bNoDelete=False

DrawScale=0.20

bDirectional=True

}

top-gear 19.09.2005 04:21

Server side (skilldata.txt) calls this function

skill_begin skill_name = [s_dryad_root1] /* [????? ??] */ skill_id = 1201 level = 1 operate_type = A2 magic_level = 23 effect = {{p_block_move}} is_magic = 1 mp_consume1 = 5 mp_consume2 = 17 cast_range = 600 effective_range = 800 skill_hit_time = 2.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 8 activate_rate = 80 lv_bonus_rate = 2 basic_property = dex abnormal_time = 30 abnormal_lv = 1 abnormal_type = root attribute = attr_hold effect_point = -226 target_type = enemy_only affect_scope = single next_action = none abnormal_visual_effect = ave_root skill_end

I think I only have to find what to put here so the c3 client can read. Is there a way to change the whole ave_root function?

torune 19.09.2005 08:24

i just took this screenshot 2 mins ago, the root ave is hard coded.
havent found the place that actually handle all those ave.

torune 19.09.2005 08:29

you guys might want this

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

drzoom 19.09.2005 09:08

you guys might want this

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[/quote]

And what we must do with it?)

top-gear 19.09.2005 10:02

nice work torune, this is from c3 client right? I assume that because I see big head :) so do you suggest me to hex the client or the l2server.exe? I would need a bit more tips if it is about the client. love ya

Metalmurphy 19.09.2005 10:19

Again torune amazes us and he doesnt have a problem sharing it xD Many thanks for the info torune.

and top-gear you'll have to hex l2server

bwgreen 19.09.2005 10:35

Just a long shot.. probably wrong, so don't flame... Is there any chance in hell that mobskillanimgrp.dat has anything to do with it? If so.. is there a L2ClientDat around which can decode it properly?

I only mention this because "zombie_warrior" within this file is near a C3 skill called s_mega_storm_strike_for_slow -- when you look at the npcdata for this, it has s_blood_sucking2 in the AI section (yes, I know this is what we expect the mob to do... drain HP). Could it be that it's simply because the server doesn't match the client? I guess the only way to know is to test...

Check the skillname in your client files for this new skill, and it's there. Check the ID against your server files and mmm.. it's there too, but under a different name. I have to head out soon, so I can't do much testing on this, but if anyone has a moment...?

Like I say.. I could be completely wrong.. so I hold my hands up in advance.

Metalmurphy 19.09.2005 10:47

Yeah you are wrong :p mobskillanimgrp only has skills that an NPC/mob is going to do. However ncsoft decided to use names that have nothing to do with the skill (maybe to fool us lol). But then again ive seen ingame skills with names that are wrong that makes me wonder if NCSoft US are simply idiots.

Eliot 19.09.2005 11:50

This is 100% server side. Period.
Torune gave us the correct values of packets, now we need correct adresses to hex. If anybody would find where is this, i will hex this and post here complete l2server.

bwgreen 19.09.2005 11:57

Hmm....... maybe I'm getting somewhere?

Did some messing about.. unfortunately this is what I got after my first attempt.

09/19/2005 12:56:xx.xx5, invalid abnormal type at slotname (poison)
09/19/2005 12:56:xx.xx3, abnormalvisualeffect = ave_root : Error

Spammed a few 100 times on the server window. I'll never give up.. muhahaha

:: Second attempt. No errros.. no skill anims. (I'll Keep Going)

bwgreen 19.09.2005 13:29

I've found the addresses, I think..... just need to play around for a while.

Metalmurphy 19.09.2005 14:35

Well GL bwgreen. Keep us posted

bwgreen 19.09.2005 15:31

I give up. This is well beyond me.

I've not had any experience hexing L2 (used to hex basic stuff like the VERSION reply in mIRC) so my mind has gone to mush. If anyone else is working on this and would like to share ideas, please pm me or we can discuss open in the forum.

deathor 19.09.2005 15:46

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

UStas 19.09.2005 17:01

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... )

top-gear 19.09.2005 17:26

yes UStas,but u see the animations in game or not yet? :/

bwgreen 19.09.2005 17:30

Does anyone actually know exactly what we need to do here or are we just chasing our tails?

Those values which torune posted are clearly visible when hexing the L2Server file if you look after the AVE strings. They're not quite the same.. but similar.. and are in the same order. If you take a look, you'll see what I mean.

I've tried changing them etc but nothing..

Phantom2005 19.09.2005 17:39

I'll take a look at this one later... i think i will be able to fix this... just need to put my head into ultraedit again...


All times are GMT. The time now is 16:24.