Jump to content
MakeWebGames

Kieran-R

Members
  • Posts

    551
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Kieran-R

  1. run the file manually by typing the URL into your browser, then tell us the error.
  2. Try this:   <?php include "globals.php"; $ir['level']=(int)($ir['level']); //-- Missions V2 $error=("<b style='color:red;'>ERROR[/b]: "); print "<center><h3>Missions</h3> [b]You can start a mission now.[/b] </center>"; $q=mysql_query("SELECT * FROM missions"); if(mysql_num_rows($q)== 0) { die($error."There is no missions currently set up."); } $q2=mysql_query("SELECT * FROM missions WHERE level < ".$ir['level'].""); print "<table width=100% border=0><tr><th>Mission Name</th><th>Mission Description</th><th>Level Required</th><th>Location Needed</th><th>Links</th></tr>"; if(mysql_num_rows($q2)== 0) { print "<tr><td colspan=5>There are no missions currently available.</td></tr>"; } while($r2=mysql_fetch_array($q2)) { if($r2['location_on'] == 1) { $cnq=mysql_query("SELECT cityname FROM cities WHERE cityid=".$r2['location_value'].""); if($ir['location'] != $r2['location_value']) { $location="<font color=purple>[b]".mysql_result($cnq,0,0)."[/b]</font>"; $do="N/A"; } else { $location="<font color=red>[b]".mysql_result($cnq,0,0)."[/b]</font>"; $do="[url='startmission.php?ID=$r2[id]'][start][/url]"; } } else { $location="<font color=red>N/A</font>"; $do="[url='startmission.php?ID=$r2[id]'][start][/url]"; } $q3=mysql_query("SELECT * FROM missdone WHERE user=".$ir['userid']." AND mission=".$r2['id'].""); if(mysql_num_rows($q3)) { $do="[i]Done[/i]"; } print "<tr><td>{$r2['name']}</td><td>{$r2['description']}</td><td> {$r2['level']}</td><td>$location</td><td>$do</td></tr>"; } print "</table>"; $h->endpage(); ?>
  3. Mod looks good. Great work sniko, but I was wondering I this mod could be easily changed to be more "gang" themed easily, or is it more of a familys. Also, could you post more up abou the mod? becasue all you have told us about it is that it has a gang armoury. Screenys or a features list would be greatly apreciated!
  4. You got it!
  5. Stop trying to act like mr nice guy lol ;) Let's be honest here. Both me and you know that's he's not got a license... If he's got a license, then I'll eat my hat. Litreally lol.
  6. He's on a free host. What do you think? lol
  7. Use code tags ;) Well what im thinking the problem is is because you have included <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="js/select.js"></script> <style type="text/css"> td { padding: 2px; </style> </head>   Mabe that game engine uses that, but im not too sure. Try removing: <script type="text/javascript"> if(!top || top.frames.length < 4) { top.location="/logged_in.php";} </script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="js/select.js"></script> <style type="text/css"> td { padding: 2px; </style> </head>   But as I said, im not sure so it may not work.
  8. Post the code and then we can see the error in the code.
  9. Hey Well Im trying to get a sort of "heading" I could use in the html of my templete. For example: Like a sub heading. To use this, ive been using the following CSS code: .contenth { background-color: #000000; border: 1px solid #444; padding: 1px; color: #E9AB17; font-weight: bold; -moz-border-radius:5px; font-size: 12px; } And in the HTML: <tr><td class="contenth">Bla Bla</tr></td> But when this shows in the HTML, it just shows as text. Any ideas on to make this look like it is suppoed to? Just to clarify, The css, and HTML I have posted is from a view source of a site I was on. It wont be used exactly like this on my site, Its just so I get the idea. Im new to CSS, so please consider how noobish I may be at this programming language :( Any help is GREATLY appreciated by the way! - Kieran-R
  10. You are able to see the “facebook chat” topic, it's not the first time this kind of thing has popped up pointing at him. I mailed both users about it, and well Kieran-R got back to me with something(even if it was only a small msn conversation,and something I cannot remember) Senkerik picked not to mail me back at all. He has been online since then so I can only assume he did scam him, and has nothing to say in his own defence. I will find out if Kieran cares to post what he sent me. Senkerik, as you may have seen, was going to making a chat (similar to facebook chat), and was going to release it for free. But after speaking to him for a little while, he has decided he was going to release the chat for a price - $45. After looking at a small demo of the chat on his site, I seemed satisfied, and still didnt have a problem paying $45 for the chat (although I did bump him down a little). When I purchased, I received, a .CSS file, 2 .JS, and one PHP file (50 lines long). As he had told me earlier, the chat was fully created by himself. He "created it from scratch". He also said that it had admin features, banning ect. When I looked at the JS files, I recognised the script from a free script that is available here: http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/. Turns out the JS files, and the CSS files are EXACTLY the same (with a few exceptions for the CSS) as the Senkerik's "self made" script. I asked him why he's selling a copyrighted script, and he blames the person who secured the chat must have changed the code. (Yet I find it hard to believe securing a script can change it from self made, to exactly the same as a free script). Heres a small snippet of the chat I had with his (Sorry. I got no full chat logs): Also, I was told there was admin, and banning features ect... No such thing. *Surprisingly*, he blames the person who secure it must have removed those features. Again, I find that very hard to believe. Overall, He was attempting to sell a copyrighted script claiming it as his own, and claiming the chat has features which it doesn't.
  11. I cant see that query anywhere in the script you posted?
  12. lmao em ok then XD... Anyway, good luck with sales.
  13. I do believe cronus does some "decent coding", but maybe its just me who thinks that :)
  14. Care to explain that "something" your mod has?
  15. Didnt Cronus make something very similar to this?
  16. I was wondering fi anyone could point out to me how to change the name from crystals to points? As crystals is not printed anywhere in the main script files :S
  17. Kieran-R

    Copy?

    ehhh. How is a copy of another game ever going to get your game big :S
  18. Kieran-R

    Copy?

    I was wondering if anyone has ever seen/played this game: http://www.the-destroyers.com/ I was just on it there, and its a COMPLETE copy of torn city! Everything about it with a few exceptions is exactly the same as torn. I was wondering if this guy has somehow "stole" the torn codes or something. Because in reality, the guy who owns this game couldnt have made so many parts of his game that similar to torn.
  19. Yea I know, and I give him full credit for that. But I'm just advising him, to at least get a grasp of PHP, and MySQL before jumping into building a game.
  20. not being a dick or anything, but you have no idea even how to drop a dbtable, and can't tell the difference between a php file, and a db table, yet you are trying to build a game? I suggest you go learn more about PHP, and MySQL before you start trying to build a game. Here's a good site: w3schools.com
  21. delete the table announcements. Not the file.
  22. the table announcements already exists. So delete it. "QUERY ERROR: Table 'announcements' already exists" Common sense really. Isnt it?
  23. nvm I fixed it. :)
  24. Also, carSAVING1 is a 0. number, and it is defined as a decimal in the database.
  25. Cost1 is being echoed as 0 too. And yes. carSAVING1 is rights. @danny: Yes I am using .htaccess.
×
×
  • Create New...