I personally use VS2015 CE.
I don't believe there is a method in Item.cs for a private overhead message that is not localized (I don't think there is a Cliloc for "[Trapped]"?), LabelTo would be the closest thing but it doesn't support hue.
To send a hued, non-localized overhead message onto...
I didn't see a reason to not let the shard crash, since it is just a test. Wrapping it in the try/catch block would not compile since the variable "recipes" would not exist within the catch block. It would have to be declared outside of the try/catch.
The only way I can imagine this happening is that the list has a count of 0.
list[Utility.Random(list.Count)]; should never be out of bounds, since Utility.Random(2), for example, can only be 0 or 1.
If the count of the list is 0 or 1, the only number that Utility.Random(list.Count) can...
Most of those errors come from the fact that you are looking at the properties of a Container which doesn't have any properties like "TrapType". A TrapableContainer does.
The safest way to cast to a TrapableContainer is like so.
Let's say you have a reference to a Container:
private static...
I made an outfit creator/planner on my website. It can be used to dress up a paperdoll and see what the end result looks like, which is good for planning outfits without access to all the hues you want at the time of making it. I posted this on Reddit and got some positive feedback, some people...
Have you tried typing [where to find out where the game thinks you are? Since you are using a custom map, your regions.xml file will be totally invalid. You should remove all content in regions.xml relating to the felucca facet. You could be somewhere that regions.xml thinks is green acres, for...
I don't believe there's any drawback to updating to .NET 4.5. You'll have more compatibility with everything. The only reason I can think of not to is if your Visual Studio doesn't support it, which is only a download away. It won't break any of your previous scripts.
I personally use LINQ a...
this.Property = value;
Is mostly always redundant since it can just be
Property = value;
The only time using "this" to access a property in the instance would be necessary is if there was a local variable defined with the same name, which should never happen with proper casing rules...
Some of the below is speculation, because I have never spent a lot of time looking into Gump IDs. But to the best of my knowledge these are not client side gumps.
The listing here are the gump IDs that are sent to the client when playing on OSI. A gump ID is important to the client because it...
Try replace:
GoP += SearchForGold( pm.BankBox);
with
GoP += Banker.GetBalance( pm );
With account gold, this would report 2 characters on the same account as having identical amounts of gold (minus whatever is in their backpack), essentially creating duplicates in the list.
You could get...
1.26 is an extremely old client and simply having the correct keys for it (or removing encryption on the client) wouldn't be enough. There's no doubt a lot of packet differences during login which you would need to handle, and probably packet differences after you are logged in.
I did consider this too but it would require the gump to be non movable, which I'm not a fan of. Seems odd that the client wouldn't support multiple sets of radio buttons!
Looks fine to me, no reason why that script would work only for access level greater than player. You would have to debug why this method is not getting called (assuming it isn't).
The mobile OnSpeech method is called from Mobile.cs
One thing I just noticed is you are not overriding...
IIRC Siege Perilous had some different travel rules and was very popular. It had no recall at all and limited use of gate travel. You could not mark inside a dungeon or gate from inside a dungeon. Because you only had 1 character per account, not everyone could gate either.
UO Lost Lands is a continuously developed T2A shard. We are 18 months and 43 patches deep in development of the shard.
Some of our features include:
A constantly rotating events schedule where events are launched automatically each day. If you are into PvM, PvP, or just having a bit of fun...