Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.09.2005, 16:07   #1
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default [Share] - Jail Manager for Bandit Stronghold

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



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
krapno is offline  
Old 29.09.2005, 00:50   #2
Meriik
Архивный участник
 
Join Date: Jul 2005
Posts: 18
Default

Meriik is offline  
Old 29.09.2005, 01:30   #3
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Hehe, very useful. Thanks krapno.
flakka is offline  
Old 29.09.2005, 06:56   #4
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

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.
HF is offline  
Old 29.09.2005, 07:36   #5
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

and npcpos ??
kepler001 is offline  
Old 29.09.2005, 08:34   #6
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

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) ...
krapno is offline  
Old 29.09.2005, 08:48   #7
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

Hmmm
recode or doordata for Open For treasure hunter ??
kepler001 is offline  
Old 29.09.2005, 11:16   #8
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

Quote:
Originally Posted by kepler001
Hmmm
recode or doordata for Open For treasure hunter ??
offtopic
krapno is offline  
Old 29.09.2005, 11:16   #9
Ugmak
Архивный участник
 
Join Date: Sep 2005
Posts: 72
Default

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..
Ugmak is offline  
Old 29.09.2005, 11:25   #10
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

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
krapno is offline  
Old 19.10.2005, 23:49   #11
pirateice
Архивный участник
 
Join Date: May 2005
Posts: 43
Default

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
pirateice is offline  
Old 20.10.2005, 17:18   #12
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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..
rodier is offline  
Old 20.10.2005, 17:33   #13
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

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
HF is offline  
Old 20.10.2005, 18:11   #14
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

nice...
thats pretty useful. and funny XD
thx for sharing it with us :thumbup:
toolpunk is offline  
Old 21.10.2005, 00:19   #15
pirateice
Архивный участник
 
Join Date: May 2005
Posts: 43
Default

i added all the info above but the doors still cannot be open, any help thnx.
pirateice is offline  
Old 21.10.2005, 07:45   #16
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

Doordata maybe?
Flamestrike is offline  
Old 21.10.2005, 10:18   #17
pirateice
Архивный участник
 
Join Date: May 2005
Posts: 43
Default

hmmm.. i cut n paste the one posted still the door are close.. is there something wrong with those scripts?
pirateice is offline  
Old 21.10.2005, 19:59   #18
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

What if the player uses soe,return skill,/unstuck,or a player kills another one and click nearest ? :/
top-gear is offline  
Old 21.10.2005, 23:48   #19
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

hi, you have to check Z pos, maybe we have different geodatas !
krapno is offline  
Old 22.10.2005, 08:43   #20
pirateice
Архивный участник
 
Join Date: May 2005
Posts: 43
Default

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.
pirateice is offline  
Old 22.10.2005, 12:53   #21
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

Any way to block return skill,soe and go to nearest village in case of death?
top-gear is offline  
Old 05.01.2006, 14:36   #22
Koner
Архивный участник
 
Join Date: Sep 2005
Posts: 212
Default Re: [Share] - Jail Manager for Bandit Stronghold

Ur html's doesnt work.
Koner is offline  
Old 05.01.2006, 14:43   #23
filrip
Архивный участник
 
Join Date: May 2005
Posts: 99
Default 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 ?
filrip is offline  
Old 10.01.2006, 20:21   #24
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

i use scrool of escape in jail and get in oren :/
KTPSMF is offline  
Old 11.01.2006, 00:37   #25
Dank0ne
Архивный участник
 
Join Date: Jan 2006
Posts: 24
Default

Yeah me too
Dank0ne is offline  
 


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 20:46.