Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Problem With Adding A New Skill (https://postpacific.loc-online.com/showthread.php?t=3174)

Met45 29.01.2006 14:52

Problem With Adding A New Skill
 
Hi people,

for a few days i've started to make some new skills...
I added them at serverside and at client side, i mean the skill works but ingame it's showed as NoSkillName...
so it would be very nice if someone could help me :)


SERVERSIDE
skilldata:

Code:

skill_begin        skill_name = [s_gm_resurrection]        /* [???? ????] */        skill_id = 9651        level        =        1        operate_type = A1        magic_level        =        30        effect = {{i_resurrection;100}}        operate_cond = {{target_my_party};{op_resurrection}}        is_magic = 1        mp_consume1        =        46        mp_consume2        =        186        cast_range = 400        effective_range        =        600        skill_hit_time = 6        skill_cool_time        =        0        skill_hit_cancel_time        =        0.5        reuse_delay        =        5        attribute        =        attr_none        effect_point = 640        target_type        =        pc_body        affect_scope = single        next_action        =        none        skill_end
skill_pch:

Code:

[s_gm_resurrection] = 260106
skill_pch2:

Code:

260106 400 0 232 10 640 29 -1 0 6 114 1 -12345
CLIENTSIDE
skillgrp.dat:

Code:

skill_begin        skill_id = 9651        skill_level = 1        icon = [icon.skill1297]        operate_type = 0        is_magic = 1        mp_consume = 207        cast_range = 400        hit_time = 6.000000        animation = []        cast_style = 1        c3_attr1 = {105;0}        c3_attr2 = [none]        c3_attr3 = 0        skill_end
skillname-e.dat:

Code:

skill_begin        skill_id = 9651        skill_level = 1        name = [GM Resurrection]        desc = [Resurrects target with 100% Exp restored.]        skill_end

and here's a screenshot of the end of my npc server, if i cast the skill this appears:
http://img521.imageshack.us/img521/6421/name0mn.jpg

Met45 30.01.2006 08:02

plz community i need ur help :cry:
I atill don`t get it to work...

Silentz0r 30.01.2006 10:53

Wrong skill_pch and skill_pch2

Your Skill ID = 9651 so... 9651x256+1 it's 2470657

change: [s_gm_resurrection] = 260106 to: [s_gm_resurrection] = 2470657

change: 260106 400 0 232 10 640 29 -1 0 6 114 1 -12345 to: 2470657 400 0 232 10 640 29 -1 0 6 114 1 -12345

That's all, no more error.

Met45 30.01.2006 11:00

thx man i was freaking out,
I don`t know that u have to mutiple your skill id...
THANK U :!: :!: :!: :!: :!: :!: :!: :!: :lol:

Met45 30.01.2006 14:12

ehm now the error disappear that`s good thx again,
but the skill is still called NoSkillName in game,
plz has someone a solution for this???

Yucko 30.01.2006 16:55

you need to change in client files :D (if you didn't change)

Yucko 30.01.2006 17:01

Silentzor mabe you could describe other number of skillpch... Mabe someday i'll need it :D

jencxxl 31.01.2006 05:30

you might wanna try using HFs scriptmaker for making pch files, will save you alot of troble


All times are GMT. The time now is 15:27.