-
Posts
2,667 -
Joined
-
Last visited
-
Days Won
75
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
Re: [mod] Flash header all Versions of MCC Updated Flash File For those that cant find a suitable picture for a logo You can add text to the Blank space instead... create a file called logo.txt and insert this name=NAME OF YOUR GAME&enddata=1 Upload the logo.txt to the images/ folder where the Flash file is.. NOTE If you have a file called logo.jpg the flash will instantly select that rather than the TXT file so rename your logo.jpg to somthing else (if it isnt being used by any other file)
-
The flash header includes links for HOME, Inventory, Bank, Forums, Your Account.... Includes atmospheric background noises and if you want you can add your own logo picture.. PIC Pack comes with full install files and read me note.. http://www.nightdreamer2000.com/zenellion/headerpack.zip Have fun....
-
[mccode] How hard would it be and can it be done..
Uridium replied to Uridium's topic in Free Modifications
Re: How hard would it be and can it be done.. Thanks for that Nyna just i was fed up of seeing the words crystals and points on games would be nice to have the option of renaming them before the game installs. Im aware most of the mods and even the mcc refers to crystals but addin the post comment to selct from or insert into would be an ideal way for games to make their games that little bit different.. Thanks :) -
Ive been looking at the installer for the mccodes and i reckon with a bit of tweaking you could rename the items before the game is setup.. On the settings it has this when it installs... print "Main MySQL data was written. Now write Extra MySQL data. "; $username=$_POST['a_username']; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', '{$username}', md5('{$_POST['a_password']}'), 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['a_gender']}', unix_timestamp(), '{$_POST['a_email']}', -1, '$IP', '$IP')"); $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)"); $db->query("INSERT INTO settings VALUES(NULL, 'game_name', '{$_POST['game_name']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_owner', '{$_POST['game_owner']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'paypal', '{$_POST['paypal']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_description', '{$_POST['game_description']}')"); So my theory is if i wanted to change for example crystals for a user defined format i should be able to remove the word crystals from the INSERT INTO string and add ($POST['elemental_type']) as it shows in the insert into settings and for anything where the elemental_type would be involved in this case the word crystals it could be defined as anything... Obviously addint this before the count.. <tr> <td align='center'>Elemental type for game use</td> <td><input type='text' name='elemental_type' /></td> </tr> If ive gone barking mad then thats just me but is there a possabilty this can be done..
-
Seeing as im better at Flash than i am at coding lol heres a freebie Flash clock for your site. come with built in MP3 Track when you click on ILLUSIONS 2008 DEMO << DEMO OFFLINE AT MOMENT SORRY >> Also has a built in Calender. Dont worry about users from different parts of the globe the clock works off your PC so the time will always be right for everyone. Add this line to the html part of your header.php <param name="movie" value="clocktest.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="clocktest.swf" quality="high" bgcolor="#000000" width="130" height="140" name="clocktest" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> DOWNLOAD CLOCK www.brutalimpact.net/clocktest.zip
-
Quickest way to test your Crons without using cpanel
Uridium replied to Uridium's topic in General Discussion
Re: Quickest way to test your Crons without using cpanel yep sorry about that i just hate fecking Lemmings :) -
Quickest way to test your Crons without using cpanel
Uridium replied to Uridium's topic in General Discussion
Re: Quickest way to test your Crons without using cpanel if youve nothing good to say Feck off out of my post twat -
Re: [MOD] Item Market Auction Well i have to say that shines a new light on things your post made the most sense. as i said before im not good with how to secure an SQL injection and to be honest im not even sure how they do it. But all i know is everyone on this forum is helping someone else and then you get One Person who Bitches and the rest flock like lemmings. Which too me is uncalled for. But i would like to lean and know hwo the SQL injection system works so i can work on better coding routines.
-
Re: [MOD] Item Market Auction So what your basically saying then your watching people on here that dont know about the security isuuses on their games. so when some poor coder has worked months to get the site as they want it all the sleepless nights trying to get it up and running for the public. Unknowing that some day he's gonna get hacked. And that some person with the security knowledge is going to reep all the benefits by luring his players and watch his his hard work goes to ruins. Thats not a business mind thats just fecking evil.
-
Re: [MOD] Item Market Auction The script does work JD i tested it on two servers. but regards the injection bit im not up on the safety aspect of the code all i know is it works.. yes your right it would be nice to see this script with a more secure rating.. when i got the script of a dodgy website Granted it never worked but ive put a lot of my work into it to make it work and share with others.. The reason im not selling it for 1 its not mine 2 i dont see the point in charging for something when the Bloody stupid Mccodes Program cost the person $300 to begin with. So what you get for $300.. ATTACK doesnt work i spend more time getting a message saying bad bad girl... FORUMS. Was pointed out in previous posts to be very insecure HEADER. well thats just a waste of space you add html to any script and you get an heading error. Has anyone been on the Mono Country website lately half of theri site doesnt even work... But i can guarantee you this when they launch the next mccodes I bet you half the mods on this forum will be implemented into it in some way or another,,
-
Re: [MOD] Item Market Auction Ok long speech YAWN and bollox QUESTION was are the codes on here SAFE or NOT so a simple YES or NO would suffice. ?
-
Re: [MOD] Item Market Auction So what your saying is LostOnes script is more secure and yet this one is a paid mod and by the reading on Nynas Post is the most unsecure Mod made for the mccodes purchasers.... That doesnt make me feel good about purchasing any Paid script off here then Few quotes... But apparently the scripts already in cirulation here ? So the basics to that is NO SCRIPT on here is secure ? which is basically the same as itemmarkets and crystal markets. So to catagorise all the above info we find that MCCODES is insecure, people are charging others to have their websites hacked. and CriminalExistance is allowing this.. HMMMM time to find a better solution
-
I may not be great with mccodes, but with other formats of php im fine so heres one ive taken from my audio video site and implemented it into the mccodes. You can add the script to any page of your coding It works like an Iframe except you dont get all the mess. $location=$_GET['location']; if (empty($location)) { $location='index'; } changelocation($location); function changelocation($location) { include ('fairlight.html'); echo '<table cols="2" border="0" cellpadding="10" cellspacing="0" align="center" width="100%">'; echo '<tr>'; } Heres a brief Demo http://www.nightdreamer2000.com/zenellion/fairlight.html AND what it looks like when its all put together..
-
Re: [MOD] Item Market Auction Im hoping this one will solve the solution if not i will remove the post until i can make it safe.. Place below the include "globals.php"; on each page function escapeString($string) { if (get_magic_quotes_gpc()) $string = stripslashes($string); return mysql_real_escape_string($string); }
-
Re: [MOD] Item Market Auction Hmm okies how can it be made more secure im not up on the sql injections.
-
<< SCRIPT REMOVED >> Due to reading on the issue below ive decided to withdraw this post. Sory to those that wanted to use the script but i dont want to be the person who was responsible for your sites getting hacked so for everyones sake its been removed.
-
we cant always tell if crons are working but heres a simple solution This should only be done before launching your site to the public. ** NOTE ** Before you test any crons bare in mind that doing so will reset the time scale or increase the time scale firstly open a blank webpage in the url type http://www.yourdomain.com/cron_minute.php?XXXXXXXXX The XXXXXXXX denotes the code used from your setup you can find this by looking at your config.php file so just overwrite the x's with the code from that file.. TEST RESULTS Blank Screen when you press enter or the cron means all is working fine..... However if it fails it will tell you on which line to look at when you have fixed the error repeat the process for that failed file until its correct. repeat the process for day 5 minute hour or any other crons you have... The cron number will always be the same so you dont have to keep going back to config to find out what it is just alter the text from cron_minute to cron_hour and vice versa
-
It seems that this has already been done as can be seen on justin-cook.com and my remark that it may not have been has been proven wrong. So appologise's. for the similarity of scripts and to keep this fair i will be using justin-cooks script for this post.. call the file calc.php <?php include "globals.php"; //* Justin-cook.com // print "<h1>FairLight Calculator</h1> "; print "For those moments when you go brain dead "; ?> <form name="Calc" id="Calc"> <table border="4"> <tr> <td> <input type="text" name="Input" size="16" /> </td> </tr> <tr> <td> <input type="button" name="one" value=" 1 " onclick="Calc.Input.value += '1'" /> <input type="button" name="two" value=" 2 " onclick="Calc.Input.value += '2'" /> <input type="button" name="three" value=" 3 " onclick="Calc.Input.value += '3'" /> <input type="button" name="plus" value=" + " onclick="Calc.Input.value += ' + '" /> <input type="button" name="four" value=" 4 " onclick="Calc.Input.value += '4'" /> <input type="button" name="five" value=" 5 " onclick="Calc.Input.value += '5'" /> <input type="button" name="six" value=" 6 " onclick="Calc.Input.value += '6'" /> <input type="button" name="minus" value=" - " onclick="Calc.Input.value += ' - '" /> <input type="button" name="seven" value=" 7 " onclick="Calc.Input.value += '7'" /> <input type="button" name="eight" value=" 8 " onclick="Calc.Input.value += '8'" /> <input type="button" name="nine" value=" 9 " onclick="Calc.Input.value += '9'" /> <input type="button" name="times" value=" x " onclick="Calc.Input.value += ' * '" /> <input type="button" name="clear" value=" c " onclick="Calc.Input.value = "" /> <input type="button" name="zero" value=" 0 " onclick="Calc.Input.value += '0'" /> <input type="button" name="DoIt" value=" = " onclick="Calc.Input.value = eval(Calc.Input.value)" /> <input type="button" name="div" value=" / " onclick="Calc.Input.value += ' / '" /> </td> </tr> </table> </form> <? $h->endpage(); ?> Then add a link to anypage you want.. Quick Preview The preview image may vary..
-
Im aware that Mccodes has this function but ive just improved it slightly this mod will allow your users to view the USERES in an order of prefernce. ID USERNAME LEVEL GENDER ONLINE STATUS Open up userlist.php. Overwrite this line print " Order By: [url='userlist.php?st=$st&by=userid&ord=$ord']User ID[/url] | [url='userlist.php?st=$st&by=username&ord=$ord']Username[/url] | [url='userlist.php?st=$st&by=level&ord=$ord']Level[/url] [url='userlist.php?st=$st&by=$by&ord=asc']Ascending[/url] | [url='userlist.php?st=$st&by=$by&ord=desc']Descending[/url] "; with this one print" "; Then find this line print "Showing users $no1 to $no2 by order of $by $ord. <table width=75% cellspacing=1 class='table'><tr style='background:gray'><th>[url='userlist.php?st=$st&by=$by&ord=asc'][img=up.gif][/url] ID [url='userlist.php?st=$st&by=$by&ord=desc'][img=down.gif][/url]</th><th>Name</th><th>Level</th><th>Gender</th><th>Online</th></tr>"; and Overwrite with this one. print "Showing users $no1 to $no2 by order of $by $ord. <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>[url='userlist.php?st=$st&by=userid&ord=asc'][img=up.jpg][/url] ID [url='userlist.php?st=$st&by=userid&ord=desc'][img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=username&ord=asc'][img=up.jpg]Name<a href='userlist.php?st=$st&by=username&ord=desc'>[img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=level&ord=asc'][img=up.jpg]Level<a href='userlist.php?st=$st&by=level&ord=desc'>[img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=gender&ord=asc'][img=up.jpg]Gender<a href='userlist.php?st=$st&by=gender&ord=desc'>[img=down.jpg][/url] </th><th>[url='userlist.php?st=$st&by=laston&ord=asc'][img=up.jpg]Online<a href='userlist.php?st=$st&by=laston&ord=desc'>[img=down.jpg][/url]</th></tr>"; save these pics to your root or subfolder.. and and your done for those that have more than the above like money and staff then just add these two lines.. FOR MONEY </th><th>[url='userlist.php?st=$st&by=money&ord=asc'][img=up.jpg][/url]Online[url='userlist.php?st=$st&by=money&ord=desc'][img=down.jpg][/url]</th></tr>"; STAFF </th><th>[url='userlist.php?st=$st&by=user_level&ord=asc'][img=up.jpg][/url]Online[url='userlist.php?st=$st&by=user_level&ord=desc'][img=down.jpg][/url]</th></tr>"; The same principal can be Added to your Inventory also.
-
Re: [v1]Free Users Personal Page[v1] If you want to add your Personal Page to your Profile but not as a linked version. DONT create a file called personalpage.php just add this code before the $h->endpage() EDIT it woul help if i told you which file to put the code in.. open viewusers.php and place the code in there also if you already have this on your game remove the links on your viewusers.php that point to personalpage.php V2 Versions print " <table style='margin: 0 auto 0 auto; border: solid #929292 0px; width: 550px;'><tr style='background-color: #500001;'><td><p style='margin: 0 0 0 0; padding: 2px; text-align: center; font-weight: bold; color: #ffffff;'>You are viewing {$r['username']}s Profile Signature</p></td></tr> <tr style='background-color: #ececec;'><td><p style='text-align: center; margin: 0 0 0 0;'>{$r['ppage']} </tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $r=$db->fetch_row($q); if(!$r['ppage']) V1 version print " <table style='margin: 0 auto 0 auto; border: solid #929292 0px; width: 550px;'><tr style='background-color: #500001;'><td><p style='margin: 0 0 0 0; padding: 2px; text-align: center; font-weight: bold; color: #ffffff;'>You are viewing {$r['username']}s Profile Signature</p></td></tr> <tr style='background-color: #ececec;'><td><p style='text-align: center; margin: 0 0 0 0;'>{$r['ppage']} </tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $r=mysql_fetch_array($q); if(!$r['ppage']) $h->endpage(); Your users can now see your newly added profile from the profile page instead of clicking a link..... SCREEN SHOT
-
Re: Strip Club And as for all the Post moaning thread stealing LEMMINGS Read the above and take note,Then read the below note, Then ask yourself one Question is the blind leading the blind.
-
Re: Strip Club Hmm nice to see all the LEMMINGS have come out to play. haha or he is a 12 year old geek
-
A Donator Pack System all Mccoders will want....
Uridium replied to Uridium's topic in General Discussion
Re: A Donator Pack System all Mccoders will want.... THEN DONT USE IT ZERO!! But for those that do want to use it. The whole thing is Free the scripting from tufat is FREE the coding i did is FREE. when its all installed and set up how you want it you can have as many pages of grids as you like for all Dontaor Pack types. You add the Links to your game That correspond to the Correct Donator Priced Grid. When users have created an Account on the site and purchase a Donator Pack they can pay by any means possible not just the standard Paypal option... Users are more in control of their purchasing. You can send Multiple emails to Customers without using the games Emailbox.or making an announcement If you decide to make a Donator pack price higher or lower You dont have to keep editing any Coding on your games site. it can all be done Via the Admin Panel. The system lets you know instantly when Items were Purchased so you dont have to keep Checking any Staff logs for expirey dates. You can keep check of all payment transactions if a member has a problem with anything about a payment. Yes agreed you still have to send Donator packs out Manually via the staff panel. But im sure one day some bright spark will decide to make the mccodes script enable Donator Packs to be placed directly into your games Inventory..... -
A Donator Pack System all Mccoders will want....
Uridium replied to Uridium's topic in General Discussion
Re: A Donator Pack System all Mccoders will want.... Deception thats quite true you got me its useless lets take it down... Then again Is it ? -
A Donator Pack System all Mccoders will want....
Uridium replied to Uridium's topic in General Discussion
Re: A Donator Pack System all Mccoders will want.... put the 51 files in a zipped folder and share that? if you scroll up a few posts you will see i did add a zip for the file... incase ya missed it here it is again << ZIP REMOVED >>