Haunted Dawg Posted March 4, 2008 Posted March 4, 2008 Hey There, I want some ideas of mods so i can create and sell/give away. Here is what i offer: Free mods will be: 2 files sqls Paid mods will be: 2+ files sqls images etc... If the mod is 2 files or less i will give it away for free if its 2+ files i will charge about $5 - $30 my highest priced mod every made was $25 wich was actualy like 16 files. This mod will be created during the week days on my spare time but i will make them. IDEAS MUST BE UNIQUE and by unique i mean no one has created this YET. Thanks you can either contact me here or via msn [email protected] Quote
Haunted Dawg Posted March 4, 2008 Author Posted March 4, 2008 Re: Ideas... Lost one i sold the mod bieng a 16 file but then i actualy changed it all into 2 files and now if you dont have nothing nice to say bye bye! Quote
YoungGold Posted March 4, 2008 Posted March 4, 2008 Re: Ideas... hmm...nice to know were speaking to a mature kid... Quote
Haunted Dawg Posted March 4, 2008 Author Posted March 4, 2008 Re: Ideas... I do not have a problem with your grammer as i know you just want to prove to people here that you can talk. But i bet you dont talk like you talk here on msn do you? And what i mean is: IF YOU DONT HAVE NOTHING NICE TO SAY THEN SHOVE IT UP YOUR ASS. Quote
Miniman Posted March 5, 2008 Posted March 5, 2008 Re: Ideas... I have an idea, It's something that sounds good to me :) User's can buy an item from the shops named "Poision" and if you have this item, When you attack someone you get the links "Leave them" Mug them" "Hosp them" "Inject with Poision" Or something like that, But only if they have the item, And then, when they have injected this person, They go to hospital for a LONG time. And the item Poison is removed from your inventory. :D Quote
Haunted Dawg Posted March 5, 2008 Author Posted March 5, 2008 Re: Ideas... Not a mod but anyways. Here is the steps to get this working: 1.- Create The Item. 2.- Go into your database and check the id of the item. 3.- Add the following code to your attack script: $code = "item id here"; $a = mysql_query("SELECT * FROM inventory WHERE inv_userid = '{$userid}' AND inv_itemid = '{$code}' ") or die(mysql_error()); $g = mysql_fetch_assoc($a); if($g['inv_qty'] > 0) { echo '<form action="poisen.php?user='.$r['userid'].'" method="get"><input type="submit" value="Poisen Them"></form>'; } And here is the code for poisen.php: <?php include("globals.php"); $_GET['user'] = abs(@intval($_GET['user'])); $t = mysql_query("SELECT * FROM users WHERE userid = '{$_GET['user']}' ") or die(mysql_error()); $f = mysql_fetch_assoc($t); if(mysql_num_rows($t) == 0) { die('User does not exist.'); } $rand = rand(1,500); //Hospital Time $reason = "Got injected with poisen"; //Hospital Reason mysql_query("UPDATE users SET hospital = '{$rand}',hospreason = '{$reason}' WHERE userid = '{$_GET['user']}' ") or die(mysql_error()); event_add($_GET['user'],"You just got poisened by <a href=viewuser.php?userid=$userid>{$ir['username']}</a>"); //Replace this line with the item_remove code as i do not know it. echo 'You poisened '.$f['username'].' for '.$rand.' time.'; $h->endpage(); ?> Add more code if you want to it. USE THIS UPDATED ONE!!! Quote
Miniman Posted March 5, 2008 Posted March 5, 2008 Re: Ideas... Bah, I get this error when i try to attack.... Parse error: syntax error, unexpected $end in /home/******/public_html/attack.php on line 308 Quote
Haunted Dawg Posted March 5, 2008 Author Posted March 5, 2008 Re: Ideas... You must be carefull where u put the code. :-) Quote
Miniman Posted March 5, 2008 Posted March 5, 2008 Re: Ideas... Yup, I guessed. I placed it in the wrong place :| But now, It leave's this......... Unknown column 'itm_id' in 'where clause' Any ideas? Quote
Haunted Dawg Posted March 5, 2008 Author Posted March 5, 2008 Re: Ideas... Lol prob is i never remembered all the items table sqls i think its either items_id or some thng cant quite remmember ill update post next time i see my codes. Quote
Miniman Posted March 10, 2008 Posted March 10, 2008 Re: Ideas... $code = "10"; $t = mysql_query("SELECT * FROM items WHERE itmid = '{$code}' ") or die(mysql_error()); $g = mysql_fetch_assoc($t); if($g['itm_qty'] > 0) { echo '<form action="poisen.php?user='.$r['userid'].'" method="get"><input type="submit" value="Poisen Them"></form>'; } } That's what I have, But It's not showing up when I attack someone, I have the Item, and It's ID is 10. But I don't get the option to "Poisen Them" Quote
montyash Posted March 10, 2008 Posted March 10, 2008 Re: Ideas... i got an idea ts not really a mod but does anyone know wheb you hover over a link like home it goes red Quote
Haunted Dawg Posted March 10, 2008 Author Posted March 10, 2008 Re: Ideas... EASY <style> a:hover { color: red; } </style> Quote
montyash Posted March 10, 2008 Posted March 10, 2008 Re: Ideas... EASY <style> a:hover { color: red; } </style> and then do i put <style>Home</style> or am i totaly wrong lol im not that good Quote
Haunted Dawg Posted March 10, 2008 Author Posted March 10, 2008 Re: Ideas... No you add that with the rest of your <style> and every link will then be hovered in color red. Quote
mikrows Posted March 11, 2008 Posted March 11, 2008 Re: Ideas... You must be carefull where u put the code. :-) Could you possibly tell me where the correct possition is please. Thank You Quote
mikrows Posted March 19, 2008 Posted March 19, 2008 Re: Ideas... Its took me a week, but now ive worked out where it goes. Thanks Mike Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.