[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Wear locations...

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Wear locations...
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Nicklfire   (17 posts)  [Biography] bio
Date Sun 17 Oct 2004 08:08 PM (UTC)  quote  ]
Message
Well the reason your wear flag is not showing up as the color you placed in act_info.c is probably because your racial files already have it set up in them, you should check that over. ../races from your src directory. If it does delete those lines and it will use the code instead of override it with the racial ones. Hope that helps.
[Go to top] top

Posted by Mirrodan   USA  (28 posts)  [Biography] bio
Date Sun 17 Oct 2004 08:03 AM (UTC)  quote  ]
Message
Make sure everything is in align with the where_name stuff and every other aspect i'm sure you don't want to hear that again but it is highly important. Also as silly as it my sound make sure you're saving your changes before compiling. Sometimes I think i saved a file then end up wondering why the hell nothing changed (I do my file editing offline). Just make sure and check over it all. I just recently added some in and had a few issues but it was all because i failed at what i was doing..


-Mirrodan

Admin and Head Coder
For Techno-Magicka
techno-magicka.dreasphere.org 4000
AIM: tchnmgck
MSN: newell_everett@hotmail.com
YAHOO: everettnewell
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Tue 29 Jun 2004 06:09 PM (UTC)  quote  ]
Message
Did that help my question any? Do I need to be more specific about it? I don't really know how else to go about it. Has anyone ever experienced something like this before? Could it possible be a memory leak or something?

hmm...i'm just lost.
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Sun 27 Jun 2004 02:23 AM (UTC)  quote  ]
Message
Ok, here check this out:

http://www.geocities.com/ty39etc/page1.html

it shows my problem. i'm probably just not being clear on what's going on.
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Fri 25 Jun 2004 10:59 PM (UTC)  quote  ]
Message
this is to Greven, i must have skipped over his post.

Yea, i made sure everything was aligned correctly. everything works fine when i haven't changed wear_loc's. but once i change them, put it in exactly the same place, everything compiles correctly EXCEPT the where_name in act_info.c i had never seen a compile to get part of a file but not all of it? can it even do that?

would a memory leak or something cause my char *const where_name to be overlooked when recompiling?

i had already added many new locations before and it worked just fine. i haven't went over my BV's either. so i don't know what's up still...i can't figure it out.
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Wed 23 Jun 2004 07:25 AM (UTC)  quote  ]
Message
i already know how to change wear loc's i've done it before. i know what i'm doing with that. it's just that my where name is not changing when i recompile. yes. i've made clean, and recompiled. nothing is working. once again. i changed something in actinfo and it showed up in the mud with the changes. everything except tkaing out the lodged in rib which should have been taken out. for some reason that isn't compiling right. i don't know what i'm doing wrong with that.
[Go to top] top

Posted by Robert Powell   Australia  (349 posts)  [Biography] bio
Date Wed 23 Jun 2004 04:59 AM (UTC)  quote  ]
Message
I have just added some wear locs too, then re-ordered them all into the way i want to see them listed, making sure all the spots were in the same place in each table, made clean and rebooted, looked at self eq everything was not lined up, remove and re-wear eq and all was dandy, for you i hope its as simple as removeing and rewearing the eq as i did.

EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Tue 22 Jun 2004 10:45 PM (UTC)  quote  ]
Message
K, lemme see if I understand this: You added another wear loc. Did you replace one of the reserve ones, or add it in place of others? If you look at all the lists of names for the locations, do they all synch up ( ie. Spot 5 is wrist in defines, flag names, wearloc names, etc )? Is this the same for all players, or is there criteria for this to happen? Are other pieces changing places after the items are being worn?

There are a couple possibilities: a memory leak would make sense here, if numbers are changing by them selves, but are you getting crashes? You could have flags/wearlocs/wearloc names mixed up. There might even be something inheirently wrong with older changes that haven't surfaced until this time.

You might want to step through the wearing process in GDB and see where the numbers are getting screwed up.

Hope that helps.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Tue 22 Jun 2004 06:12 PM (UTC)  quote  ]
Message
Very strange. I'm not quite sure why its still there then. Sorry :(

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Tue 22 Jun 2004 06:09 AM (UTC)  quote  ]
Message
yep. did it about 10 times
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Tue 22 Jun 2004 06:07 AM (UTC)  quote  ]
Message
Did you do a make clean first, as in, did you recompile every source file?

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Tue 22 Jun 2004 05:05 AM (UTC)  quote  ]
Message
ok to give you more examples:

i changed this:

	  act( AT_PLAIN, "You're not much to look at...", ch, NULL, NULL, TO_CHAR );


to this:


	  act( AT_PLAIN, "&rYou're not much to look at...", ch, NULL, NULL, TO_CHAR );


in act_info.c. same place as where_name stuff. i made clean and recompiled. all the while my where_name was this:


    "&w<worn around ankle>    ",
    "&w<worn around ankle>    ",
    "&w<worn on feet>         ",
    "&w<floating about body>  ",
    "&w<floating about body>  ",
    "&w<lodged in an arm>     ",
    "&w<lodged in a leg>      ",


notice there is no lodged in rib.

after i had made clean and recompiled i logged back on and when i "l self" it's in red text, just as it should be, yet my eq still says


<worn on feet>         black boots
<lodged in a rib>      chain sleeves


does anyone have any idea why it would do that? or has anyoen seen that?
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Tue 22 Jun 2004 04:39 AM (UTC)  quote  ]
Message
This is frustrating me to know end. has this ever happened to anyone? i just don't know why it would do that?
[Go to top] top

Posted by Ithildin   USA  (262 posts)  [Biography] bio
Date Mon 21 Jun 2004 01:17 AM (UTC)  quote  ]
Message
they were all aligned correctly. it's just my where_name const in act info just isn't compiling correclty. i have no idea what's wrong. everything compiles ok. like i said earlier, i changed something in actinfo and it showed up when i restarted the mud. then i changed the wear location lodged in rib to floating and then after compiling i still get lodged in rib. there's no other place where that is. but everything is in correct order. the bv's the w-flags and so forth. all in the same order, just my char *const where_name is the only problem.
[Go to top] top

Posted by Dace K   Canada  (169 posts)  [Biography] bio
Date Sun 20 Jun 2004 11:41 PM (UTC)  quote  ]
Message
You have to keep the order in all the tables the same, and you should align them to the bitvectors in mud.h =P.

..and you *really* don't need to keep those reserved locs in there, they're just confusing things.

See what I mean?

ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com

Drop by the area archives and find something for your mud. http://areaarchives.servegame.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,602 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]