Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Problem with a hide-type skill

Problem with a hide-type skill

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Dralnu   USA  (277 posts)  Bio
Date Tue 14 Jun 2005 08:18 PM (UTC)
Message
Simple bug I think I just missed an entry

When you use camouflage (similar to hide), when you remove equip or something like that, it changes the flags to hide.

Have I missed an entry somewhere?
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #1 on Tue 14 Jun 2005 11:51 PM (UTC)
Message
I think I fixed it. Was a problem in handler.c where I had things set up so that if your were aff_camo and aff_hide, you'd be given the hide flag back. Added a new ifcheck, and a new variable set. Seems to work fine now.
Top

Posted by Longbow   (102 posts)  Bio
Date Reply #2 on Sat 25 Jun 2005 02:32 PM (UTC)
Message
Out of curiousity, where'd you get your camoflauge code? I could use that.
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #3 on Sat 25 Jun 2005 03:05 PM (UTC)
Message
copied hide and modified it. Simple enough o.o
Top

Posted by Longbow   (102 posts)  Bio
Date Reply #4 on Sat 25 Jun 2005 07:54 PM (UTC)
Message
Sounds good. Would you mind posting the code here for me?

Thanks!
Longbow
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #5 on Sun 26 Jun 2005 01:10 AM (UTC)
Message
When I said it was a copy of hide, I mean copy hide, rename a few parts of it (the affect and gsn I think...), grep hide/do_hide/affect_hide, add in code where it is needed, and go from there. Its really simple, you just might get some bugs, but they should be easy enough to fix
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #6 on Sun 26 Jun 2005 01:41 AM (UTC)
Message
It'd also be a good learning experience to do it yourself. No pain, no gain, as they say. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #7 on Sun 26 Jun 2005 01:43 AM (UTC)
Message
Amen. I had someone give me an overview and helped me some since I had literally no xp in coding, and from what i have seen, youve been there a little more then I have
Top

Posted by Longbow   (102 posts)  Bio
Date Reply #8 on Sun 26 Jun 2005 02:09 AM (UTC)
Message
You're right. :) The thing is, I've got so little time to work on my game that I have to pick and choose priorities. So if I want this to be I'll have to make it one. :)

PS. And if you haven't figured it out yet I have NO programming experience. I'm learning as I go, mostly from you guys and of course by trial and error.

Godbless,
Longbow
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.


30,073 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.