
Wazam
Members-
Posts
53 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Wazam
-
@ Thugbattle: It's actually quite a good little update. My only concern is that your is un-secure. You might want to fix that. ;) @ Joshua: Your second part of typing. mysql_query = $db-> || $db->query = mysql_queryquery I think you'll catch on when you read your post above. ;)
-
Suggestions: Select what's needed Your code is Cramped - Can't see it really Secure your $_GET['ID'] with Abs Apart from that, seems like an ordinary DDM. But very good effort though bud. :)
-
By far the best login I've ever seen. Matching colours, blending it great! Awesome. :)
-
Best ideas really. Developed is kind of important, but something that has really helped games(in your point of view).
-
InfantryX - Free Military Game [Browser Game] Development!
Wazam replied to Dave's topic in Game Projects
Hmm.. It's more viewed on the missions you said you would do. Very good idea. Personally, I don't like the Blue prints, and ID's a the bottom. It sort of ruins the flow with the BG and letter. I would personally change that. The graphics are welll made. Very good Opacity of stuff. Just the stuff at the bottom I don't like bud, apart deom that. Good job :thumbup: -
InfantryX - Free Military Game [Browser Game] Development!
Wazam replied to Dave's topic in Game Projects
Ohh.. The Login has changed. I clicked it awhile back was the IndantryX with 3 stars. And that Video came up. Lol. But now looks different. Loads straight away. :) -
Well, I've read some of A_B posts, and he is very smart. Compared to MCC, Bert is out of Mcc League.
-
Wouldn't it be simple, to ad another <TD> & <IMG SCR=""> be easy enough? Also, most people need to stop selecting every thing from a full table. I don't know the size of any, but some might be huge(Users & Forum probs). I don't know much on MCC, but $r has something to do with a query adding in via PHPMYADMIN? If so. What you need selecting will be $r will be down the page where ever the query is added. Just a thought. :) <? include_once(DIRNAME(__FILE__) . '/globals.php'); // Not tested! $_GET['shop'] = abs(@intval($_GET['shop'])); if(!$_GET['shop']) { echo 'You begin looking through town and you see a few shops. '; $Query = $db->query("SELECT `shopID` , `shopNAME` , `shopDESCRIPTION` FROM `shops` WHERE `shopLOCATION` = ".$ir['location'].""); echo '<table width = "75% cellspacing = "1" class = "table"><tr style = "background: gray;"> <th>Shop</th> <th>Description</th </tr>'; while($Info = mysql_fetch_row($Query)) { echo '<tr> <td><img scr = "/?????/????" width = "150" hight = "150"/></td> <td><a href = "'.basename($_SERVER['SCRIPT_FILENAME']).'?shop=".$Info['shopID']}."">".$Info['shopNAME']."</a></td> <td>".$Info['shopDESCRIPTION']."</td> </tr>'; } echo '</table>'; } else { $Query_2 = $db->query("SELECT `shopLOCATION` , `shopNAME` FROM `shops` WHERE `shopID` = ".$_GET['shop'].""); if (mysql_num_rows($Query_2)) { $Info_2 = mysql_fetch_row($Query_2); if ($Info_2['shopLOCATION'] == $ir['location']) { echo 'Browsing items at <span style = "font-wight: bold;">'.$Info_2['shopNAME'].'</span> // [b] is Deprecated <table width = "75%" cellspacing = "1" class = "table"><tr style = "background: gray;"> <th>Item</th> <th>Description</th> <th>Price</th> <th>Sell Price</th> <th>Buy?</th> <th>Buy with Credit Card</th> </tr>'; $Query_3 = $db->query("SELECT `itmtypename` , `itmbuyprice` , `itmsellprice` , `itmbuyprice` , `itmname` ,`itmdesc` , `itmid` FROM `shopitems` si LEFT JOIN `items` i ON si.sitemITEMID=i.itmid LEFT JOIN `itemtypes` it ON i.itmtype=it.itmtypeid WHERE si.sitemSHOP = ".$_GET['shop']." ORDER BY i.itmtype ASC, i.itmbuyprice ASC, i.itmname ASC") or die(mysql_error()); $Info_3 = ''; while ($Reciver = mysql_fetch_row($Query_3)) { if($info_3 != $Reciver['itmtypename']) { $Info_3 = $Reciver['itmtypename']; echo '\n <tr style = "background: gray;"> <th colspan = "6">'.$Info_3.'</th> </tr>'; } $Buy_Price = money_formatter($Reciver['itmbuyprice']); $Sell_Price = money_formatter($Reciver['itmsellprice']); $Credit_Card_Buy_Price=money_formatter($Reciver['itmbuyprice']); echo '<tr> <td><'.$Reciver['itmname'].'></td> <td><'.$Reciver['itmdesc'].'></td> <td><'.$Buy_Price.'></td> <td><'.$Aell_Price.'></td> <td><form action = "'.basename($_SERVER['SCRIPT_FILENAME']).'?ID='.$Reciver['itmid'].'" name = "shopbuy" method = "post"> [b]Qty:[/b] <input type = "text" name = "qty" value = "1" onkeyup = "tot('.$Reciver['itmid'].' || '.$Reciver['itmbuyprice'].',this.value);" onfocus="clearText(this);" onblur = "returnText(this);" /> <input type = "submit" value = "Buy" /></form> <div id = "res'.$Reciver['itmid'].'" align = "center"> </div> </td> <td><form action = "'.basename($_SERVER['SCRIPT_FILENAME']).'?ID='.$Reciver['itmid'].'" name = "shopbuy" method = "post"> [b]Qty:[/b] <input type = "text" name = "qty" value = "1" onkeyup = "tot('.$Reciver['itmid'].' || '.$Reciver['itmbuyprice'].',this.value);" onfocus = "clearText(this);" onblur="returnText(this);" /> <input type = "submit" value = "Buy" /> </form> <div id = "res'.$Reciver['itmid'].'" align = "center"> </div> </td> </tr>'; } echo '</table>'; } else { echo 'You are trying to access a shop in another city!'; exit($h->endpage()); } } else { echo 'You are trying to access an invalid shop!'; exit($h->endpage()); } } exit($h->endpage()); ?>
-
Well, by reading your posts, and the knowledge you have. I think your out of MCC league. :)
-
InfantryX - Free Military Game [Browser Game] Development!
Wazam replied to Dave's topic in Game Projects
Love the login, haven't seen nothing like it before. As Djkanna posted, takes a while to load up from all the Ajax(JavaScript) your using. Put a scroll bar or something on for the Video promo. Video I cannot really compare with the game. The features to your game, don't really suit the game story. But looks like a game I would enjoy playing, some to keep me occupied. :D -
Hi, Well, I haven't been here for a while, and I hardly know all the members skills and knowledge(A_B very smart). But I was wondering. Over the years the CE/MWG/MCCF has been open, who's made and developed the best modification that have helped your game, and a great addition. :)
-
It probably isn't the full code, but as I think he just need some of the majority of it helped on. :?:
-
Sorry, I don't get the look. This is your own website written in HTML. But I hardly see most things being finished. A banner won't make your website look better.. A layout will. The are some free layouts some were. Look them up, work around the HTML in the file. Your site will look better and it's still helping you on HTML. :) EDIT: Dream - I hit the submit button again || WTF was that mad quote box? o_0
-
<?php require_once('globals.php'); echo '<table width = "75%" cellspacing = "1"><tr style = "background: gray"> <th>Funny image</th> </tr> <td><img src = "/?????/?????.???" alt = "????"/></td> </tr> </table>'; $h->endpage(); ?> I don't know JS, but I don't anything can be done with that code.. You don't need to include DOCTYPE etc... Globals(header.php included) provides that. Just enter information in the "????????????" :) EDIT: You forgot to put (EOF;) at the end. ^^
-
Good luck Sniko. Gonna be quite hard to match your standers. :P
-
Nice job. You might want to secure the $_GET & $_POST. Also, I think $_SESSION needs securing, not too sure about that. Any who, nice work! :D
-
Don't take this the wrong way. The graphics are quite bad, the font and stuff, but the login layout is really eye catching, and the colors match and stuff. Good job. :)
-
Yes.. and my comment below, involving helping you, isn't me helping you? You cannot depend on us to keep helping you with errors, if you can't sort it out yourself, and don't really attempt to fix the error, then what's the point of learning? You have MCC to experiment on, use that. Unlike me, I have to try and do things without using CPanel or MCC, GRPG, etc.. I can't even download WAMP, mum won't let me download squat. :P Instead on trying to make mods on your game.. Go on W3Schools, and get back learning on HTML.
-
Not what you really want? But yet you want a full game layout for free? You really are un-grateful.. You want a layout for free? Download GIMP 2.6.8+ and start learning how to do graphics, and maybe learn yourself to slice.. BTW: It's all free. So no wories ;)
-
OK, DreamCoder, I don't know you very much, but I can tell your a person who wants to own a game, to make themselves think, and your mates think, your a coder. Jordan has gave you a code for you in HIS time, what HE typed. Be grateful of what you get. Jordan think's it's a rubbish Idea.. So? I don't like the idea myself, and other people might agree with me, but since it's your idea, it's great init? Also, yet again, Jordan has a point. People who are in-active or are in Fed will be getting Crystals.. So since your brother know's so much. Ask him to help you. And start acting your flippin' age! It's people like you who can afford something, and take advantage of it.. ~_~ (AKA internet - Opportunity to go on Official websites)
-
So could I ask you this.. If your brother knows what he's doing. Why can't you wait for your brother to come back? Despite if the game code and the game ITSELF turns out good, wouldn't make a good game.
-
Nice little work here bud. It's kind of crapmed, kind of simple kind of coding. Might want to make it more clear to people. Good effort though. :)
-
Well.. All fair do's.. But. Why are you owning a game, or building a game, if you can hardly take care of problems yourself. I think you need to spend more time on http://www.php.net & http://www.w3schools.com && http://www.mysql.com and then start working on your game. Anyway... $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; Can become $ip = $_SERVER['REMOTE_ADDR']; $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$ir['gang']}",$c); Can become $qg = mysql_query("SELECT * FROM `gangs` WHERE `gangID` = ".$ir['gang']." " , $c) or die('Mysql ERROR!');
-
Sorry. I pressed the SUBMIT button for some reason, lol.
-
OK first. $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'] Only need REMOTE_ADDR really. Try helping your querys. So add in an OR DIE. Don't use <FONT>. It's deprecated.