Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.02.2007, 23:37   #1
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default [SHARE] porter_remy fixed :)

Thanks to:

FidoW - First in share all the info needed to can work with superpoint.
HF - Thanks for your ScriptMaker and very good work with the SuperPoint Builder Thank to this fantastic tool we can now have the porter_remy fixed

Ok... here you have, the porter_remy AI fixed, the retail fstring for porter_remy, and the SuperPoint.bin with the porter_remy fixed.

Soon I will share more fixes for SuperPoint.bin

=======================
FString (C4/C5 RETAIL):
=======================
Code:
1010201 [A delivery for Mr. Lector? Very good!]
1010202 [I need a break!]
1010203 [Hello, Mr. Lector! Long time no see, Mr. Jackson!]
1010204 [Lulu!]

=======================
porter_remy AI:
=======================
Code:
class 1 porter_remy : citizen
handler 13 27	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	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	//  name
	push_const 200
	add
	push_const 2
	push_const 2000
	func_call 184746008	//  func[AddMoveSuperPointDesire]
	shift_sp -3
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1
	func_call 184615325	//  func[ChangeMoveType]
	shift_sp -1
	shift_sp -1
	call_super
handler_end

handler 52 167	//  SCRIPT_EVENT
	variable_begin
		"script_event_arg1"
		"script_event_arg2"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  script_event_arg1
	push_const 240
	add
	fetch_i4
	push_const 10020
	equal
	branch_false L207037
L207036
	push_event	//  script_event_arg2
	push_const 244
	add
	fetch_i4
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L207040
L207039
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1010201
S29370.	""
	push_string S29370
S29371.	""
	push_string S29371
S29372.	""
	push_string S29372
S29373.	""
	push_string S29373
S29374.	""
	push_string S29374
	func_call 184942731	//  func[MakeFString]
	shift_sp -6
	func_call 184614973	//  func[Say]
	shift_sp -1
	shift_sp -1
	jump L207038
	jump L207041
L207040
	push_reg_sp
	fetch_i
	push_const 3
	equal
	branch_false L207042
L207041
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1010202
S29375.	""
	push_string S29375
S29376.	""
	push_string S29376
S29377.	""
	push_string S29377
S29378.	""
	push_string S29378
S29379.	""
	push_string S29379
	func_call 184942731	//  func[MakeFString]
	shift_sp -6
	func_call 184614973	//  func[Say]
	shift_sp -1
	shift_sp -1
	jump L207038
	jump L207043
L207042
	push_reg_sp
	fetch_i
	push_const 6
	equal
	branch_false L207044
L207043
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1010203
S29380.	""
	push_string S29380
S29381.	""
	push_string S29381
S29382.	""
	push_string S29382
S29383.	""
	push_string S29383
S29384.	""
	push_string S29384
	func_call 184942731	//  func[MakeFString]
	shift_sp -6
	func_call 184614973	//  func[Say]
	shift_sp -1
	shift_sp -1
	jump L207038
	jump L207045
L207044
	push_reg_sp
	fetch_i
	push_const 12
	equal
	branch_false L207046
L207045
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1010204
S29385.	""
	push_string S29385
S29386.	""
	push_string S29386
S29387.	""
	push_string S29387
S29388.	""
	push_string S29388
S29389.	""
	push_string S29389
	func_call 184942731	//  func[MakeFString]
	shift_sp -6
	func_call 184614973	//  func[Say]
	shift_sp -1
	shift_sp -1
	jump L207038
	jump L207047
L207046
L207047
L207038
	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	//  name
	push_const 200
	add
	push_const 2
	push_const 50
	func_call 184746008	//  func[AddMoveSuperPointDesire]
	shift_sp -3
	shift_sp -1
L207037
	call_super
handler_end

class_end

PWD:
Code:
Shared by MuNLoK to www.postpacific.com
Вложения из исходного сообщения (сами файлы в копии отсутствуют):
SuperPoint.rar — 4606 байт
MuNLoK is offline  
Old 27.02.2007, 23:48   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Yeah, haha, easy work thanks to HF, anyway in most of server thats superpoints npcs are statics due to geodata, or admins dont know whats the problem or even dont know thats this npcs are suppose to walk...

I hope this can be the start to make custom superpoints for new npcs, now we know more or less what connections are (at least we know how many cons need each superpoint depends of how many points)... and repair porter remy is only a small fix.
FidoW is offline  
Old 28.02.2007, 04:54   #3
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Maybe you know how work conntype now? Because i dont understund about this feature and today

PS. Better share no full bin, but only one superpoint. Because i'll be compare it for learning.
HF is offline  
Old 28.02.2007, 08:29   #4
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Hm, is that info about the Superpoint file public? I'd like to know more about it.

Thanks for sharing!
Aikeleer is offline  
Old 28.02.2007, 09:19   #5
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by Aikeleer View Post
Hm, is that info about the Superpoint file public? I'd like to know more about it.
Sure. You must come on this forum regulary.

Disscussion about this
https://postpacific.loc-online.com/f...t=1733&page=21
astrid, first who share information about structure and share first tool for see this file in text mode. My tool now can do and show and generate from file.
Current thread - result.
HF is offline  
Old 28.02.2007, 09:37   #6
Validator
Архивный участник
 
Join Date: Dec 2005
Posts: 88
Default

I'm an idiot that doesn't read the RULES
Validator is offline  
Old 28.02.2007, 10:17   #7
Mio
Архивный участник
 
Join Date: Feb 2007
Posts: 202
Default

Quote:
Originally Posted by Validator View Post
[rus] а в чем проблема то, зачем это фиксить? [/rus]
Dude, check FidoW's and HF posts..
Mio is offline  
Old 28.02.2007, 10:43   #8
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

Ok, HF look the attachment

Perhaps you understand the structure of connections with the comments that I added to the file.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
Connections.rar — 1525 байт
MuNLoK is offline  
Old 28.02.2007, 11:11   #9
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by MuNLoK View Post
Ok, HF look the attachment

Perhaps you understand the structure of connections with the comments that I added to the file.
Perfect!!! I undertund now! Truth! I see truth!
Now i can do another metod and for checking this points...
But realy i dont understund why need so hard system. If this have points, points have lower point and upper point (i mean if npc in point 12, then have two conntype=2 12-11 and 12-13) why need generate big file for this?

questions:
- Have differents or errors if conntype defined not 13-12 but 12-13.
- how dont understund this point:
Code:
conn type:0 --------------------------------> Connection: 17 - 15
conn type:2 --------------------------------> Connection: 17 - 16
 index: 17: -86288;242962;-3720
 index: 16: -86152;242898;-3728
conn type:2 --------------------------------> Connection: 17 - 18
 index: 17: -86288;242962;-3720
 index: 18: -86348;243223;-3720
conn type:2 --------------------------------> Connection: 17 - 19
 index: 17: -86288;242962;-3720
 index: 19: -86522;242762;-3720
conn type:0 --------------------------------> Connection: 17 - 20
alternative point 17-19? How npc find correct way it this situation? Or 17-19 connection no need?
HF is offline  
Old 28.02.2007, 11:33   #10
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Question3:
- why need duplicate npc? Maybe can remove it?
Code:
[scribe_leandro]
[porter_remy]
[scribe_leandro]
[porter_remy]
[flame_keeper_yakand]
[flame_keeper_lokar]
[tetrarch_exec_kreed]
[tetrarch_agent_alhena]
[tetrarch_exec_kreed]
[tetrarch_agent_alhena]
[rune_ghost1b]
[bard_casiel]
[treekeeper_jaradine]
[messenger_rogin]
[porter_tate]
[argos_daemon_roaming]
HF is offline  
Old 28.02.2007, 11:43   #11
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

1) I think we need connect 12-13 and 13-12 always.

2) mmm, I will go to delete 17-19 and test if work good.

3) Yes, we can remove the duplicate, the most important difference that I found in the duplicates is the Delay in some points, some points have more delay in some superpoint than in the duplicate.


I need understand exactly when we need establish a conn type:2 and when type:3, for example:

conn type:3
index: 84: 11308;15847;-4584
index: 98: 10736;16528;-4584
index: 88: 12292;16934;-4584
conn type:3
index: 84: 11308;15847;-4584
index: 99: 10864;16320;-4584
index: 89: 11777;17669;-4584

This conn are in tetrarch_agent_alhena
MuNLoK is offline  
Old 28.02.2007, 13:20   #12
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by HF View Post
Question3:
- why need duplicate npc? Maybe can remove it?
Code:
[scribe_leandro]
[porter_remy]
[scribe_leandro]
[porter_remy]
[flame_keeper_yakand]
[flame_keeper_lokar]
[tetrarch_exec_kreed]
[tetrarch_agent_alhena]
[tetrarch_exec_kreed]
[tetrarch_agent_alhena]
[rune_ghost1b]
[bard_casiel]
[treekeeper_jaradine]
[messenger_rogin]
[porter_tate]
[argos_daemon_roaming]
In the pass i share a superpoint file with duplicate deleted... and is the file i was using until now... Now with your tool every one can do it by herself.
FidoW is offline  
Old 28.02.2007, 13:58   #13
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

treekeeper_jaradine fixed

Code:
[treekeeper_jaradine]
0
Points in this superpoint: 7
=================================
index:	145:	44964;50568;-3056
delay:	0
=================================
index:	146:	44435;50025;-3056
delay:	0
=================================
index:	147:	44399;49078;-3056
delay:	0
=================================
index:	148:	45058;48437;-3056
delay:	15
=================================
index:	149:	46132;48724;-3056
delay:	15
=================================
index:	150:	46452;49743;-3056
delay:	0
=================================
index:	151:	45730;50590;-3056
delay:	60

Connections:
conn type:2
 index: 145: 44964;50568;-3056
 index: 146: 44435;50025;-3056
conn type:2
 index: 145: 44964;50568;-3056
 index: 147: 44399;49078;-3056
conn type:2
 index: 145: 44964;50568;-3056
 index: 148: 45058;48437;-3056
conn type:0
conn type:0
conn type:0
conn type:2
 index: 146: 44435;50025;-3056
 index: 145: 44964;50568;-3056
conn type:2
 index: 146: 44435;50025;-3056
 index: 147: 44399;49078;-3056
conn type:2
 index: 146: 44435;50025;-3056
 index: 148: 45058;48437;-3056
conn type:0
conn type:2
 index: 146: 44435;50025;-3056
 index: 150: 46452;49743;-3056
conn type:0
conn type:2
 index: 147: 44399;49078;-3056
 index: 145: 44964;50568;-3056
conn type:2
 index: 147: 44399;49078;-3056
 index: 146: 44435;50025;-3056
conn type:2
 index: 147: 44399;49078;-3056
 index: 148: 45058;48437;-3056
conn type:2
 index: 147: 44399;49078;-3056
 index: 149: 46132;48724;-3056
conn type:0
conn type:0
conn type:2
 index: 148: 45058;48437;-3056
 index: 145: 44964;50568;-3056
conn type:2
 index: 148: 45058;48437;-3056
 index: 146: 44435;50025;-3056
conn type:2
 index: 148: 45058;48437;-3056
 index: 147: 44399;49078;-3056
conn type:2
 index: 148: 45058;48437;-3056
 index: 149: 46132;48724;-3056
conn type:2
 index: 148: 45058;48437;-3056
 index: 150: 46452;49743;-3056
conn type:0
conn type:0
conn type:0
conn type:2
 index: 149: 46132;48724;-3056
 index: 147: 44399;49078;-3056
conn type:2
 index: 149: 46132;48724;-3056
 index: 148: 45058;48437;-3056
conn type:2
 index: 149: 46132;48724;-3056
 index: 150: 46452;49743;-3056
conn type:2
 index: 149: 46132;48724;-3056
 index: 151: 45730;50590;-3056
conn type:0
conn type:2
 index: 150: 46452;49743;-3056
 index: 146: 44435;50025;-3056
conn type:0
conn type:2
 index: 150: 46452;49743;-3056
 index: 148: 45058;48437;-3056
conn type:2
 index: 150: 46452;49743;-3056
 index: 149: 46132;48724;-3056
conn type:2
 index: 150: 46452;49743;-3056
 index: 151: 45730;50590;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 151: 45730;50590;-3056
 index: 149: 46132;48724;-3056
conn type:2
 index: 151: 45730;50590;-3056
 index: 150: 46452;49743;-3056
MuNLoK is offline  
Old 28.02.2007, 18:38   #14
nnightmare
Архивный участник
 
Join Date: Jun 2006
Posts: 153
Default

ive got a question mayb a little stupid but.. what are those npcs that walk around towns supposed to do? just walk around?
nnightmare is offline  
Old 28.02.2007, 18:48   #15
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

Yes, just walk around, except rune_ghost1b that is a npc quest, and argos_daemon_roaming, that is a npc buffer, both are included in superpoint.

I like that npcs walks, because it provides dynamism to the game.
MuNLoK is offline  
Old 28.02.2007, 19:09   #16
Greis
Архивный участник
 
Join Date: Jun 2006
Posts: 27
Default

so rubbish less

Code:
[treekeeper_jaradine]
0
Points in this superpoint: 7
=================================
index:	145:	44964;50568;-3056
delay:	0
=================================
index:	146:	44435;50025;-3056
delay:	0
=================================
index:	147:	44399;49078;-3056
delay:	0
=================================
index:	148:	45058;48437;-3056
delay:	15
=================================
index:	149:	46132;48724;-3056
delay:	15
=================================
index:	150:	46452;49743;-3056
delay:	0
=================================
index:	151:	45730;50590;-3056
delay:	60

Connections:
conn type:2
 index: 145: 44964;50568;-3056
 index: 146: 44435;50025;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 146: 44435;50025;-3056
 index: 145: 44964;50568;-3056
conn type:2
 index: 146: 44435;50025;-3056
 index: 147: 44399;49078;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 147: 44399;49078;-3056
 index: 146: 44435;50025;-3056
conn type:2
 index: 147: 44399;49078;-3056
 index: 148: 45058;48437;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 148: 45058;48437;-3056
 index: 147: 44399;49078;-3056
conn type:2
 index: 148: 45058;48437;-3056
 index: 149: 46132;48724;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 149: 46132;48724;-3056
 index: 148: 45058;48437;-3056
conn type:2
 index: 149: 46132;48724;-3056
 index: 150: 46452;49743;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 150: 46452;49743;-3056
 index: 149: 46132;48724;-3056
conn type:2
 index: 150: 46452;49743;-3056
 index: 151: 45730;50590;-3056
conn type:0
conn type:0
conn type:0
conn type:0
conn type:0
conn type:2
 index: 151: 45730;50590;-3056
 index: 150: 46452;49743;-3056
Greis is offline  
Old 28.02.2007, 21:52   #17
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Offtopic: I wasn't aware of the progress of your tool HF, awesome stuff you made.
Aikeleer is offline  
Old 28.02.2007, 23:47   #18
dknod
Архивный участник
 
Join Date: Mar 2006
Posts: 82
Default

Quote:
Originally Posted by FidoW View Post
In the pass i share a superpoint file with duplicate deleted... and is the file i was using until now... Now with your tool every one can do it by herself.
[scribe_leandro] ------- leandro
[porter_remy]
[scribe_leandro] ------- leandro
[flame_keeper_yakand]
[flame_keeper_lokar]
[tetrarch_exec_kreed] ------- kreed
[tetrarch_agent_alhena] ------- alhena
[tetrarch_exec_kreed] ------- kreed
[tetrarch_agent_alhena] ------- alhena
[rune_ghost1b]
[bard_casiel]
[treekeeper_jaradine]
[messenger_rogin]
[porter_tate]
[argos_daemon_roaming]


FidoW, shuold they be here or you just missed them?
dknod is offline  
Old 02.03.2007, 15:46   #19
petre1980
Архивный участник
 
Join Date: Jan 2007
Posts: 45
Default little question

Question: when need establish a conn type:0 and when conn type:2 ?
petre1980 is offline  
Old 03.03.2007, 01:50   #20
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

I've never messed with Superpoint, but the idea is very cool. Making our own movable NPCs is neat in a lot of ways.
mcrabben7 is offline  
Old 04.03.2007, 07:12   #21
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

Very nice.. thank you.
And thank you HF for your tool.
KOC2000 is offline  
Old 06.03.2007, 10:30   #22
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Without the correct superpoint file you cant pass the quest "Hidden Truth" There is the NPC which goes using this superpoint file.
kin is offline  
Old 12.03.2007, 08:29   #23
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

umm. strange... Since I used this superpoint file +treekeeper_jaradine fix.. Porter Remy & Secretary Leanard don't move.
KOC2000 is offline  
Old 12.03.2007, 11:16   #24
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

yes, very strange, because in my server work nice
MuNLoK is offline  
Old 12.03.2007, 11:17   #25
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Maybe it's a geodata issue, as it has been noticed a while ago that changing the geodata can fix some issues with the movement of superpoint NPC's
m4rk is offline  
 


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 16:24.