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] - Jail Manager for Bandit Stronghold (https://postpacific.mmorpg-game.online/showthread.php?t=1965)

krapno 28.09.2005 16:07

[Share] - Jail Manager for Bandit Stronghold
 
Some cool ppl use Bandit Stronghold as a jail for bad players :D and sent to me settings for that, then i implemented a npc to open/close doors manually (more realist than "Summon Char" command :) )

http://img161.imageshack.us/img161/8...02740dr.th.jpg http://img161.imageshack.us/img161/3...02751pf.th.jpg

doordata.txt
Code:

door_begin        [bandit_outter_001]        type=normal_type        static_object_id=22170001        open_method=by_npc        pos={85393;-18338;-1792}        range={{85293;-18438;-1792};{85493;-18438;-1792};{85493;-18238;-1792};{85293;-18238;-1792}}        height=500        hp=158250        physical_defence=644        magical_defence=518        level=3        close_time=300        door_end
door_begin        [bandit_outter_002]        type=normal_type        static_object_id=22170002        open_method=by_npc        pos={85473;-18279;-1792}        range={{85373;-18379;-1792};{85573;-18379;-1792};{85573;-18179;-1792};{85373;-18179;-1792}}        height=500        hp=158250        physical_defence=644        magical_defence=518        level=3        close_time=300        door_end
door_begin        [bandit_inner_001]        type=normal_type        static_object_id=22170003        open_method=by_npc        pos={80867;-15471;-1800}        range={{80767;-15571;-1800};{80967;-15571;-1800};{80967;-15371;-1800};{80767;-15371;-1800}}        height=500        hp=158250        physical_defence=644        magical_defence=518        level=3        close_time=300        door_end
door_begin        [bandit_inner_002]        type=normal_type        static_object_id=22170004        open_method=by_npc        pos={80818;-15396;-1800}        range={{80718;-15496;-1800};{80918;-15396;-1800};{80918;-15296;-1800};{80718;-15296;-1800}}        height=500        hp=158250        physical_defence=644        magical_defence=518        level=3        close_time=300        door_end

ai.obj
Code:

class jail_manager : chamberlain
class_end

npc_pch.txt
Code:

[jail_manager]        =        1060000
npcdata.txt
Code:

npc_begin        citizen        60000        [jail_manager]        level=70        exp=429634524        acquire_exp_rate=0.1        undying=1        can_be_attacked=0        acquire_sp=1        race=human        sex=male        temper=100        safe_height=100        org_jump=15        skill_list={@s_full_magic_defence}        magic_list={}        max_item=50        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.xx597408024        base_magic_attack=4xx.xx4627426724        base_magic_defend=2xx.xx8467292763        base_physical_attack=6xx.xx3725587608        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=-4900        collision_radius=10        collision_height=22        category={}        clan={}        clan_help_range=300        guild={}        pledge={}        pledge_leader=0        alliance={}        alliance_leader=0        ignore_clan_list={}        ruler=0        ruling_domain={}        npc_ai={[jail_manager];{[fnSetGate]=[jail_manager001.htm]};{[fnSiegeDefendList]=[jail_manager001.htm]};{[fnNotMyLord]=[jail_manager001.htm]};{[fnAfterOpenGate]=[jail_manager001.htm]};{[fnAfterCloseGate]=[jail_manager001.htm]};{[DDoorName1_1]=[bandit_outter_001]};{[DDoorName1_2]=[bandit_outter_002]};{[DDoorName2_1]=[bandit_inner_001]};{[DDoorName2_2]=[bandit_inner_002]}}        corpse_time=7        no_sleep_mode=0        npc_end
jail_manager001.htm
Code:

<html><head></head><body>
<center><font color="LEVEL">Jail Manager</font></center>



Bernardo:

All is well, my Lord, What is your command?



<center>
<font color="LEVEL">Outter Jail Doors</font>
<table width="200">
<tr>
<td align="center"><a action="bypass -h menu_select?ask=-203&reply=1">Open</a></td>
<td align="center"><a action="bypass -h menu_select?ask=-203&reply=101">Close</a></td>
</tr>
</table>




<font color="LEVEL">Inner Jail Doors</font>
<table width="200">
<tr>
<td align="center">
<td align="center"><a action="bypass -h menu_select?ask=-203&reply=2">Open</a></td>
<td align="center"><a action="bypass -h menu_select?ask=-203&reply=102">Close</a></td>
</tr>
</table>
</center></body></html>

npcgrp.dat
Code:

npc_begin        npc_id=60000        npc_name=[]        npc_speed=1        class_name=[LineageNPC.a_fighterguild_teacher_MHuman]        mesh_name=[LineageNPCs.a_fighterguild_teacher_MHuman_m00]        texture_name={[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_b00];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_b01];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_f];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_h]}        texture_name_second={[]}        collision_radius=N/A        collision_height=N/A        attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]}        defense_sound1={[ItemSound.armor_leather_2];[ItemSound.armor_leather_4];[ItemSound.armor_leather_5];[ItemSound.armor_leather_6];[ItemSound.armor_leather_7]}        damage_sound={[ChrSound.MNpc_Fighter_Dmg_1];[ChrSound.MNpc_Fighter_Dmg_2];[ChrSound.MNpc_Fighter_Dmg_3]}        sound_vol=250        sound_radius=50        sound_random=70        attack_effect=[LineageEffect.p_u002_a]        quest_be=0        level_limit={0;0}        class_limit={}        silhouette={[]}        property_list={0}        social=1        c3attr=0        npc_end
npcname-e.dat
Code:

npc_begin        id=60000        nickcolor=raid        nick=[* Jail Manager *]        name=[Bernardo]        npc_end
Kind regards

Meriik 29.09.2005 00:50

:)

flakka 29.09.2005 01:30

Hehe, very useful. Thanks krapno. :)

HF 29.09.2005 06:56

Who has data about what function is carried out with this lock in ะก3? In castledata even there is a record that with it, it is possible to work as with the castle or clanhall. I am able to do it, but I have no exact data.

kepler001 29.09.2005 07:36

and npcpos ??

krapno 29.09.2005 08:34

Quote:

Originally Posted by kepler001
and npcpos ??

summon it manually when u need to open doors because i used chambermain AI and there is no GM rights verification in this class...

if someone know, i m interested in AI including GM control in order only GM can open doors (or anything else) ... :)

kepler001 29.09.2005 08:48

Hmmm
recode or doordata for Open For treasure hunter ??

krapno 29.09.2005 11:16

Quote:

Originally Posted by kepler001
Hmmm
recode or doordata for Open For treasure hunter ??

offtopic

Ugmak 29.09.2005 11:16

We have it setup tha tyou cannot scroll of escape to it, and you cannot scroll of escape into it either, just incase yoru near it when you use it.

for the npcpos for the guard, just goto the jail on a wyvern and pick a spot you want him in, if you want him planted permanently..

krapno 29.09.2005 11:25

it can help u...

Code:

//Jail
point_begin
        point_name=[bandit_stronghold]
        point={80436;-15509;-704}
        chao_point={82718;-16162;-1888}
        map={22;17}
        banned_race={}
point_end


pirateice 19.10.2005 23:49

Quote:

Originally Posted by Ugmak
We have it setup tha tyou cannot scroll of escape to it, and you cannot scroll of escape into it either, just incase yoru near it when you use it.

for the npcpos for the guard, just goto the jail on a wyvern and pick a spot you want him in, if you want him planted permanently..

how bout clan scroll of escape? could you post the script for this thanks

rodier 20.10.2005 17:18

hmm can you tell me which NPC originally open this door on official?

I dont like creating new NPC because client side patch.. I want make it on original NPC ... in c3 npcdata are LOTs of NPCs thats not used..

HF 20.10.2005 17:33

Quote:

Originally Posted by rodier
hmm can you tell me which NPC originally open this door on official?

I dont like creating new NPC because client side patch.. I want make it on original NPC ... in c3 npcdata are LOTs of NPCs thats not used..

It is continue of previous message in another thread.

i agree. I no get all info from this thread. Because I do not wish to make my server we do not resemble on official.
But. Here there is a lot of helpful information for next my developing in this location. Use it ;) doordata, setting, area ;)

toolpunk 20.10.2005 18:11

nice...
thats pretty useful. and funny XD
thx for sharing it with us :thumbup:

pirateice 21.10.2005 00:19

i added all the info above but the doors still cannot be open, any help thnx.

Flamestrike 21.10.2005 07:45

Doordata maybe?

pirateice 21.10.2005 10:18

hmmm.. i cut n paste the one posted still the door are close.. is there something wrong with those scripts?

top-gear 21.10.2005 19:59

What if the player uses soe,return skill,/unstuck,or a player kills another one and click nearest ? :/

krapno 21.10.2005 23:48

hi, you have to check Z pos, maybe we have different geodatas !

pirateice 22.10.2005 08:43

Quote:

Originally Posted by krapno
hi, you have to check Z pos, maybe we have different geodatas !

Sir goodday, could u share ur geodata for this, thanks in advance.

top-gear 22.10.2005 12:53

Any way to block return skill,soe and go to nearest village in case of death?

Koner 05.01.2006 14:36

Re: [Share] - Jail Manager for Bandit Stronghold
 
Ur html's doesnt work.

filrip 05.01.2006 14:43

Re: [Share] - Jail Manager for Bandit Stronghold
 
Quote:

Originally Posted by Koner
Ur html's doesnt work.

html have no special functions. like a txt open in notepad if not displayed... your file is wrong

Are you sure you saved it in Unicode format ?

KTPSMF 10.01.2006 20:21

i use scrool of escape in jail and get in oren :/

Dank0ne 11.01.2006 00:37

Yeah me too :(


All times are GMT. The time now is 21:52.