Page 1 of 1

how to set up a boat.

Posted: Mon Jun 18, 2018 12:35 pm
by guialtran
Hello everybody!
I'm using the translator to write this, sorry.

looking at various configurations of several different servers I noticed that each of them has a different way of declaring the boats.

this topoco is to clarify the forceful way to declare a boat in the most recent version, POL100.

I am going to put here the forms that I have already seen to declare ships.

Code: Select all

1-)
Boat 0x20000
{
Name boat_1_north
MultiId 0x0
}
only one face is declared.

2-)

Code: Select all

Boat 0x20000
{
Name boat_1_north
MultiId 0x0
    OldObjtype 0x4000
    OldObjtype 0x4001
    OldObjtype 0x4002
    OldObjtype 0x4003
}
only one face is declared.
the person unites all 4 types of objects.

3-)

Code: Select all

Boat 0x20000
{
Name boat_1_north
MultiId 0x0
    OldObjtype 0x4001
    OldObjtype 0x4002
    OldObjtype 0x4003
}
only one face is declared.
the person unites the next 3 types of objects.

4-)

Code: Select all

Boat 0x20000
{
Name boat_1_north
MultiId 0x0
}

Boat 0x20001
{
Name boat_1_east
MultiId 0x1
}

Boat 0x20002
{
Name boat_1_south
MultiId 0x2
}

Boat 0x20003
{
Name boat_1_west
MultiId 0x3
}
independently declare each face of the boat.

So my doubt remains, what is the correct way to do it? :deadhorse:

Re: how to set up a boat.

Posted: Mon Jun 18, 2018 7:05 pm
by DevGIB
As per our discussion on discord i believe it works as follows:

Code: Select all

create item 0x20000 -> create boat from item -> board boat and turn direction -> drydock boat and receive item 0x20001 -> reboot server and item becomes 0x20000 again.
Someone might need to confirm.

Re: how to set up a boat.

Posted: Mon Jun 18, 2018 9:01 pm
by guialtran
I understood that several people are using "OldObjtype" in the wrong way.

I have a doubt, I have to declare the four faces of the boat in the file itemdesc.cfg?

Re: how to set up a boat.

Posted: Tue Jun 19, 2018 8:20 am
by Yukiko
Only use OldObjType if you have changed the ObjType number of an object and need to update the objects in your server data files. For example if you change ObjType 0x10001 to ObjType 0x20001 you would add OldObjType 0x10001 to the definition of the changed object, restart the server and it will update any objects in the server data files with the old ObjType to the new ObjType. You should shut down the server afterwards and remove any OldObjType entries from your itemdesc.cfg files.

I think developers forget that last step. I know I have on several occasions.