Bloodhound Posted June 14, 2014 Share Posted June 14, 2014 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. Quote Link to comment Share on other sites More sharing options...
Samurai Legend Posted June 14, 2014 Share Posted June 14, 2014 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. Quote Link to comment Share on other sites More sharing options...
Bloodhound Posted June 14, 2014 Author Share Posted June 14, 2014 makes sense skype is [email protected] feel free to add me Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted June 15, 2014 Share Posted June 15, 2014 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.