![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
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 (sorry for bad english) |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
...and big piece of meat has apeared on your head - how lovely ))
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2007
Posts: 22
|
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... |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2006
Posts: 120
|
Great job!
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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..) |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
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 |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Better use a only one super class called from the others (super).
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|