Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 06-02-2004, 05:08 AM   #1 (permalink)
GoldDraco13
Guest
 
Posts: n/a
Default BaseCreature Shard Cleaner

Summary:
I know this won't be for everyone...I got thinking after I made the dungeon sweeper, that it would be awesome if all the creatures would pick up stuff and do there part in keeping the shard clean...this is what this script does.

Its a Modified Distro BaseCreature.cs, I added the code in order for all you Base Creatures to pick up trash on the ground.

Description:
You can add items to the exempt list:

Type[] exemptlist = new Type[]{ typeof(MandrakeRoot), typeof(Ginseng), typeof(AxeOfTheHeavens)}; //Short example list

Installation:
Just replace your distro BaseCreature.cs with the one included....Enjoy!!!
Attached Files
File Type: zip BaseCreature.zip (22.4 KB, 272 views)
  Reply With Quote
Old 06-02-2004, 12:19 PM   #2 (permalink)
 
Join Date: May 2003
Posts: 303
Default

Quote:
Originally Posted by GoldDraco13
Summary:
I know this won't be for everyone...I got thinking after I made the dungeon sweeper, that it would be awesome if all the creatures would pick up stuff and do there part in keeping the shard clean...this is what this script does.

Its a Modified Distro BaseCreature.cs, I added the code in order for all you Base Creatures to pick up trash on the ground.

Description:


Installation:
Just replace your distro BaseCreature.cs with the one included....Enjoy!!!
Do the items that the creatures pick up just disappear or are they placed into the creatures backpack which then goes to a player when the creature is killed? Just curious, because it's not really eating items if it goes into the backpack and is accessible again after it's killed.

Anvil
Anvil is offline   Reply With Quote
Old 06-02-2004, 12:59 PM   #3 (permalink)
GoldDraco13
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Anvil
Do the items that the creatures pick up just disappear or are they placed into the creatures backpack which then goes to a player when the creature is killed? Just curious, because it's not really eating items if it goes into the backpack and is accessible again after it's killed.

Anvil
They don't go into the backpack...there deleted upon pickup
  Reply With Quote
Old 06-02-2004, 01:12 PM   #4 (permalink)
 
Join Date: Feb 2004
Location: Earth
Age: 34
Posts: 158
Default

well this would not be for everyone, This could be very bad for some people,
example wghen doing a spawn champ the champ drops his gold at the end, Well remaining monsters will be deleting your gold before you pick it up,

You would have to script a delay in there so peopel would at least have a chance to grab there loot.
__________________
All there souls belong to me on Nubblies shard.
smoksalot is offline   Reply With Quote
Old 06-02-2004, 01:25 PM   #5 (permalink)
GoldDraco13
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by smoksalot
well this would not be for everyone, This could be very bad for some people,
example wghen doing a spawn champ the champ drops his gold at the end, Well remaining monsters will be deleting your gold before you pick it up,

You would have to script a delay in there so peopel would at least have a chance to grab there loot.
I've thought of that....but I've seen more gold laying around then anything else...half the time there too lazy to pick up the gold ... hence the reason for this script....so if they want to get the stuff that drops to the ground...they better be fast if theres still creatures roaming....For me it helps the shard keep that clean feeling...but definitly your choice.


  Reply With Quote
Old 06-02-2004, 05:21 PM   #6 (permalink)
 
Join Date: Nov 2003
Location: Mo, USA
Age: 25
Posts: 12
Send a message via Yahoo to Aronyc
Default

Quote:
Originally Posted by smoksalot
well this would not be for everyone, This could be very bad for some people,
example wghen doing a spawn champ the champ drops his gold at the end, Well remaining monsters will be deleting your gold before you pick it up,

You would have to script a delay in there so peopel would at least have a chance to grab there loot.
would probably be fairly easy to add the exception code from one of the other trash collector scripts i saw, that way it avoids things like gold and whatever else you add into the code... just a thought
Aronyc is offline   Reply With Quote
Old 06-02-2004, 06:10 PM   #7 (permalink)
GoldDraco13
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Aronyc
would probably be fairly easy to add the exception code from one of the other trash collector scripts i saw, that way it avoids things like gold and whatever else you add into the code... just a thought
Already in there...just add to this list

Code:
Type[] exemptlist = new Type[]{ typeof(MandrakeRoot), typeof(Ginseng), typeof(AxeOfTheHeavens)}; //Short example list
  Reply With Quote
Old 10-07-2004, 02:55 PM   #8 (permalink)
Forum Novice
 
Join Date: Jul 2004
Age: 26
Posts: 207
Send a message via AIM to EternaL2K
Default Dont Forget

For anyone running the battle chess system on their shard dont forget to add RecallRune to the exempt list... unless you like watching the pieces get lost.
EternaL2K is offline   Reply With Quote
Old 10-07-2004, 06:02 PM   #9 (permalink)
Newbie
 
Join Date: Sep 2004
Age: 22
Posts: 35
Default

how about a version of this script that is set like "town worker" who auto takes care of stuff on the ground instead of asking the players to through all the death robes and useless items away just make it one mobile to keep the town clean and you can set a spawn for as many of them as you think you need :P
Ignius is offline   Reply With Quote
Old 10-07-2004, 06:27 PM   #10 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

Ok, first of all, this is a four month old thread. Second of all, see that little tag on below GoldDraco's name? That means the writer is banned, there won't be another version of this unless you do it yourself.
Sep102 is offline   Reply With Quote
Old 10-12-2004, 04:01 PM   #11 (permalink)
 
Join Date: Sep 2004
Age: 23
Posts: 15
Default

Unless this almighty board isn't the only one *gasp* lol!!!!

BTW how hard would it be to edit it to go into the creatures backpack? that way if you kill it and still dont take it it will be deleted w/ the corpse but you get a chance to take it.
Miral007 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5