Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


twison last won the day on April 18

twison had the most liked content!

Community Reputation

5 Neutral

About twison

  • Rank
  • Birthday 10/10/1983

Personal Information

  • Location
    United States

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Maybe the same person created both of those games? If you do a search of the forums for thugbattle you will see that creating an account just to pick a fight on an old post isn't necessary.
  2. Thanks guys that is exactly what was needed, thank you!!!
  3. I'm not sure this is the correct section for this topic so I apologize if it isn't. I was given a game from a friend and it was coded with PHP 5.4 so I have a lot of updating to do. This game is unique as far as I know and have not found any clones of it. The original owner didn't want to give it away but he eventually passed his dream game on to me. My goal is to build a new game engine out of it but I have a lot of work to do on it starting with a responsive layout. Sadly I know nothing about Bootstrap to get my project going. I was wondering if there was anyone
  4. $db->query("UPDATE users SET jail = 15 WHERE user_level = 0 AND jail = 0"); Adding something like this to your header.php should work just fine if the userlevel of the npc accounts is set to 0. This will put the npc in jail for 15 minutes every time a page is loaded by a user as long as the npc is not in jail. You can tweak it however fits your needs but should work just fine for what you're wanting to do.
  5. You could simply create 4 fake users (bots) and then give them each 1 day in jail. Then you could add a Update query in a global file to put them back in jail if they are no longer in jail. With it being in a global file like a header file every time a page is loaded by a user the query is used so as long as a user is online doing stuff the bot will always be in jail for 1 day. The is just a basic idea of how you could do it with the littlest changes to the coding as possible without having to alter or create a new section of the DB. That's a pretty good idea btw! Oh and something I usually li
  6. I'm having an issue with my chat where chat posts are not getting inserted when using words like don't or won't. mysql_query("INSERT INTO chat (poster_id,date,class,poster_name,message,whisper) VALUES ('".$menu['id']."','$date','$class','$name','$message','$whisper_id')"); $message is the text part of the insert. I've tried "$message", "'.$message.'", and '".$message."' none of it helps. One of them simply changed the issue from ' to " not getting inserted. Any advice would be great. I'm a bit rusty on my coding skills as I haven't done it it awhile.
  7. I have done so and will not be opening the game to the public till after I have completely rewritten all the the scripts. The game is old and has always been extremely basic as far as content and I have been planning for years major upgrades to it and finally working towards making it happen.
  8. Thank you that works perfect now. Just a few things to iron out and then I can get back to work on the development while also upgrading at the same time. Thanks for all the help everyone!
  9. I figured I'd just start updating the scripts and already hit a snag. [13-Jul-2020 01:30:29 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_result() in /home/legendsm/public_html/register.php:22 Stack trace: #0 {main} thrown in /home/legendsm/public_html/register.php on line 22
  10. A Shim is something new to me and have no knowledge of how to obtain and implement one at this time. Any advice or recommendations for a Shim would be most appreciated.
  11. That would be nice if it is possible. I would need version 5.4 but wouldn't want to be an annoyance to Dave over such an issue.
  12. Thanks, looks like I'll just have to shake off some of my coding rust and do what cleaning up I can.
  13. I have a game that I'm working on that is sadly scripted using older versions of PHP and is not supported by the newer servers that are offered these days. I seen that there was an option of being able to use the deprecated scripts if I used the MWG hosting service. So far I have still not been able to use my scripts on the server I have and there is too much code for me to rewrite is the little time I have available. Is there any thing I can do to make it possible to run the scripts without changing them or am I pretty much dead in the water?
  14. I haven't really been able to find what I've been looking for on here lately so figured I'd ask if anyone knows if any mods have been made and are available that fit with what I'm looking for. I'm looking for the following kinds of mods. An attack system that is auto turn based as well as p2p turn based option where both have to be online such as a dueling system. An attack system that uses a group or team to fight another group or team for either team arena style battles or single player battles where players have multiple characters in their group or party. A tournament style att
  • Create New...