Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [SHARE] Anti-PK Patrol (https://postpacific.mmorpg-game.online/showthread.php?t=1597)

cassianpry 25.08.2005 01:23

[SHARE] Anti-PK Patrol
 
3 or more guards runing around of noob city, if they found a PK they kill

ai.obj
Code:

class anti_pk_patrol : guard_patrol
parameter_define_begin
        float Attack_DecayRatio 4.600000
        float UseSkill_DecayRatio 460xx.xx0000
        float Attack_BoostValue 55xx.xx0000
        float UseSkill_BoostValue 1000xx.xx0000
parameter_define_end
class_end

npcpos.txt
Code:

//AntiPK Patrol
//--------------------------------------------------------------------------------------------------------------               
territory_begin        [21_19_New_PK]        {{46924;51420;-3037;-2837};{47693;51420;-3037;-2837};{47471;51890;-3037;-2837};{46835;51620;-3037;-2837}}        territory_end
npcmaker_begin        [21_19_New_PK]
//Elfs
npc_begin        [anti_pk_patrol_elf]        pos={50019;53920;-3326;0}        total=1        respawn=1min        dbname=[sentinel_guard_01]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(50019;53920;-3326);(50774;54424;-3345);(51627;55360;-3316);(52115;54518;-3402);(54485;54584;-3547);(53533;53617;-3498);(51720;53290;-3448)}
        WayPointDelays={30sec;1sec;1sec;1sec;15sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={50071;53610;-3312;0}        total=1        respawn=1min        dbname=[sentinel_guard_02]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(50071;53610;-3312);(49810;53139;-3265);(50200;52303;-3519);(51792;51652;-3585);(51067;50167;-3503);(50137;50407;-3624);(49572;51788;-3676);(50079;52856;-3399)}
        WayPointDelays={30sec;1sec;1sec;10sec;1sec;1sec;1sec;10sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={49350;54100;-3272;0}        total=1        respawn=1min        dbname=[sentinel_guard_03]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(49350;54100;-3272);(49366;55264;-3416);(48731;56212;-3550);(49808;56418;-3502);(47965;54912;-3567)}
        WayPointDelays={27sec;1sec;1sec;10sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={40688;53015;-3258;0}        total=1        respawn=1min        dbname=[sentinel_guard_04]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(40688;53015;-3258);(40959;54017;-3357);(42045;54462;-3599);(42821;55864;-3690);(41530;57759;-3651);(38874;54528;-3456);(41022;54929;-3524)}
        WayPointDelays={30sec;1sec;1sec;1sec;10sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={40467;52685;-3257;0}        total=1        respawn=1min        dbname=[sentinel_guard_05]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(40467;52685;-3257);(39740;50974;-3454);(38207;50410;-3493);(38709;51619;-3520);(38263;53168;-3473)}
        WayPointDelays={15sec;1sec;10sec;10sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={39790;48425;-3647;0}        total=1        respawn=1min        dbname=[sentinel_guard_06]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(39790;48425;-3647);(38459;48313;-3546);(36631;45592;-3643);(38282;45392;-3620)}
        WayPointDelays={20sec;15sec;13sec;17sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={41891;41982;-3492;0}        total=1        respawn=1min        dbname=[sentinel_guard_07]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(41891;41982;-3492);(42179;40394;-3494);(40959;39148;-3559);(42407;39412;-3493);(43033;39625;-3467);(43033;39625;-3467);(43033;39625;-3467);(43503;41274;-3467)}
        WayPointDelays={25sec;1sec;1sec;20sec;1sec;1sec;15sec;10sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={45526;41948;-3467;0}        total=1        respawn=1min        dbname=[sentinel_guard_08]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(45526;41948;-3467);(45398;42716;-3499);(45320;44225;-3706);(44070;44518;-3706);(42914;43674;-3664);(43598;42477;-3492)}
        WayPointDelays={25sec;1sec;1sec;1sec;15sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={45526;41948;-3467;0}        total=1        respawn=1min        dbname=[sentinel_guard_09]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(46315;42044;-3467);(48328;43087;-3501);(49650;42385;-3485);(48850;40614;-3510);(51091;39900;-3521);(48973;39745;-3510);(50156;41409;-3457)}
        WayPointDelays={25sec;1sec;1sec;1sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={47715;44188;-3558;0}        total=1        respawn=1min        dbname=[sentinel_guard_10]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(47715;44188;-3558);(49783;45155;-3508);(51677;46577;-3503);(51828;48507;-3480);(50596;48637;-3456);(48226;44165;-3510)}
        WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec}
npc_end

npcdata.txt
Code:

npc_begin        warrior        12546        [anti_pk_patrol_human]        level=66        exp=271975264        acquire_exp_rate=1.8        undying=0        can_be_attacked=1        acquire_sp=15        race=castle_guard        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=[shining_bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=8100        base_damage_range={0;0;80;120}        base_rand_dam=30        str=99        int=21        dex=99        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=67xx.xx146118935        org_mp=1220        base_defend=5xx.xx5040328361        base_magic_attack=5xx.xx5709791816        base_magic_defend=2xx.xx7189482006        base_physical_attack=40xx.xx431336161        physical_hit_modify=10        physical_avoid_modify=0        base_attack_speed=293        base_reuse_delay=1500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-1296        collision_radius=8        collision_height=24        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={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        warrior        12547        [anti_pk_patrol_elf]        level=66        exp=271975264        acquire_exp_rate=1.8        undying=0        can_be_attacked=1        acquire_sp=15        race=castle_guard        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=[shining_bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=8100        base_damage_range={0;0;80;120}        base_rand_dam=30        str=99        int=21        dex=99        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=67xx.xx146118935        org_mp=1220        base_defend=5xx.xx5040328361        base_magic_attack=5xx.xx5709791816        base_magic_defend=2xx.xx7189482006        base_physical_attack=40xx.xx431336161        physical_hit_modify=10        physical_avoid_modify=0        base_attack_speed=293        base_reuse_delay=1500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-1296        collision_radius=8        collision_height=24        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={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        warrior        12548        [anti_pk_patrol_darkelf]        level=66        exp=271975264        acquire_exp_rate=1.8        undying=0        can_be_attacked=1        acquire_sp=15        race=castle_guard        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=[shining_bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=8100        base_damage_range={0;0;80;120}        base_rand_dam=30        str=99        int=21        dex=99        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=67xx.xx146118935        org_mp=1220        base_defend=5xx.xx5040328361        base_magic_attack=5xx.xx5709791816        base_magic_defend=2xx.xx7189482006        base_physical_attack=40xx.xx431336161        physical_hit_modify=10        physical_avoid_modify=0        base_attack_speed=293        base_reuse_delay=1500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-1296        collision_radius=8        collision_height=24        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={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin        warrior        12549        [anti_pk_patrol_dwarf]        level=70        exp=429634524        acquire_exp_rate=1.8        undying=0        can_be_attacked=1        acquire_sp=2500        race=dragon        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_flame_strike3}        magic_list={}        max_item=50        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[shining_bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=8000        base_damage_range={0;0;80;120}        base_rand_dam=30        str=99        int=21        dex=99        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4        org_mp_regen=1.8        ground_low={50;0;10}        ground_high={186;-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=3xx.xx9008624428        org_mp=339        base_defend=xx.xx23705788166        base_magic_attack=xx.xx87280708638        base_magic_defend=xx.xx31752994285        base_physical_attack=xx.xx22390732649        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[karik]}        corpse_time=180        no_sleep_mode=0        npc_end
npc_begin        warrior        12550        [anti_pk_patrol_orc]        level=70        exp=429634524        acquire_exp_rate=1.8        undying=0        can_be_attacked=1        acquire_sp=2500        race=dragon        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_flame_strike3}        magic_list={}        max_item=50        item_make_list={}        corpse_make_list={}        additional_make_list={}        additional_make_multi_list={}        slot_chest=[]        slot_rhand=[shining_bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=8000        base_damage_range={0;0;80;120}        base_rand_dam=30        str=99        int=21        dex=99        wit=20        con=43        men=25        hp_increase=40        mp_increase=7        org_hp_regen=4        org_mp_regen=1.8        ground_low={50;0;10}        ground_high={186;-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=3xx.xx9008624428        org_mp=339        base_defend=xx.xx23705788166        base_magic_attack=xx.xx87280708638        base_magic_defend=xx.xx31752994285        base_physical_attack=xx.xx22390732649        physical_hit_modify=3.75        physical_avoid_modify=0        base_attack_speed=257        base_reuse_delay=0        base_critical=4        magic_use_speed_modify=0        status={normal}        align=-484        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[karik]}        corpse_time=180        no_sleep_mode=0        npc_end


darkagent 25.08.2005 03:56

nice job..
but..
what about clinet data ? or this npc already exists in npcgrp ?

cassianpry 25.08.2005 04:03

client side dun need changes

flakka 25.08.2005 05:11

Is this from pandragon's release?

cassianpry 25.08.2005 15:25

dunno, i got it in a korean forun

flakka 25.08.2005 15:31

Cool. Might want to credit them then, lol.

rodier 25.08.2005 17:23

hehe nice.. I maybe use it as Floran/Giran anti pk patrol ;-DD

SOnick 25.08.2005 17:45

In npcpos.txt every block must end with "npcmaker_end" string.
Ex
npc_begin [anti_pk_patrol_elf] pos={47715;44188;-3558;0} total=1 respawn=1min dbname=[sentinel_guard_10] dbsaving={death_time;parameters} ai=[anti_pk_patrol]
WayPoints={(47715;44188;-3558);(49783;45155;-3508);(51677;46577;-3503);(51828;48507;-3480);(50596;48637;-3456);(48226;44165;-3510)}
WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec}
npc_end
npcmaker_end

SoaPy 25.08.2005 17:56

Quote:

Originally Posted by SOnick
In npcpos.txt every block must end with "npcmaker_end" string.
Ex
npc_begin [anti_pk_patrol_elf] pos={47715;44188;-3558;0} total=1 respawn=1min dbname=[sentinel_guard_10] dbsaving={death_time;parameters} ai=[anti_pk_patrol]
WayPoints={(47715;44188;-3558);(49783;45155;-3508);(51677;46577;-3503);(51828;48507;-3480);(50596;48637;-3456);(48226;44165;-3510)}
WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec}
npc_end
npcmaker_end

nop really, the syntax is something like this

npcmaker_begin...
npc_begin [anti_pk_patrol_elf] pos={47715;44188;-3558;0} total=1 respawn=1min dbname=[sentinel_guard_10] dbsaving={death_time;parameters} ai=[anti_pk_patrol]
WayPoints={(47715;44188;-3558);(49783;45155;-3508);(51677;46577;-3503);(51828;48507;-3480);(50596;48637;-3456);(48226;44165;-3510)}
WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec}
npc_end
npcmaker_end

flakka 25.08.2005 18:10

Here you guys go. From pandragon's release. :) Complete for all newbie areas.

Code:

//--------------------------------------------------------------------------------------------------------------               
//Date xx.xx.05
//AntiPK Patrol
//--------------------------------------------------------------------------------------------------------------               
territory_begin        [21_19_New_PK]        {{46924;51420;-3037;-2837};{47693;51420;-3037;-2837};{47471;51890;-3037;-2837};{46835;51620;-3037;-2837}}        territory_end
npcmaker_begin        [21_19_New_PK]
//Elfs
npc_begin        [anti_pk_patrol_elf]        pos={50019;53920;-3326;0}        total=1        respawn=1min        dbname=[sentinel_guard_01]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(50019;53920;-3326);(50774;54424;-3345);(51627;55360;-3316);(52115;54518;-3402);(54485;54584;-3547);(53533;53617;-3498);(51720;53290;-3448)}
        WayPointDelays={30sec;1sec;1sec;1sec;15sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={50071;53610;-3312;0}        total=1        respawn=1min        dbname=[sentinel_guard_02]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(50071;53610;-3312);(49810;53139;-3265);(50200;52303;-3519);(51792;51652;-3585);(51067;50167;-3503);(50137;50407;-3624);(49572;51788;-3676);(50079;52856;-3399)}
        WayPointDelays={30sec;1sec;1sec;10sec;1sec;1sec;1sec;10sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={49350;54100;-3272;0}        total=1        respawn=1min        dbname=[sentinel_guard_03]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(49350;54100;-3272);(49366;55264;-3416);(48731;56212;-3550);(49808;56418;-3502);(47965;54912;-3567)}
        WayPointDelays={27sec;1sec;1sec;10sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={40688;53015;-3258;0}        total=1        respawn=1min        dbname=[sentinel_guard_04]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(40688;53015;-3258);(40959;54017;-3357);(42045;54462;-3599);(42821;55864;-3690);(41530;57759;-3651);(38874;54528;-3456);(41022;54929;-3524)}
        WayPointDelays={30sec;1sec;1sec;1sec;10sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={40467;52685;-3257;0}        total=1        respawn=1min        dbname=[sentinel_guard_05]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(40467;52685;-3257);(39740;50974;-3454);(38207;50410;-3493);(38709;51619;-3520);(38263;53168;-3473)}
        WayPointDelays={15sec;1sec;10sec;10sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={39790;48425;-3647;0}        total=1        respawn=1min        dbname=[sentinel_guard_06]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(39790;48425;-3647);(38459;48313;-3546);(36631;45592;-3643);(38282;45392;-3620)}
        WayPointDelays={20sec;15sec;13sec;17sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={41891;41982;-3492;0}        total=1        respawn=1min        dbname=[sentinel_guard_07]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(41891;41982;-3492);(42179;40394;-3494);(40959;39148;-3559);(42407;39412;-3493);(43033;39625;-3467);(43033;39625;-3467);(43033;39625;-3467);(43503;41274;-3467)}
        WayPointDelays={25sec;1sec;1sec;20sec;1sec;1sec;15sec;10sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={45526;41948;-3467;0}        total=1        respawn=1min        dbname=[sentinel_guard_08]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(45526;41948;-3467);(45398;42716;-3499);(45320;44225;-3706);(44070;44518;-3706);(42914;43674;-3664);(43598;42477;-3492)}
        WayPointDelays={25sec;1sec;1sec;1sec;15sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={45526;41948;-3467;0}        total=1        respawn=1min        dbname=[sentinel_guard_09]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(46315;42044;-3467);(48328;43087;-3501);(49650;42385;-3485);(48850;40614;-3510);(51091;39900;-3521);(48973;39745;-3510);(50156;41409;-3457)}
        WayPointDelays={25sec;1sec;1sec;1sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_elf]        pos={47715;44188;-3558;0}        total=1        respawn=1min        dbname=[sentinel_guard_10]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(47715;44188;-3558);(49783;45155;-3508);(51677;46577;-3503);(51828;48507;-3480);(50596;48637;-3456);(48226;44165;-3510)}
        WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec}
npc_end       

// People
npc_begin        [anti_pk_patrol_human]        pos={-84063;246626;-3504;0}        total=1        respawn=1min        dbname=[sentinel_guard_11]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-84063;246626;-3504);(-82888;247859;-3576);(-81496;249196;-3688);(-80158;248254;-3624);(-80006;246157;-3736);(-80243;242925;-3728);(-81515;244668;-3720);(-82358;245878;-3688)}
        WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-75547;253489;-3328;0}        total=1        respawn=1min        dbname=[sentinel_guard_12]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-75547;253489;-3328);(-74184;252962;-3344);(-72248;254135;-3360);(-70603;255448;-3248);(-69123;257357;-3280);(-71774;255408;-3280);(-73436;255464;-3160)}
        WayPointDelays={30sec;1sec;1sec;1sec;15sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-71637;256067;-3120;0}        total=1        respawn=1min        dbname=[sentinel_guard_13]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-71637;256067;-3120);(-73705;257708;-3120);(-72512;259469;-3120);(-72018;259785;-3120);(-71746;259728;-3120);(-69824;258009;-3120);(-69948;257469;-3120);(-70900;256739;-3120)}
        WayPointDelays={30sec;1sec;1sec;10sec;1sec;1sec;1sec;10sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-80863;240524;-3624;0}        total=1        respawn=1min        dbname=[sentinel_guard_14]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-80863;240524;-3624);(-83400;238395;-3720);(-86275;237660;-3672);(-87334;237856;-3616);(-87379;238803;-3608);(-86165;239809;-3680);(-84300;239475;-3736)}
        WayPointDelays={27sec;1sec;1sec;10sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-89486;236563;-3696;0}        total=1        respawn=1min        dbname=[sentinel_guard_15]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-89486;236563;-3696);(-90295;235055;-3728);(-93114;233608;-3726);(-92771;234478;-3728);(-92428;235819;-3680);(-91065;236805;-3648);(-90238;236914;-3688)}
        WayPointDelays={30sec;1sec;1sec;1sec;10sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-94290;233164;-3704;0}        total=1        respawn=1min        dbname=[sentinel_guard_16]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-94290;233164;-3704);(-94587;234413;-3688);(-96673;235257;-3616);(-97537;232720;-3512);(-97471;230709;-3632);(-96587;231141;-3624);(-95471;231966;-3648)}
        WayPointDelays={15sec;1sec;10sec;10sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-92794;241600;-3432;0}        total=1        respawn=1min        dbname=[sentinel_guard_17]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-92794;241600;-3432);(-93843;241855;-3448);(-93511;242524;-3456);(-93758;243931;-3592);(-93413;244466;-3528);(-92263;244080;-3464);(-92250;242509;-3552);(-93075;241844;-3432)}
        WayPointDelays={20sec;15sec;13sec;17sec;20sec;15sec;13sec;17sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-87030;251904;-3632;0}        total=1        respawn=1min        dbname=[sentinel_guard_18]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-87030;251904;-3632);(-86809;254305;-3728);(-86174;255404;-3728);(-83956;253816;-3728);(-82691;251170;-3696);(-85015;251353;-3584)}
        WayPointDelays={25sec;1sec;1sec;20sec;1sec;1sec}
npc_end       

//DarkElfs
npc_begin        [anti_pk_patrol_darkelf]        pos={-24060;12180;-3630;0}        total=1        respawn=1min        dbname=[sentinel_guard_19]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-24060;12180;-3630);(-22060;12620;-3630);(-23730;15450;-3630);(-24770;20160;-3490);(-26107;15110;-3640)}
        WayPointDelays={30sec;1sec;1sec;1sec;15sec}
npc_end       
npc_begin        [anti_pk_patrol_darkelf]        pos={-29600;9300;-3730;0}        total=1        respawn=1min        dbname=[sentinel_guard_20]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-29600;9300;-3730);(-31020;16630;-3730);(-30880;18890;-3725);(-33130;14500;-3540);(-33190;12520;-3600);(-31150;14110;-3670)}
        WayPointDelays={30sec;1sec;1sec;10sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_darkelf]        pos={-29720;7800;-3730;0}        total=1        respawn=1min        dbname=[sentinel_guard_21]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-29720;7800;-3730);(-26150;5220;-3590);(-23590;9217;-3570);(-25770;8900;-3650);(-28090;8050;-3730)}
        WayPointDelays={27sec;1sec;1sec;10sec;1sec}
npc_end       

//Village
npc_begin        [anti_pk_patrol_human]        pos={-8599;26500;-3700;0}        total=1        respawn=1min        dbname=[sentinel_guard_22]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-8599;26500;-3700);(-9800;27755;-3655);(-11862;27851;-3710);(-10575;26470;-3700)}
        WayPointDelays={30sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-1615;21990;-3320;0}        total=1        respawn=1min        dbname=[sentinel_guard_23]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-1615;21990;-3320)}
        WayPointDelays={15sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-735;15715;-3250;0}        total=1        respawn=1min        dbname=[sentinel_guard_24]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-735;15715;-3250);(-1550;13600;-3200);(-2250;10230;-3130)}
        WayPointDelays={20sec;15sec;13sec}
npc_end       
npc_begin        [anti_pk_patrol_human]        pos={-3190;6950;-3120;0}        total=1        respawn=1min        dbname=[sentinel_guard_25]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-3190;6950;-3120);(-5800;6360;-2930);(-9455;6720;-2730)}
        WayPointDelays={25sec;1sec;1sec}
npc_end

//Orcs
npc_begin        [anti_pk_patrol_orc]        pos={-51392;-109745;-232;0}        total=1        respawn=1min        dbname=[sentinel_guard_26]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-51392;-109745;-232);(-49932;-109018;-248);(-48596;-109151;-256);(-48505;-110719;-240);(-47867;-111910;-240);(-50444;-112963;-200);(-49692;-110964;-240)}
        WayPointDelays={25sec;1sec;1sec;1sec;15sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_orc]        pos={50019;53920;-3326;0}        total=1        respawn=1min        dbname=[sentinel_guard_27]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-50805;-114886;-176);(-51046;-116001;-232);(-49142;-116351;-160);(-47776;-117652;-240);(-47931;-114670;-168)}
        WayPointDelays={30sec;1sec;1sec;1sec;15sec}
npc_end
npc_begin        [anti_pk_patrol_orc]        pos={-49376;-102730;-2040;0}        total=1        respawn=1min        dbname=[sentinel_guard_28]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-49376;-102730;-2040);(-46996;-102998;-1720);(-49256;-105044;-1944);(-50246;-104122;-2064);(-50202;-102692;-2112)}
        WayPointDelays={30sec;1sec;1sec;10sec;1sec}
npc_end
npc_begin        [anti_pk_patrol_orc]        pos={-36596;-112461;-1792;0}        total=1        respawn=1min        dbname=[sentinel_guard_29]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-36596;-112461;-1792);(-37400;-111509;-1784);(-38853;-111218;-1864);(-40237;-112872;-1992);(-38681;-113601;-1984)}
        WayPointDelays={27sec;1sec;1sec;10sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_orc]        pos = {-46461;-120059;-240;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_30]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-46461;-120059;-240);(-44583;-120638;-232);(-42728;-121829;-264);(-43091;-120848;-240);(-45091;-118521;-240);(-47659;-118368;-240);(-47521;-119376;-232);(-47104;-120044;-240)}
        WayPointDelays={30sec;1sec;1sec;1sec;10sec;1sec;1sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_orc]        pos = {-37383;-120971;-1688;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_31]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-37383;-120971;-1688);(-38090;-122560;-1664);(-37138;-122352;-1648);(-36610;-121836;-1688);(-37047;-120436;-1712)}
        WayPointDelays={15sec;1sec;10sec;10sec;1sec}
npc_end       
npc_begin        [anti_pk_patrol_orc]        pos = {-37860;-117154;-1672;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_32]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(-37860;-117154;-1672);(-36760;-117094;-1648);(-37046;-119078;-1736);(-40015;-118818;-1856);(-41289;-118210;-1920);(-40389;-116596;-1912)}
        WayPointDelays={20sec;15sec;13sec;17sec;13sec;17sec}
npc_end       

//Dwarves
npc_begin        [anti_pk_patrol_dwarf]        pos = {107581;-173999;-400;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_33]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(107581;-173999;-400);(108648;-173126;-552);(109524;-174154;-552);(108682;-174992;-424);(107740;-174761;-392)}
        WayPointDelays={30sec;1sec;1sec;1sec;15sec}
npc_end
npc_begin        [anti_pk_patrol_dwarf]        pos = {115401;-172441;-624;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_34]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(115401;-172441;-624);(116807;-174639;-952);(115519;-175394;-968);(114697;-173315;-688)}
        WayPointDelays={30sec;1sec;1sec;10sec}
npc_end
npc_begin        [anti_pk_patrol_dwarf]        pos = {118910;-180273;-2232;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_35]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(118910;-180273;-2232);(119696;-180876;-2664);(119791;-182646;-3160);(118744;-185174;-3032);(119596;-187179;-3272);(119744;-188499;-3296);(119596;-187179;-3272);(118744;-185174;-3032);(119791;-182646;-3160);(119696;-180876;-2664)}
        WayPointDelays={27sec;1sec;1sec;10sec;1sec;27sec;1sec;1sec;10sec;1sec}
npc_end
npc_begin        [anti_pk_patrol_dwarf]        pos = {119816;-191425;-3408;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_36]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(119816;-191425;-3408);(117864;-194286;-3512);(118685;-195966;-3568);(120278;-193616;-3496)}
        WayPointDelays={30sec;1sec;1sec;1sec}
npc_end
npc_begin        [anti_pk_patrol_dwarf]        pos = {119272;-201278;-3552;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_37]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(119272;-201278;-3552);(120683;-199735;-3608);(121750;-199177;-3704);(120311;-199851;-3616)}
        WayPointDelays={15sec;1sec;10sec;10sec}
npc_end
npc_begin        [anti_pk_patrol_dwarf]        pos = {127865;-184925;-2880;0}        total = 1        respawn = 1min        dbname=[sentinel_guard_38]        dbsaving={death_time;parameters}        ai=[anti_pk_patrol]       
        WayPoints={(127865;-184925;-2880);(127687;-185988;-2880);(128367;-187529;-3056);(128716;-188673;-3176);(130267;-189931;-3360);(130415;-188626;-3344);(128574;-187382;-3000)}
        WayPointDelays={20sec;15sec;13sec;17sec}
npc_end
npcmaker_end


SOnick 25.08.2005 18:33

Quote:

Originally Posted by SoaPy

nop really, the syntax is something like this

npcmaker_begin...
npc_begin [anti_pk_patrol_elf] pos={47715;44188;-3558;0} total=1 respawn=1min dbname=[sentinel_guard_10] dbsaving={death_time;parameters} ai=[anti_pk_patrol]
WayPoints={(47715;44188;-3558);(49783;45155;-3508);(51677;46577;-3503);(51828;48507;-3480);(50596;48637;-3456);(48226;44165;-3510)}
WayPointDelays={25sec;1sec;1sec;10sec;1sec;1sec}
npc_end
npcmaker_end

lol are you serious?

SOnick 25.08.2005 20:59

That`s a npc_pos for ROD
--------------------------------------------------------------------------------------------------------------
//Date xx.xx.05
//AntiPK Patrol Ruins
//----------------------------------------
territory_begin [21_19_ruins_pk] {{46924;51420;-3037;-2837};{47693;51420;-3037;-2837};{47471;51890;-3037;-2837};{46835;51620;-3037;-2837}} territory_end
npcmaker_begin [21_19_Ruins_PK]
//Ruins
npc_begin [anti_pk_patrol_elf] pos={-19674;138320;-3888;0} total=1 respawn=1min dbname=[sentinel_guard_10] dbsaving={death_time;parameters} ai=[anti_pk_patrol]
WayPoints={(-19674;138320;-3888);(-19073;139329;-3896);(-18250;142275;-3896);(-17521;144065;-3904);(-18250;142275;-3896);(-19073;139329;-3896)}
WayPointDelays={5sec;5sec;5sec;5sec;5sec;5sec}
npc_end
npc_begin [anti_pk_patrol_elf] pos={-12815;140956;-3720;0} total=1 respawn=1min dbname=[sentinel_guard_10] dbsaving={death_time;parameters} ai=[anti_pk_patrol]
WayPoints={(-12815;140956;-3720);(-13929;142146;-3688);(-15151;141802;-3896);(-16215;142436;-3904);(-15151;141802;-3896);(-13929;142146;-3688)}
WayPointDelays={5sec;5sec;5sec;5sec;5sec;5sec}
npc_end
npcmaker_end

rodier 26.08.2005 03:53

lol thank for RoD ;-D we have rule NO PKing players under 20L @ newbie villages and RoD. But many people dont use it.

But how this guards patrol? it simply runing around? for what is

but.. how this guards work? if they see PK they hunt him... how far? how much? can they run trought rod? because its no problem to get in RoD trought this patrol I think

lol its undying=0 .. that is not coool ;-DD


but.. seriously.. how u get this coordinates for creating spawns? its any tool? I hear about one....

edit: I found it buts its chinese .. and dont know how to make new ;-( ..

Can you make little tut how to make waypoints? I want make this patrol around lowlevel cities like Gludio/Dion/Gludin too

rodier 26.08.2005 05:46

OMG ITS NOT WORKING ???
they are killing normal players too .. not only RED ;-( /if I summon one/
.. I can't catch anyone in game from npcpos..why? I wait on waypoint for few minutes and nothing...

- server loads everything OK ..

OnlyOne 26.08.2005 07:47

Quote:

Originally Posted by rodier
OMG ITS NOT WORKING ???
they are killing normal players too .. not only RED ;-( /if I summon one/
.. I can't catch anyone in game from npcpos..why? I wait on waypoint for few minutes and nothing...

- server loads everything OK ..

Never Copy/Paste stuff before checking it ;)
Below i posted code of normal guards like in off. in first release npc type was warrrior thats why they where attacking all and dwarf ir orc guards were set to npcai=karik ;) Use my release safely tested and running 8)

Code:

npc_begin  guard  12546  [anti_pk_patrol_human]  level=70        exp=4296345xx.xx5        acquire_exp_rate=0.3        undying=0        can_be_attacked=0        acquire_sp=30        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=[bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=1100        base_damage_range={0;0;80;120}        base_rand_dam=10        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=10        ground_low={80;0;10}        ground_high={160;-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=5000        base_defend=2xx.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=15xx.xx519825567        physical_hit_modify=0        physical_avoid_modify=0        base_attack_speed=227        base_reuse_delay=500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin  guard  12547  [anti_pk_patrol_elf]  level=70        exp=4296345xx.xx5        acquire_exp_rate=0.3        undying=0        can_be_attacked=0        acquire_sp=30        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=[bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=1100        base_damage_range={0;0;80;120}        base_rand_dam=10        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=10        ground_low={80;0;10}        ground_high={160;-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=5000        base_defend=2xx.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=15xx.xx519825567        physical_hit_modify=0        physical_avoid_modify=0        base_attack_speed=227        base_reuse_delay=500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin  guard  12548  [anti_pk_patrol_darkelf]  level=70        exp=4296345xx.xx5        acquire_exp_rate=0.3        undying=0        can_be_attacked=0        acquire_sp=30        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=[bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=1100        base_damage_range={0;0;80;120}        base_rand_dam=10        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=10        ground_low={80;0;10}        ground_high={160;-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=5000        base_defend=2xx.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=15xx.xx519825567        physical_hit_modify=0        physical_avoid_modify=0        base_attack_speed=227        base_reuse_delay=500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin  guard  12549  [anti_pk_patrol_dwarf]  level=70        exp=4296345xx.xx5        acquire_exp_rate=0.3        undying=0        can_be_attacked=0        acquire_sp=30        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=[bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=1100        base_damage_range={0;0;80;120}        base_rand_dam=10        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=10        ground_low={80;0;10}        ground_high={160;-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=5000        base_defend=2xx.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=15xx.xx519825567        physical_hit_modify=0        physical_avoid_modify=0        base_attack_speed=227        base_reuse_delay=500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end
npc_begin  guard  12550  [anti_pk_patrol_orc]  level=70        exp=4296345xx.xx5        acquire_exp_rate=0.3        undying=0        can_be_attacked=0        acquire_sp=30        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=[bow]        slot_lhand=[]        base_attack_type=bow        base_can_penetrate=0        base_attack_range=1100        base_damage_range={0;0;80;120}        base_rand_dam=10        str=40        int=21        dex=30        wit=20        con=43        men=10        hp_increase=40        mp_increase=7        org_hp_regen=7.5        org_mp_regen=10        ground_low={80;0;10}        ground_high={160;-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=5000        base_defend=2xx.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=15xx.xx519825567        physical_hit_modify=0        physical_avoid_modify=0        base_attack_speed=227        base_reuse_delay=500        base_critical=8        magic_use_speed_modify=0        status={normal}        align=-4900        collision_radius=8        collision_height=24        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[aden_bow_guard_s_hu]}        corpse_time=7        no_sleep_mode=0        npc_end


tespio 26.08.2005 11:20

It might be a good ideea to make them undying=1 unless you make their dmg pretty huge because there might be playrs able to kill a guard.

rodier 26.08.2005 20:16

thanks :-)
btw > I think undying=0 is OK because with shining bow..they make 3000dmg instant kill to everyone.. I think more funny will be weaker version.. also PK must have chance .]

rodier 26.08.2005 20:22

btw where is call to ai.obj class anti pk patrol .. if in npcdata is calling to ai from castle siege guard?

rodier 27.08.2005 18:55

hmm still that anti PK kill normal players even if is set to guard.
I think that is because ai = siege guard
must be set to normal guard

pls never post code that is not tested/working if you say its working

OnlyOne 27.08.2005 21:01

Quote:

Originally Posted by rodier
hmm still that anti PK kill normal players even if is set to guard.
I think that is because ai = siege guard
must be set to normal guard

pls never post code that is not tested/working if you say its working

working on my server for two days everything ok

Edit:
IF u summon by command they ll attack people but spawned guards not becouse of ai=[anti_pk_patrol] in npcpos

rodier 29.08.2005 10:04

hmm that is really weird..

tespio 30.08.2005 07:59

They work perfectly. You just need to be sure that in npcpos.txt their ai is set to anti_pk_patrol. In the npcdata.txt their ai is npc_ai={[aden_bow_guard_s_hu]} and it is ok like that.

Tim21 07.04.2006 03:17

When you summon them then they will be aggro to everyone.

But when they spawn as each other npc then they only hit PK's.

Although i have 1 question.

Is thier a way to upgrade thier notice range?

Cause on the moment a pk has to run very close pass him will he shoot at the pk.

Tim

Shawnmb 07.04.2006 06:21

NPCData.


All times are GMT. The time now is 23:03.