Page 1 of 1

Realms and stamina

Posted: Sat Dec 27, 2008 7:46 am
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

Re: Realms and stamina

Posted: Sat Dec 27, 2008 5:14 pm
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.

Re: Realms and stamina

Posted: Sun Dec 28, 2008 7:49 am
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?

Re: Realms and stamina

Posted: Sun Dec 28, 2008 8:09 am
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.