Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [SHARE] porter_remy fixed :) (https://postpacific.loc-online.com/showthread.php?t=6984)

MuNLoK 27.02.2007 23:37

[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 байт

FidoW 27.02.2007 23:48

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.

HF 28.02.2007 04:54

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.

Aikeleer 28.02.2007 08:29

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

Thanks for sharing!

HF 28.02.2007 09:19

Quote:

Originally Posted by Aikeleer (Post 79831)
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.
:)

Validator 28.02.2007 09:37

I'm an idiot that doesn't read the RULES

Mio 28.02.2007 10:17

Quote:

Originally Posted by Validator (Post 79842)
[rus] а в чем проблема то, зачем это фиксить? [/rus]

Dude, check FidoW's and HF posts..

MuNLoK 28.02.2007 10:43

Ok, HF look the attachment :)

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

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
Connections.rar — 1525 байт

HF 28.02.2007 11:11

Quote:

Originally Posted by MuNLoK (Post 79848)
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 28.02.2007 11:33

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]


MuNLoK 28.02.2007 11:43

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

FidoW 28.02.2007 13:20

Quote:

Originally Posted by HF (Post 79854)
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.

MuNLoK 28.02.2007 13:58

treekeeper_jaradine fixed :D

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


nnightmare 28.02.2007 18:38

ive got a question mayb a little stupid but.. what are those npcs that walk around towns supposed to do? just walk around?

MuNLoK 28.02.2007 18:48

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.

Greis 28.02.2007 19:09

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


Aikeleer 28.02.2007 21:52

Offtopic: I wasn't aware of the progress of your tool HF, awesome stuff you made. :)

dknod 28.02.2007 23:47

Quote:

Originally Posted by FidoW (Post 79860)
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?

petre1980 02.03.2007 15:46

little question
 
Question: when need establish a conn type:0 and when conn type:2 ?

mcrabben7 03.03.2007 01:50

I've never messed with Superpoint, but the idea is very cool. Making our own movable NPCs is neat in a lot of ways.

KOC2000 04.03.2007 07:12

Very nice.. thank you.
And thank you HF for your tool.

kin 06.03.2007 10:30

Without the correct superpoint file you cant pass the quest "Hidden Truth" There is the NPC which goes using this superpoint file.

KOC2000 12.03.2007 08:29

umm. strange... Since I used this superpoint file +treekeeper_jaradine fix.. Porter Remy & Secretary Leanard don't move.

MuNLoK 12.03.2007 11:16

yes, very strange, because in my server work nice

m4rk 12.03.2007 11:17

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


All times are GMT. The time now is 15:06.