Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   My story about adding Raid Boss... (https://postpacific.loc-online.com/showthread.php?t=1227)

RmzVoid 19.07.2005 05:59

My story about adding Raid Boss...
 
Just for testing my possibility to add anything to server I decide to add Giant Tiger. I got npcdata of this monster as is.

find location of this monster on off server. add strings to npcpos:
Code:

territory_begin        [xypy_t22_24_006]        {{76031;211572;-3648;-3649};{77484;210161;-3648;-3649};{79282;211659;-3648;-3649};{78081;212433;-3648;-3649}}        territory_end
npcmaker_begin        [xypy_t22_24_006]        initial_spawn=all        maximum_npc=6
npc_begin        [giant_tiger]        pos={123794;153472;-3568;-3569}        total=1        respawn=5hour respawn_rand=2hour        Privates=[white_horse:white_horse:1:1min;white_horse:white_horse:1:1min;white_horse:white_horse:1:1min;white_horse:white_horse:1:1min;black_leo:black_leo:1:1min] npc_end
npcmaker_end

I dont know where are from all peoples get names such as 'xypy_t22_24_006', and I just remove all monsters from this territory and add my giant tiger with his Privates to it. Npcdata for white_horse and black_leo I also have.

Cut from my Npcdata:
Code:

npc_begin        warrior        10205        [giant_tiger] ....cutted....        collision_height=87        category={}        clan={}        clan_help_range=1300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[giant_tiger]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        warrior        10206        [black_leo] ....cutted....        collision_height=43        category={}        clan={@door_clan;@aden_siege_clan}        clan_help_range=1200        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[black_leo]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        warrior        10207        [white_horse] ....cutted....        collision_height=30        category={}        clan={@door_clan;@aden_siege_clan}        clan_help_range=1200        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[white_horse]}        corpse_time=7        no_sleep_mode=0        npc_end

appropriate ai.obj classes:
Code:

class giant_tiger : party_leader_ag_physicalspecial
class_end

class white_horse : party_private
class_end

class black_leo : party_private
class_end

is is just copied and renamed Dread Avenger Kraven ai.
Looks all fine.

Start server, goes to location with Giant Tiger.... And I see ONLY Giant Tiger, without White Horse and Black Leo...
NPC server write one error after loading all NPCs:
invalid npc name [white_horse] at file [NPC.cpp], line [4462]

RmzVoid 19.07.2005 06:18

Problem solved... i missed [white_horse] and [black_leo] in npc_pch.txt

I need info on drop from raid bosses. and I have complete most of them

Shinare 19.07.2005 07:21

well i think you know his stats like pdef etc , but i gonna post what i saw anyway:P

Giant Tiger (lvl 73)

HP:246,594
MP: 426
PATK:8,404
PDEF: 11,711
MATK: 4,017
MDEF:1,629
Behavior: Passive

Passive skill
Animal Weakness
Active skill
Life Draint Boss
Self Range Paralyze Boss
Self Range Weakness Boss


DROPS:
Scroll: Enchant Weapon (Grade A)
Sealed Majestic Boots
Thons

hope that may helps
you can get many infos about the mobs @ http://www.online-station.net/l2station/ , the page is a bit slow but the most updated DB of mobs :)

RmzVoid 20.07.2005 02:14

2Shinare: thank you for link, very helpful.

Yesterday I try add King Tarlk. Adding it not problem, but I want more. I decide add it own skills. It have no passive skills but have 4 active. One of them BOSS Power Strike (I decide add only this skill for begin). I look at client side skillname-e.txt, find skill BOSS Power Strike (Id 4168), but I find another BOSS Power Strike (with another Id). A decide use first (Id 4168). In npcdata in sections skill_list and magic_list I write nothing ( {} ).
In ai.obj I set
class king_tarlk : warrior_aggressive_physicalspecial
class_end

which inherit warrior_physicalspecial class. input parameter for this ai is PhysicalSpecial:

class warrior_physicalspecial : warrior
parameter_define_begin
int PhysicalSpecial 1032193 //what mean 1032193??
parameter_define_end

finally I set npc_ai={{[tarlk_king]};{[PhysicalSpecial]=@s_boss_power_strike_a7}}.

In skilldata I make skills s_boss_power_strike_a[1..7], just copy common power strike data and modify parameters and Id. in skill pch and skill pch2 I made appropriate records. But with skill_pch2 I have missunderstanding. What mean some of values? Also I dont understand value in skilldata effect_point. I create records how I can :) Make npcpos record. Start server. Tarlk appear. Start beat him. All work, but then he use skill he just stand still and no inflict damage, no skill animation. Each time then he use skill server console (L2Server) write this:
[Skill.cpp][554] Unregistered skill (3922-136)

What mean Unregistered skill I understand, but what mean 3922-136 - not.
May be this is Digital's Phone number? :)

RmzVoid 20.07.2005 02:33

ok, one error I already see... I get npc_pch Id for s_boss_power_strike_aX from space :) Now I know how it calculates
(https://postpacific.loc-online.com/f...pic.php?t=1138)
try fix later at home...


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