Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 11.06.2007, 09:14   #1
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default [bug?] With strider through closed doors

hey all

yesterday some player on my server show to me interesting bug:
he come to closed door, stand right before that door, and summon strider.
so, summoned strider apears inside door. in client-side this looks like strider in door texture. in server side, strider was summoned at other side of door.
then, that player clicked 'mount to strider', and he appears on other side of closed door. no quests needed. any door 'walkable', as my player says.

So, i think how to fix it. Don't know, but maybe this will help: we can teleport summoned strider (in handler CREATED) to position of summoner (master). That way strider will never stay at other side of door.

Strider use AI "pet_warrior_use_2skill".

This is modified handler CREATED (i think it must fix that problem):
Code:
handler 13 70	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const xx.xx0000
	func_call 184614934	//  func[AddPetDefaultDesire_Follow]
	shift_sp -1
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  master
	push_const 552
	add
	fetch_i	//  x
	push_const 8
	add
	fetch_d
	func_call 184615005	//  func[FloatToInt]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  master
	push_const 552
	add
	fetch_i	//  y
	push_const 16
	add
	fetch_d
	func_call 184615005	//  func[FloatToInt]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  master
	push_const 552
	add
	fetch_i	//  z
	push_const 24
	add
	fetch_d
	func_call 184615005	//  func[FloatToInt]
	shift_sp -1
	func_call 184811596	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
handler_end
Any comments, please?

(sorry for bad english)
zcold 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 15:50.