PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Boats and 'impassable positions'

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Mon Apr 23, 2007 12:33 pm    Post subject: Boats and 'impassable positions' Reply with quote

Hi. I've checked existing topics, but without an answer for my problem, so I will describe whole situation.

I have boat, with mobile(s) in the corner of the map(whole map is filled with water and few islands) and the another map also filled with water and few islands. When player sails to the edge of the world, I move the boat with MoveObjectToRealm() with multi refence, to the valid position on the other map(I check standing ground, etc.).

Sometimes function MoveObjectToRealm() returns mysterious "Position indicated is impassable" error - I'd like to know exactly when this kind of error is returned, since there is no static or other shit in the destination position. I've thought that maybe destination was to close to the map edge, but I've put an 22 tile offset from the map border.


Last edited by RazorTongue on Mon Apr 23, 2007 12:35 pm; edited 1 time in total

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Mon Apr 23, 2007 12:35 pm    Post subject: Reply with quote

Try MoveObjectToLocation()

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Mon Apr 23, 2007 12:37 pm    Post subject: Reply with quote

Between maps ?

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Mon Apr 23, 2007 1:30 pm    Post subject: Reply with quote

Yes. MoveObjectToRealm() was a placeholder until MoveObjectToLocation() was given the same function. It shows it in the documentation that MoveObjectToLocation() will also soon replace MoveObjectToRealm() along with of course MoveItemToLocation() and MoveCharacterToLocation().

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Mon Apr 23, 2007 4:24 pm    Post subject: Reply with quote

Thanks for advice, but I receive the same error "Position indicated is impassable".

We've put water on the cave/GA/prison strip and we can sail there, but boat teleportation between maps fails(with above error message) in few places. My question is - in which situations object movement will fail with that messsage ? (With water everywhere[both maps] and constant offset from the border, I can sail along the border seeing that error, until I can get out from one of those erroneous areas)

Author Message
FreeSoul



Joined: 04 Feb 2006
Posts: 90
Location: Aman

PostPosted: Tue Apr 24, 2007 3:23 am    Post subject: Reply with quote

it will be good if someone will post some topic with all (i know impossible) error messages and explanation when, how, where, because of they are...
Hi razz long time no see... (last time on a boat drifting form one map to the second?)

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Tue Apr 24, 2007 10:06 am    Post subject: Reply with quote

Well, each function has its error messages documented in the documentation and almost all of them are self explanatory.

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Tue Apr 24, 2007 10:26 am    Post subject: Reply with quote

FreeSoul wrote:
Hi razz


Hi...

CWO wrote:
almost all of them are self explanatory.


I am trying to ask developers what makes 'static-less' sea IMPASSABLE, becouse I don't know WHAT should be fixed. I just can't find nothing unusual in our water tiles.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Tue Apr 24, 2007 12:12 pm    Post subject: Reply with quote

Are these custom maps?

Is the land under that wat the right kind if the water is static?

Is that water the same Z level as the other water surrounding it?

How close to the edge of the map are you trying to use it?

Author Message
FreeSoul



Joined: 04 Feb 2006
Posts: 90
Location: Aman

PostPosted: Tue Apr 24, 2007 2:00 pm    Post subject: Reply with quote

yes
correct water
the same Z
20 tiles?

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Tue Apr 24, 2007 2:21 pm    Post subject: Reply with quote

http://img376.imageshack.us/my.php?image=waterbugnx2.jpg

Here is the situation. Sometimes we get that kind of error. -85 is proper water level on our map and that 3 tiles difference does not matter(boat is properly placed on water level).

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Sat May 05, 2007 7:10 am    Post subject: Reply with quote

Any ideas? I can provide additional information, if you needed one...

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sat May 05, 2007 8:33 am    Post subject: Reply with quote

try going 10 tiles farther in for your world wrap and see if that affects it any

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty