Jump to content
MakeWebGames

Paddy Green

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Paddy Green's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hahaha.. 25 years. Blime, no wonder your so good at what your doing. And nice to hear you have another game created by you. :) What kind of game?
  2. Hhahaha... Love it! Mainly because it's all true. Thanks for sharing this Bert, hopefully it will get dicks to stop and think. :D P.S: Would 7 years of PHP etc.. Be good enough to become a good coder? :P
  3. Okay. Since I finsh my Homework :P I'm starting on it now people! (Also I try to play crossfire, and when It's loaded, My screen goes bigger & black for about 3 mins and doesn't load)
  4. OK... What bloody. Anal rap rated (____) :P
  5. George does some great work. I recommend him. :)
  6. I here that it can block AOL users?
  7. Really great here Redex. I totally agree with you on the School part. There are some students who might want to learn programming because it's cool(Yeah....)/Something Different/Personal Enjoyment. And it does tend to side track-them on school work. Witch could* tend to them maybe failing at school, and not get a decent job. But, I also disagree with some of it. Programming: Programming(Depending what language), is hard yes. And people at school will think it's hard. But they would still want to-do it even they may not have a chance with. No in-case you haven't figured it out yet. Some Developers, etc.. Are self-taught. And there-for, it will take longer. And there is possibly a higher chance of failing both. But, I myself think Students should do what they want. A child wants to learn to program, let him. He want's to fail school or cba with him. I say let him(But to try to persuade him lol). I personally think it's a choice. That's a part I disagree on. And there another part. In-case you didn't read my intro, I want to learn all this for some Students in my class to own games, etcc.. (Read intro for more detail) & also for my sons encase they want to learn it(There choice really & Both 2 :P). So I simply suggest, why not give them a helping hand? If I do become a good developer, and know what I'm doing. It's great(For me! :D). And if I see a student who doesn't want to-do school, and want's to-do programming. I will help him. It's all a matter of choice. And also, try not to take life to serously. If you do. Live will revolve around work. Hey look at me. I'm a music teacher(Getting paid £2.5K A Month). I have a SEX(Orge) wife. 2 wonder full twins. A awesome dog. Great house. It's just so superb. :)
  8. What's happen you Beautiful Onions! Well, I looked around on the Search function, and try finding a Bounty hunter, or a hist list you might want to call it. And in-case you don't know what it does, here's a clue. Allows players to put a hit down a player (Apart from ID 1) Payers can pay what ever amount the reward is(You just need to see if they'll take it or not) The Hit-adder name won't appear on the hit-list Well... Yeah.. That's it. It will be free, and don't know how long it will take. And to make this community laugh, I'm gonna do my best to make some funny threads. Also, just to get some replies. What would you do if you got tea-baged?
  9. Hmm.. Well, all Mail System look the same, and it's quite yano "Hha.. What a legend", so could you use some CSS - xHTML & Graphics to make a good lookin' Mailbox System? :P
  10. Hhaha.. Thanks Dominion. :thumbup:
  11. OK, I hardly know you guys but seriously stop it. This is what I see in the class room. It's real childish and stupid. How I handle the situation. Make sure you tell the story how it was, why you did it, and how you can fix it. And like some Year 10's who think there all big. They like to brag about stupid things and tell most people in school, and more arguing continues. Don't take this the wrong way, but they are asses & immature. The school is not a place to Argue. It's a place to learn. And MWG is a Forum for programmers. Learning Getting help, etc.. Not a place to argue.. Trust me on this one.
  12. @ Dj: Hha.. Thanks mate. Also, did you do something with your hair? :P @ Sniko: Hm.. Thanks for information. Just my personal preference buddy.
  13. Sorted. Also fixed that ($) needed. "Doesn't look to horrible" Why thank you. :P
  14. Hey Der, Well I didn't mention this in my forum post, but for about a week, I looked through Mccodes files and stuff. See how stuff work. I've looked at a couple of threads, saying what could be done and so... Shongoon. Anyway. Here's a Cmarket.php I found through MWG, and I just did what I can. Now in-case any of you wonder. I don't waste no time on the laptop going on games, since I get other stuff to-do, I can't waste any time learning. So your thoughts on my first ever modification? (Hasn't been tested as I don't own Mccodes V2): Please posts up errors, and hopefully there isn't any bugs. ^^   <? require_once(DIRNAME(__FILE__) . '/globals.php'); $ID = (abs(@intval($_GET['ID']))); $_GET['action'] = (isset($_GET['action']) && is_string($_GET['action'])) ? strtolower(trim($_GET['action'])) : false;; echo '<h3>Crystal Market</h3>'; switch($_GET['action']) { case "buy": crystal_buy(); break; case "remove": crystal_remove(); break; case "add": crystal_add(); break; default: cmarket_index(); break; } function cmarket_index() { global $db,$userid; echo '<a href = "cmarket.php?action=add">Add A Listing</a>'; echo ' '; echo '<table width = "75%" cellspacing = "1" class = "table"><tr style = "background:gray"> <th>Adder</th> <th>Qty</th> <th>Price each</th> <th>Price total</th> <th>Links</th> </tr>'; $Query = $db->query("SELECT `cmADDER` , `cmPRICE` , `cmQTY` , `cmID` FROM `crystalmarket` LEFT JOIN `users` ON `userid` = `cmADDER` ORDER BY `cmPRICE` / `cmQTY` ASC"); while($R = mysql_fetch_row($Query)) { if($R['cmADDER'] == $userid) { $Link = "<a href = 'cmarket.php?action=remove&ID=".$R['cmID']."'>Remove</a>"; } else { $Link = "<a href = 'cmarket.php?action=buy&ID=".$R['cmID']."'>Buy</a>"; } $Each = ((int)$R['cmPRICE'] / $R['cmQTY']); echo '<tr> <td><a href = "viewuser.php?u='.$R['userid'].'">'.$R['username'].'</a> ['.$R['userid'].']</td> <td>'.$R['cmQTY'].'</td> <td>$'.number_format($Each).'</td> <td>$'.number_format($R['cmPRICE']).'</td> <td>[$Link]</td> </tr>'; } echo '</table>'; } function crystal_remove() { global $db,$userid,$h; $Query_2 = $db->query("SELECT `cmID` , `cmQTY` , `cmADDER` FROM `crystalmarket` WHERE `cmID` = ".$ID." AND `cmADDER` = $userid"); if (!mysql_num_rows($Query_2)) { echo 'Invalid Request.'; exit($h->endpage()); } $R = mysql_fetch_row($Query_2); $db->query("UPDATE `users` SET `crystals` = `crystals` + ".$R['cmQTY']." WHERE `userid` = $userid"); $db->query("DELETE FROM `crystalmarket` WHERE `cmID` = ".$ID); echo 'Crystals removed from market!'; exit($h->endpage()); } function crystal_buy() { global $db,$ir,$c,$userid,$h; $Query_3 = $db->query("SELECT `cmPRICE` , `cmID` , `cmQTY` , `cmADDER` FROM `crystalmarket` WHERE `cmID` = ".$ID); if (!mysql_num_rows($Query_3)) { echo 'Invalid Request.'; exit($h->endpage()); } while ($R = mysql_fetch_row($Query_3)) { if ($R['cmPRICE'] > $ir['money']) { echo 'Invalid Command'; exit($h->endpage()); } $db->query("UPDATE `users` SET `crystals` = `crystals` + ".$R['cmQTY']." WHERE `userid` = $userid"); $db->query("DELETE FROM `crystalmarket` WHERE `cmID` = ".$ID); $db->query("UPDATE `users` SET `money` = `money` - ".$R['cmPRICE']." WHERE `userid` = $userid"); $db->query("UPDATE `users` SET `money` = `money` + ".$R['cmPRICE']." WHERE `userid` = ".$R['cmADDER']); event_add ($R['cmADDER'],'<a href = "viewuser.php?u=$userid">'.$ir['username'].'</a> bought your '.$R['cmQTY'].' crystals from the market for $'.number_format($R['cmPRICE']).'',$c); echo 'You bought the '.$R['cmQTY'].' crystals from the market for $'.number_format($R['cmPRICE']).''; exit($h->endpage()); } function crystal_add() { global $db,$ir,$userid,$h; $Amount = (abs((int) $_POST['amnt'])); $Price = (abs((int) $_POST['price'])); if($Amount) { if($Amount > $ir['crystals']) { echo 'Seriously mate?'; exit($h->endpage()); } $TOTAL = $Amount*$Price; $db->query("INSERT INTO `crystalmarket` VALUES('',".$Amount.",$userid,$TOTAL)"); $db->query("UPDATE `users` SET `crystals` = `crystals` - ".Amount." WHERE `userid` = $userid"); echo 'Crystals added to market!'; exit($h->endpage()); } else { echo '[b]Adding a listing[/b]'; echo ' '; echo 'You have [b]".$ir['crystals']."[/b] crystal(s) that you can add to the market. <form action = "cmarket.php?action=add" method = "post"> <table width = "50%" cellspacing = "1"> <tr> <td>Crystals:</td> <td> <input type = "text" name = "amnt" value = "'.$ir['crystals'].'" /></td> </tr> <tr> <td>Price Each:</td><td><input type = "text" name = "price" value = "200" /></td></tr><tr> <td colspan = "2" align = "center"> <input type = "submit" value = "Add To Market" /></tr></table></form>'; } } exit; ?>   Now just to let you no - $_GET['action'] = (isset($_GET['action']) && is_string($_GET['action'])) ? strtolower(trim($_GET['action'])) : false;; - I found it on a secure script. I looked up on what Isset && Is_srting does, and how it does "secure" it, but I'll understand soon. If you could take 5-10 minutes of your time explaining on how it does and that, I would be very grateful. Until next time, I'm Paddy Green, reporting from My laptop.
  15. World peace...
×
×
  • Create New...