-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
Nah didnt think you was shouting at me Sniko and I hope my post didnt come across the same..
-
Just to note you dont always need to use a code at the end of a Cron url and even if users manage to find the cron file to run, It still wouldnt work for them as its being called for by a file with a function to actually run the cron
-
adding code tags example [*php] at start of <?PHP and [*/php] will display the code neater remove the * from both
-
damn if he can get $20 for this i think i'll sell my version :)
-
Kryptonite this site does not hack or give refrerence to hacking of any games thread closed..
-
We are not a hacking forum end of Subject Thread Closed...
-
Only fools and horses
Uridium replied to Jordan Palmer's topic in Media Entertainment (FKA Tv Shows)
OFAH now what a programme that was one of the best sad day though when Learnard Pierece, Buster Merryfield, Kenneth Macdonald died the same year. You just dont get programmes like this anymore that show down to earth nitty gritty life styles. Some people didnt understand the nature of OFAH so disbanded it as a bad sit-com. With Ofah you either understood how they lived cos youd been there and done it or you just watched Dallas... Guess the laughter wont be the same now that John Sullivan has gone. -
well spotted and why didnt I think of that lol will now get round to updating the links...
-
HITMAN i gave up trying to find them i found them one then they changed the forum again
-
How to add an item to everyones inventory?
Uridium replied to Hendrickson's topic in General Discussion
Nicely helped out chicka :) thank you -
Player online attack limit once per 5 minutes
Uridium replied to Hendrickson's topic in Requests & In Production
but when attacked and they lose dont they usually end up in hosp for X amount of minutes ? -
This small mod will allow staff to decide which Links to show in inventory usually only SEND or EQUIP are hidden if you dont have items that do either so your left with SEND, ADD TO MARKET, or AUCTION, SELL which are always shown to the user but supposing we dont want RARE items to be sent to a user or added to the market. so heres how open up inventory.php find.. echo "</td><td>\${$i['itmsellprice']}</td><td>"; echo "$".($i['itmsellprice']*$i['inv_qty']); echo "</td><td>[<a href='iteminfo.php?ID={$i['itmid']}'>Info</a>] [<a href='itemsend.php?ID={$i['inv_id']}'>Send</a>] [<a href='itemsell.php?ID={$i['inv_id']}'>Sell</a>] [<a href='imadd.php?ID={$i['inv_id']}'>Add To Market</a>]"; and replace with print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); print "</td><td>{$lt}</td></td>"; print "</td><td>[<a href='iteminfo.php?ID={$i['itmid']}'><small>Info</small></a>]"; /* test for link action */ if($i['showsend'] == 1) { print " [<a href='itemsend.php?ID={$i['inv_id']}'><small>Send</small></a>]"; } else { print""; } if($i['showmarket'] == 1) { print " [<a href='itemmarket.php?page=Add&Item={$i['inv_itemid']}'><small>Market</small></a>]"; } else { print""; } if($i['showauction'] == 1) { print " [<a href='auctionadd.php?ID={$i['inv_id']}'><small>Auction's</small></a>]"; } else { print""; } Ive just added 3 cut off switches showauction, showend and showmarket if you have more then just keep adding to it.. Now open up staff_items.php where you create your new item find <b>Usage Form</b> and above it add <hr /> <b>Usage Links: From here you can Switch on or off links visible for this item</b><hr /> <b>Show Send Link</b> <input type='radio' name='showsend' value='1' /> Yes <input type='radio' name='showsend' value='0' checked='checked' /> No<br /> <b>Show Market Link</b> <input type='radio' name='showmarket' value='1' /> Yes <input type='radio' name='showmarket' value='0' checked='checked' /> No<br /> <b>Show Auction Link</b> <input type='radio' name='showauction' value='1' /> Yes <input type='radio' name='showauction' value='0' checked='checked' /> No<br /> <b>Show Give To Clan Link</b> <input type='radio' name='showgiveclan' value='1' /> Yes <input type='radio' name='showgiveclan' value='0' checked='checked' /> No<br /> <hr /> now goto the INSERT INTO part and add this (ONLY IF YOU HAVENT MODIFIED YOUR COPY) $m=$db->query("INSERT INTO items VALUES('',{$_POST['itmtype']},'$itmname','$itmdesc',{$_POST['itmbuyprice']},{$_POST['itmsellprice']},$itmbuy, '{$_POST['showsend']}','{$_POST['showmarket']}','{$_POST['showauction']}','{$_POST['showgiveclan']}','{$_POST['effect1on']}', '$efx1', '{$_POST['effect2on']}', '$efx2', '{$_POST['effect3on']}', '$efx3', $weapon, $armor)"); Now for the EDIT ITEM part add Item Sell Value: <input type='text' name='itmsellprice' value='{$itemi['itmsellprice']}' /> <hr /> <b>Usage Links: From here you can Switch on or off links visible for this item</b><hr /> <b>Show Send Link</b> <input type='text' name='showsend' value='{$itemi['showsend']}' style=\"width:25px;\" maxlength=\"1\"/> Yes = 1 OR No = 0 <br /> <b>Show Market Link</b> <input type='text' name='showmarket' value='{$itemi['showmarket']}' style=\"width:25px;\" maxlength=\"1\"/> Yes = 1 OR No = 0<br /> <b>Show Auction Link</b> <input type='text' name='showauction' value='{$itemi['showauction']}' style=\"width:25px;\" maxlength=\"1\"/> Yes = 1 OR No = 0<br /> <b>Show Give To Clan Link</b> <input type='text' name='showgiveclan' value='{$itemi['showgiveclan']}' style=\"width:25px;\" maxlength=\"1\"/> Yes = 1 OR No = 0<br /> <hr /> before USAGE FORM and the UPDATE is $m=$db->query("INSERT INTO items VALUES('{$_POST['itmid']}',{$_POST['itmtype']},'$itmname','$itmdesc',{$_POST['itmbuyprice']},{$_POST['itmsellprice']},$itmbuy, '{$_POST['showsend']}','{$_POST['showmarket']}','{$_POST['showauction']}','{$_POST['showgiveclan']}', '{$_POST['effect1on']}', '$efx1', '{$_POST['effect2on']}', '$efx2', '{$_POST['effect3on']}', '$efx3', $weapon, $armor)"); and add the new SQLS to phpmyadmin ALTER TABLE items ADD showsend TINYINT(2) NOT NULL DEFAULT 0; ALTER TABLE items ADD showauction TINYINT(2) NOT NULL DEFAULT 0; ALTER TABLE items ADD showmarket TINYINT(2) NOT NULL DEFAULT 0; ALTER TABLE items ADD showgiveclan TINYINT(2) NOT NULL DEFAULT 0; and your done
-
erased cron by accident, where can I find code?
Uridium replied to marvin's topic in General Discussion
if its V2 look in your config.php file for the key then look in installer.php at bottom for how to set them up -
Im not sure wether to delete this post or keep it, its that damn clown its so charming ;)
-
One concern about this script does it still allow users to evade URL attacks IE by just changing URL name to say index.php and getting out of fight
-
I was working on a Friends site and was kind annoyed at how all Items on any MCC inventory where laid out so heres what i created for him.. The two images below can be hidden and show in inventory thus creating less space also Links can be setup when creating and item to allow it Not to be sold or given to users if its a rare item or any item that you dont want users to have..
-
Pulling whats left of my hair out please help
Uridium replied to Bennyh789's topic in Modification Support
My main reason for this when i had a site was the HTACCESS file remove it to pc delete off site if site works fine thats your problem if not send it back to site -
mccode-v2 [EDUCATION MOD] Totally Re-worked with many additional Options.
Uridium replied to Uridium's topic in Free Modifications
Too be honest I made this ages ago and cant really remember what I amended or added I dont currently have a backup either due to a Hard drive crash which i lost ALL of my work. The only exsisting work i have is what is on magical-myth.com but that is a paid mod.... -
or $rr=$db->query("SELECT * FROM referals WHERE refREFER='".$r[userid]."'");
-
is this for mccodes or another engine
-
on your users dbase do you have the mentioned of marriage or spouse ? and does it give the ID of the person whos married
-
Seasons 1 - 8 Showing on Veetle >> http://veetle.com/v/4e0bf2a697db9
-
Ive had a crack at Unity and the other program called Autodesk but couldnt get my head round it...
-
I have to sy MONK is probably one of if not probably the best detectiion programmes ive seen. Tony Shaloub plays the Character with excellence Ive got the Entire series on me comp which i watch regular.. More info on monk can be found on Wikipedia for those not familiar with the character.. http://en.wikipedia.org/wiki/Monk_(TV_series)