Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.10.2006, 21:02   #1
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default Monitoring Mster Toma for a few hours.

Standing on all 3 points, but it doesn't appear. What could be the problem?
Search doesn't help
kin is offline  
Old 23.10.2006, 21:05   #2
PIMPSTA
Архивный участник
 
Join Date: May 2005
Posts: 71
Default

If you are waiting for him at a spawn he will not appear... i found out this the hard way and waited for him for 5 hours straight...

If ur on one spawn he will just skip you and go to the next one... i say just go back to town and check one spawn at a time and im sure u will be able to find him
PIMPSTA is offline  
Old 24.10.2006, 19:45   #3
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

I just teleported from point to point for 2 hours without nothing! Them summoned him and now it stands at the point and won't teleport to the next point.
kin is offline  
Old 24.10.2006, 19:54   #4
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Code:
handler:
	EventHandler CREATED()
	{
		myself->SetTimerPeriod(1800);
	}

	EventHandler TIMER_FIRED(i6)
	{
		i6 = gg->Rand(90);
		if( i6 > 60 )
		{
			myself->InstantTeleport(myself.sm,178849,-184342,-342);
		}
		else if( i6 > 30 )
		{
			myself->InstantTeleport(myself.sm,154132,-220070,-3404);
		}
		else
		{
			myself->InstantTeleport(myself.sm,151572,-174829,-1781);
		}
	}
Seems fine. In my server it spawn between those 3 locations
m4rk is offline  
Old 24.10.2006, 20:17   #5
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Found Toma at first location (missed it when looked for it). But there were two Tomas standing at one place (and plus one I summoned before)! Killed both of them. in few minutes it appeared again at same place and do not teleport
Will check my AI right now. Thanks m4rk
kin is offline  
Old 24.10.2006, 20:31   #6
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

AI

Code:
class 1 master_toma : citizen
handler 13 8	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1800
	func_call 184614999	//  func[SetTimerPeriod]
	shift_sp -1
	shift_sp -1
handler_end

handler 11 93	//  TIMER_FIRED
	variable_begin
		"i6"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  i6
	push_const 284
	add
	push_reg_sp
	fetch_i
	push_event	//  gg
	push_const 632
	add
	fetch_i
	push_const 90
	func_call 218169344	//  func[Rand]
	shift_sp -1
	assign4
	shift_sp -1
	push_event	//  i6
	push_const 284
	add
	fetch_i4
	push_const 60
	greater
	branch_false L159506
L159505
	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_const 178849
	push_const 184342
	negate
	push_const 342
	negate
	func_call 184811596	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L159507
L159506
	push_event	//  i6
	push_const 284
	add
	fetch_i4
	push_const 30
	greater
	branch_false L159509
L159508
	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_const 154132
	push_const 220070
	negate
	push_const 3404
	negate
	func_call 184811596	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L159510
L159509
	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_const 151572
	push_const 174829
	negate
	push_const 1781
	negate
	func_call 184811596	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L159510
L159507
handler_end
m4rk is offline  
Old 24.10.2006, 20:48   #7
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Hmmm, my AI is absolutelly same. Hmmm. I think I did something wrong. Will check on next server restart.
kin is offline  
Old 24.10.2006, 23:41   #8
poltomb
Архивный участник
 
Join Date: Sep 2006
Posts: 81
Default

server restart should fix this.
poltomb is offline  
Old 25.10.2006, 05:21   #9
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

It does work quite fine. We have many that needed him (lots that complain) but he does spawn. Just be patient and dont sit and hover in one spot
paul 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:30.