Search results

  1. XeroX

    need help about gump

    Put InvokeCommand in public class logooosMENU : Gump or in another class and switch from private to public.
  2. XeroX

    Container sizes

    Done. https://github.com/ServUO/ServUO/pull/1742 Alternative would be: Adding Rebuild Bounds.bin to AdminGump Maintenance Category and rebuild it in place.
  3. XeroX

    Container sizes

    Let me finish my Bounds.bin adjustments. Going to push it today. I can't vouch if my push will be accept, as I'm introducing a new Cache Folder. The Cache is currently generating Bounds.bin if Art.mul or art...uop is found and objects.xml based of the categories. If no art found, pregenerated...
  4. XeroX

    Container sizes

    This loaded on every server start. Check: https://github.com/ServUO/ServUO/blob/1d83d1eaa21966240bdee64bd3a62ea83fd7fad3/Server/Items/Container.cs What are you expectations to happen when changing the file?
  5. XeroX

    Container sizes

    I assume it coheres with bounds.bin. I'm currently writing a script the generates bounds.bin on first launch.
  6. XeroX

    need help about gump

    You have to put InvokeCommand in a class and may define the "from". Just have a look at AdminGump.cs this is where InvokeCommand is from: https://github.com/ServUO/ServUO/blob/master/Scripts/Gumps/AdminGump.cs
  7. XeroX

    need help about gump

    Please post the whole script....I see missing brackets, expecting the whole class or namespace is missing.
  8. XeroX

    need help about gump

    Add private void InvokeCommand(string c) { CommandSystem.Handle(this.m_From, String.Format("{0}{1}", CommandSystem.Prefix, c)); } Or Reference AdminGump and reuse the method.
  9. XeroX

    Making accounts 1 character only

    Yes, you're right. There is no packet that fits...and actually that makes sense. So client freezes but most important the code works ^^
  10. XeroX

    Making accounts 1 character only

    Oh you mean there is no other possiblity? There is no actual account full message, as ea controls this via the number of slots?
  11. XeroX

    need help about gump

    Sure. this.InvokeCommand("expbar");
  12. XeroX

    Making accounts 1 character only

    So I've checked my code above. It works. 19:41:45 Login: 127.0.0.1: Character creation failed, account full 19:41:45 Client: 127.0.0.1: Disconnected. [0 Online] [XeroX] But client is stuck in character creation instead of giving a "account full" message. Going to check if there's another...
  13. XeroX

    Making accounts 1 character only

    1, 5, 6, or 7 ;) Its in the comment above the method :D
  14. XeroX

    Making accounts 1 character only

    ...or something like this... /// <summary> /// Gets the maximum amount of characters allowed to be created on this account. Values other than 1, 5, 6, or 7 are /// not supported by the client. /// </summary> [CommandProperty(AccessLevel.Administrator)]...
  15. XeroX

    What script shuts off Meditation gains?

    Both should work but I think "AllowGain" is the appropriate place and you're not preventing NPCs from gaining meditation ;)
  16. XeroX

    Making accounts 1 character only

    Scripts/Accounting/Account.cs Replace: /// <summary> /// Gets the maximum amount of characters allowed to be created on this account. Values other than 1, 5, 6, or 7 are /// not supported by the client. /// </summary> [CommandProperty(AccessLevel.Administrator)] public int Limit {...
  17. XeroX

    What script shuts off Meditation gains?

    Adding following lines to SkillCheck.cs should do the trick. Add: else if (from is PlayerMobile && skill.Info.SkillID == (int)SkillName.Meditation) return false; after else if (from is PlayerMobile && from.Race != Race.Gargoyle && skill.Info.SkillID == (int)SkillName.Throwing)...
  18. XeroX

    Windows EventLog

    Hello guys, I want to discuss or ask if someone is using Windows EventLog impelentation of ServUO/RunUO. https://github.com/ServUO/ServUO/blob/master/Server/EventLog.cs This allows you to write Events to the Main Application EventLog with Source ServUO. This isn't being used in the code or...
  19. XeroX

    Happy Birthday dmurphy!

    Happy birthday!
  20. XeroX

    Persistence Error

    I can reproduce this behavior too, but only with "older" world saves. Starting completely new, works.

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back