Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,667
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Uridium

  1. Yes im 40 tody 2nd may im an mccoder whos 40 beat that lol Thanks everyone for your support ove the past 2 years and i hope ive given you all something decent to work with from my mods.... :)
  2. In the english language we have words that sound the same but mean different things or words that are spelt Differently sound the same and mean differernt things how many can you list. I'll start you off Fair = As in Attraction Fair = As in she has fair hair fare = As in Bus Fare.
  3. Nah your users will give you general feedback on gameplay you have to remember they are the ones that will be using it more than yourself. Oh and i see you play the Piano me also ;)
  4. How do you add this again ;)
  5. Im sure i posted a script for this IE the Theme Changer unless thats not the one you require.
  6. One that everyone forgot to mention and probably the most important ;) Plenty of members lol ;)
  7. doquest.php Try this one   <?php $macropage="doquest.php?c={$_GET['c']}"; include "globals.php"; if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } $_GET['c']=abs((int) $_GET['c']); if(!$_GET['c']) { print "Invalid quest"; } else { $q=mysql_query("SELECT * FROM quests WHERE questID={$_GET['c']}",$c); $r=mysql_fetch_array($q); if($ir['brave'] < $r['questBRAVE']) { print "You do not have enough Brave to perform this quest."; } else { $ec="\$sucrate=".str_replace(array("LEVEL","questXP","EXP","WILL","IQ"), array($ir['level'], $ir['questxp'], $ir['exp'], $ir['will'], $ir['IQ']),$r['questPERCFORM']).";"; eval($ec); print $r['questITEXT']; $ir['brave']-=$r['questBRAVE']; mysql_query("UPDATE users SET brave={$ir['brave']} WHERE userid=$userid",$c); if(rand(1,100) <= $sucrate) { print str_replace("{money}",$r['questSUCCESSMUNY'],$r['questSTEXT']); $ir['money']+=$r['questSUCCESSMUNY']; $ir['crystals']+=$r['questSUCCESSCRYS']; $ir['exp']+=(int) ($r['questSUCCESSMUNY']/8); mysql_query("UPDATE users SET money={$ir['money']}, crystals={$ir['crystals']}, exp={$ir['exp']},questxp=questxp+{$r['questXP']} WHERE userid=$userid",$c); if($r['questSUCCESSITEM']) { item_add($userid, $r['questSUCCESSITEM'], 1); } } elseif(rand(1, 2) == 1) { print $r['questFTEXT']; } else { print " [url='doquest.php?c={$_GET[']Try Again[/url] [url='quest.php']quests[/url]"; } } } $h->endpage(); ?>   tested and works for me if your still having issues then remove all that was mentioned for globals.php
  8. try   on (rollOver) { playSound("me.mp3"); } on (release) { getURL("gamerules.php", "_self","POST"); } ----------------------- OR TRY   on (rollOver) { playSound("me.mp3"); } on (release) { getURL("gamerules.php", "_self", ""); } If your script doesnt need to post or get
  9. Ive removed the ----------------------------------------   from the above SQL so try it now :) [mysql]CREATE TABLE `quests` ( `questID` INT( 11 ) NOT NULL AUTO_INCREMENT , `questNAME` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questBRAVE` INT( 11 ) NOT NULL DEFAULT '0', `questPERCFORM` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questSUCCESSMUNY` INT( 11 ) NOT NULL DEFAULT '0', `questSUCCESSCRYS` INT( 11 ) NOT NULL DEFAULT '0', `questSUCCESSITEM` INT( 11 ) NOT NULL DEFAULT '0', `questGROUP` INT( 11 ) NOT NULL DEFAULT '0', `questITEXT` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questSTEXT` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questFTEXT` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questXP` INT( 11 ) NOT NULL DEFAULT '0', PRIMARY KEY ( `questID` ) , FULLTEXT ( `questNAME` , `questPERCFORM` , `questITEXT` , `questSTEXT` , `questFTEXT` )) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci ;[/mysql] [mysql] CREATE TABLE `questgroups` ( `qgID` INT( 11 ) NOT NULL AUTO_INCREMENT , `qgNAME` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `qgORDER` INT( 11 ) NOT NULL DEFAULT '0', PRIMARY KEY ( `qgID` )) ENGINE MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci ;[/mysql]
  10. silly thing 1 sec :)
  11. Nah not really but i suppose the above does help later on... 1 = Getting your maths right is a good idea 2 = Research is always a good thing into the type of game your making 3 = Spreadsheets help a great deal and will enable you to keep everything clear and up to date... 4 = Graphics should be the last thing last a game sees.
  12. Damn 4 lines i could have made thousands on MWG lol...
  13. Kartoonz which PHP file are you viewing when this happens
  14. [mysql]CREATE TABLE `quests` ( `questID` INT( 11 ) NOT NULL AUTO_INCREMENT , `questNAME` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questBRAVE` INT( 11 ) NOT NULL DEFAULT '0', `questPERCFORM` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questSUCCESSMUNY` INT( 11 ) NOT NULL DEFAULT '0', `questSUCCESSCRYS` INT( 11 ) NOT NULL DEFAULT '0', `questSUCCESSITEM` INT( 11 ) NOT NULL DEFAULT '0', `questGROUP` INT( 11 ) NOT NULL DEFAULT '0', `questITEXT` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questSTEXT` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questFTEXT` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `questXP` INT( 11 ) NOT NULL DEFAULT '0', PRIMARY KEY ( `questID` ) , FULLTEXT ( `questNAME` , `questPERCFORM` , `questITEXT` , `questSTEXT` , `questFTEXT` )) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci ; CREATE TABLE `questgroups` ( `qgID` INT( 11 ) NOT NULL AUTO_INCREMENT , `qgNAME` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `qgORDER` INT( 11 ) NOT NULL DEFAULT '0', PRIMARY KEY ( `qgID` )) ENGINE MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci ;[/mysql]   That should work you just missed a ; after COLLATE utf8_unicode_ci
  15. Some of you are aware and some of you may not be, but a few weeks ago I had to have a 2 day stay in hosp seems my old ticker isnt funtioning right and I may need Surgery to correct it... However since ive been doing mods for mcc and the late hours i stay up isnt helping me much ive decided to either carry on and become more ill or call it a day. So its with regret i chose the second option as i want to see my daughter grow up and be a proper dad to her.. and also see tomorrow. so ive decided to no longer create mods for MCC (YES AGAIN) but im really afraid this is it. The long hours is just too much...... The current workload ive put myself through not just with MCC but with futurenuke( PHPNUKE), Tufat and many clan games has made me think its about time i slowed down a bit. Strange how something like this makes you realise how fragile you really are. So to everyone im sorry for the mods ive promised and never published. But its either your game or my health and im afraid your game means sod all to me regrads my health...   Again Sorry...
  16. Ok ive been for beer so bare wth ne ;) open up globals.php and erase include header.php with if($gender='m') { require "maleheader.php"; } else { if($gender='f') require "femheader.php"; }   Now ya can have 2 themes one for the ladies and the other for the gay population ;) AYE ;) Right im off to puke ;)
  17. Silly question :) If one or more users have mass ammounts of cash and are able to exploit the lottery wouldnt that be unfair. My theory is let a user buy a certain amount of tickets and it wont let them buy anymore until other players have bought some and even then lets say joe bloggs buys 25 more tickets then others are able to buy some coz Joe has reset the ticket sales to 25 so others can buy...
  18. Some time ago i made a Mod that resulted in weapons being damaged from attacking or attacked and for the life of me i cant find it here on MWG has anyone got the Original version i wrote and could you post it for me as i want to revamp it. Im aware the older version was crap Hence why i want to try and upgrade it with other options.... Cheers
  19. making a file called lottery_cron.php would be easier than using the day cron that way you wont messup your days when running the cron fro just the lottery...
  20.   Hmm i cant remember posting a comment like this ? Not like me to abuse a user on here....
  21. Bang me down aswell even if its only for ideas (MWG DevF BBC ITV ABC NBC) ;)
  22. what a load of shite and thats me being honest
  23. Is it me or does the Links on his Image Menu keep repeating themselves
  24. yep its working 100% fully tested found no problems
  25. These are two points i have overlooked Regards 2 = I could always shift the Admin mails to a different box so this wouldnt be effected. Regards 1 = This is something i will have to work out so it may look like its back to me thinking outside the box again on this one. Thank you for your Comments. These are things i should have thought about..
×
×
  • Create New...