Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. I actually only just deleted you off my MSN 2 days ago... how weird is that. You return 2 days later... NOOB!
  2. Oh god it's that noob. Alright Craig/whatever, welcome back fella
  3. good job Zed :thumbsup:
  4. Delete yes bb i don't see the point but im sure Zeddicus will decide either way, bb praser would have to be coded due to existing ones being exploitable.
  5. Yeah i kind of just posted a mock up of what it would look like, would appreciate anyone's addons to it.
  6. If i win Wizard of the month i may need to get this lol
  7. alot of hammering happening in this thread..
  8. Zero-Affect

    Cya MWG

    Your going to leave MakeWebGames to learn how to make a game? Does that sound like a logical way of going about it? I don't mind helping on the easiest of subjects as most of the people on here probably wouldn't mind either, A lot of people learnt a lot from MWG why leave. Who cares if it's easier for other people, Your learning and that's what counts pal.
  9. yeah mate simple $staff_apps = ( $set['stafflock'] == 'Locked' ) ? '' : '[url="StaffApps.php"]Staff Applications[/url] ' ; echo $staff_apps;
  10. This is just something i was working on afew days back for my game and i thought i'd just run up a quick copy for MCC and post it here. // this is a rough setup $file_name = basename($_SERVER['SCRIPT_FILENAME']); // grab file name $grab_caution_files = $db->query("SELECT `filename`, `caution` FROM `caution_files` WHERE `filename` = '$file_name'"); // select the columns needed from the table whith the specifications. $fetch_cfiles = $db->fetch_row($grab_caution_files); // fetch above query if ( $ir['jail'] OR $ir['hospital'] ) { $caution_type = ( $ir['jail'] ) ? 'jail' : 'hospital' ; // user rather in jail or hospital } elseif ( $ir['jail'] AND $ir['hospital'] ) { $caution_type = 'jail/hospital'; // user in jail and hospital } if ( $fetch_cfiles['caution'] == $caution_type AND !empty( $caution_type ) ) { // check if the caution is one of the cautions and that it isn't empty $caution_type_test = ( $caution_type = 'jail/hospital' ) ? 'jail and hospital' : $caution_type ; // filter the caution type to look for jail/hospital and change / to and for echoing echo ' You cannot access this file when in '.$caution_type_test.'. '; // echo the complete text $h->endpage(); die; }   [mysql] CREATE TABLE IF NOT EXISTS `caution_files` ( `filename` text NOT NULL, `caution` enum('jail','hospital','jail/hospital') NOT NULL default 'jail/hospital' ) [/mysql] If someone could add staff functions to this im sure it would be great, Note i have not tested this out so please post any issues or errors and we'll see what we can do.
  11. $staff_apps = ( $set['stafflock'] == 'Locked' ) ? '<s>Staff Applications</s> ' : '[url="StaffApps.php"]Staff Applications[/url] ' ; echo $staff_apps; Give me a hand here mate, what type of error would be great.
  12. Sounds like a brilliant mod once again illusions :D
  13. ? Post count climbing - you'll have to do it properly to catch upto me darling ;) *kiss kiss*
  14. yeah *victory dance* glad i could help, next time try searching keywords it may help because there is thousands of posts out there in MWG.
  15. may i direct your two to off-topic
  16. use something like mccode-v2-items-pic-mod
  17. OMG i got something right! *victory dance*. @ Shad - Your welcome mate, any other issues just ask. @ seanybob - Lazy bugger lol
  18. Item_Add Hello, maybe i could direct your attention to a function in global_func.php   item_add($user, $itemid, $qty);   so where you have mysql_query("INSERT INTO inventory VALUES('',{$_GET['ID']},$userid,{$_POST['qty']},0);",$c); mysql_query("UPDATE users SET money=money-$price WHERE userid=$userid",$c); mysql_query("INSERT INTO itembuylogs VALUES ('', $userid, {$_GET['ID']}, $price, {$_POST['qty']}, unix_timestamp(), '{$ir['username']} bought {$_POST['qty']} {$itemd['itmname']}(s) for {$price}')", $c); you could add item_add($userid, $_GET['ID'], $_POST['qty']); $db->query("UPDATE `users` SET `money` = `money` - $price WHERE `userid` = $userid"); $db->query("INSERT INTO `itembuylogs` VALUES ('', $userid, {$_GET['ID']}, $price, {$_POST['qty']}, unix_timestamp(), '{$ir['username']} bought {$_POST['qty']} {$itemd['itmname']}(s) for {$price}')");
  19. I would post my version but i'd have to convert it to MCC and i'm too lazy (support page (345 lines), staff page (231) and outside sourced support will be about 400 lines). Sure someone will be able to post that easily and for free. I would suggest asking Zeddicus to post his Support Ticket system on MWG maybe someone will edit it.
  20. Flattery got me free hosting for 5 years with a unlimited package so i believe it gets me everywhere mate :P Now get to work for me for free :P look into my eyes not around my eyes but into my eyes, you gone, when i click my fingers you'll imagine i give you 2 grand and do that much work for me. *clicks fingers*. But seriously i've always admired your work, keep it up mate.
  21. $staff_apps = ( $set['stafflock'] == 'Locked' ) ? $T.'<s>Staff Applications</s> ' : $T.'[url="StaffApps.php"]Staff Applications[/url] ' ; echo $staff_apps; Replace your mainmenu code with above Note: make sure $T is predefined ($T = '> ';) and that $set is pulled somewhere.
  22. Zero-Affect

    Users online

    It ain't faster so why bother? use the class i mean it's there for a reason.
  23. actually it would be http://www.website.com/image.png change png to php via htaccess... but using getimagesize on view user fixes that basically
  24. He needs to refer to Paddy
×
×
  • Create New...