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 ➜ ROM ➜ Compiling the server ➜ Vassago's Quest System

Vassago's Quest System

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


Posted by Serai   (10 posts)  Bio
Date Thu 18 Jan 2007 04:29 AM (UTC)

Amended on Thu 18 Jan 2007 04:31 AM (UTC) by Serai

Message
I've posted on here before about Rom24b6 but after sometime I found a Rot1.4 that I much prefer. Added olc to it and some small things. I added Vassago's quest system (V2.03) and it works fine. Object quests are working great and mobile quests are functioning. I just have, what I think, is a small problem. When I get a quest for a mobile, all mobiles of the same name get flagged as [TARGET]. I don't have very much programming/coding experience so I can't figure this out.

ex:
[TARGET] A small bunny pokes from bush to bush.
[TARGET] A small bunny pokes from bush to bush.
[TARGET] A small bunny pokes from bush to bush.


Other than this slight problem, the quest system is working fine.

Thanks,

Serai
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Thu 18 Jan 2007 04:37 AM (UTC)
Message
Are you sure "all of the same name" are being targetted? Or is it just all of the same vnum? If it's the same vnum, then it's working as intended.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Serai   (10 posts)  Bio
Date Reply #2 on Thu 18 Jan 2007 06:54 PM (UTC)
Message
Okay, bad wording on my part. All the mobs with the same vnum are being flagged with the [TARGET] bracket. How can I make it so that only 1 mob is getting the flag? I mean, if the questmaster says for personA to go to the sw corner of the newbie arena and kill a boar, I want them to go to that place and not kill the first boar they come across.

Serai
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #3 on Thu 18 Jan 2007 09:02 PM (UTC)
Message
Unfortunately, Vassago's Quest snippet has some issues to begin with. While it doesn't count a kill unless it's the very last one you make against a particular mob, but you also can't have multiples kills against that mob in your khistory. It really needs quite a bit of reworking. Thoughm as Zeno pointed out, for the way it stands right out of the box, so to speak, the result you're seeing is working as written.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #4 on Thu 18 Jan 2007 11:05 PM (UTC)
Message
So you want the code to point to a certain part of an area? I'm not sure if that'll be easy. Just one room would be easy I suppose, but a certain part of an area...

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #5 on Thu 18 Jan 2007 11:52 PM (UTC)
Message
No, Zeno, the "sw corner of the newbie arena" sounds like a room name, I think his issue is that he wants only one mob assigned for the quest, flagged as [TARGET], and not all the other mobs that match that vnum. But I don't think the quest snippet (or his code, for that matter) is going to know the difference between two mobs that have the same vnum unless he's having it flag that particular mob with an act_flag or something to single it out instead of just randomly picking a mob by vnum.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Fri 19 Jan 2007 12:21 AM (UTC)
Message
You'll have to make it a pointer to point to the specific mob, then.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #7 on Fri 19 Jan 2007 12:41 AM (UTC)
Message
Yes, it seems like it shouldn't be too hard to make a pointer to the target mob. Seems like the most natural approach to me, in any case. You might want to have a list of pointers on the mob that point to people who point to it, just for cross-referencing. (It means a little more maintenance, of course, but hey, that's how these things work.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

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

Posted by Serai   (10 posts)  Bio
Date Reply #8 on Fri 19 Jan 2007 02:40 AM (UTC)
Message
Thanks to everyone for the idea about the pointers. I just had to make a "quest_target" and added that in and it seems to be working the way I want it to.

Again, Thanks!

Serai
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.


24,912 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.