Jump to content
  • 0

npc dancer & songs


Question

Posted

buffer npc's html appears, but dancer npc's html does not appear. the ai.obj, npc_pch, and npcdata has been configured, but i do not know what's wrong. here's a screenshot of how it appears when i click on npc dancer:

 

shot00000k.jpg

 

i'm using fidow's code for npc buffer fyi.

14 answers to this question

Recommended Posts

  • 0
Posted

No, that's because you are probably using the default dance/song buffs, which are party only... so you either create new skills that aren't party only, or change your default songs/dances.

  • 0
Posted

create new skill

like [s_song_of_warding2]

add and skillpch and other..

 

change and target_type = target

 

dance

skill_begin	skill_name=[s_dance_of_warrior2]	/* [NPC buff] */	skill_id = 271	level = 2	operate_type = A2	magic_level = 1 	effect = {{p_physical_attack;{all};12;per}}				is_magic = 1	mp_consume1 = 7	mp_consume2 = 28	cast_range = 400	effective_range = 900	skill_hit_time = 1	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 0	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 3600	abnormal_lv = 1	abnormal_type = dance_of_warrior	attribute = attr_none	effect_point = 379	target_type = target	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 0	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end

 

song

skill_begin	skill_name=[s_song_of_warding2]		/* [NPC buff] */	skill_id = 267	level = 2	operate_type = A2	magic_level = 40	effect = {{p_magical_defence;{all};30;per}}				is_magic = 1	mp_consume1 = 7	mp_consume2 = 28	cast_range = 400	effective_range = 900	skill_hit_time = 1	skill_cool_time = 0	skill_hit_cancel_time = 0.5	reuse_delay = 0	activate_rate = -1	lv_bonus_rate = 0	basic_property = none	abnormal_time = 3600	abnormal_lv = 1	abnormal_type = song_of_warding	attribute = attr_none	effect_point = 379	target_type = target	affect_scope = single	affect_limit = {0;0}	next_action = none	debuff = 0	ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}	skill_end

 

  • 0
Posted

I have created custom songs/dances in skilldata.txt, skillpch.txt, and the related html:

 

skill_pch.txt:

[s_dance_of_inspiration2] = 2070000

[s_dance_of_fire2] = 2070001

[s_dance_of_fury2] = 2070002

[s_dance_of_siren2] = 2070003

[s_dance_of_vampire2] = 2070004

[s_dance_of_mystic2] = 2070012

[s_dance_of_warrior2] = 2070013

[s_song_of_warding2] = 2070005

[s_song_of_earth2] = 2070006

[s_song_of_vitality2] = 2070007

[s_song_of_wind2] = 2070008

[s_song_of_hunter2] = 2070009

[s_song_of_renewal2] = 2070010

[s_song_of_champion2] = 2070011

 

 

skilldata.txt:

"skill_begin skill_name=[s_dance_of_inspiration2] /* [Dance of Inspiration] */ skill_id=272 level=2 operate_type=A2 magic_level=46 effect={{p_hit;{all};4;diff}} operate_cond={{equip_weapon;{dual}}} is_magic=1 mp_consume1=0 mp_consume2=0 cast_range=400 effective_range=-1 skill_hit_time=2.5 skill_cool_time=0 skill_hit_cancel_time=0.5 reuse_delay=0 activate_rate=-1 lv_bonus_rate=0 basic_property=none abnormal_time=120 abnormal_lv=1 abnormal_type=dance_of_inspiration attribute=attr_none effect_point=438 target_type=target affect_scope=single affect_range=1300 affect_limit={0;0} next_action=none debuff=0 ride_state={@ride_none} skill_end"

 

 

 

and html:

<html><body>

NPC Dance & Songs

<table><tr><td width=150>

<br><br>

<a action="bypass -h menu_select?ask=-201&reply=2070012">[Dance of Mystic]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070001">[Dance of Fire]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070000">[Dance of Inspiration]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070013">[Dance of Warrior]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070002">[Dance of Fury]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070003">[Dance of Siren]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070004">[Dance of Vampire]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=311841">[HP Heal]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=1121281">[CP Heal]</a>

</td><td width=100>

<a action="bypass -h menu_select?ask=-201&reply=2070006">[song of Earth]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070007">[song of Vitality]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070005">[song of Warding]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070008">[song of Wind]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070009">[song of Hunter]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070010">[song of Renewal]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070011">[song of Champion]</a>

</td></tr></table>

<br><br>

</body></html>

 

 

 

 

 

Yet the NPC still does not provide the dances/songs...

 

And yeah, i also configured skill_pch2.txt

  • 0
Posted

Fidow = PCH Based, no?

 

 

where did you come up with those screwed values?

 

Wether your on 8bit/16bit those make no sense whatsoever.

  • 0
Posted

I edited skill_pch2.txt, and now i'm getting

 

Unregistered Skill(808-165)

 

:\

 

May someone post how the custom dances/songs 'skill_pch2.txt' look like

  • 0
Posted

to mcbigmac, those are custom values i made.

 

you don't make custom values.

 

you follow the Precompiled Header rules that l2server uses to map all ITEM / Skill / npc objects into 1 Unique ID.

 

c4 standard: (256 x skill id) + skill level  - 8bit.

 

HellBound(atleast kvoxi/nextdev does i think): (65536 x skill id) + skill level - 16bit.

  • 0
Posted

thanks for the clearing of things ^.^ mcbigmac. i got the dancer/songs to work :)

 

i wanna ask you how can i find the precompiled header rules.

 

  • 0
Posted

Look in the exe's.

 

 

however as i just said... skills are (8 bit (256 / 1 byte) * Skill Id ) + skill level.

 

 

This effectively leaves a max of 256 skill levels per skill.

Try yourself by using your buffer to cast pch ID 513.

 

Which technicly gives possibility of: either skill id 1 level 257 or skill id 2 level 1.

However due to the byte rule, it will cast the latter.

  • 0
Posted

I have created custom songs/dances in skilldata.txt, skillpch.txt, and the related html:

 

skill_pch.txt:

[s_dance_of_inspiration2] = 2070000

[s_dance_of_fire2] = 2070001

[s_dance_of_fury2] = 2070002

[s_dance_of_siren2] = 2070003

[s_dance_of_vampire2] = 2070004

[s_dance_of_mystic2] = 2070012

[s_dance_of_warrior2] = 2070013

[s_song_of_warding2] = 2070005

[s_song_of_earth2] = 2070006

[s_song_of_vitality2] = 2070007

[s_song_of_wind2] = 2070008

[s_song_of_hunter2] = 2070009

[s_song_of_renewal2] = 2070010

[s_song_of_champion2] = 2070011

 

 

skilldata.txt:

"skill_begin skill_name=[s_dance_of_inspiration2] /* [Dance of Inspiration] */ skill_id=272 level=2 operate_type=A2 magic_level=46 effect={{p_hit;{all};4;diff}} operate_cond={{equip_weapon;{dual}}} is_magic=1 mp_consume1=0 mp_consume2=0 cast_range=400 effective_range=-1 skill_hit_time=2.5 skill_cool_time=0 skill_hit_cancel_time=0.5 reuse_delay=0 activate_rate=-1 lv_bonus_rate=0 basic_property=none abnormal_time=120 abnormal_lv=1 abnormal_type=dance_of_inspiration attribute=attr_none effect_point=438 target_type=target affect_scope=single affect_range=1300 affect_limit={0;0} next_action=none debuff=0 ride_state={@ride_none} skill_end"

 

 

 

and html:

<html><body>

NPC Dance & Songs

<table><tr><td width=150>

<br><br>

<a action="bypass -h menu_select?ask=-201&reply=2070012">[Dance of Mystic]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070001">[Dance of Fire]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070000">[Dance of Inspiration]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070013">[Dance of Warrior]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070002">[Dance of Fury]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070003">[Dance of Siren]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070004">[Dance of Vampire]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=311841">[HP Heal]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=1121281">[CP Heal]</a>

</td><td width=100>

<a action="bypass -h menu_select?ask=-201&reply=2070006">[song of Earth]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070007">[song of Vitality]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070005">[song of Warding]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070008">[song of Wind]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070009">[song of Hunter]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070010">[song of Renewal]</a><br>

<a action="bypass -h menu_select?ask=-201&reply=2070011">[song of Champion]</a>

</td></tr></table>

<br><br>

</body></html>

 

 

 

 

 

Yet the NPC still does not provide the dances/songs...

 

And yeah, i also configured skill_pch2.txt

 

Try this

skilldata.txt:

"skill_begin  skill_name=[s_dance_of_inspiration2]  /*  [Dance of Inspiration]  */  skill_id=272  level=2  operate_type=A2  magic_level=46  effect={{p_hit;{all};4;diff}}  operate_cond={}  is_magic=1  mp_consume1=0  mp_consume2=0  cast_range=400  effective_range=-1  skill_hit_time=2.5  skill_cool_time=0  skill_hit_cancel_time=0.5  reuse_delay=0  activate_rate=-1  lv_bonus_rate=0  basic_property=none  abnormal_time=120  abnormal_lv=1  abnormal_type=dance_of_inspiration  attribute=attr_none  effect_point=438  target_type=target  affect_scope=single  affect_range=1300  affect_limit={0;0}  next_action=none  debuff=0  ride_state={@ride_none}  skill_end"

>>>>>>>>operate_cond=(no nned wepon) or you most add some duals to npc <<<<<<

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • --- Interlude Faction/GvE PvP grand opening 2025-11-15 19:00 GMT+2 ---   Gameplay: Chronicle: Interlude Type: Faction/GvE (Angels vs Nature vs Demons) GM Shop: B-S grade Buff slots: 20+4 Starting level: 74 + rebirth system   New Features: Client: Modern interface based on Essence Balance: New class skills for better balance Achievement Rewards: Daily, Weekly, One-time TOP rankings: PvP, Event PvP, Map PvP, Clan PvP, Event MvP, Map MvP Zones: 70 different PvP zones,  18 different events (8 map events | 10 main events) 12 Grand/raid bosses. Castle siege Olympiad Clan Hall challenge Custom Enchant System: Dynamic success chance (greater enchant level or item grade less enchanting success chance) Enchant rate: Blessed scrolls dynamic from 100% to 25%. Crystal Scrolls: 100%; Max enchant weapon +12 Max enchant armor +8 Safe point enchant system Extra Features: PvP items with level upgrade Weapon/Armor upgrade (from B grade to S) system Attributes system   Website: https://l2cygnus.com Community: Discord Facebook: https://www.facebook.com/l2cygnus Youtube:   
    • More fluid combat, not 100% yet, but I think it's acceptable. I put the following logic in movetopawn, moveto, maybemovetopawn, validatelocation, movetolocation: If Config.GeoData is active, it applies the coordinates using geodata; if disabled, use setdistanceplansq to measure the distance of things! Fix for reflected damage (if the attacker is null, it will not be calculated). Minor improvements to the Day/Night item generation manager. Fix to not punish players who destroy items with a count = 0... Fix for when a player tried to use a resurrection scroll while seated, it disappeared without effect. Fix for when it was possible to equip armor while paralyzed. Cleanup of System message. Rework of PathNodes. Fixed the ia for mobs attack range when chasing the player (test) Fixed Pathnodes loading Added # ------------------------ #Show Red Name for Aggressive Mobs # ------------------------ ShowRedName = True Which was missing in the configs
    • ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚔️ L2JOmen High Five - SERVIDOR 100% RETAIL ⚔️ 📢 SOLICITAMOS APOYO PARA TESTING 📢 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ¡Saludos, comunidad de Lineage II! Estamos desarrollando un proyecto ambicioso y de calidad: L2JOmen High Five, un servidor  100% RETAIL que busca ofrecer la experiencia más auténtica de High Five.  Nos encontramos en la fase de desarrollo y testing, y necesitamos tu ayuda para hacerlo  grande. Si eres un amante del retail, disfrutas probar nuevas funciones y quieres formar  parte de un proyecto serio desde sus inicios, ¡tu apoyo es invaluable! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎮 CARACTERÍSTICAS PRINCIPALES 🎮 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✅ SERVIDOR 100% RETAIL    • Experiencia auténtica de High Five    • Geodata PTS Official    • Plataforma Premium 2025 ✅ SISTEMA DE RATES DINÁMICO (Progresión Retail x1 con ayuda x5 -> x1)    • XP: 1-20 (5.0x) | 21-40 (3.0x) | 41-60 (2.0x) | 61-75 (1.5x) | 76-85 (1.0x)    • SP: 1-20 (5.0x) | 21-40 (3.0x) | 41-60 (2.0x) | 61-75 (1.5x) | 76-85 (1.0x)    • Adena: x2.0 (Retail con pequeño ajuste)    • Drop y Spoil: x1.0 (Mobs, Raids y Epics) ✅ SISTEMA DE ENCANTAMIENTO PROFESIONAL    • Enchant Safe: +6 (100% seguro hasta +6)    • Enchant Máximo: +30    • Tasas de encantamiento balanceadas:      * 0-3: 100% | 4: 80% | 5: 75% | 6: 70% | 7: 65% | 8: 60%      * 9: 55% | 10: 50% | 11: 45% | 12: 40%      * 13: 10% | 14-25: 5-9% | 26-30: 1-4%    • Sistema Blessed Enchant habilitado ✅ INICIO DE PERSONAJE    • Dynasty Masterwork Set completo +12    • 1 Ticket para Weapon S +12    • Duración: 7 días ✅ CONFIGURACIÓN RETAIL    • Element Limit: Nivel 4    • Buffs: Duración de 1 hora    • Nobless: Obtenible mediante quest    • Subclass Máxima: 10 (Certificación para cada Subclass) ✅ SISTEMA DE FARM Y ECONOMÍA    • Múltiples monedas de farm (Adena, Ancient Adena, Coin of Luck, PC Bang Points, Farm Coins)    • Varias zonas de farm disponibles    • Zona de Party Farm (se habilita cada 3 horas por 1 hora)    • 4 Raids diarias programadas ✅ SISTEMA PC BANG POINTS    • Aproximadamente 10,000 puntos por 24 horas conectado    • Entrega cada 10 minutos    • Jugadores Normales: 60-72 puntos/intervalo    • Jugadores Premium: 96-116 puntos/intervalo    • 5% probabilidad de doble puntos ✅ SHOPS COMPLETOS    • Shop Normal (Adena y Farm Coins)    • Shop Donate (con opciones premium)    • Armaduras y Armas hasta Grado Dynasty, Moirai, S84    • Joyas completas, no incluye Epics    • Scrolls (Normales, Blessed, Divine, Ancient)    • Elementos hasta nivel 4-7    • Accesorios y consumibles ✅ SISTEMA VIP    • 5 niveles de VIP disponibles    • Bonificaciones progresivas de XP/SP/Drop    • Recompensas diarias exclusivas ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🤝 ¿QUÉ NECESITAMOS DE TI? 🤝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍 TESTERS ACTIVOS    • Jugadores que prueben todas las funciones del servidor    • Feedback constructivo sobre bugs, balance y mejoras    • Reporte de problemas encontrados 🎮 JUGADORES DEDICADOS    • Amantes del retail que valoren la experiencia auténtica    • Personas dispuestas a ayudar a mejorar el proyecto    • Comunidad comprometida con el crecimiento del servidor 📊 REPORTES DETALLADOS    • Bugs y errores encontrados    • Sugerencias de balance    • Opiniones sobre el gameplay    • Feedback sobre sistemas implementados ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💎 ¿POR QUÉ UNIRTE A L2JOmen? 💎 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌟 PROYECTO SERIO Y COMPROMETIDO    • Desarrollo constante y mejoras continuas    • Atención a la comunidad activa    • Transparencia en todas las decisiones 🎯 EXPERIENCIA 100% RETAIL    • Sin modificaciones que rompan el juego original    • Balance auténtico de High Five    • Gameplay puro y tradicional ⚡ TECNOLOGÍA DE VANGUARDIA    • Servidor optimizado y estable    • Geodata oficial de PTS    • Sistema robusto y sin lag    • Sistema Anticheat Premium 🎁 RECOMPENSAS PARA TESTERS    • Participación activa en el desarrollo    • Reconocimiento especial en el lanzamiento    • Beneficios exclusivos para early testers ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📞 CONTACTO E INFORMACIÓN 📞 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Si estás interesado en formar parte de este proyecto y ayudarnos a crear el mejor  servidor retail de High Five, contáctanos. Tu apoyo es fundamental para hacer realidad  este grandioso proyecto. 💬 Únete a nuestro grupo de testing 🌐 WhatsApp: https://chat.whatsapp.com/Km6uRtFsoUq2tNZZalo5HB?mode=wwt ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🏆 ¡Juntos construimos el mejor servidor retail! 🏆 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  
    • any server used these files? if yes let me know in pm.
    • L2Net is an in-game (IG) bot. I already have Adrenaline for that. I'm looking for an out-of-game (OOG) bot - one that doesn’t require the Lineage 2 client to run.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock