Search results

  1. Talow

    need help about gump

    public static void Initialize() { CommandSystem.Register("Admin", AccessLevel.Administrator, new CommandEventHandler(Admin_OnCommand)); } [Usage("Admin")] [Description("Opens an interface providing server information and administration features including client, account, and firewall...
  2. Talow

    XmlDialog/XmlEdit, XmlQuestNPC, KILLNAMED Objective, XmlMobFactions

    if that means anything, it means you tried and so are greater than 100% of the people that didn't try. it also tells you what you didn't do right ;) CS error codes are easy to google, and the MSDN and examples they give, and the many many other help sites. trying is a long way from I wish I knew...
  3. Talow

    XmlDialog/XmlEdit, XmlQuestNPC, KILLNAMED Objective, XmlMobFactions

    @Nadious coding isn't hard, it's dedication that's hard.
  4. Talow

    XmlDialog/XmlEdit, XmlQuestNPC, KILLNAMED Objective, XmlMobFactions

    well it is showing, just it's showing the bag, that can't be clicked on.
  5. Talow

    need help about gump

    you can use the initialize static method to run a command registration to open your gump, however you could also use the Login event to open the gump then too. Both would be registered with the initialize method, it's a special method that the core looks for when compiling scripts and runs it at...
  6. Talow

    Siege Bless

    1) As it stands currently simply restarting would cause the list to refresh. We can add a check, so when the method is called, after we define the blesseditem variable, check if the item has been deleted and the dictionary contains the key. If that's the case simply remove the entry from the...
  7. Talow

    Reapetable Timer

    Very welcome. you're doing an awesome job understanding the code.
  8. Talow

    Siege Bless

    Well I found it funny, hope you will too. I Simply forgot an exclamation point, which in C# means not... Item blesseditem = PlayerBlessedItems.ContainsKey((PlayerMobile)from)?null: PlayerBlessedItems.FirstOrDefault(pbi => pbi.Key== @fromas PlayerMobile).Value; That's what we told it for...
  9. Talow

    Reapetable Timer

    Very cool. Dictionaries work similar to arrays, but have functionality too. In fact most of the generic collections work that way. https://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx - Dictionary https://msdn.microsoft.com/en-us/library/6sh2ey19(v=vs.110).aspx -List...
  10. Talow

    Siege Bless

    Interesting. When I get home I'll take a proper look at it and test it some.
  11. Talow

    Siege Bless

    wow it's been awhile it seems for me... Lets try... Item blesseditem = PlayerBlessedItems.ContainsKey((PlayerMobile) from) ? null : PlayerBlessedItems.FirstOrDefault(pbi => pbi.Key == @from as PlayerMobile).Value; And... PlayerBlessedItems.Remove((PlayerMobile)from);
  12. Talow

    Reapetable Timer

    my suggestion works by having one timer that fires every so often, so you'd have it fire at the fastest you'd ever to want it to trigger. Then checking when fired against the dictionary's values (date time) to see if it should apply to the player (the dictionaries keys). It requires a bit of...
  13. Talow

    Siege Bless

    Oh forgot ServUO is on an older version of C#. replace var blesseditem = (PlayerBlessedItems.FirstOrDefault(pbi => pbi.Key == from as PlayerMobile))?.Value;//B LINE 2293 with Item blesseditem = (PlayerBlessedItems.FirstOrDefault(pbi => pbi.Key == from as PlayerMobile) == null) ? null ...
  14. Talow

    Error Vita-Nex v4.0 error In Module

    https://www.servuo.com/threads/trying-to-add-vnc-4-0-error.6516/#post-42019
  15. Talow

    Siege Bless

    Read the script and found where you are doing your work, most of it is dealing with the ToggleItemInsurance_Callback. We'll focus our work around this. The first thing we want is our static Dictionary that will store the information we need, player mobile, and the blessed item. We'll do this...
  16. Talow

    Siege Bless

    Previously you said you got it to work without any checks, however after looking over the code I'm not seeing the section you changed to set the targeted item to blessed true/false. Can you give us that code? I Won't be able to check until tomorrow morning, but I'll try to give you better...
  17. Talow

    Siege Bless

    Serialize is about saving, no it don't need to be done in order to work, it just won't remember after save. Yes I am implying more code is needed. I'm going to try this without going over your code as it seems you're starting to get the hang of it. When, in your code, it's time to bless an...
  18. Talow

    Enhanced Client Questions - Newest SVN

    A winner are you @Dexter_Lexia
  19. Talow

    Siege Bless

    I'll start with the harder part first, please note, I'm not going to cover serialization. I would start by creating a static (there can be only one) dictionary (System.Collections.Generic, dictionary is a set of Key Value Pairs) with the key as the player mobile and the item that the player has...
  20. Talow

    Cliloc Editor [Deleted]

    I like this, very nice. Question about editing tho, do you have the cliloc variables so we don't have to remember them when editing?

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back