Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.01.2006, 07:58   #1
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default [SHARE] Teleports to help players cross south Giran briges

it has always been a bitch for players getting stuck due to bad geo data, so I made these briges so people won't get stuck going accross.

Code:
//-------------------------------------------------
//Made by Ken
//Teleport accross broke bridge in giran to heine
//-------------------------------------------------

territory_begin [giran_to_heine_1] {{80588;159230;-3328;-3328};{80588;159230;-3328;-3328};{80588;159230;-3328;-3328};{80588;159230;-3328;-3328}} territory_end
npcmaker_begin [giran_to_heine_1] initial_spawn=all maximum_npc=1
npc_begin [giran_to_heine_teleport_1] pos={80588;159230;-3328;-3328} total=1 respawn=2min npc_end
npcmaker_end

territory_begin [giran_to_heine_2] {{68857;179203;-3648;-3648};{68857;179203;-3648;-3648};{68857;179203;-3648;-3648};{68857;179203;-3648;-3648}} territory_end
npcmaker_begin [giran_to_heine_2] initial_spawn=all maximum_npc=1
npc_begin [giran_to_heine_teleport_2] pos={68857;179203;-3648;-3648} total=1 respawn=2min npc_end
npcmaker_end

territory_begin [heine_to_giran_1] {{84385;161394;-3224;-3224};{84385;161394;-3224;-3224};{84385;161394;-3224;-3224};{84385;161394;-3224;-3224}} territory_end
npcmaker_begin [heine_to_giran_1] initial_spawn=all maximum_npc=1
npc_begin [heine_to_giran_teleport_1] pos={84385;161394;-3224;-3224} total=1 respawn=2min npc_end
npcmaker_end

territory_begin [heine_to_giran_2] {{71661;180689;-3648;-3648};{71661;180689;-3648;-3648};{71661;180689;-3648;-3648};{71661;180689;-3648;-3648}} territory_end
npcmaker_begin [heine_to_giran_2] initial_spawn=all maximum_npc=1
npc_begin [heine_to_giran_teleport_2] pos={71661;180689;-3648;-3648} total=1 respawn=2min npc_end
npcmaker_end
NPC DATA

Code:
npc_begin	teleporter	15010	[giran_to_heine_teleport_1]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.6	undying=1	can_be_attacked=0	acquire_sp=84	race=human	sex=female	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=7.5	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=1345.8	base_defend=2xx.xx597408024	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=25	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[giran_hiene_bridge_1];{[fnHi]	=	[heine_to_giran.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	teleporter	15011	[giran_to_heine_teleport_2]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.6	undying=1	can_be_attacked=0	acquire_sp=84	race=human	sex=female	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=7.5	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=1345.8	base_defend=2xx.xx597408024	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=25	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[giran_hiene_bridge_2];{[fnHi]	=	[heine_to_giran.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	teleporter	15012	[heine_to_giran_teleport_1]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.6	undying=1	can_be_attacked=0	acquire_sp=84	race=human	sex=female	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=7.5	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=1345.8	base_defend=2xx.xx597408024	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=25	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[hiene_giran_bridge_1];{[fnHi]	=	[heine_to_giran.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	teleporter	15013	[heine_to_giran_teleport_2]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.6	undying=1	can_be_attacked=0	acquire_sp=84	race=human	sex=female	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=7.5	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=1345.8	base_defend=2xx.xx597408024	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=25	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[hiene_giran_bridge_2];{[fnHi]	=	[heine_to_giran.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
AI

Code:
class giran_hiene_bridge_1 : instant_teleporter
handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	less
	branch_false L28806
L28805
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 84673
	push_const 161739
	push_const 3296
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L28807
L28806
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 84673
	push_const 161739
	push_const 3296
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L28807
handler_end

class_end

class giran_hiene_bridge_2 : instant_teleporter
handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	less
	branch_false L28806
L28805
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 71857
	push_const 180780
	push_const 3648
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L28807
L28806
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 71857
	push_const 180780
	push_const 3648
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L28807
handler_end

class_end

class hiene_giran_bridge_1 : instant_teleporter
handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	less
	branch_false L28806
L28805
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 80437
	push_const 159182
	push_const 3280
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L28807
L28806
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 80437
	push_const 159182
	push_const 3280
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L28807
handler_end

class_end

class hiene_giran_bridge_2 : instant_teleporter
handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	less
	branch_false L28806
L28805
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 68646
	push_const 179070
	push_const 3648
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L28807
L28806
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 68646
	push_const 179070
	push_const 3648
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L28807
handler_end

class_end

class back_to_giran : instant_teleporter
handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	less
	branch_false L28806
L28805
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 83345
	push_const 147993
	push_const 3400
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L28807
L28806
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 83345
	push_const 147993
	push_const 3400
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L28807
handler_end

class_end

class pet_elpy : pet_physicalattack
class_end 

class gatekeeper_darkomens : teleporter_need_item
handler 32	//  MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 6
	negate
	equal
	branch_false L33287
L33286
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter ItemNeeded
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L33289
L33288
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter ItemNeeded
	push_const 1
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 19084
	negate
	push_const 13507
	push_const 4896
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L33290
L33289
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNoItem
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L33290
L33287
handler_end
class_end
You deal with the client side stuff. Enjoy.
Kenster is offline  
Old 23.01.2006, 07:59   #2
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Oh, and 1 HTMl, Think how to make one for the other one

heine_to_giran.htm
Code:
<html><body><center> 
	Teleporter:

	Due to some problems with our world, do not cross the bridge infront.  Please use the teleporter below : 

<a action="bypass -h teleport_request">Teleport across the bridge.</a>
</center></body></html>
Kenster is offline  
Old 23.01.2006, 08:03   #3
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

WoW good work Kenster , i have no words left you made so manny fixes . GJ GJ GJ GJ !!!!!!!!!!!!!!!!!
TheOrder is offline  
Old 13.02.2006, 21:54   #4
wappie
Архивный участник
 
Join Date: Feb 2006
Posts: 26
Default

https://postpacific.mmorpg-game.onli...pic.php?t=3508 << if that geodata is working, we don't need those teleports anymore
wappie 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 23:09.