Jump to content
MakeWebGames

Armageddon

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

Everything posted by Armageddon

  1. function strip_my_slashes($text) // ($text) Is nothing.
  2. My thoughts now: Are you willing to learn? On MSN, you said you were going to learn and become a good Web Developer, now your wanting to slice PSD? It's quite weird, cause I can see you frustrating yourself, and going onto something different and easier. So please stick with this. I don't like(hate it) see people blow something off(sounds horny right). Why do you think most people CBA with school. But seriously. Stick with it mate. You never know what happen in the future. :)
  3. Hello, Well I've seen some modifications, and some are great as an Idea! But some ruin it from the coding. Mainly is the performance on my concern, so today, I am going to to show you have to increase your performance. This is not going to be a BIG (S.A). But I will be easy to understand. :) So first I'll start of with: Selecting So I've seen a few mods selecting everything. Now, when selecting all the table(*), it will select EVERYTHING from that table. Some people don't seem to understand. I have suggested this to some friends on MSN not to select everything. Around 88% said what is needed to select. Now, I understand begginer's(I don't like calling people Noobs -.-) don't know what to select. So I look around on MWG and look for some examples. I found something that is easy to understand. Now look at this code:   $q=$db->query("SELECT cm.*, u.* FROM crystalmarket cm LEFT JOIN users u ON u.userid=cm.cmADDER ORDER BY cmPRICE/cmQTY ASC"); while($r=$db->fetch_row($q)) { if($r['cmADDER'] == $userid) { $link = "[url='cmarket.php?action=remove&ID={$r[']Remove[/url]"; } else { $link = "[url='cmarket.php?action=buy&ID={$r[']Buy[/url]"; } $each= abs(intval($r['cmPRICE'] / $r['cmQTY']));   Now as you can see, there is some very dodgey selecting there, and that is self is not needed. Lets look at it first. SELECT cm.*, u.*: Now if you saw what I typed up there - (*) - Selects everything from a table. This coder has decided to select the same table twice. And if you can see (cm) I looked at table for the `crystal market` and cm is connected to (cmID - cmQTY - cmPRICE - etc...) Seriously.. WTF! On another part of the code, as most coders can tell. while($r = $db->fetch_row($q)): While(Read that). $r is going to Assign(=) to the query ($q). Now if we go down more(Remember ($r) now assigns to the query ($q)). {$r['cmID']} || {$r['cmID']} || {$r['cmPRICE']} || {$r['cmQTY']} || Now before some of you ask(Who know what there doing) yes I have done cmID. Yes. Because it's there. For people who are most probably think(Should I add `cmID` twice?) Well no. It's already been select so there is no need to select it twice. Anyway, as you can see below, there are 4(4) $r grabbing what's needed here. The fore, they need to be selected. That's all. Now all these extra stuff like (LEFT JOIN users u) It's not needed as it's already adding in `users`. Extra stuff is not needed so.. Just.. Scare them.. Rawr and stuff... So... Let's fix this up :)   $Q = $db->query("SELECT `cmID` , `cmQTY` , `cmPRICE` FROM `crystalmarket` LEFT JOIN `users` ON `userid` = `cmADDER` ORDER BY `cmPRICE` / `cmQTY` ASC"); while ($r = mysql_fetch_row($Q)) // Person Preference (mysql_) { if($r['cmADDER'] == $userid) { $link = "[url='cmarket.php?action=remove&ID={$r[']Remove[/url]"; } else { $link = "[url='cmarket.php?action=buy&ID={$r[']Buy[/url]"; } $each= abs(intval($r['cmPRICE'] / $r['cmQTY']));   Well, hopefully this is correct and will help you. I thought this out myself, so there might be a chance I'm wrong, but some parts I know I am right. A poll would be added to see your thoughts. Comment || Feedback is welcome. Also, I tried to make it funny for you. :P (Submitted votes cannot be changed!) - Armageddon
  4. I voted Space. I like space, and think it's very creative. So I think a space template would be perfect.
  5. Lmao. Well keep learning, it's quite easy when you know the basics of it, trust me. I did take me around a couple of hours to learn, but can be useful. :)
  6. I myself was reading an article about this. And it may come in handy to you. Very useful -> http://www.alistapart.com/articles/sprites/
  7. I know this is an old modification, but to the creator. Most values don't assign to nothing..
  8. Could you post all the code up please? Also, I think something need's to be added inbetween the empty ",",",.
  9. Nice work here mate. I myself am starting to learn PS(CS4). It's tricky PS, but awesome. Keep the nice work up!
  10. OK. I Am now totally convinced. The engine will be Re-coded now. Only the current files, and around 10 other files will be added. If MWG members are actually interested on helping me on the project, please PM, or add my msn([email protected]). With a recent Modification, or some knowledge of Mccodes. If your a Graphic Designer & can slice, please also contact me. Thanks.
  11. OK. I Am now totally convinced. The engine will be Re-coded now. Only the current files, and around 10 other files will be added. If MWG members are actually interested on helping me on the project, please PM, or add my msn([email protected]). With a recent Modification, or some knowledge of Mccodes. Thanks.
  12. Ah... Thanks Dj. Was looking around internet for awhile, but couldn't find answer.
  13. Hm.. I don't think all that DB Query crap is needed. Might want to use something like this. :)   $mags = $db->query("SELECT `itmname` , `pa_rounds_left` , `pa_rounds` , `pm_id` , `itmid` FROM `players_mags` LEFT JOIN `items` ON `itmid` = `pm_itmid` // Can ==(Equals) be used on Querys, and still be valid? LEFT JOIN `players_ammo` ON `pm_itmid` = `pa_itmid` WHERE `pm_userid` = ".$ir['userid']." AND `pm_itmid` = ".abs(@inval($_GET['WID'])); I don't think all the query is needed like that. But anyway, should still work. :)
  14. Actually, that is a good idea. I think it would be great for people and stuff. Definitely doing that. Thanks Crazy. :)
  15. No problem, and yes absolutely. Nothing is being selected from a/the DB, so the table won't know what is what, or were it is.
  16. Thank you for that Nickson. If I didn't say it above, yes I agree, it's kind of a petty for people who have bought MCCodes. I don't actually mean to make people waste there money, but people who don't have money, and extend to breaking the law(by not paying the fee), I can stop a good amount of percentage with this free engine. @ Joshua: It could be an idea, but from Copyright and etc.. Going through the law, I couldn't cope with it. :)
  17. Really? I thought it would help you think about taking your game more serious. -.-" Question 1: Answer You advertised on my friends old game a-while back. I recognise the name. You also did alot of illegal advertising on SOL(Samuraioflegend). And yes, they are indeed Facts. Question 2: Answer I can tell in-game it's just another game with added mods. Nothing special. I think the members can easily get bored, so add an Arcade System in. Question 3: Answer Your game could look amazing, but in-game crap. Your game could look crap, but good. I don't approve to either. A better suggestion. Your game could be good and enjoy and hopefully different(witch it's not) and have a good looking layout(Witch it isn't). Question 4: Answer Probably... SOL is a big game. Plus not all 12K members play. Also, your game has been around for a while, so nothing special. Question 5: Answer How about you put a-side the advertisements, and focus on your game files and layouts? All I can think of right now, your members are wasting money. Mainly the players in chat. :)
  18. Some suggestions: Don't use DIE - Echo or Print is fine Clean Coding - Try and space words about || Along with echo" is deprecated - Use <span> || Or if you work around PHP with HTML, use Add some query's in :?:
  19. @ CJ: I think you paying for the security is abit ta-key, but you won't be loosing money. Reason: The engine will be exactly the same as the others for those whoever download it. The owners job is to make it enjoyable, and good prices to earn money. Sorry, but I have to Disagree on the money part. Mccodes V2: Haven't they lost alot of money already? You also, thank you for your thoughts. I'll wait till (September 9th || 18:00) to see how many people vote for what, and make my mind up.
  20. Sorry, the game fails. I doub't you know much of Coding - Your a noob who advertise on games - Some of your players are out of control - Layout isn't special. Re-think about your game..
  21. Thanks Dayo. I won't probably been Re-coding it everyday for a couple of hours. Around 1-3 hours a day should do that trick, and around my area is boring. It would be good to show the community my skills, but I want to know what they think of the idea. I'm only aware of Mccodes, and not so much of it, so it would probably be better to get members thoughts and opinions.
  22. Nice work here mate. Clean - Simple - Good places. Great addition and layout for members! :)
  23. I believe Zeggy does some Vector Items doesn't he(Saw a thread - Don't know if he's doing it right now)? Also, I think Dave's Partner(George or something) can do something similar. Hope this helps, and good luck. :)
  24. Hi, Well since the community engine mainly run of the Mccodes engine(I think something should be done about others), I am going to re-lease a free re-coded version of Mccodes Lite. Why?: As seen on (TOPRPGAMES & MMORPG Gaming Site), Mccodes V2 is used alot of them are illegal. So I was thinking, if I did a big re-code on Mccodes Lite(witch is free). And do around 150 files, it could stop some people breaking the law, and help Mccodes not going scavenging hunting for noobs. Around 12% of the files will be free modifications up here, done up. Obviously I will PM the creator asking for permission. You can only download the file via MWG(Registered). So I't will get more members on the forum. So what will be updated: Free & Better default layout Increased Performance Selecting what's needed Security (Will get help with that - If you would to help please PM me) Similar (include('globals.php')) instead of couple of lines of code Clean Coding Instruction's on what and this does (Separate file) But before I go on and re-code Mccodes Lite. I need people opinions on if I should progress or not, maybe your thoughts :P Release Date: NYS! Regards, Armageddon
  25. Cool, that does sound good. And sorry, I thought that was the full actual code you have done upto now. My bad. ^^ Good luck. :)
×
×
  • Create New...