Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 18.04.2007, 21:12   #1
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default [Fix] OwnItemCount(c=null)

Well i finally found some time to fix some of these stupid NPC server errors.

My first fix is for the annoying OwnItemCount spamming error

Thanks to sys[antaris] post in my original topic about this, for the code

I have went through and "fixed" all the AI's that where messed up with the Quest 402 (Path to human Knight)

I put "fixed" in quotes because, I am not sure if the items i check are the right ones, I'm pretty sure they are, and I'm running this on my server, so i trust it . Also because, you should always check other peoples work befor putting it on your server.

Any way, hope this works for everyone, and let me know if there are any issues with it.


research topic: https://postpacific.loc-online.com/f...ead.php?t=5995

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
OwnItemCount_patch.zip — 17874 байт
GMan is offline  
Old 19.04.2007, 06:45   #2
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Fix for [undead_priest] required too
HF is offline  
Old 28.04.2007, 15:25   #3
YakudZe
Архивный участник
 
Join Date: Dec 2006
Posts: 205
Default

Human Many Thanks! ! !
YakudZe is offline  
Old 02.05.2007, 08:53   #4
droptable
Архивный участник
 
Join Date: Mar 2006
Posts: 27
Default

Many Thanks !
droptable is offline  
Old 06.05.2007, 07:32   #5
Aspire
Архивный участник
 
Join Date: Nov 2005
Posts: 403
Default

Quote:
Originally Posted by HF View Post
Fix for [undead_priest] required too
Code:
	push_event	//  target
	push_const 96
	add
	push_reg_sp
	fetch_i
	push_event	//  last_attacker
	push_const 656
	add
	fetch_i
	assign
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  target
	push_const 96
	add
	fetch_i
	push_const 1170
	func_call 184680579	//  func[OwnItemCount]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L118403
L118402
pako_the_cat

Code:
	push_event	//  target
	push_const 96
	add
	push_reg_sp
	fetch_i
	push_event	//  last_attacker
	push_const 656
	add
	fetch_i
	assign
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  target
	push_const 96
	add
	fetch_i
	push_const 3361
	func_call 184680579	//  func[OwnItemCount]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L119723
L119722
Aspire 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 21:12.