Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Stuck and kill the mobs (Cemetery) (https://postpacific.loc-online.com/showthread.php?t=2754)

kembl 08.12.2005 12:59

Stuck and kill the mobs (Cemetery)
 
Hallo all!

There is some problem with stair parapet on Cemetery.
Look at the pictures:

1) One player (with bow or some area strike skill) stand on the first flor of the stairs, and wait until second player bring huge party of Falibati, Trives or Doom Knights.

2) That huge party cant up to the stairs, and begin cyrlic move in the middle area, which marked by red circle area, between unreach player and some point that server AI use us closest in its path find algoritm.

So, the question is - How to optimise mobs AI in this kind of situations? How to learn it find the way to player? I know that this problem is solved on several private servers. ( UserPathFind=true already, but i think it is only for users)

hamidouch 08.12.2005 13:24

its pathnode exploits
aka LOS exploit,
cant be fixed easilly.
a long range skill from mob could avoid that but well...

kembl 08.12.2005 14:48

>a long range skill from mob could avoid that but well...

It is not good for gameplay, I mean that change mobs skill list is a way out from Prima Guide :(

bwgreen 08.12.2005 18:44

Prima Guide is old and wrong. For C1 it's fine.. C3 it's not. Drops have changed, skills have changed (porta teleports you in front of it.. so no more AOE parties in cruma :P)

top-gear 09.12.2005 02:54

have you found a way to add this skill to porta? Still cant find it

bwgreen 09.12.2005 03:23

I'll have a try when I have time; girlfriend is here all weekend, so I'm otherwise occupied.

Shinare 09.12.2005 03:54

Quote:

Originally Posted by bwgreen
Prima Guide is old and wrong. For C1 it's fine.. C3 it's not. Drops have changed, skills have changed (porta teleports you in front of it.. so no more AOE parties in cruma :P)

u mean like orfen?

bwgreen 09.12.2005 04:40

Exactly like Orfen. Don't change the topic here please, there is already a post regarding the porta's teleport skill.

</offtopic>

kembl 09.12.2005 09:14

There my solution for add s_boss_mega_storm_strike5 in falibati.
When it in her territory ( when she plased by npcserver) they dont strike (only fight = call_super) with magic, but far from it, she will.

Yes, PG is old, but not so far as needs to change monsters AI in any small (as this) case, cause we all have got only C1 modded to C3.

So I left at the bottom "bad" solution, much more right (I think) will be check coords of creature, and follow it by several waypoints to give ability step on the stairs.

Code:

class falibati : warrior_aggressive_casting_sleep_magic
//KEMBL - Fire when out of birth zone
handler 1        //  ATTACKED
        variable_begin
                "attacker"
                "damage"
                "i6"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        shift_sp 1
        push_event        //  myself
        push_const 28
        add
        fetch_i        //  sm
        push_const 2400
        add
        fetch_i
        func_call 177        //  func[InMyTerritory]
        shift_sp -1
        and
L9111913
        branch_false L9111915  //if InMyTerritory - attac magic
L91119074
        jump L91119073            //if not InMyTerritory - dont attac magic
L9111915       
        shift_sp 1
        push_event        //  attacker
        push_const 36
        add
        fetch_i
        push_const 1090821
        push_const 0
        push_const 1
        push_const 1000000
        func_call 10        //  func[AddUseSkillDesire]
        shift_sp -5
        shift_sp -1
//probab of speak  2%
        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 2        //2%
        less
        branch_false L911795
L911796       
//speak
        shift_sp 1
S9115365.        "Than than shell be your epitaf stucker!"
        push_string S9115365
        func_call 37        //  func[Say]
        shift_sp -1
        shift_sp -1
L911795
L91119073
        call_super
handler_end

class_end



All times are GMT. The time now is 16:20.