RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] CEOTurboSlots V1.0b

Pure Insanity

Sorceror
Yes, it changed. Easy fix though is to just add that method (the old one of course into the code of the item or w/e it is.) Or simply adapt the old code to use the new bleed. I fixed it rather easily myself when I ran into the problem...
 

shackal

Sorceror
Any idea to run in 2.1 SA SVN?

RunUO - [www.runuo.com] Version 2.1, Build 4298.16597
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors)
Errors:
+ Customs/Lottery System/CEOTurboSlots/turboslot.cs:
CS1501: Line 2503: No overload for method 'BeginBleed' takes '2' arguments
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

Turboslot.cs
Code:
private void BeginBleed(Mobile m)
        {
            if (m == null)
                return;
            m.SendLocalizedMessage(1060160); // You are bleeding!
            m.PlaySound(0x133);
            m.FixedParticles(0x377A, 244, 25, 9950, 31, 0, EffectLayer.Waist);
            BleedAttack.BeginBleed(m, m);
         
 
        }
 

shackal

Sorceror
Solved with this modification:

Code:
private void BeginBleed(Mobile m)
        {
            if (m == null)
                return;
            m.SendLocalizedMessage(1060160); // You are bleeding!
            m.PlaySound(0x133);
            m.FixedParticles(0x377A, 244, 25, 9950, 31, 0, EffectLayer.Waist);
            BleedAttack.BeginBleed(m, m, false);// ADDED FALSE ARGUMENT
 
        }
 
  • Like
Reactions: CEO
Top