Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.12.2005, 12:59   #1
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default 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)
kembl is offline  
Old 08.12.2005, 13:24   #2
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

its pathnode exploits
aka LOS exploit,
cant be fixed easilly.
a long range skill from mob could avoid that but well...
hamidouch is offline  
Old 08.12.2005, 14:48   #3
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default

>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
kembl is offline  
Old 08.12.2005, 18:44   #4
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

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)
bwgreen is offline  
Old 09.12.2005, 02:54   #5
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

have you found a way to add this skill to porta? Still cant find it
top-gear is offline  
Old 09.12.2005, 03:23   #6
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

I'll have a try when I have time; girlfriend is here all weekend, so I'm otherwise occupied.
bwgreen is offline  
Old 09.12.2005, 03:54   #7
Shinare
Архивный участник
 
Join Date: Apr 2005
Posts: 104
Default

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?
Shinare is offline  
Old 09.12.2005, 04:40   #8
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

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

</offtopic>
bwgreen is offline  
Old 09.12.2005, 09:14   #9
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default

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
kembl is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:49.