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
https://forums.phpfreaks.com/topic/73672-quest-system-for-phprpg/
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;

        }

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.