-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
Re: Honor Awards - V2 - Modified by HarryB Harry does this Mod Need a Cron ? as i exchanged one of my honors and now im getting a message saying that i cant honor anymore ? how do i reset it or is there a Cron involved
-
Re: Advanced Dating (v1) Either my day crons arnt working or theres something wrong as the 8 hours it says to complete a date isnt working even after 24 hours ..
-
How to Make you rmarried Stats Display in viewuser.php
Uridium replied to Homicidal's topic in General Discussion
Re: How to Make you rmarried Stats Display in viewuser.php I have actually got this in the viewuser.php Problem is that everyone is married to the same person Example Beth views johns profile jon is married to beth. Beth then views harrys profile and harry is married to john. Beth views 20 other peoples Profiles and finds john is amrried to them all. And when john Viws Beths he sees shes married to everyone too,, How can this be stopped... I'll post the code im using.. For refernce. -
Re: [MOD] Voice Mail ? I statede above that this would shut down when email box is empty.. I mis-worded that what i mean was when you have read the new email thats when the voice shuts down.. Dont want people thinking they have to completely empty their email box to shut it off.. Sorry if my wording has caused some confusion.. Regards the mp4 i tried to keep the feature as small as possible so its not taking up too much bandwidth when played. Im aware this mod is not even longer than 2 lines but the feed back from it has been enormous..
-
Im hoping someone can help me with this when my members stale mate they get a message saying that they shuld have trained harder then for some reason they are unable to attack again unless i goto my PhpMyAdmin under Users/Attacking/Attcking and remove the number thats there usually the number is 252.and replacing with zero This is the only way ive found that will unban them if unban is the wrong word,,,
-
Re: [MOD] Voice Mail ? Just to mention as i forgot and incase people as the swf doesnt display on screen you will hear the voice of the alert but the swf will be hidden... the beauty of using flash to pm the message is you can add what ever you like to it.. If you want the flash to display a message make sure that the code above has the option of hidden="true" to hidden="false" you can now display the Flash and the message..... For those that want a voice generated Pm try out http://public.research.att.com/~ttsweb/tts/demo.php Its a Text to voice Generator has male and female voices and different Languages.. I suggest you play with the text as sometimes they dont sound like the should so for example if you were want to say.. "A new private message has arrived" you would be better typing it into the Vocal text as " Ay New Voice Mess age has Arrived" the spaces denote the lengh to pause.. then you can save your voice text and place it into your newpm.fla file
-
ok this is a very small mod but i think it will keep you members happy.. This will send out a Human voice when your members recieve an email. Shuts down when Email box is empty.. open up mainmenu.php Just Replace this line which on mine is about line 35 if($mc > 0) { print "[url='mailbox.php']<font color=yellow>Read New ($mc)[/url] </font>[img=greenemail.gif] "; } With this one Below if($mc > 0) { print "[url='mailbox.php']<font color=yellow>Read New ($mc)[/url] </font>[img=greenemail.gif]<embed type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' width='0' height='0' name='newpm' src='newpm.swf' bgcolor='#DDDDDD' quality='high' swLiveConnect='true' allowScriptAccess='samedomain' hidden='true'></embed></object> "; } Ive included 1 file that needs to be placed in your root folder or subfolder you will have to download the newpm.zip from my server as i cant attach it to this post again place it in either root or sub. http://www.nightdreamer2000.com/newpm.zip
-
Re: Tournaments mod For V2 << Removed >> by illusions
-
Re: Tournaments mod For V2 Im also getting this Error anyone actually got this working and if so could you post your fix please it would be appreciated.
-
Re: [Free] [v1] Monkey Slaves Im more impressed to the fact i got it work lol im no PHP. Not that im saying it didnt it just had a few things that didnt want to happen.. Im no PHP coder never was really what i know from PHP is what ive learn't from making mistakes and trying to fix them as with your monkey slaves script. I noticed on your New Post at the beginning the script looks totally different yet does the same thing. See I cant do that i have to, have the code infront of me and just alter bit by bit uploading everytime i make a change and see what happens. It is a good feeling though when something happens that didnt happen when you first got the script. Ive often tried taking bits from scripts that are not even related to MCCodes and seeing what the outcome would be,,, Sometimes it works sometimes you get the errors from hell. Well thats enough about my coding experiences lol But one thing i have learnt through all this is. You dont get to sleep much once youve started working on something lol
-
Re: [Free] [v1] Monkey Slaves Now this script annoyed the hell out of me.. when you rabn out of cash you could still buy slaves.. which sent your balance to - then you would get Cash for your searches which granted was displayed up until the point you found some more cash then it would end up showing the new amount you had found instead of the old+the new. So i sat up all night drinking coffee and kicking the cat. And finally got the darn thing to work. ;) Call the file monkeysearches.php and if your going to call it something else then make sure you change all the current URLS to point to your new one on the script.... V2 Version... <?php include "globals.php"; echo "<center><h3> Slaves Search Central</h3> <table border='1' width='80%'><tr><td align='center'><u>Slaves Stats</u></td></tr> <tr><td> - Your Slaves: {$ir['monkeys']} - Slaves Hunger: {$ir['monkey_hunger']} </td></tr><tr><td align='center'> <u>Slave Options</u></td></tr><tr><td> Buy Slaves: <form action='monkeysearches.php' method='POST'> <input type='text' name='amount'> <input type='submit' name='submit' value='Buy'> </form> ($20000 per slave) <td align='center'>[ [url='monkeysearches.php?go=feed']Feed slaves ($2000 per slave)[/url] ] <td align='center'>[ [url='monkeysearches.php?go=search']Search (10 Hunger)[/url] ] </td></tr></table> "; if ($_POST['amount']>'0') { $_POST['amount']= abs(@intval($_POST['amount'])); $price=$_POST['amount']*20000; if ($ir['money']<$price) { echo "Sorry you do not have enough!"; $h->endpage(); exit; } echo "You bought {$_POST['amount']} Slave(s)!"; $amount=htmlspecialchars(mysql_real_escape_string($price)); $newmonkeys=$ir['monkeys']+$_POST['amount']; $newmoney=$ir['money']-$amount; $db->query("UPDATE users SET monkeys='$newmonkeys' WHERE userid=$userid"); $db->query("UPDATE users SET money='$newmoney' WHERE userid=$userid"); $h->endpage(); exit; } if ($_GET['go']=='feed') { $moneyrequired=$ir['monkeys']*2000; if ($ir['money']<$moneyrequired) { echo "<h3>You dont have enough cash to feed your slaves!</h3>"; $h->endpage(); exit; } if ($ir['monkey_hunger']>='100') { echo "<h3>Your slaves dont need feeding!</h3>"; $h->endpage(); exit; } echo "<h3>You fed your slaves! they now feel refreshed!</h3>"; $db->query("UPDATE users SET monkey_hunger='100' WHERE userid=$userid"); $db->query("UPDATE users SET money=money-$moneyrequired WHERE userid=$userid"); $h->endpage(); exit; } if ($_GET['go']=='search') { if ($ir['monkeys']<'1') { echo "<h3>It would help if you bought a slave first!</h3>"; $h->endpage(); exit; } if ($ir['monkey_hunger']<'10') { echo "<h3>Your slaves are to hungry to search!</h3>"; $h->endpage(); exit; } $rand=mt_rand(1,3); if ($rand=='1') { echo "<h3>Your Slaves find {$ir['monkeys']} crystals !</h3>"; echo " [url='monkeysearches.php?go=search']Try Again[/url]"; $crystals=$ir['monkeys']+$ir['crystals']; $safecrystals=mysql_real_escape_string($crystals); $db->query("UPDATE users SET crystals='$safecrystals' WHERE userid=$userid"); $db->query("UPDATE users SET monkey_hunger=monkey_hunger-10 WHERE userid=$userid"); $h->endpage(); exit; } if ($rand=='2') { $randcash=mt_rand(1,500); $cash=$ir['money']+($ir['monkeys']*$randcash); $newcash=$ir['money']+($ir['monkeys']*$randcash); $safecash=mysql_real_escape_string($newcash); echo "<h3>Your slaves found you $$randcash!</h3>"; echo " [url='monkeysearches.php?go=search']Try Again[/url]"; mysql_query("UPDATE users SET money='$safecash' WHERE userid=$userid", $c) or die(mysql_error()); mysql_query("UPDATE users SET energy=energy-3 WHERE userid=$userid", $c); mysql_query("UPDATE users SET monkey_hunger=monkey_hunger-10 WHERE userid=$userid", $c); $h->endpage(); } if ($rand=='3') { echo "<h3>Your slaves didnt find Nothing Zilch Nada!</h3>"; echo " [url='monkeysearches.php?go=search']Try Again[/url]"; $db->query("UPDATE users SET monkey_hunger=monkey_hunger-10 WHERE userid=$userid"); $h->endpage(); exit; } } $h->endpage(); ?> LAID TO REST THANK GOD ;)
-
Re: Item Type Upgrade Too be honest the fact that the Delete File Types wasnt introduced into the game is beyond me or even edit item types we all have typos seems those that created the script thought we were all Dictionary enthusiasts.. Yes your right it would have been easier but when i tied to implement the drop down method for some reason although it said the Item was Deleted it still remained on the list even after refreshing. When i tested the text option that worked without fail so i just left it as it was...
-
Re: Item Type Upgrade Just an update ive managed to work out how to ammend Typos in item names also been playing with the staff list and added.. Gallery Edit. = This allows you to change the Profile Picture of any User you find to be Offensive also sends the User a Message of why you had to change their picture... 13under = If your game doesnt have an age rating any swear words will be replaced with the words OOOPS! or '#%$'# Off/On..Pic. Allows you to Turn off Game images. Bugrep: Sends an auto message to the person sending in a bug report with the message. Your Report has ben submitted to a member of staff. Thank you. Also sends a staff message to the person dealing with Certain Bug Topics... Rain on/off: Allows you to mimic weather conditions Rain ON will produce a rain effect of / floating down the screen to resemble rain droplets.. Closeshop: Allows you to Close any shop in the game for a certain lenght of time as would happen in normal day life.. Ive completed two of these scripts and are working on the rest will keep you updated. Some of the scripts will be charged some will be free...
-
Re: updated login.php Well I have to admit yours does look good infact its very good I take my hat off to your accomplishments. Well done. I wont show my attempt as its feeble runnish and i only got the script to learn about how MCCodes work lol
-
Re: updated login.php Sorry are you Gloating ?? I still Prefer Skulls as its his First attempt. ;)
-
Re: Item Type Upgrade Sorry about that guys just after I posted the screen shots i had to leave and never got chance to post the coding..The above code was for the Delete but without the Drop down option. The below code Adds the drop down option.. Firstly open staff_items.php Find this line. should be around Line 15 if you havent added any extras.. Then add this line below it. (If the above line ends with "; on yours Delete it.) case 'remitemtype' : rem_item_type(); break; //Function Edit for Item Type by illusions Look for these codes should be near bottom of page Then Add this before it function rem_item_type() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } if($_POST['remname']) { $d=$db->query("SELECT * FROM itemtypes WHERE itmtypename='{$_POST['remname']}'"); while($a=mysql_fetch_array($d)) { $db->query("DELETE FROM itemtypes WHERE itmtypeid='{$a['itmtypeid']}'"); print "Item Type <font size='4'>[b]{$_POST['remname']}[/b]</font> Was Succesxfully Removed."; } stafflog_add("Removed item type {$_POST['remname']}"); print "<h3>Remove Another Item Type ?</h3><hr /> Currently Available Item Types: ".itemtype_dropdown($c,'itmtype',$itemi['itmtype'])." <form action='staff_items.php?action=remitemtype' method='post'> Type In Item Name You WIsh To Delete: <input type='text' name='remname' /> <input type='submit' value='Remove This Item Type' /></form> "; } else { print "<h3>Remove Item Type Use Drop Down to View Current Items</h3><hr /> Currently Available Item Types: ".itemtype_dropdown($c,'itmtype',$itemi['itmtype'])." <form action='staff_items.php?action=remitemtype' method='post'> Type In Item Name You WIsh To Delete: <input type='text' name='remname' /> <input type='submit' value='Remove This Item Type' /></form> "; Now open up ssmenu.php and on line 44 look for this statement. Again yours may have then "; at the end so delete them and add this line. > [url='staff_items.php?action=remitemtype']Delete Item Type[/url] "; Upload both to your server and your ready to Go Sorry about the delay in posting this.. Illusions
-
Re: updated login.php That looks better Not there was anything wrong with your last attempt. One thing i would do though as a bit of advice is on the Reg page try to centralise it as its too far left.. try changing the % to about %100 for both tables then use the <center> command
-
Re: Edit Item Type Code Solved Actually lol im already in the process of doing that one lol May also include an Add Picture to Item Type aswell now that ive got the Picture one solved from this post http://criminalexistence.com/ceforums/index.php?topic=18505.0
-
Re: Edit Item Type Code Solved Id like some feed back on this as its my First attempt at solving anything on the MCC. If anyone received error messages whilst applynig the above code and so on. I tested it on Firefox and IE and it worked fine for me.
-
Here are a few Shots of the Staff Area on V2 for Adding/Deleting Item Types Which Ive upgraded... Image 1: Image 2: Image 3:
-
Mccodes V2 Normal Bank.php NO FEES!
Uridium replied to ~Destiny-Gaming~'s topic in Free Modifications
Re: Mccodes V2 Normal Bank.php NO FEES! I dont understand why they had the silly thing in the first place i mean putting money into the bank should be free anyway and its not as though the game is actually using the Pad Addon they are just being ripped off . -
Re: Edit Item Type Code Solved Bump
-
Ok so ive been banging my brains for days trying to solve this thing and finally I managed it :) Firstly open up smenu.php Just After this line Add remove the "; before Adding next line Then Open Your staff_items.php Look for Then Add This Line Underneath it. Then just before Add this Coding so that the Bottom final part looks like You can Now Delete Item Types from the game without going into phpmyadmin..
-
Re: Header.php [New/Imrpoved] YEP im using your Menu system on mine and i likessss it a lot ;) Now pass me a beer ;) lol
-
Re: Header.php [New/More Imrpoved] Ok just to put this matter to rest i spoke with Mr Google and they say.. What does "SLANG" mean? Slang Slang consists of very informal expressions or words which normally feature in speech rather than writing and are used by people who know each other well or who have the same jobs, backgrounds or interests. They often relate to sex, drink, drugs, relationships, social groups, etc. They are often fairly strong in emotive terms and may sometimes be found offensive to people outside the group. Examples: # It may be big bucks to you, but it's chickenfeed to me. # So, who came to this knees-up, then? # My ex was absolutely bonkers. # We'll have to get some booze in for tonight. Big bucks denotes a large amount of money (bucks are dollars); Chickenfeed is small change; Knees-up = party; My ex = former boyfriend or girlfriend; Absolutely bonkers is very crazy or unpredictable; Booze is alcohol, just as a boozer is a pub or someone who drinks a lot of alcohol. idiomatic expressions Idiomatic expressions are combinations or collocations of words which cannot be translated word for word. Thus: * I could eat a horse. is an idiomatic way of saying: * I'm very hungry. Idiomatic expressions are extremely common and are found in all kinds of English, both formal and particularly informal. But do not make a special effort to learn them. There are too many. You will learn the most common naturally through the learning material that you are using. And it is much better to be accurate when using non-idiomatic English than inappropriate when using an idiom. For example, it is better to say: * It's raining very hard out there. than: * It's raining cats and dogs out there. which has gone out of fashion. As a learner, it may be difficult for you to know what idioms are in fashion and which are not. Idiomatic expressions with 'out' Good dictionaries will usually list idiomatic usage of words after the literal meanings are given. Thus after the literal definitions of out, you may find the following idiomatic usages listed and illustrated: Examples: * I was so tired I went out like a light. * I've never seen such behaviour: he was completely out of order. These two are in current use. (As a rule of thumb, if you come across idiomatic expressions more than once in your study of contemporary English, they are probably current). To go out like a light is to fall asleep or unconscious instantly. The allusion is to falling asleep immediately like switiching off a light. If someone is out of order, they have acted in bad taste or their behaviour is unacceptable. Note that the primary meaning of out of order relates to machines that are not working or are not in good order: Examples: # Go and put this out-of-order notice on the photocopier. It's not working again. # He was totally out-of-order. I can't believe he was so rude to her. Euphemisms A euphemism is a polite word or expression that people use when they are talking about something which they or other people may find unpleasant, upsetting or embarrassing. When we use euphemisms we are protecting ourselves from the reality of what is said. There are many euphemisms that refer to sex, bodily functions, war, death, etc. Euphemisms are often good examples of idiomatic language use. Examples: # He passed away (i.e. died) after a long illness (i.e. cancer). # I decided to come out (i.e. admit to being homosexual). I didn't want to be outed (i.e. allow others to let it be known that I am homosexual). # It's no good. I can't hold it in. I shall have to spend a penny (i.e. urinate). # We keep the adult (i.e pornographic) magazines on the top shelf and the adult videos under the counter. # You know that we're in the middle of a rightsizing exercise (i.e. compulsory redundancy programme). We have no alternative but to let you go (i.e. sack you). # Many of the outlying villages suffered collateral damage (i.e. civilian deaths). Spend a penny derives from the days when there were door locks on the outside of cubicles in public lavatories which could only be opened by inserting one old penny into the lock. This was not just the pre-euro era. It was the pre-decimal era. The expression is still in frequent use today. Collateral damage is unintended damage and civilian casualities and deaths caused by the dropping of bombs in the course of a military operation. The term is of US origin and was first used to describe deaths in the Vietnam War, then in the Gulf War, then in the action (euphemism!) in Serbia at the end of the 1990s and most recently in Afghanistan. So as you can plainly see Slang means to Slang.. I rest my fingers ;)