View Single Post
Old 23.01.2006, 08:39   #1
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default [SHARE] NEW Manager to Let your players

Again, do the Client side yourself, this is for people to see what is going on in your server, you can add what ever you want to the HTML. They spawn next to the GKs and were a great assest as many people that don't understand to READ THE WEB SITE, were notified of what was going on!.

NPCDATA
Code:
npc_begin	citizen	15017	[news_manager]	level=70	exp=429634524	acquire_exp_rate=0	undying=1	can_be_attacked=0	acquire_sp=469	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=8	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=24xx.xx818899627	org_mp=1346	base_defend=2xx.xx2779264	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-4900	collision_radius=8	collision_height=16	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[blacksmith_of_mammon];{[fnHi]=[server001.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
server001.htm
Code:
<html><head><body>
Welcome to the L2P News NPC.


<font color="LEVEL">[What is this?]</font>



This NPC contains info about recent server news, server updates, and ongoing/upcoming events. Select an option from below to begin viewing information.



<font color="LEVEL">[Menu]</font>


<a action="link server_news.htm">Server News</a>

<a action="link server_update.htm">Server Updates</a>

<a action="link server_event.htm">Ongoing Events</a>

<a action="link server_event2.htm">Upcoming Events</a>

</body>
</html>

NPCPOS
Code:
//------------------------NEWS NPC----------------------------------
territory_begin   [news_npc_giran1]   {{83459;147921;-3400;-3316};{83459;147921;-3400;-3316};{83459;147921;-3400;-3316};{83459;147921;-3400;-3316}}   territory_end 
npcmaker_begin   [news_npc_giran1]   initial_spawn=all   maximum_npc=1 
npc_begin   [news_manager]   pos={83459;147921;-3400;16384}   total=1   respawn=180min   npc_end 
npcmaker_end 

territory_begin   [news_npc_dion1]   {{15680;142841;-2696;-3316};{15680;142841;-2696;-3316};{15680;142841;-2696;-3316};{15680;142841;-2696;-3316}}   territory_end 
npcmaker_begin   [news_npc_dion1]   initial_spawn=all   maximum_npc=1 
npc_begin   [news_manager]   pos={15680;142841;-2696;16384}   total=1   respawn=180min   npc_end 
npcmaker_end 

territory_begin   [news_npc_gludio1]   {{-13978;123820;-3112;-3316};{-13978;123820;-3112;-3316};{-13978;123820;-3112;-3316};{-13978;123820;-3112;-3316}}   territory_end 
npcmaker_begin   [news_npc_gludio1]   initial_spawn=all   maximum_npc=1 
npc_begin   [news_manager]   pos={-13978;123820;-3112;16384}   total=1   respawn=180min   npc_end 
npcmaker_end 

territory_begin   [news_npc_gludin1]   {{-80690;149825;-3040;-3316};{-80690;149825;-3040;-3316};{-80690;149825;-3040;-3316};{-80690;149825;-3040;-3316}}   territory_end 
npcmaker_begin   [news_npc_gludin1]   initial_spawn=all   maximum_npc=1 
npc_begin   [news_manager]   pos={-80690;149825;-3040;16384}   total=1   respawn=180min   npc_end 
npcmaker_end 

territory_begin   [news_npc_aden1]   {{146745;25670;-2008;-3316};{146745;25670;-2008;-3316};{146745;25670;-2008;-3316};{146745;25670;-2008;-3316}}   territory_end 
npcmaker_begin   [news_npc_aden1]   initial_spawn=all   maximum_npc=1 
npc_begin   [news_manager]   pos={146745;25670;-2008;16384}   total=1   respawn=180min   npc_end 
npcmaker_end
Enjoy!
Kenster is offline