Realms and stamina

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Realms and stamina

Post by xeon »

Hi, I've got a question about realms and stamina that I couldn't answer searching the forum.

I've read that only one realm permit PC to pass NPC when without full stamina, and that the others require full stamina.
I couldn't find anywhere a way to customize that. I mean, I would like to set that in all realms PC can pass through NPC also if they don't are at full stamina.
I found realm.cfg, but anywhere I couldn't find the specifications of this file.

Any hint appreciated
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: Realms and stamina

Post by OldnGrey »

As far as I know, map0 (britannia) realm is the only realm that has the client stop you from entering the same tile as an npc if you don't have full stamina. So it's the client stopping you.

The way to tell if it's the client preventing a movement is that it simply won't attempt to move there. If it's the server, you can enter the tile but the server pushes you back - a rubberband effect.

In all other realms (including Britannia_Alt - trammel) you can script what you want with a pushthrough hook.
As a matter of interest, you can set Britannia_alt at the _DEFAULT_REALM and have your entire shard on there rather than Britannia.
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Re: Realms and stamina

Post by xeon »

Yes, I've read that in old posts, and I've seen that to overcome this "feature" I have to create a new map and set is the default (procedure in this post).

But:
  1. I have to create another world with uoconvert
  2. fix all the scripts, if they don't use the constant _DEFAULT_REALM
  3. fix UO.em
which aren't banal tasks.
What's more, in these realms you don't get the "criminal advice" before committing criminal actions.

Is there a packet, a configuration file directive, a POL trick that I can use if I don't want to create another map?
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Realms and stamina

Post by Tomi »

The only way around this as far as I know is to edit the client to not use the max stamina pushtrough check but.... I remember that there were some packet which could change the realm settings for trammel to felucca map as well, but afaik there were some kind of problems with other things when using that.

the packet you could use is 0xBF subpacket 0x8

Subcommand 8: Set cursor hue / Set MAP
BYTE[1] hue (0 = Felucca, unhued / BRITANNIA map. 1 = Trammel, hued gold / BRITANNIA map, 2 = (switch to) ILSHENAR map)


you can try but I dont remember exactly what the problems with that were.
Post Reply