PDA

View Full Version : [SHARE] NEW Manager to Let your players


Kenster
23.01.2006, 08:39
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
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
<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
//------------------------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!

Wishmaster
23.01.2006, 10:25
Great!!!

Yucko
23.01.2006, 14:00
Wow Kenster nice job... I've seen your npcpos it's nice too...( If I have more cash i'll give you all :D )

Zil
23.01.2006, 14:03
I'll give you ALL my cache......(1 drop for me)

_____________________
Very-very bad English

kgptzac
23.01.2006, 18:12
thanks, i think kenster should be part of the developers hehe, nice shares.

KTPSMF
23.01.2006, 22:59
thanx , it is good day for us today :D

unk1
24.01.2006, 00:02
very useful, tnx ;)
take some cash)

zaxxy
24.01.2006, 08:51
Maybe just add new html to the gatekeeper?

kembl
24.01.2006, 13:00
Waht if you wish to change news in htmls recently?
Turn off html cache is not good idea for huge servers, and restart server is not good idea to.

khul
24.01.2006, 22:58
Good idea, might be usefull for those that hate forum. People ll find this usefull
Waht if you wish to change news in htmls recently?
Turn off html cache is not good idea for huge servers, and restart server is not good idea to.

i think there is no other way out than load new news when you restart cached. =(

Kenster
24.01.2006, 23:20
Waht if you wish to change news in htmls recently?
Turn off html cache is not good idea for huge servers, and restart server is not good idea to.
Doesnt your login crash every3-6 hours anyway?

tvprohka
24.02.2006, 02:51
rus//скачала на свой сервер этого менаджера,а он отображается как заец и у меня окало каждого ГК в городе стоят зайци!Сервер у меня с4 корейский играю на с4 клиенте.В чём дело?Почему он как заец и как это поправить//rus



I have merged it npc and it(he) is displayed as the rabbit! What to do(make)?

PIMPSTA
24.02.2006, 04:03
rus//скачала на свой сервер этого менаджера,а он отображается как заец и у меня окало каждого ГК в городе стоят зайци!Сервер у меня с4 корейский играю на с4 клиенте.В чём дело?Почему он как заец и как это поправить//rus



I have merged it npc and it(he) is displayed as the rabbit! What to do(make)?

You didnt edit the client to give proper textures to him(IT) any npc that doasent have a texture to it on client or doasent exist on client is displayed as a rabbit. The Great Bunny of the server yes.

FidoW
24.02.2006, 04:18
Good idea, might be usefull for those that hate forum. People ll find this usefull
Waht if you wish to change news in htmls recently?
Turn off html cache is not good idea for huge servers, and restart server is not good idea to.

i think there is no other way out than load new news when you restart cached. =(
rename HTML as... newsA.htm ... for example... if html finish with A E I O .. U... (vocal.. upper letter).. l2server dont cache this file.