Go Back   RunUO - Ultima Online Emulation > RunUO > General Discussion

General Discussion General discussion for the RunUO community, all off-topic posts will be deleted. This forum is NOT FOR SUPPORT!

Reply
 
Thread Tools Display Modes
Old 05-24-2004, 10:16 PM   #1 (permalink)
 
Join Date: Mar 2004
Posts: 7
Default Saved me some lag.

I just removed 15k items from my world. I did this by taking out all Packgold statements in the mobiles, and in on death of base creature, adding in code to add the gold on death. This saves the world from creating unnecessary items.... maybe this should be standard for all items on a base creature, it sure would save the world from alot of items...
unknownrealm is offline   Reply With Quote
Old 05-24-2004, 10:32 PM   #2 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,372
Default

The only downside I can see to this is that your thieves won't be able to snoop or steal gold from packs since there won't be any there until the creature dies.

Quote:
Originally Posted by unknownrealm
I just removed 15k items from my world. I did this by taking out all Packgold statements in the mobiles, and in on death of base creature, adding in code to add the gold on death. This saves the world from creating unnecessary items.... maybe this should be standard for all items on a base creature, it sure would save the world from alot of items...
HellRazor is offline   Reply With Quote
Old 05-25-2004, 05:20 AM   #3 (permalink)
Forum Expert
 
Captain The First's Avatar
 
Join Date: Jun 2003
Location: The Netherlands
Posts: 647
Default

Odd I thought that that already happened.

When is loot normally generated then? Might be interesting to re-write the entire loot generation to optimize for RAM usage and item count.
__________________
Captain The First
_________________

Undisclosed shard (status: building since Feb. 2003)
Captain The First is offline   Reply With Quote
Old 05-25-2004, 08:46 AM   #4 (permalink)
psz
UO Gamers: Demise Administrator
 
psz's Avatar
 
Join Date: Oct 2002
Location: Swamp
Age: 29
Posts: 10,819
Default

It's selected and created OnDeath for most creatures so that Luck can be used to increase the loot.

Beta 36 did not do this, RunUO 1.0 RC0 does.

Note that not ALL creatures have this, and some DO carry some items at all times.
__________________
psz
Demise' Creator (Retired)
The RunUO.com Forum Moderator Team
Former Official RunUO Scripter (Retired)
Websites:
My 360 Blog
My Gaming Site(Old Link)
My Gaming Site(New Link)
psz is offline   Reply With Quote
Old 05-25-2004, 10:55 AM   #5 (permalink)
Forum Expert
 
Captain The First's Avatar
 
Join Date: Jun 2003
Location: The Netherlands
Posts: 647
Red face

Ah that explains it... I was digging in 1.0 scripts which seem to indicate what you said.

Any way to determine what creatures do have fixed loot and which don't?
(just hijacking this thread since it is an interesting topic :P)
__________________
Captain The First
_________________

Undisclosed shard (status: building since Feb. 2003)
Captain The First is offline   Reply With Quote
Old 05-25-2004, 05:25 PM   #6 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: around
Posts: 1,376
Send a message via ICQ to bean56 Send a message via AIM to bean56
Default

That isn't a bad Idea. I have disabled theifs being able to steal from creatures so that sounds like a good idea to me.
The only problem I have with that is it's a dang pain to go through every mobile and remove the packgold code.
bean56 is offline   Reply With Quote
Old 05-31-2004, 12:01 PM   #7 (permalink)
 
Join Date: Mar 2004
Posts: 7
Default

I used an editor called crimson editor, to change all packgold into //1234packgold , that way if i ever needed to go back i could just open all the files, do a global find and replace for //1234packgold. I then went into basecreature ondeath, checked fame, set gold accordingly.
unknownrealm 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