-
Posts
2,146 -
Joined
-
Last visited
-
Days Won
149
Content Type
Profiles
Forums
Events
Everything posted by Magictallguy
-
Re: Header.php [New/Imrpoved] I'll add in what I can - but I'm not adding paid mod SQL's..
-
Re: Header.php [New/Imrpoved] LOL!! Topic title: Header.php [New/Imrpoved] (spelling 'n' all!) So..um how does new/improved header suggest mainmenu2.php?
-
Re: [mccode] Personal Detals for v2.0 With a quick skim-read through - that query appears to be correct.
-
Re: [mccode] jail/hosp shoutbox Nope I was told that in a chat a few yearsago while being a little stupid to get the answer I wanted to hear/read. As Nyna would say: "I was a sneaky bish" :D
-
Re: Header.php [New/More Imrpoved] I'll take the biggest tub you've got! And a Dr Pepper too if you have a few spare! :D
-
Re: new login.php Or instead of paying - learn how to use CSS properly and efficiently - and have fun! Edit: Spelt efficiently wrong (almost did again here!)
-
Re: Tutorial: v1 - v2 Conversion I would say adding an href would be the easiest thing - Having said that, I know 2 people who can't even do that yet they have 3 sites on the run - one of which is a .com!
-
Re: When is it ok to lie? Quote: "Liers always get caught" *makes buzzer sound* -> If you're a good lier and can stick to your story, chances are - you won't be found out. I'd like to see what Nyna's views on this are!
-
Re: Mccodes Version 1 Or 2 Gotta say I agree with both Nyna and Matt! xD I have working with both versions but do indeed prefer v2. I'm not an experienced developer but I'm learning. Nyna knows this
-
[mccode] Reset your users without deleating them
Magictallguy replied to Redeye's topic in Free Modifications
Re: [v1 & v2]Reset your users without deleating them For V2 <?php include "globals.php"; if($ir['userid'] != 1) { die ("Coo Off!"); } global $db; $db->query("UPDATE users SET money=100000,level=1,exp=0,crystals=100,job=0,location=1,hospital=0,jail=0,course=0,cdays=0,donatordays=2,bankmoney=0,cybermoney=0,turns=100,exp=0.0000,maxwill=100,will=100,energy=100,maxenergy=100,brave=5,maxbrave=5,hp=100,maxhp=100,gang=0,daysingang=0,jobrank=0 WHERE user_level>0") or die(mysql_error()); $db->query("UPDATE userstats SET strength=10,agility=10,guard=10,labour=10,IQ=10") or die(mysql_error()); $db->query("TRUNCATE TABLE mail,events,friendslist,blacklist") or die(mysql_error()); print "Clearing done!"; $h->endpage(); ?> That should work fine. Post any errors here! -
[mccode v1] Paper Boy Panel With New User Level
Magictallguy replied to Klikoka's topic in Free Modifications
Re: [V1]Paper Boy Panel With New User Level[V1] Um....Description is in the title bar, the topic title, and for some people - in every post! -
[mccode] Making a marquee on all pages
Magictallguy replied to nathanmarck's topic in Free Modifications
Re: Making a marquee on all pages Eww, marquee's are so outdated! xD -
[mccode] Making a marquee on all pages
Magictallguy replied to nathanmarck's topic in Free Modifications
Re: Making a marquee on all pages Why on earth would you want the news to scroll? That would be just plain annoying?! Quote: <marquee> blah $content <--- Why?! </marquee> -
Re: [mccodes][V2] owner`s pannel Quick links and set out differently - In a table so you don't have scroll down to the bottom of the page to find what you want. Although it is a *very* basic "mod", I suppose it's not bad.
-
Re: [mccode] jail/hosp shoutbox Hahaha. Forgot what I was gonna say now..Oh well nevermind. Oh yea Go here
-
Re: [V2] Better Explore Page [V2] Very difficult to do a few tables and hrefs? First things I learnt :P
-
Re: Header.php [New/Imrpoved] Nevermind - he's removed it! xD
-
Re: Header.php [New/Imrpoved] SQL's coming in soon and I'll edit his header - it is his as I know his old site. (Can't remember the link)
-
Re: Header.php [New/Imrpoved] And me wonders if you really did make that, or found it on someone else's game you were working on, and "got" it from there..
-
Re: Header.php [New/Imrpoved] A few new SQL's will be needed!
-
Re: Hospital Time fedjail.php - Note: I tend to not fed anyone for more than a year, so I don't know if it will display years *goes to test* yup! That does it for me! <?php include "globals.php"; $q=$db->query("SELECT f.*,u.username,u2.username as jailer FROM fedjail f LEFT JOIN users u ON f.fed_userid=u.userid LEFT JOIN users u2 ON f.fed_jailedby=u2.userid ORDER BY f.fed_days ASC"); print "[b]Federal Jail[/b] If you ever cheat the game your name will become a permanent part of this list... <table cellspacing=1 class='table'><tr style='background:gray'><th>Who</th><th>Time</th><th>Reason</th><th>Jailer</th></tr>"; while($r=$db->fetch_row($q)) { $time=$r['fed_days']; $t4=floor($time/60/24); $t1=floor($time/60) % 24; $t2=$time % 60; if($t2 < 10) { $t3="0".$t2; } else { $t3=$t2; } if($t4) { $t5="$t4 years,"; } else { $t5=""; } if($t1) { $t1="$t1 weeks,"; } else { $t1=""; } if($t2 == 1) { $t2="< 1 day"; } else { $t2="$t2 days"; } print "<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url]</td> <td>$t5 $t1 $t2 </td> <td> {$r['fed_reason']}</td> <td>[url='viewuser.php?u={$r[']{$r['jailer']}[/url]</td></tr>"; } print "</table>"; $q=$db->query("SELECT * FROM users WHERE mailban>0 ORDER BY mailban ASC"); print "[b]Mailbanned users[/b]</center> If you ever swear or do bad things at your mail, your name will become a permanent part of this list... <table width=100% cellspacing=1 class='table'><tr style='background:gray'><th>Who</th><th>Days</th><th>Reason</th></tr>"; while($r=$db->fetch_row($q)) { print "<tr><td>[url='viewuser.php?u={$r[']{$r['username']}[/url]</td> <td>{$r['mailban']} </td><td> {$r['mb_reason']}</td><td></td></tr>"; } print "</table>"; $h->endpage(); ?>
-
Re: Hospital Time Can be used for fed too! - With a little editing of course!
-
[mccode] Reset your users without deleating them
Magictallguy replied to Redeye's topic in Free Modifications
Re: [v1 & v2]Reset your users without deleating them I know how to do it, but a *lot* of people don't. And I'm too tired to do it no was I've been awake for more than 24 hours (I don't like being up this long - I get grumpy! xD) -
[mccode] Reset your users without deleating them
Magictallguy replied to Redeye's topic in Free Modifications
Re: [v1 & v2]Reset your users without deleating them What about resetting staff too? xD