Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
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  
Old 11.06.2007, 10:33   #2
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

...and big piece of meat has apeared on your head - how lovely ))
vex is offline  
Old 11.06.2007, 10:44   #3
Rich
Архивный участник
 
Join Date: Jun 2007
Posts: 22
Default

Hmm this is really old bug...In my server people used to use this bug for kill Zaken lol.
Someone fixed it anyways maybe he will share it there...
Rich is offline  
Old 11.06.2007, 10:56   #4
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default

Quote:
Originally Posted by Rich View Post
Hmm this is really old bug...In my server people used to use this bug for kill Zaken lol.
Someone fixed it anyways maybe he will share it there...
give me a hint, how he did it?
zcold is offline  
Old 11.06.2007, 10:56   #5
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Great job!
Kenjiro is offline  
Old 11.06.2007, 12:33   #6
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

there is another way too...

simply get on the strider.. go to the dooor and unmount..

problem is in fact - when mount/unmount spawn/despawn is in little another position and this is due to client.. its hardcoded.. its on official too but on official there is better geodata handling so no problems..


and btw .. third problem .. if you run and climb trough door u get in too (same as mountain climbing..)
rodier is offline  
Old 11.06.2007, 12:39   #7
ateh
Архивный участник
 
Join Date: Apr 2006
Posts: 118
Default

class 1 wind_strider : pet_warrior_use_2skill
class_end


class 1 star_strider : pet_wizard_use_2skill
class_end


class 1 twilight_strider : pet_use_one_skill
class_end


3 classes to update
ateh is offline  
Old 11.06.2007, 14:16   #8
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Better use a only one super class called from the others (super).
FidoW 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 16:22.