Jump to content
MakeWebGames

Recommended Posts

Posted

Looking for away to allow players to challenge npcs in the battle tent on a daily basis as of now you can challenge them but after you defeat them you cannot re-challenge.

- - - Updated - - -

I guess clearing the db every 24 hours would do the trick but i didnt know if anyone else has ever done this and have a different way to do it.

Posted

I can help you out. Do you have Skype?

It's minor adjustment to the system.

Problem is if you clear the data base for battle tent challenges. You want it kept recorded so people know they defeated them.

However there is various of ways of overcoming this problem. Here is my way

There's an option in the staff panel if users can challenge the NPC again. This will just add one field to the table.

Make something that shows the NPCs you attack. How many times, and if your allowed to hit it again.

Posted

Why not truncate the table in your daily cron? Or if you want to keep track of bots beaten by player add a new column to the table with a timestamp or whatever tickles your fancy they do a simple check to see if it's been 24 hours or the next day

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.   Paste as plain text instead

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