Jump to content
MakeWebGames

Texas

Members
  • Posts

    17
  • Joined

  • Last visited

    Never

Texas's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. yeah it works, thanks
  2. I tried to login at the support forum so I could check this out further, but the forum doesn't send me my confirmation and won't let me login???
  3. thanks, I got it to working though. I went back to using ezRPGs engine. Seems to work better on GoDaddy then MCs engine does. Runs alot smoother and doesn't hesitate when loading.
  4. cartman Mellons or Tuna? 8o 8| :whistling: :whistling: :whistling:
  5. Texas

    first site

    or for different colored text add: <font="#000000">Your text</font> Different Size headers of text = <h1>Your text</h1> <h2>Your text</h2> <h3>Your text</h3> <h4>Your text</h4> <h5>Your text</h5> BOLD lettering Italic lettering Bold Italic lettering [align=center] <center>Centered Text or Images</center>[/align]
  6. open up your mainmenu.php and look for the line: [url='criminal.php']Crimes[/url]   and add this just below it: [url='bank.php']Bank[/url]   So you end up with this:   [url='gym.php']Gym[/url] [url='criminal.php']Crimes[/url] [url='bank.php']Bank[/url] [url='announcement.php']Announcements[/url] [url='search.php']Search[/url] "; if($ir['user_level'] > 1)
  7. http://code.google.com/p/ezrpg/ Heres one, but it takes alot of work to get it to where it needs to be. Lots of coding, database querys & inserts, mod adding etc. Buts its fun to play with if your a beginner.
  8. The demo looks and runs great, nice work. If this was the type of mafia game i am looking for, I would definately buy it.
  9. ok thanks for the info Next question: Crons? Daily Update Cron Message: /home/content/k/i/d/kidkwik/html/cron_day.php: line 1: ?php: No such file or directory /home/content/k/i/d/kidkwik/html/cron_day.php: line 2: include: command not found /home/content/k/i/d/kidkwik/html/cron_day.php: line 3: global: command not found /home/content/k/i/d/kidkwik/html/cron_day.php: line 4: syntax error near unexpected token `'cron_day.php','',$_SERVER['SCRIPT_NAME']' /home/content/k/i/d/kidkwik/html/cron_day.php: line 4: `$path=$_SERVER['HTTP_HOST'].str_replace('cron_day.php','',$_SERVER['SCRIPT_NAME']); ------------------------------------ Cron Daily Update.php <?php include "mysql.php"; global $c, $mykey; $path=$_SERVER['HTTP_HOST'].str_replace('cron_day.php','',$_SERVER['SCRIPT_NAME']); if($_GET['code'] != md5($path.$mykey)) { exit; } mysql_query("UPDATE users SET daysold=daysold+1",$c); mysql_query("UPDATE users SET mailban=mailban-1 WHERE mailban > 0",$c); mysql_query("UPDATE fedjail set fed_days=fed_days-1",$c); mysql_query("UPDATE users u LEFT JOIN fedjail f ON u.fedjail=f.fed_id SET u.fedjail=0 WHERE f.fed_days=0",$c); mysql_query("DELETE FROM fedjail WHERE fed_days=0",$c); ?>   and the 5 minute revive message I get: /home/content/k/i/d/kidkwik/html/cron_fivemins.php: line 1: ?php: No such file or directory /home/content/k/i/d/kidkwik/html/cron_fivemins.php: line 2: include: command not found /home/content/k/i/d/kidkwik/html/cron_fivemins.php: line 3: global: command not found /home/content/k/i/d/kidkwik/html/cron_fivemins.php: line 4: syntax error near unexpected token `'cron_fivemins.php','',$_SERVER['SCRIPT_NAME']' /home/content/k/i/d/kidkwik/html/cron_fivemins.php: line 4: `$path=$_SERVER['HTTP_HOST'].str_replace('cron_fivemins.php','',$_SERVER['SCRIPT_NAME']);' Cron 5 minute.php <?php include "mysql.php"; global $c, $mykey; $path=$_SERVER['HTTP_HOST'].str_replace('cron_fivemins.php','',$_SERVER['SCRIPT_NAME']); if($_GET['code'] != md5($path.$mykey)) { exit; } $query="UPDATE users SET energy=energy+(maxenergy/(12.5)) WHERE energy<maxenergy"; $query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; $query3="UPDATE users SET will=will+10 WHERE will<maxwill"; $query4="UPDATE users SET will=maxwill WHERE will>maxwill"; mysql_query($query,$c) or die("\nError Executing Query 1 for updating users $i to $next\n$query\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query2,$c) or die("\nError Executing Query 2 for updating users $i to $next\n$query2\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query3,$c) or die("\nError Executing Query 3 for updating users $i to $next\n$query3\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query4,$c) or die("\nError Executing Query 4 for updating users $i to $next\n$query4\n".mysql_error()."\nError Code:".mysql_errno()); $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave<maxbrave "; $query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; $query3="UPDATE users SET hp=hp+(maxhp/3) WHERE hp<maxhp"; $query4="UPDATE users SET hp=maxhp WHERE hp>maxhp"; mysql_query($query,$c) or die("\nError Executing Query 1 for updating users $i to $next\n$query\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query2,$c) or die("\nError Executing Query 2 for updating users $i to $next\n$query2\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query3,$c) or die("\nError Executing Query 3 for updating users $i to $next\n$query3\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query4,$c) or die("\nError Executing Query 4 for updating users $i to $next\n$query4\n".mysql_error()."\nError Code:".mysql_errno()); ?>   The energy, brave and will bars haven't moved at all and GoDaddy's support is basically no help at all. I have been trying different paths for two days just to get the crons to execute. Because the path they suggested, was nothing close to what it needed. They have their own cron manager instead of cpanel I have them executing now, but they don't seem to be doing anything.
  10. crap... sorry, here it is.   :::EDIT EDIT EDIT::: 30 minutes later, it works. Must be the stupid cookies. Even though I deleted them prior to reloading. So I dunno... thanks.
  11. oops...
  12. Yes, I am just now learning to use php and I don't quite get it just yet, but we all have to start some where right.   Thanks for the help but your code doesn't work either. Parse error: syntax error, unexpected '<' in /home/content/k/i/d/kidkwik/html/login.php on line 126     print <<<EOG <script type="text/javascript"><!-- google_ad_client = "pub-2439858441801001"; /* 468x60, created 9/8/09 */ google_ad_slot = "4082761804"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> EOG; print "</body></html>"; ?>
  13. <h3>REGISTER NOW!</h3> <center>Copyright © 2009 Kidkwik.com</center>"; <script type="text/javascript"><!-- google_ad_client = "pub-2439858441801001"; /* 468x60, created 9/8/09 */ google_ad_slot = "4082761804"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> print "</body></html>"; ?>     Line 126 - is the red writting Parse error: syntax error, unexpected '<' in /home/content/X/X/X/XXXXXXXX/html/login.php on line 126
  14. it gives me that error message, if I add   <script>my script</script> or <font="#000000">my text</font>   in between the <?php and ?> I get the same error message no matter what i add to the code.
  15. Right now, I'm just trying to get it up and running. But I'll keep that in mind. Thanks!
×
×
  • Create New...