Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Uridium last won the day on August 16

Uridium had the most liked content!

Recent Profile Visitors

16,755 profile views

Uridium's Achievements

Rising Star

Rising Star (9/14)

  • Very Popular Rare
  • Dedicated Rare
  • Reacting Well Rare
  • Conversation Starter Rare
  • First Post Rare

Recent Badges

162

Reputation

  1. Ive never used nor seen that statement before that could come in handy thank you 🙂
  2. what ya working on ya sexy bitch 😉
  3. Whilst collaborating with CrazyElk on their game to include the Video feature Crazyelk wanted it so when Videos where viewed they didnt continuously count up when same user viewed same video so 1 view 1 count per user makes sense... I was going to add this to the database so when a user views that video their ID is stored so the count wont continue to rise However it dawned on me why not just use a TXT file with the user details of any video they watch the video ID is placed into the TXT file so heres how I did this... <?PHP $_GET['view'] = array_key_exists('view', $_GET) && in_array($_GET['view'], ['videoID', 'uid', 'artist', 'tracktitle', 'genre', 'videourl', 'thumbs', 'playerswflink', 'switch', 'allowaccess', 'width', 'height', 'autostart']) ? $_GET['view'] : 'videoID'; // Increment the views if (isset($_GET['id'])) { $videoID = $_GET['id']; $path = "videovotes/views/" . $User->id . "/"; mkdir($path, 0777, true); /* end the txt data */ if ( file_exists("videovotes/views/" . $User->id . "/$videoID.txt") ) { } else { if ( file_exists("videovotes/views/" . $User->id . "/$videoID.txt") ) { } $omit = fopen("videovotes/views/" . $User->id . "/$videoID.txt", "w"); fwrite($omit, " "); fclose($omit); $DBO->query("UPDATE `user_videos` SET views = views + 1 WHERE videoID = '$videoID'"); } } The script above adds a folder to the videovotes/views/ folder for the user whos watching a video when a video is watched it leaves a TXT file behind with the video ID on it so if the user views the video again it will track the folder for the user and if the Video is there it wont update the Views.. Ive used the same method for LIKES and DISLIKES of a video you can also use the same method to ban videos example below for ban and unban <?PHP if ($_GET['b'] == 'ban') { if ( file_exists("videovotes/banned/".$VideoID->id.".txt") ) { } $omit = fopen("videovotes/banned/$videoID.txt", "w"); chmod("videovotes/banned/$videoID.txt", 0755); fwrite($omit, "<?php echo'<center>BANNED '".$VideoID->tracktitle."' {$row['tracktitle']} $tracktitle $videoID</center>'; ?>"); fclose($omit); } if ($_GET['u'] == 'unban') { $path = $_SERVER['DOCUMENT_ROOT'].'/videovotes/banned/"'.$videoID.'".txt'; unlink($path); unlink('videovotes/banned/"'.$videoID.'".txt'); } Hope this helps someone in someway...
  4. This is a brilliant concept havent seen one like this before the MAP is amazing even found my home town airport on there lol the Satelite view is astonishing I never knew there were so many airports in the UK other than the usual ones we all know about Welldone Peter Excellent work
  5. is that site live I dont see much traffic on it
  6. yep post can be closed 🙂
  7. I was just wondering as you stated in your example currency in game one is different to currency in game 2. I ws thinking of ways to keep users on your site longer if they do all the tasks needed in Game 1 they could go to the menu screen and start Game 2 which as with your example could be set in a different time period..
  8. with the engines that we currently have mccodes, Grpg, GL (Gangster Legends) ezrpg... Would it be possible to fuse all these engines into ONE engine or have a switch that could switch from any of the above engines whilst keeping the same databases, I understand a lot would need to be done IE the Databases of all the Engines would need to co-incide with an engine as to swap and change at anytime also having a CONFIG file that could relate to all above engines. Your probably asking why would you want this... Well I'd like to see if its possible my vision is this.. I have 2 domains Wizwych and Theradus one uses GL and the other uses MCcodes both domains are working from the same HOST and are working from the Domain Setup, Both domains will be using the Exact same PHPYMADMIN and TABLES for 1 engine but will be working 2 sites.. when a user registers on one site they are instantly registered on the second site as both are using the same SQLS as long as all the tables and SQLS are the same for both sites you could have 2 totally different games using the same tables... If im not making sense GL would mirror MCCODES in mysql tables only yet both sites could be completely different from each other... This is just an example but could it actually work to run 2 sites off 1 database......
  9. Missions Page error 500
  10. Success! You stole a Honda Civic. it gave me a Honda Civic.. So thats ok Toyota corola gave me a Chevy Camaro
  11. Player Interaction IS a MUST you need your players to stay on your game and I cant see that happening if there isnt much do on the first place when you steal a car its giving you the wrong car you stole Success! You stole a Chevy Camaro. Your Garage Cash: £3,667 |  Bullets: 0 |  Notoriety: 0 |  XP: 172 BMW 3 Series Acquired: 2025-07-08 Sell Value: £1,200–£1,500 Melt Yield: 30–40 bullet
  12. Havent these kinda games died yet, I mean Mafia related youve spent al this time creating something you could have just downloaded as MCC or gRPG and had an up and running game with a few tweaks... HOWEVER.. you have stated you've created this from scratch from the ground up so that makes it UNIQUE and its yours amd for that I admire it.. Id like to see more Interaction for players though. Which i'm imagining that will come later as the pages progress.. Well done nice to see some new work ethics on here 🙂
  13. Is it me or has MWG gone extremley quiet over the past month. No posts regards gRPG no posts about MCC no posts about GL infact no posts at all has everyone moved on or is there an updated Forum that we dont know about. I joned Mwg/ CE in may 2008 Thats 17 years of my life devoted to the group and now it all seems to be closing its doors.. I hope not there are other engines out there that we can talk about other than the ones fourmed in the group...
  14. https://www.asurahosting.com/ They are cheap and what I use
×
×
  • Create New...