There are several differences in "old school" magic reflect to the magic reflect found in ServUO.
Firstly, in MagicReflect.cs you can remove all checks for "CanBeginAction( typeof( DefensiveSpell ) )". These checks are what stops the spell from adhering for a few minutes after reflect has been...
Well this isn't actually true, it would create a 100gp bounty in that situation.
You are right that these should use the banker balance/withdraw/deposit functions, that code itself was written a long time ago when I was new to coding and for whatever reason at the time I didn't think such a...
Hmm, did you download the latest version?
The code you pasted seems to be missing this:
var bounty = Math.Min( Utility.ToInt32(c.Text), GetBountyMax( from ) );
if (bounty > 0)
{
The bounty is now calculated as a minimum of what the person entered vs what the actual...
1) Don't have time to look right now but I have a question - from what I recall there isn't any check for what system is being used at all. It just uses the banker deposit and banker withdraw functions which do the account gold checks themselves don't they? Admittedly making this ServUO...
[global ...
[online ...
[region ...
[area ...
... addtopack ... where
...set[property] ... where
...get [property] ... where
...inc [property] ... where
...remove ... where
...etc
All good ones. There is a lot you can do with it.
I agree with Ravenwolfe that these are all very powerful...
That should be removed too as it's wrong, but removing that alone won't be enough to fix the problem, because the name "dungeon coins" would never be assigned.
It's because when the amount constructor is called, you do not give a name definition to the coins. Shift "Name" to the lower constructor like so.
public DungeonCoins()
: this(1)
{
}
[Constructable]
public DungeonCoins(int amount)...
This is the workaround I'm currently using, the downside of it is that the gump closes and reopens every time you click a button. It looks much nicer when the gump doesn't have to flash in the client every time a "radio" button is clicked.
Never come across this problem but I guess I've never needed to add multiple sets of radio buttons to a gump. What I mean is something like this:
In that gump, the initial states of "Thursday" and "Non-Free Use, Magics" are in the pressed state. However when you select any radio button in...
You can remove this check because we already know we want to give justice for this mob. This code will just fail outright because probably BaseCreatures don't have their NextJustAward set, and the mobile won't have more than 5 kills (its red status is set by AlwaysMurderer).
if(this.Kills>=5&&...
Okay I made a mistake, ServUO does not compile C# 6.0 code either. I did manage to get C# 6.0 code to run by following the instructions laid out here: http://stackoverflow.com/questions/31639602/string-interpolation-with-codedom-c-sharp-6-0-with-codedom
I've been messing around with this for a while and can't figure out exactly where the problem is.
If I compile C# 6.0 code in the core, it compiles fine. However when running C# 6.0 code in the scripts, I get syntax errors, so I assume the scripts will not actually compile with 6.0. I tested...
This is an OSI accurate bounty system that was disabled with publish 16, June 2002, which coincided with the removal of stat loss for player killers. It is completely drag drop compatible (tested versions: RunUO 2.2, RunUO 2.5, ServUO current). It is compatible with the account gold system that...
I developed UOLL from a fresh copy of 2.5, I didn't opt out of any of the updates. Desyncing definitely seems to happen a lot when PvPing on foot. I've never attempted to find out why due to how difficult it is to reproduce, some days there might be no desyncing at all and others it happens 5...