Search results

  1. Diego

    Death Status

    Hi, I changed the dead player's aspect with a bodymod ondeath(), but now the screen doesn't turn black/white (it remains coloured).. If I logout and login again the player appears without the bodymod, with the classic deathshroud and the grayscale screen. Can I change the dead body aspect...
  2. Diego

    TaxPersistance Timer Problem

    Solved changing this: for ( int i = 0; i < count; ++i ) { CityStone c = reader.ReadItem() as CityStone; TaxTimers.CreateTimer( c, c.Taxes, reader.ReadTimeSpan() ); } in: for ( int i = 0; i < count; ++i ) { CityStone c = reader.ReadItem() as CityStone; TaxTimers.CreateTimer(...
  3. Diego

    TaxPersistance Timer Problem

    Hi, I've duplicated the disguisePersistance Timer to create a new taxPersistance Timer which counts taxes, but when i reboot the server this timer doesn't restart and the timer.Next is 01/01/0001... why? using System; using System.Collections.Generic; using Server; using Server.Mobiles; using...
  4. Diego

    Close Container Gumps OnMove

    Hello, There is a way to close an open container if a player moves? I noticed if the container is outside your backpack its gump automatically closes if I go out of range, but if I put the container inside my backpack I never go out of range.. so the gump remains open. I would have containers I...
  5. Diego

    Separate Bank Boxes - required scripts and a How To

    So.. to have X indipendent rent boxes I'll have to create X new layers too?
  6. Diego

    Separate Bank Boxes - required scripts and a How To

    Hi, just two question about the Bank System: If I want to create 5 different bank boxes, do I have to create 5 new layers and so on? There is a way to adapt this system to let players buy different rent boxes instead of a single bank box? For example, if I buy 2 different rent boxes and I open...
  7. Diego

    Checking Buy and Sell

    Yes, you're right. I managed to reset the IsBusy boolean via PacketHandlers.Register() in case of players finish trading with the vendor (correctly). I can't figure out how to manage the right-click closing action over buy/sell gumps (Any ideas?) so I've just added an IsBusyTimer( 30 seconds )...
  8. Diego

    Checking Buy and Sell

    Yes, it should work, but if i put the m_inUse = true Just After these new ifs.. where do I have to write the m_inUse = false? I presume this bool should be reset after a successfully completed buy/sell action and when a player simply closes the buy/sell gumps wihout buying or selling anything...
  9. Diego

    Help with Incognito or Fake Names

    Uhm.. even the paperdoll and other gumps (i.e. the vendor buy/sell) don't seem to update the disguised name [I've to close and re-open the paperdoll].. I tried MobileDelta.Name, but with no success. Any idea to update/force in real-time all the occurrences of the player's name?
  10. Diego

    Checking Buy and Sell

    Hello, I would prevent players from opening a vendor's buy or sell panel if another player's already buying or selling from the same NPC... which file/function I've to edit? Thank You in advance!
  11. Diego

    Help with Incognito or Fake Names

    Thank you for your posts. I changed Name with RawName and other things, but how can I force the paperdoll to refresh the name after a disguise or incognito? I've to close and re-open the paperdoll to refresh the player's name. Moreover, if I disconnect-reconnect while disguised, I read the fake...
  12. Diego

    Help with Incognito or Fake Names

    Hi you all! I don't know how to solve this problem.. I've implemented an "Unknown" name system, so each player could give fake names to other ones (and they can take note of that names multiple times, in this way "Unknown" turns into "Name"). I've also implemented a "Citizens, Evaders, Outlaws...
  13. Diego

    Max usages for a single LandTile

    I tried to add a new property to PlayerMobile (TileUsed) which is a Point2D type. When I successfully harvest a tile, its coords are saved inside that variable and a timer starts..so after a certain time (it depends on player's skill value) the coords are deleted from the TileUsed var. I don't...
  14. Diego

    New Body Race in Paperdoll

    I opted for the new wearable item solution (I think the human and body item/gump are hard coded into the client) using the layer number 5 (the shirt's one). When I wear the item, my paperdoll's gump changes correctly, but there is a way to prevent the user's drag action? Even if I set the item...
  15. Diego

    How to Disable/Override Properties Menu

    I tried both of your suggestions, but that little empty menu's still there when I pass the cursor over the item.. very strange :(
  16. Diego

    How to Disable/Override Properties Menu

    Hi You all, there is a method to prevent the transparent properties menu (the one visible when you pass your mouse over an item) of a particular item? I tried this: public override void SendPropertiesTo( Mobile from ) {} public override void GetProperties(ObjectPropertyList list){} but if I...
  17. Diego

    New Body Race in Paperdoll

    I managed to do what I want scripting a new wearable item with the proper gump, but the only Layer I can use is the Cloak's one, because if I use another Layer other wearables or hairstyles/beardstyles could appear under the race gump.. There is another way to do this or I've to say goodbye to...
  18. Diego

    New Body Race in Paperdoll

    Hello! I would add a new body gump for orcs that can be seen in the paperdoll (I've added the new race in the core and in my racestone). Googling for tutorials or threads I've not understood well if there is a way or not.. Could you help me?
  19. Diego

    Refresh Character Status Panel on Double Click

    Thank you all for your replies! I tried the [from.InvalidateProperties();] suggestion with no... LUCK! XD The second suggestion [from.Delta( MobileDelta.Resistances);] worked like a charm! Thank you Voxpire!
  20. Diego

    Refresh Character Status Panel on Double Click

    Hi you all, there is a command to refresh the Character Status Panel after a double click on an item (i.e. a Four-Leaf)? I've added a BaseLuck property to Mobile.cs and it works, but the Character Status LUCK changes only if I move the Four-Leaf inside the backpack after the double click. When...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back