Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 parse description bug
Yesterday, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Yandex, Sogou, DotBot, Yahoo!

Members: 0
Guests: 13
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Building » Help with Object flags
Forum Rules | Mark all | Recent Posts

Help with Object flags
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 1, 2013, 6:27 pm
Go to the top of the page
Go to the bottom of the page

mystickdreamer
Magician
GroupMembers
Posts128
JoinedApr 9, 2010

Ok so I'm new to Smaug, I've used circle quite a bit extensively for quite a few years, but I have found a codebase that has the features I actually want already in it with a few bugs of course.


I can't seem to figure out how to set a wear location for an item.


the codebase is Calareymud3.0 if anybody wanted to know

but I suspect this is my lack of knowledge of smaug in general

any help is very appreciated
       
Post is unread #2 Aug 2, 2013, 3:20 am
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

You can certainly learn by trial and error but I found it more useful to learn the basics of C first. That is what I am doing currently anyway. Put the mud on backburner until then. See www.openlearning.com plenty of online free C courses there.
       
Post is unread #3 Aug 2, 2013, 5:11 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

well in Smaug it is "oset <item> wear <location>", but it looks like it was removed from Calareymud for some reason.
       
Post is unread #4 Aug 2, 2013, 6:51 am   Last edited Aug 2, 2013, 6:53 am by Remcon
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

Ok this seems to be what you will use

in build.c look for
char *const bp_flags[] = {

That is a list of the parts and to set it "oset <item> parts <part>"
The size on the object also counts and can't be more then 1.5 times the characters height or less then half the characters height. It also seems to cover every part you put in when equiped (if the character has that part)
       
Post is unread #5 Aug 2, 2013, 8:20 am
Go to the top of the page
Go to the bottom of the page

mystickdreamer
Magician
GroupMembers
Posts128
JoinedApr 9, 2010

Hah I looked at tha. Hmm maybe iI typed something wrong I'll try again when . Get home. Thanks for all your help so farr remcon


I will look into that website and learn what I can

Until then I'm going to build onto my mud and try and learn coding on a different copy.


You definitely made me feel welcome for my first few posts
       
Post is unread #6 Aug 2, 2013, 9:23 am
Go to the top of the page
Go to the bottom of the page

Aurin
Magician
GroupMembers
Posts189
JoinedSep 5, 2010

Remcon is awesome...he's like a god!

:worship: -> Remcon :banana: :banana: :banana:

(yeah, I know there's no worship icon, but it suits my purpose right now) heh
       
Post is unread #7 Aug 2, 2013, 10:41 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

lol thanks aurin, but far from it :)

Glad you feel welcome :)

I learned mostly from trial and error haha it was an interesting way to do it :)
       
Post is unread #8 Aug 2, 2013, 12:38 pm
Go to the top of the page
Go to the bottom of the page

mystickdreamer
Magician
GroupMembers
Posts128
JoinedApr 9, 2010

lol and ah of course I was doing something wrong

I was trying to put the part waist, but it seems that doesn't exist. There is a stomach and an a$$ spot though.
       
Post is unread #9 Aug 2, 2013, 1:08 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

lol yea some of the parts are even better then that one :)
       
Pages:<< prev 1 next >>