Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 26.04.2006, 04:01   #1
darkstaown
Архивный участник
 
Join Date: Apr 2006
Posts: 23
Default Npcmaker .. cannot generate random pos!

I get this error loading the npc server.
The codes are there >

// NPC DATA


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]=[newsA.htm]}} corpse_time=7 no_sleep_mode=0 npc_end

// newsA.htm

<html><head><body>
Welcome to the L2Revenge News Manager.


<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 servernewsA.htm">Server News</a>

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

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

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

</body>
</html>


//------------------------NEWS NPC IN GIRAN----------------------------------
// NPCPOS

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


What's going on.. ? I'm not really good with npc's
darkstaown is offline  
Old 26.04.2006, 04:22   #2
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

territory_begin [news_npc_giran1] {{83459;147921;-3400;-3316};{83459;147921;-3400;-3316};{83459;147921;-3400;-3316};{83459;147921;-3400;-3316}

See, you have x1,x2,y1,y2 the same coords.. So, is not a square and there is no space to do a random spawn.. So, the server gives you that error... Just use l2scriptmaker and do again the territory.. Just simple..

You can ignore that error too...

here:

territory_begin [news_npc_giran1] {{83359;147821;-3420;-3200};{83559;147821;-3420;-3200};{83559;148021;-3420;-3200};{83359;148021;-3420;-3200}} 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=1min npc_end
npcmaker_end
Silentz0r is offline  
Old 29.04.2006, 16:05   #3
Mehan1k
Архивный участник
 
Join Date: Feb 2006
Posts: 40
Default

Ai news_manager ?
Mehan1k is offline  
Old 29.04.2006, 17:58   #4
Cardon
Архивный участник
 
Join Date: Apr 2006
Posts: 65
Default

He's not using a news_manager class, as he doesn't need to. He's using Blacksmith of Mammon with the fnHi string declared as "newsA.htm".
Cardon is offline  
Old 29.04.2006, 19:08   #5
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

SIlentz0r is right...
only need to remake territorry, but if u don't use random pos can ignore error, isn't important
FidoW is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:49.