Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing, DotBot

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,387
627
MargoThurb
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » making object levels permanen...
Forum Rules | Mark all | Recent Posts

making object levels permanent on objects
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Sep 23, 2003, 3:48 am
Go to the top of the page
Go to the bottom of the page

Snowleaf

GroupMembers
Posts12
JoinedApr 13, 2003

I've been looking into making object levels a fixed level rather than being dependant on the level of the mob or the area. Looking through the SML archives I found many threads on this topic but most seem outdated when it comes to getting it to work in afkmud.

I did run across this snippet but it doesn't seem to work for me or I'm just doing it wrong. I also wasn't sure if afkmud was using value[5]. I think it was using it for projectile weapons, but I couldn't get it to work with armor either.

Anyway, has anyone updated this snippet for afkmud or can help me figure out what I can do to get object levels to stay fixed at what I set them as.
       
Post is unread #2 Sep 23, 2003, 7:59 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

His snippet took the wrong approach. As you've noticed, it makes the leap of faith that value[5] is not used. In AFKMud and any other Smaug that uses the weapon profficiencies patch, value[5] is for projectile data.

What should really be done is to alter fold_area and load_objects to be able to load those settings from the area file. The level is already part of the object index data.

Problem with this comes from having to alter numerous uses of the create_object function to set the level appropriately since they usually take that as an arbitrary value. It wouldn't be a difficult process, just time consuming.

If I get a chance later I'll see about writing up how to do that in a snippet for AFKMud.
       
Pages:<< prev 1 next >>