Search results

  1. PigPen

    Possible or Dream? - Searching an Item's ObjectPropertyList

    Well this is amazing. All of you have been great here. Especially thanks to Pyro, Juzzver and Voxpire for the true help and the time taken to look at this for me. Thanks also to any who stopped, looked and pondered the situation. I now have a lot to work with. All combined . . a solid...
  2. PigPen

    Possible or Dream? - Searching an Item's ObjectPropertyList

    Hi Juzzver, I 'm seriously excited that what you are suggesting might work because it would save me 'literally' hours of rescripting individual Artifact files. I inserted the suggestion at the start of 'OnDragDrop' and started running tests. The first line (with the '?' marks)...
  3. PigPen

    Possible or Dream? - Searching an Item's ObjectPropertyList

    Thank you Pyro . . I was afraid that would be the answer. My bad for creating hundreds of custom armor/shield/weapon/jewelry items and burying a quality aspect of the items in the GetProperties section. For a moment I hoped that a NPC might be able to use OnSingleClick on a dropped item to...
  4. PigPen

    Possible or Dream? - Searching an Item's ObjectPropertyList

    My shard is running on RunUO Version 2.1 . . . *ducks* I don't know if this is possible or just fanciful dreaming. I searched everywhere and came up blank or just used the wrong searches. If it's possible then I have no clue how to make it work. I want to create a NPC who will pay players...
  5. PigPen

    Is this possible? . . (Making 'OnSingleClick' do something specific)

    Thank you . . that is very interesting. I am gong to play with it. *bows*
  6. PigPen

    Is this possible? . . (Making 'OnSingleClick' do something specific)

    Thank you again. I spent the last couple hours trying many variations on this. I get it to compile with not errors but when (in-game) I 'Single Click' on the item nothing happens (it does not change from one ItmID to another ItemID. Here is my latest try Kita: public override void...
  7. PigPen

    Is this possible? . . (Making 'OnSingleClick' do something specific)

    Hi Kita OMG . . (copy + paste + 'bad eyes' = the lose). Thank you for reminding a newb the importance of reading what we type. I fixed the == vs = problem and re-tried with and without the 'this' . . everything compiles fine but the ItemID is not applied so the graphic for the item does not...
  8. PigPen

    Is this possible? . . (Making 'OnSingleClick' do something specific)

    Thank you for your fast reply Pyro. I have to admit my ignorance now because sadly . . Sorry, but I don't know what you mean by 'use 1 = sign not 2'. I did searches on C# and 'sign' but they seem related to strings, so I'm missing the boat on it.
  9. PigPen

    Is this possible? . . (Making 'OnSingleClick' do something specific)

    My shard is using RunUO Version 2.1, Build 6905.732 Core: Running on .NET Framework Version 4.0.30319 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I have been working on this off and on for a week now and have no more ideas if/how I can make it work. I am...
  10. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Well I'm still at it with no luck. Seems my scripting talent is just not up to the task. Can anyone give me a lesson here please? Here are my current Errors: Errors: + Customs/Universal Storage Keys/Gumps/NewListEntryGump.cs: CS1061: Line 442: 'Server.Targeting.Target' does not contain a...
  11. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Well . . I have finally got Seed.cs done and working so it now shows the Generation property on seeds entering the world. However . . I still can't get my ListEntryGump.cs to compile without errors no matter how many variations I try. I have tried the suggested "Seed theitem = Target as Seed"...
  12. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Well looks like I have gone down the rabbit hole *smiles* I have been following the chain of errors, fixing them one file at a time but hit the syntax wall aagain on this one. Here are my current errors: + Engines/Plants/Seed.cs: CS1729: Line 69: 'Server.Engines.Plants.Seed' does not...
  13. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Real progress (thanks to you) is being made. I believe I am close in spite of the Errors I am getting on 15 files. I can go into those filles and make them work . . provided the end result will not mess up things for folks on the live shard. Here is my new Seed.cs script: using System; using...
  14. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Okay Kimuji . . I have the Deserialize changed but it's kicking me out with these errors Errors: + Engines/Plants/Seed.cs: CS0103: Line 206: The name '_SeedGeneration' does not exist in the current context CS0103: Line 211: The name '_SeedGeneration' does not exist in the current...
  15. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Okay, sorry for this (an inexperienced question) . . if I try adding in your suggestion to the Deserialization of Seed.cs will that: 1) cause existing seeds to be deleted at server reboot? 2) 'only apply to new' created seeds leaving existing ones out of luck? Thank you very much for your eyes...
  16. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Yes . . My system is for RUNUO V 2.1 and was created back on May 1, 2009. None of my Seeds scripts gas 'Generation' as a property so that has been a part of the problem. If I change the Seed script to include a 'Generation' property I fear it will have to delete everyone's seeds.
  17. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    Hey Dev-Stryder and Kimuji . . Thank you 'both' for looking at this. It has had my head in knots for several days. First . . for my syntax problem I tried "Seed theitem = Target as Seed" and got this error on that line Errors: + Customs/Universal Storage Keys/Gumps/ListEntryGump.cs...
  18. PigPen

    Needing help with 'Syntax' (if think) for Universal Storage Container

    I have a shard using: - RunUO Version 2.1, Build 6905.732 - Running on .NET Framework Version 4.0.30319 - Core Optimizing for 4 64-bit processors For the past week I have been trying to tailor a script that is part of the "Universal Storage Keys - developed by Fenn on Friday, May 1, 2009...
  19. PigPen

    IsParagon = False

    If you only have one (or a few) of the custom mobiles then why not control it in the settings of an XML Spawner? ie. Dragon/IsParagon/false If your creation will involve many spawners then maybve try adding this to their scripts: public override void OnAfterSpawn() {...
  20. PigPen

    New Custom Creature Causing a Crash

    To solve the problem I inserted the following in the Ondeath section of Basecreature.cs if (!givenToTKill) { givenToTKill = true; //******************************************************** //To Avoid CPMoloch OnDeath...

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back