Search results

  1. Iomega0318

    Operator '||' cannot be applied

    Yep that did it! Thank you sir, now back to fixing other broken things :)
  2. Iomega0318

    Operator '||' cannot be applied

    Ok so I took both of what you suggested and put them together, the good news is now the Everlasting Focus is working and the system reads it and applies the buff, the bad news is now when using the normal focus the server crashes haha.. public static int GetFocusLevel(Mobile from)...
  3. Iomega0318

    Operator '||' cannot be applied

    Ahh interesting, well that compiles but it's still not working haha..
  4. Iomega0318

    Operator '||' cannot be applied

    Well the goal with this was to remove the timer from the focus so it never expires it doesn't use charges, I've been playing with it more and can mostly get everything to work but can't get it to do both at the same time, this line is where I'm stuck on currently: return...
  5. Iomega0318

    Operator '||' cannot be applied

    It's a different item altogether though so wouldn't it never return that type lol?
  6. Iomega0318

    Cleanup

    Have you tried using it? if (m_Cleanup.Any(x => x.mobiles != null)) { foreach (var m in m_Cleanup.Select(x => x.mobiles).Distinct()) { if (m_Cleanup.Find(x => x.mobiles == m && x.confirm) != null)...
  7. Iomega0318

    Operator '||' cannot be applied

    Hmm, I just copied the FindArcaneFocus and changed the name.. **EDIT** Ahh must be the everlasting focus, I tried using just that and got the following: ArcaneFocus focus = FindEverlastingArcaneFocus(from); Cannot implicitly convert type 'Server.Items.EverlastingArcaneFocus' to...
  8. Iomega0318

    Operator '||' cannot be applied

    Getting the following: Operator '||' cannot be applied to operands of type 'ArcaneFocus' and 'EverlastingArcaneFocus' related to: public static int GetFocusLevel(Mobile from) { // Iomega0318 - EverlastingArcaneFocus ArcaneFocus focus =...
  9. Iomega0318

    Cleanup

    I believe it's just TrashBarrel
  10. Iomega0318

    If Account = or If Player Name =

    Ah I was playing with account but couldn't get it to work due to a string error just now, I was missing the "Username" part. Thanks again Zero!
  11. Iomega0318

    If Account = or If Player Name =

    So looking to find a way to check the account name, or possibly the player name but account name would probably be better in a script, I was looking for anything that did something similar but can't seem to find anything and I'm not sure how to even start coding that check. So was wondering if...
  12. Iomega0318

    Namespace is used like a Type

    Good to know! **EDIT** Yep that was it, thanks again Zero.
  13. Iomega0318

    Namespace is used like a Type

    Well that's dumb.. you think it'd throw an error with 2 items named the same lol.. I was not aware of that one, thanks Zero I'll fix when I get home.. sigh..
  14. Iomega0318

    Namespace is used like a Type

    Getting the following error when trying to use two scripts that were downloaded from here, the error: error CS0118: 'BirthdayCake' is a namespace but is used like a type [C:\ServUO\Scripts\Scripts.csproj] the code causing the error: BirthdayCake bc = new BirthdayCake()...
  15. Iomega0318

    Account Tag on Creation

    Ahh so I need to put it before the other stuff, I'll give that a shot thanks.
  16. Iomega0318

    Account Tag on Creation

    Hmm I added it here but didn't seem to work, where should I be looking? private static Mobile CreateMobile(Account a) { if (a.Count >= a.Limit) return null; for (var i = 0; i < a.Length; ++i) { if (a[i] == null)...
  17. Iomega0318

    Account Tag on Creation

    Yeah I tried adding it into the EventSink_CharacterCreated, but I couldn't get it to work. I figured that would be the best place.
  18. Iomega0318

    Account Tag on Creation

    So I know how to add an account tag and how to read it for a script I'm using, I just have no idea where or how to add the tag so it gets added on account creation, could anyone point me in the right direction or possibly show me an example?
  19. Iomega0318

    Looking for Mercenary script for servuo 57

    This is more something that needs to be posted in the help section not releases, also what are the errors? What have you tried? There are several working copies of evos and mercs on the forums.
  20. Iomega0318

    Global Trade

    Ahh can confirm, threw me off there :)