Jump to content

Quest System for PHPRPG


imago3d

Recommended Posts

The person(s) who were developing this are gone, but so far this seems to be the only thing that doesn't work. It works to a point. It had one quest in the DB already (MYSQL), and it worked. I made a copy of that quest and assigned it to another NPC and it would talk to me and then when I talked to them again it would say Hacking Attempt and now the first NPC's quest is looped. >.< It's been making me crazy. If anyone can lend some insight or any tip that might be helpful please do. I've been at this for about a week.

 

[attachment deleted by admin]

Link to comment
Share on other sites

It seems the problem is that you've already completed the quest.

 

        // is the quest already completed?

        if($quest_status['status'] == 'complete')

        {

                include("templates/$config[template]/simple_header.tpl");

                echo 'Hacking attempt!';

                include("templates/$config[template]/simple_footer.tpl");

                exit;

        }

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.