- ServUO Version
- Publish 57
- Ultima Expansion
- Time Of Legends
I am trying to learn how to bypass clilocs without making any changes to distro. Lets say I want to change this from:
to
I get the following error:
CS1503: Line 80: Argument 3: cannot convert from 'string' to 'int'
I think the 0x3B2 is the font and 1061905 is the cliloc. What can I do to skip the cliloc and have it show whatever I would like it to say?
**EDIT**
I got it to work with
Original Code:
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1061905); // * You eat the orange petal. You feel more resilient! *
to
Bad code:
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, "Say whatever I want it to say!"); // * You eat the orange petal. You feel more resilient! *
I get the following error:
CS1503: Line 80: Argument 3: cannot convert from 'string' to 'int'
I think the 0x3B2 is the font and 1061905 is the cliloc. What can I do to skip the cliloc and have it show whatever I would like it to say?
**EDIT**
I got it to work with
Still Bad Code:
from.SendMessage ("What I want it to say")
Last edited: