So there was an issue with Tresendi's cleaned up version, that stops people opening the gumps at all. I didn't realise this as I was still using the old system. The new file is attached here. With the exploit fix and a tweak to Tresendi's updated code to allow the gumps to open again.
*edit, i...
Recently had an exploit pulled on my server allowing players to get free items, this file has the exploit fixed. I suggest all shard owners update their version if running this system. The version I updated was from PlayUO so also contains edits and cleanup from Tresendi.
JBob! - You're shoes are untied.
*While you look down only to realise you're wearing boots and have fallen for the oldest trick in the book - i steal the cookie!"
Praxizz - the only way you could become more awesome than you already are in my book is by figuring out how to dupe yourself so we can have two of you pushing the limits of UO!
Awesome stuff!
These forum games are ridiculous! Nobody has time to sit around playing these things!
*While writing your response to douse my angry rant - you fall for my ploy - the cookie is mine!*
What I had will randomly select the numbers between the two - so it could be 19452, 19453, 19454, 19455 or 19456.
Ben has a nice solution if the items or IDs aren't concurrent which is true for many scenarios. :D
The keywords you're looking for is ADD - This adds an item to a mobs pack. & RND - This randomizes a number between two values.
From there you can add in a random Chance so ADD,0.1/Katana would give a 10% chance 0.5 = 50% 0.05 =5% and so on.
To create in item to drop using add rather than using...
Hey all,
By deafult ServUO comes with a bunch of funky XMLSpawner 2 Systems such as the XML Sockets & Mob Factions.
It's easy enough to remove the attachments for these in game & on the fly but is there a quick easy way to uninstall the systems to stop the attachments getting re-added...
Was jut going to post querying if this code or not was going to include abstract types etc. - You're now reading my mind and answering questions before I post them.
I'm going to wear out these 7 keys but once again.. Thanks!
IsSubclassOf <- You have no idea how long I hunted for something...anything like that. I'm sure I even types those words!
Thanks once again! You have saved me a lot of time.
If i'm picking say 6 random items and wan't to make sure that they're not the same item. Would the best way be to...