Page 1 of 1

Can't Exit Multilevel Buildings

Posted: Sun Apr 26, 2009 8:38 pm
by ckirmser
I haven't done anything with UOX for a long time and recently got the itch to goof around some in it.

While wandering - in GM or Player mode - I discovered I could not leave a multilevel building.

As soon as I try to go through the door, I am suddenly transported to the top level of the building. It looks like the program is restoring the levels before moving the character outside. Since the level is restored to view, the character is placed on the topmost floor and, once that happens, there is no longer any door to go through.

Just a guess at what's happening, anyway.

I'm not using Razor, since it wouldn't cooperate, but UOGateway v1.9.1266 seems to be working fine and my UOX version is 0.98-4.0.

I'm using the Default UOX Worldfiles v0.15 to populate the world.

This was not a problem for my GM guy - he just used "tele' to get off the roof - but, my player guy is stuck...

Posted: Sun Apr 26, 2009 9:29 pm
by Xuri
Is this true for all multi-level buildings, or only some in particular? I'm suspecting is has to do with a bug in the walking code which doesn't really move you down/up stairs properly on the server.

Posted: Mon Apr 27, 2009 12:34 am
by ckirmser
Xuri wrote:Is this true for all multi-level buildings, or only some in particular? I'm suspecting is has to do with a bug in the walking code which doesn't really move you down/up stairs properly on the server.
So far, it seems to be only for those that do not have doors over the entrances. But, I noticed that it only happens if you have visited the upper levels. My player got stuck in a building, and I had to log on as Admin to teleport him out. But, my admin guy - who had the problem elsewhere, was able to leave the building; but he hadn't gone to the higher levels.

So, I relogged in as a player, and found that he, too could reenter the same building, and then turn around and walk out. The problem was gone. So, I had a hunch and took the guy up one level. I went back down to the first level, tried to walk out and - bang bam zoom - *poof!* back to the upper level he went.

So, I seem to have narrowed it down to those buildings that don't have entrance doors and only if you have visited an upper level floor of that building.

Hope that helps.

Posted: Mon Apr 27, 2009 2:45 am
by Ghostwolf
If your using your admin character do a 'where command at the top of the stairs then do it near or at the bottom. The Z level is the third number, if it's related to the Z level bug then the Z level will be the same at the top or bottom.

Posted: Mon Apr 27, 2009 4:35 pm
by stranf
Which buildings?

I've noticed a similar problem, and it is related to the custom teleport locations, I believe it is JSteleport.scp?

The best place to see this bug is the hidden tavern below the leather shop in Vesper. Players can climb down the stairs (because the JSteleport allows them too), but when they climb back up, they are teleported back to the lower lever. We have effectively "boxed" them in.

There are many other instances, but I can't think of them off the top of my head.

There is no way around this, because if you put a JSteleport.scp level to teleport you back up, you will have this problem when you go down. The only think you could do is hard-code those locations in, or create a JSscript for those locations that checks which direction the PC is facing so it knows whether to teleport you up or down.

Lucky for me, my players have teleport privileges, so we only find this a minor nuisance. But on a large shard, it would be a critical problem.

Posted: Tue Apr 28, 2009 12:41 am
by ckirmser
Ghostwolf wrote:If your using your admin character do a 'where command at the top of the stairs then do it near or at the bottom. The Z level is the third number, if it's related to the Z level bug then the Z level will be the same at the top or bottom.
That must be it. When I enter the building, my location is 1261 887 16. I trot on up to the second level and then to the same square, it is 1261 887 32. When I return to that same square on the first level, as soon as I enter it, I pop back to the second floor. So, I returned to the opening, and stopped one tile short, checked my location and the Z is, indeed, still set to 32.

Why would this not happen if there is a door involved? Does using the door cause Z to be reset?

I'm not familiar with the 'Z bug,' but I hope this information helps towards its resolution.

I think, for the moment, I'll just block off access to these buildings.

Posted: Tue Apr 28, 2009 1:08 am
by Ghostwolf
viewtopic.php?t=1743 It effects several areas in the game. I haven't compiled a list but it effects other maps such as ilshenar as well

Teleport Privileges

Posted: Wed Jun 22, 2011 1:02 am
by RandallFlagg26
Does anyone (stranf) how I can give players teleport privileges?

Posted: Tue Jul 05, 2011 9:06 pm
by stranf
Still around Randall?

I haven't touched the teleport code in years, but when I get home, I'll take a peek for you.

Basically, you open the teleport script (teleport.js?) and set the flag to "0", I believe it is currently set to "1" so that GMs and councilors can use it. Remember, I'm going off of memory, since I haven't touched the teleport script in nigh on 5 years!

The best way to figure out how to do it is run a search. Use "teleport" as your query and "stranf" as the member and you should get my 5 year old post asking the same question.

It was one of the big 3 (Xuri, Grimson, Giwo) if I remember right who taught me how to do it.

Re: Can't Exit Multilevel Buildings

Posted: Mon Mar 19, 2012 9:31 pm
by Xuri
Fixed on CVS and in UOX3 0.99.