Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [SHARE] porter_remy fixed :) (https://postpacific.mmorpg-game.online/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.mmorpg-game.onli...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

MuNLoK 12.03.2007 11:22

Yes, m4rk is right.

HF 12.03.2007 12:27

Russian sub-forum found one right solution - superpoint.bin have duplicate suporpoints, but it no critical problem and this dont effect to npc. BUT. Main problem - it wrong Z coordinate's. If you need fix your superpoint.bin (npc dont walk, server crash and etc) - you need fix only Z coordinate for each point's. And generate new file. It is basic solution.

kin 12.03.2007 18:59

Actually the best solution! Open the Superpoint and change ALL Z coordinates to yours ones! All my NPCs described in superpoint are working now :)

Arcia 13.03.2007 03:06

Am I wrong, or SSQ ghosts that appear when one cabal wins the Seal of Gnosis should move around as well?

I've read it on the official webpage.

HF 13.03.2007 04:59

Quote:

Originally Posted by Arcia (Post 81101)
Am I wrong, or SSQ ghosts that appear when one cabal wins the Seal of Gnosis should move around as well?

I've read it on the official webpage.

This is official info for C4 or for C5? Arcia, this feature (with SSQ) - it AI code. Non linked with superpoint. If your npc dont walking - it problem in Bin (with Z). But if npc walk always or you need walk only in "wins the Seal of Gnosis" - you need to fix AI.obj.

m4rk 13.03.2007 11:01

In case anyone is wondering what script_event numbers are here's from manual_pch.txt
Code:

[SPAWN_TARGET_ATTACK]                = 1000

[SCE_RUN_AWAY_HELP]                = 10000       
[SCE_HELP_WARRIOR]                = 10001 
[SCE_ATTACK_PARTY_POINT]        = 10002       
[SCE_GATHER_NPC]                = 10003       
[SCE_EVENT_SPAWN_ARCHER1]        = 10004
[SCE_EVENT_LEADER_DIED]                = 10005
[SCE_EVENT_BACKUP_ARCHER_DIED]        = 10006
[SCE_EVENT_GO_TO_NPC]        = 10007
[SCE_EVENT_SLOW_NPC_DIED]        = 10008
[SCE_EVENT_FAST_NPC_DIED1]        = 10009
[SCE_EVENT_FAST_NPC_DIED2]        = 10010
[SCE_EVENT_SUPPORT_NPC_DIE]= 10011
[SCE_EVENT_REQUEST_ONLY_ONE_TARGET]= 10012
[SCE_EVENT_ACCEPT_ONLY_ONE_TARGET]= 10013
[SCE_EVENT_ATTACK_ONLY_ONE_TARGET]= 10014
[SCE_EVENT_CLEAR_ATTACK_DESIRE]= 10015
[SCE_ONE_POINT_ATTACK]= 10016
[SCE_HERE_COMES_PET]= 10017
[SCE_HERE_COMES_CRAZY_PET]= 10018
[SCE_GATHERING_NPC] = 10019
[SCE_FOLLOW_RAIL_FINISHED] = 10020
[SCE_ATTACK_BOSS_TARGET] = 10020
[SCE_CREATED_PET] = 10022

I notice 10020 is duplicated... maybe we should put
[SCE_ATTACK_BOSS_TARGET] = 10021

Arcia 14.03.2007 20:23

Quote:

Originally Posted by HF (Post 81109)
This is official info for C4 or for C5? Arcia, this feature (with SSQ) - it AI code. Non linked with superpoint. If your npc dont walking - it problem in Bin (with Z). But if npc walk always or you need walk only in "wins the Seal of Gnosis" - you need to fix AI.obj.

I've seen this information while the official site was still in C4, now that the whole site refers to C5, I can't really say.

The thing is, I pressume, is that the NPCs I talk about should "walk always". Why? Because they only spawn when "Wins the Seal of Gnosis" is true, otherwise they don't spawn at all.

I don't know if I made my point clear.

Nevertheless, if the Orator of Revelations and Preacher of Doom would move around each village, it would make sense so they can catch and buff/debuff almost every character passing through the village. Plus it would made a point as to why there are some of these ghosts that spawn almost on the same spot.

HF 15.03.2007 04:26

Quote:

Originally Posted by Arcia (Post 81101)
Am I wrong, or SSQ ghosts that appear when one cabal wins the Seal of Gnosis should move around as well?

I've read it on the official webpage.

Quote:

Originally Posted by Arcia (Post 81386)
I've seen this information while the official site was still in C4, now that the whole site refers to C5, I can't really say.

The thing is, I pressume, is that the NPCs I talk about should "walk always". Why? Because they only spawn when "Wins the Seal of Gnosis" is true, otherwise they don't spawn at all.

I don't know if I made my point clear.

Nevertheless, if the Orator of Revelations and Preacher of Doom would move around each village, it would make sense so they can catch and buff/debuff almost every character passing through the village. Plus it would made a point as to why there are some of these ghosts that spawn almost on the same spot.

Maybe i dont understund you correct. What "SSQ ghosts" you mean?

bruj0 15.03.2007 05:09

Quote:

Originally Posted by HF (Post 81418)
Maybe i dont understund you correct. What "SSQ ghosts" you mean?

He refers to the buff/debuf npcs that appears when the "seven signs" event is over. And since their names dont appear in the superpoint.bin file, either we dont have a complete one or they do not move at all.

astrid 15.03.2007 07:00

Quote:

Originally Posted by m4rk (Post 81142)
I notice 10020 is duplicated... maybe we should put
[SCE_ATTACK_BOSS_TARGET] = 10021

btw afaik no one AI class use script_event_arg = 10021. may be in PTS stage SCE_ATTACK_BOSS_TARGET script event was not implemented?

MuNLoK 15.03.2007 13:27

Quote:

Originally Posted by bruj0 (Post 81422)
He refers to the buff/debuf npcs that appears when the "seven signs" event is over. And since their names dont appear in the superpoint.bin file, either we dont have a complete one or they do not move at all.

I played time ago on retail and these npcs never has been walking.

KOC2000 15.03.2007 14:26

umm. don't know. but since I used this superpoint.bin+treekeeper_jaradine fix Porter Remy + Secretary Leanardo don't move.. Remy stuck inside Talking Islan Village near the south entrance, and Leanard stuck outside the village infrot of the same entrance.

m4rk 15.03.2007 16:55

KOC2000 correct your superpoint putting your correct Z coords.

~Marquis~ 15.03.2007 19:40

Quote:

Originally Posted by MuNLoK (Post 81448)
I played time ago on retail and these npcs never has been walking.

Well till chronicle 3, NPCs were not moving or reacting when you started talking to them. But indeed even on L2J servers they are not moving, i can be totally mistaken, but i never saw them moving at all x.x

KOC2000 17.03.2007 13:33

Yes.. Thanks m4rk.. Is there a way to change Porter Remy talking timing?
He says "A Delivery for Mr. Lector? good" AFTER he walks out of warehouse. is that right?


All times are GMT. The time now is 23:30.