-
Posts
2,124 -
Joined
-
Last visited
-
Days Won
144
Content Type
Profiles
Forums
Events
Everything posted by Magictallguy
-
mccode-v2 Updated Newspaper - more than one page
Magictallguy replied to Magictallguy's topic in Free Modifications
Re: [mccode v2] Updated Newspaper - more than one page Then you're obviously missing the globals.php file 0,o -
mccode-v2 Updated Newspaper - more than one page
Magictallguy replied to Magictallguy's topic in Free Modifications
Re: [mccode v2] Updated Newspaper - more than one page Chances are you're using v1, this paper is for v2 -
mccode-v2 Updated Newspaper - more than one page
Magictallguy replied to Magictallguy's topic in Free Modifications
Re: [mccode v2] Updated Newspaper - more than one page I can promise you, I haven't done that. As I'm a game owner myself, I know how annoying multis can get so, I simply don't bother making them What is your site? I'd like to know who's posing as me -
[mccode v2] Updated Display Pic System
Magictallguy replied to Richard's topic in Free Modifications
Re: [mccode v2] Updated Display Pic System Newbie+ indeed... echo ($r['display_count'] == 0) ? "[img=/testimages/nopic.gif]" : sprintf("[img=%s]", stripslashes($r['display_pic'])); -
[mccode v2] Search.php in one | Optimized
Magictallguy replied to Haunted Dawg's topic in Free Modifications
Re: [MCC V2] - Search.php in one | Optimized Learn about isset() It will help you get rid of unwanted errors popping up (E_WARNING) -
Re: Help!! Mccodes Lvl hack You could always mysql_real_escape_string() $_POST['newname'] = mysql_real_escape_string($_POST['newname']);
-
Re: Referal in HOF $sql = sprintf("SELECT * FROM referals WHERE (refREFER = %u)", $r['userid']); $query = mysql_query($sql) or die(mysql_error()); $refwin = mysql_num_rows($query);
-
Re: Code for capped EXP? ALTER TABLE users CHANGE `exp` `exp` DECIMAL( 45,4 ) NOT NULL DEFAULT '0.0000'; Not hard.
-
[mccodes v2] Combined Gallery and Comment System [$40.00]
Magictallguy replied to Magictallguy's topic in Paid Modifications
Re: [mccodes v2] Combined Gallery and Comment System [$40.00] Nicely spotted radio_active!! -
[mccodes v2] Combined Gallery and Comment System [$40.00]
Magictallguy replied to Magictallguy's topic in Paid Modifications
Re: [mccodes v2] Combined Gallery and Comment System [$40.00] There is a free version, but read through the code ask yourself this: Is it secure? Does it offer any functionality that mine does? Is the free version closer to what your looking for? I think $40 is a fair price considering I spent over 5 hours on this. I even missed Star Trek for this! xD Thank you to AlabamaHit for, well, defending me. I posted on his topic saying that I don't code for a price. This is a one-off. I'm wanting to see if anyone is interested. I may bring the price down though. -
A fully working gallery system with a combined comment system. Allows users to upload and displays galleries to one-another. Abilities to comment on theirs/others pictures. More abilities shown in the screenshots http://www.velocity-islands.co.uk/magic/gallery <-- screenshots found there 1 file, 2 SQL tables, 1 users table addition. Can be seen working on Torn County This took me about 4 hours to create, it's secure, and only certain image formats will be accepted PM/IM me if interested. [email protected]
-
[mccode] Working Proxy Blocker - Blocks MOST Proxies [$10.00]
Magictallguy replied to John99's topic in Paid Modifications
Re: Working Proxy Blocker - Blocks MOST Proxies [$10] I've already said that I've removed it.. -
[mccode] Working Proxy Blocker - Blocks MOST Proxies [$10.00]
Magictallguy replied to John99's topic in Paid Modifications
Re: Working Proxy Blocker - Blocks MOST Proxies [$10] I've removed the proxy blocker as it gave me problems... Sorry Alan -
[mccodes v2] Jail Bust Offer [$5.00]
Magictallguy replied to AlabamaHit's topic in Paid Modifications
Re: [mccodes v2] Jail Bust Offer [$5.00] Indeed it has! [email protected] <-- email/MSN, feel free to contact me if you get bored :P -
[mccodes v2] Jail Bust Offer [$5.00]
Magictallguy replied to AlabamaHit's topic in Paid Modifications
Re: [mccodes v2] Jail Bust Offer [$5.00] This is actually one of the reasons I don't charge for my coding.. I'd get people bothering me saying that I'm charging to much for my services for which I'm going out my own way and spending my time on someone else's site.. All in all, I code for free. But not for everyone.. -
[mccode] Working Proxy Blocker - Blocks MOST Proxies [$10.00]
Magictallguy replied to John99's topic in Paid Modifications
Re: Working Proxy Blocker - Blocks MOST Proxies [$10] To work with AOL proxies, I could use $_SERVER['REMOTE_ADDR'] and edit in a list IP's/IP ranges from AOL themselves. http://webmaster.info.aol.com/proxyinfo.html -
[mccode] Working Proxy Blocker - Blocks MOST Proxies [$10.00]
Magictallguy replied to John99's topic in Paid Modifications
Re: Working Proxy Blocker - TESTED WORKS 100% READ!! [$10] This proxy blocker uses a PHP socket function and a specified port (makes sense to me at least) You could've got through as you were using Port 80? -
[mccode] Working Proxy Blocker - Blocks MOST Proxies [$10.00]
Magictallguy replied to John99's topic in Paid Modifications
Re: Working Proxy Blocker - TESTED WORKS 100% READ!! [$10] In that case, I'll work with the code as it was one of the sites I work on that it was tested on. I'll see if I can allow AOL proxies while blocking .. proxies! -
Re: Giving Item To All Users [FREE] $name = mysql_fetch_object(mysql_query("SELECT itmname FROM items WHERE itmid = ".$_POST['item']." ")); event_add($r['userid'],"The population has just been given item $name->itmname, Click [url='inventory.php']Here[/url] to check.",$c); This is untested..... v2 $name = $db->fetch_single($db->query(sprintf("SELECT itmname FROM items WHERE (itmid = %u)", $_POST['item']))); event_add($r['userid'],"The population has just been given a/an ".stripslashes($name).". Click [url='inventory.php']Here[/url] to check."); Feel free to remove the stripslashes(), as most people don't secure their files (including staff panel), it wouldn't be needed!
-
Re: Updated Explore V.2 I'm working on the staff side of this mod
-
Re: Updated Explore V.2 I have now created this, feel free to mail me if you want a copy
-
Re: Free Jail All in one So you post a script that is obviously not yours to post, can't fix it and now want help?
-
Re: Warning [me=Magictallguy]has read through this topic and is astonished at the stupidity of people..[/me] And I know Dan (Twizted), he's not that bad but yea.. Ok xD
-
Re: 8 Lines to secure your site from known sql injections. In globals.php function clean($string) { $string = mysql_real_escape_string(htmlspecialchars($string)); return $string; } Use as shown (Preferences - Name Change given as example) mysql_query("UPDATE users SET username = ".clean($_POST['newname'])." WHERE userid = $userid"); or $UpdateName = sprintf("UPDATE users SET username = '%s' WHERE (userid = %d)", clean($_POST['newname']), $userid); mysql_query($UpdateName); Above switch($_GET['action']) $_GET['action'] = isset($_GET['action']) && is_string($_GET['action']) ? strtolower(trim($_GET['action'])) : ""; Secures $_POST if used properly (alphanumeric) $_POST['blah'] = isset($_POST['blah']) && is_string($_POST['blah']) && preg_match("`^\d+$`ims", $_POST['blah']) ? @intval($_POST['blah']) : 0;
-
Re: Help Needed (Crons) Speaking of crons help (:P) Anyone got a decent way of running crons when they're not in the game folder? I've tested php -f >> run-parts None work..