Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [bug?] With strider through closed doors (https://postpacific.mmorpg-game.online/showthread.php?t=7781)

zcold 11.06.2007 09:14

[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)

vex 11.06.2007 10:33

...and big piece of meat has apeared on your head - how lovely ))

Rich 11.06.2007 10:44

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...

zcold 11.06.2007 10:56

Quote:

Originally Posted by Rich (Post 88218)
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?

Kenjiro 11.06.2007 10:56

Great job!

rodier 11.06.2007 12:33

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..)

ateh 11.06.2007 12:39

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

FidoW 11.06.2007 14:16

Better use a only one super class called from the others (super).


All times are GMT. The time now is 23:50.