Jump to content
MakeWebGames

jon182

Members
  • Posts

    233
  • Joined

  • Last visited

    Never

Everything posted by jon182

  1. Re: [MCCODES V2] Millionare game $20.00 I just want to note that i will be gone from about 4:30 today to sometime tuesday or wednesday so you can pay me and i'll send you the game when i get back.
  2. What you get. 2 PHP files staff_millionare.php and millionare.php 1 .txt documents of instructions. 1 new mysql table 1 new row for the users table. Ok this is a pretty cool mod i made. Basicly it lets users play a game very similar to who wants to be a millionare. They can only play once a week and it's comprised of 15 multiple choice answers (questions all 4 answers and the correct answer are provided by staff in the staff_millionare.php file accessed from staff panel) So that you can change the questions as often as you want thus the game never gets old. It is set so that it doesn't cost to play but the player only wins if he/she gets all 15 questions correct. It's made so that users CAN'T backspace after missing a question. Or bypass the start page thus playing multiple times weekly and it has several protections so that users can't cheat. It also tells the player what question thier on and how many questions they have to go. This is definantly worth the money. paypal email: [email protected] In the note that you can send with the money say what your name on CE is so i know who bought it.
  3. Re: Mccodes V2. Music Player. $40 i have removed the music player.
  4. Re: Mccodes V2. Music Player. $40 when i said an error on his computer i was talking to the person who said it won't play music. and by that i meant like nonworking speakers. i know it works because it works perfectly on my computer ('cept now thiers something screwed up with my speakers and thier not working) you just have to make sure you listen to real songs instead of listening to people that put the url to google and name it a song
  5. Re: Mccodes V2. Music Player. $40 ya i just noticed taht while searching. but real escape string should still work right?
  6. Re: Mccodes V2. Music Player. $40 ya i know. it was 777 but my hosting company decided to change the permissions now it's fixed. and i'm working on adding magicquotes. and striplashes
  7. Re: Mccodes V2. Music Player. $40 o know but i'm not sure how to go about fixing that as all websites end differently. and have different . names
  8. Re: Mccodes V2. Music Player. $40 what do you mean you can input anything ad the url?
  9. Re: Mccodes V2. Music Player. $40 or simply refresh the page.
  10. Re: Mccodes V2. Music Player. $40 then it's an error for your computer because it works on my computer perfectly. Did you click wait 2 seconds and click out? it can take between 5-10 seconds to work sometimes. wait for the page to load and then give it another 5 seconds. it works fine.
  11. Re: Mccodes V2. Music Player. $40 actually all of the songs work and and thier are no errors. i don't see why you were correcting everyone onthier spelling when all that matters is that you know what the person was saying. So like i said try using my id and using my songs because as i also said people were using pages like google where thiers no audio. so if you use google with no audio it doesn't matter what you call it. IT HAS TO HAVE A PAGE WITH AUDIO SUCK AS A YOUTUBE PAGE.
  12. Re: Mccodes V2. Music Player. $40 ok i notice people using pages like google. google has no sounds on it's opening page. so it clearly won't work lol. i suggest a youtue video that has music if you want to test it. and it's all fixed. no more errors no matter what. and i can't edit the first post but i was able to remove the loggeding.php addon.
  13. Re: Mccodes V2. Music Player. $40 i'm updating now so it may not work correctly.
  14. Re: Mccodes V2. Music Player. $40 ya i'm fixing this.
  15. Re: Mccodes V2. Music Player. $40 oh. you can get errors if you input the id of someone without a songs folder. just type in userid 1. thats me and it will work
  16. Re: Mccodes V2. Music Player. $40 thier is no error that just means you inputted stuff wromg.
  17. Re: Mccodes V2. Music Player. $40 i got your shoutbox forever ago and this mod took me litterally weeks even though a coder like you coulda made it in a day or two. Ok i improved it. now just insert a userid (i suggest me userid 1 as i have a few songs) click see music then it will show you a list of my stuff. then just copy and paste what file you want (including .html extension) into the song name box. the userid box is already filled out. click play song and walla.
  18. What this does: This creates a folder within a songs folder for each user that's active (logs in after adding this mod) and then stores any music that they choose in it for later playback. They just enter the site url or link url of the song/sound and what they want it called. it saves it and anyone can view anyones music by searching music through ids seeing a full list of the songs and choosing which they want to play. very easy to use. Also while their listening to the music it says "your listening to whatever the person named the song brought to you by your game name" What it includes: 1 php file 1 loggedin addon (small) 1 .txt instructions for installing file. for a demo visit www.respectedmafia.com username demo pass demo its on the main menu called music player.   paypal email: [email protected] WHEN YOU PAY MAKE SURE TO LEAVE A LITTLE COMMENT THNING SAYING WHAT YOUR CE NAME IS AND TO MESSAGE ME ON CE!
  19. Re: chmod public_html to 777 nevermind i just found a way to do it where i don't need to change the permissions of my public_html
  20. Re: chmod public_html to 777 i can't just chmod the file because what it does is open a new file in the directory
  21. how dangerouse would it be to chmod public_html to 777. i may have to do it for a mod i'm making and was wondering if people could hurt my game.
  22. Re: Energy not going up? that happened to me to and it was my host. ask them about it. it took a while but they finnaly fixed it for me
  23. Re: always running from a fight still need a fix anyone got an idea
  24. Re: How to make person say something else after you beat quest? next time please use the code tags please :) and this should work but i'm not sure first run this sql ALTER TABLE `users` ADD `crayonquest` TINYINT NOT NULL DEFAULT '0'; then use this code <? include "globals.php"; if($ir['crayonquest'] == 1) { die("you've already done this quest"); } else { if($ir['crayon'] == 0) { die("Pesky Kid: Buy me some crayons!"); } else { if($ir['crayon'] == 1) { //set $win prize winings $win=rand(10,170); $loss=rand(10,276); if(rand(1,30) <= 14) { print "Pesky Kid: Hey, thanks! Here's some experience that I mysteriously have! *You gained $win experience!"; $db->query("UPDATE users SET crayon=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET exp=exp+$win WHERE userid=$userid",$c); $db->query("UPDATE users SET crayonquest=1 WHERE userid=$userid",$c); } else { if(rand(1,30) <= 15) { print "Pesky Kid: Hey, thanks! Here's some experience that I mysteriously have! *You gained $win experience!"; $db->query("UPDATE users SET crayon=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET exp=exp+$win WHERE userid=$userid",$c); $db->query("UPDATE users SET crayonquest=1 WHERE userid=$userid",$c); } else { if(rand(1,30) <= 5) { print "Pesky Kid: Hey, thanks! Here's some experience that I mysteriously have! *You gained $win experience!"; $db->query("UPDATE users SET crayon=0 WHERE userid=$userid",$c); $db->query("UPDATE users SET exp=exp+$win WHERE userid=$userid",$c); $db->query("UPDATE users SET crayonquest=1 WHERE userid=$userid",$c);   not tested. also it's not super effecient but i believe that it will work
  25. Re: always running from a fight last one attack won <?php $atkpage=1; include "globals.php"; function sql_quote( $value ) { if( get_magic_quotes_gpc() ) { $value = stripslashes( $value ); } //check if this function exists if( function_exists( "mysql_real_escape_string" ) ) { $value = mysql_real_escape_string( $value ); } //for PHP version < 4.3.0 use addslashes else { $value = addslashes( $value ); } return $value; } $_GET['ID']=abs((int) $_GET['ID']); $_SESSION['attacking']=0; $ir['attacking']=0; $db->query("UPDATE users SET attacking=0 WHERE userid=$userid"); $od=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']}"); if($_SESSION['attackwon'] != $_GET['ID']) { die ("Cheaters don't get anywhere."); } if($db->num_rows($od)) { $r=$db->fetch_row($od); $gq=$db->query("SELECT * FROM gangs WHERE gangID={$r['gang']}"); $ga=$db->fetch_row($gq); if($r['hp'] == 1) { print "What a cheater u are."; } else { $stole=round($r['money']/(rand(200,5000)/10)); print "You beat {$r['username']}!! You knock {$r['username']} on the floor a few times to make sure he is unconscious, then open his wallet, snatch \$$stole, and run home happily."; $hosptime=rand(20,40)+floor($ir['level']/8); $expgain=0; $db->query("UPDATE users SET exp=exp+$expgain,money=money+$stole WHERE userid=$userid"); $db->query("UPDATE users SET hp=1,money=money-$stole,hospital=$hosptime,hospreason='Mugged by <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a>' WHERE userid={$r['userid']}"); event_add($r['userid'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] mugged you and stole \$$stole.",$c); $atklog=mysql_escape_string($_SESSION['attacklog']); $db->query("INSERT INTO attacklogs VALUES('',$userid,{$_GET['ID']},'won',unix_timestamp(),$stole,'$atklog');"); $_SESSION['attackwon']=0; $warq=$db->query("SELECT * FROM gangwars WHERE (warDECLARER={$ir['gang']} AND warDECLARED={$r['gang']}) OR (warDECLARED={$ir['gang']} AND warDECLARER={$r['gang']})"); if ($db->num_rows($warq) > 0) { $war=$db->fetch_row($warq); $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-2 WHERE gangID={$r['gang']}"); $ga['gangRESPECT']-=2; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+2 WHERE gangID={$ir['gang']}"); print " You earnt 2 respect for your gang!"; } //Gang Kill if ($ga['gangRESPECT']<=0 && $r['gang']) { $db->query("UPDATE users SET gang=0 WHERE gang={$r['gang']}"); $db->query("DELETE FROM gangs WHERE gangRESPECT<='0'"); $db->query("DELETE FROM gangwars WHERE warDECLARER={$ga['gangID']} or warDECLARED={$ga['gangID']}"); } $npcs=array( ); if($r['user_level']==0) { $q=$db->query("SELECT * FROM challengebots WHERE cb_npcid={$r['userid']}"); if ($db->num_rows($q)) { $cb=$db->fetch_row($q); $qk=$db->query("SELECT * FROM challengesbeaten WHERE userid=$userid AND npcid={$r['userid']}"); if(!$db->num_rows($qk)) { $m=$cb['cb_money']; $db->query("UPDATE users SET money=money+$m WHERE userid=$userid"); print " You gained \$$m for beating the challenge bot {$r['username']}"; $db->query("INSERT INTO challengesbeaten VALUES($userid, {$r['userid']})"); } } } } } else { print "You beat Mr. non-existant! Haha, pwned!"; } $h->endpage(); ?>
×
×
  • Create New...